update api.py
This commit is contained in:
parent
8742001982
commit
ad843a646d
2
api.py
2
api.py
|
|
@ -265,7 +265,7 @@ async def bing_search_chat(
|
|||
):
|
||||
pass
|
||||
source_documents = [
|
||||
f"""出处 [{inum + 1}]({doc.metadata["source"]}) \n\n{doc.page_content}\n\n"""
|
||||
f"""出处 [{inum + 1}] [{doc.metadata["source"]}]({doc.metadata["source"]}) \n\n{doc.page_content}\n\n"""
|
||||
for inum, doc in enumerate(resp["source_documents"])
|
||||
]
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue