fix:graph retrieve bug (#1884)

This commit is contained in:
Aries-ckt
2024-08-28 21:05:27 +08:00
committed by GitHub
parent 1cb7e35295
commit bb5d2d1f3d
3 changed files with 34 additions and 14 deletions

View File

@@ -98,6 +98,7 @@ class ChatKnowledge(BaseChat):
top_k=retriever_top_k,
query_rewrite=query_rewrite,
rerank=reranker,
llm_model=self.llm_model,
)
self.prompt_template.template_is_strict = False