forked from Archives/langchain
Update load_qa_chain() docstring (#2900)
Seems to be missing `map_rerank` as a potential argument of `chain_type`
This commit is contained in:
parent
8fef69296d
commit
86189cdcf9
@ -196,7 +196,7 @@ def load_qa_chain(
|
|||||||
Args:
|
Args:
|
||||||
llm: Language Model to use in the chain.
|
llm: Language Model to use in the chain.
|
||||||
chain_type: Type of document combining chain to use. Should be one of "stuff",
|
chain_type: Type of document combining chain to use. Should be one of "stuff",
|
||||||
"map_reduce", and "refine".
|
"map_reduce", "map_rerank", and "refine".
|
||||||
verbose: Whether chains should be run in verbose mode or not. Note that this
|
verbose: Whether chains should be run in verbose mode or not. Note that this
|
||||||
applies to all chains that make up the final chain.
|
applies to all chains that make up the final chain.
|
||||||
callback_manager: Callback manager to use for the chain.
|
callback_manager: Callback manager to use for the chain.
|
||||||
|
Loading…
Reference in New Issue
Block a user