docs: fix typo in notebook (#1046)

searx-api
Sasmitha Manathunga 1 year ago committed by GitHub
parent 88bebb4caa
commit c67c5383fd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -163,7 +163,7 @@
"source": [ "source": [
"from langchain.chains.qa_with_sources import load_qa_with_sources_chain\n", "from langchain.chains.qa_with_sources import load_qa_with_sources_chain\n",
"qa_chain = load_qa_with_sources_chain(OpenAI(temperature=0), chain_type=\"stuff\")\n", "qa_chain = load_qa_with_sources_chain(OpenAI(temperature=0), chain_type=\"stuff\")\n",
"qa = VectorDBQAWithSourcesChain(combine_document_chain=qa_chain, vectorstore=docsearch)" "qa = VectorDBQAWithSourcesChain(combine_documents_chain=qa_chain, vectorstore=docsearch)"
] ]
}, },
{ {

Loading…
Cancel
Save