Skip to content

Commit

Permalink
fix: 返回来源文档
Browse files Browse the repository at this point in the history
  • Loading branch information
zgqgit committed Jul 11, 2024
1 parent 1a97b12 commit 91ec7ef
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ def from_llm(
max_content: int = 15000,
sort_by_source_and_index: bool = False,
callbacks: Callbacks = None,
return_source_documents: bool = False,
**kwargs: Any,
) -> BishengRetrievalQA:
bisheng_rag_tool = BishengRAGTool(
Expand All @@ -111,6 +112,7 @@ def from_llm(
return cls(
bisheng_rag_tool=bisheng_rag_tool,
callbacks=callbacks,
return_source_documents=return_source_documents,
**kwargs,
)

Expand Down

0 comments on commit 91ec7ef

Please sign in to comment.