mirror of
https://github.com/RYDE-WORK/Langchain-Chatchat.git
synced 2026-02-03 21:23:13 +08:00
Merge branch 'dev' of https://github.com/imClumsyPanda/langchain-ChatGLM into dev
This commit is contained in:
commit
1e43fcfbe3
2
api.py
2
api.py
@ -265,7 +265,7 @@ async def bing_search_chat(
|
|||||||
):
|
):
|
||||||
pass
|
pass
|
||||||
source_documents = [
|
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"])
|
for inum, doc in enumerate(resp["source_documents"])
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user