Skip to content

The agent engineering platform.

fix: update qa_chain doc for "chai_type" (#5877)

warjiang511c12dd3985
diff --git a/langchain/chains/qa_with_sources/loading.py b/langchain/chains/qa_with_sources/loading.py
index 2ce4c56ea2..9eef4dc1a5 100644
--- a/langchain/chains/qa_with_sources/loading.py
+++ b/langchain/chains/qa_with_sources/loading.py
@@ -149,7 +149,7 @@ def load_qa_with_sources_chain(
Args:
llm: Language Model to use in the chain.
chain_type: Type of document combining chain to use. Should be one of "stuff",
- "map_reduce", and "refine".
+ "map_reduce", "refine" and "map_rerank".
verbose: Whether chains should be run in verbose mode or not. Note that this
applies to all chains that make up the final chain.