mirror of
https://github.com/hwchase17/langchain
synced 2024-11-06 03:20:49 +00:00
doc: change comment with correct name (#2580)
In this comment, it should be **ConversationalRetrievalChain** instead of **ChatVectorDBChain**
This commit is contained in:
parent
f7f118e021
commit
f5afb60116
@ -466,7 +466,7 @@
|
|||||||
"from langchain.chains.chat_index.prompts import CONDENSE_QUESTION_PROMPT, QA_PROMPT\n",
|
"from langchain.chains.chat_index.prompts import CONDENSE_QUESTION_PROMPT, QA_PROMPT\n",
|
||||||
"from langchain.chains.question_answering import load_qa_chain\n",
|
"from langchain.chains.question_answering import load_qa_chain\n",
|
||||||
"\n",
|
"\n",
|
||||||
"# Construct a ChatVectorDBChain with a streaming llm for combine docs\n",
|
"# Construct a ConversationalRetrievalChain with a streaming llm for combine docs\n",
|
||||||
"# and a separate, non-streaming llm for question generation\n",
|
"# and a separate, non-streaming llm for question generation\n",
|
||||||
"llm = OpenAI(temperature=0)\n",
|
"llm = OpenAI(temperature=0)\n",
|
||||||
"streaming_llm = OpenAI(streaming=True, callback_manager=CallbackManager([StreamingStdOutCallbackHandler()]), verbose=True, temperature=0)\n",
|
"streaming_llm = OpenAI(streaming=True, callback_manager=CallbackManager([StreamingStdOutCallbackHandler()]), verbose=True, temperature=0)\n",
|
||||||
|
Loading…
Reference in New Issue
Block a user