Skip to content

Commit

Permalink
docs: Update pdf_qa.ipynb (#7137)
Browse files Browse the repository at this point in the history
Co-authored-by: Jacob Lee <[email protected]>
  • Loading branch information
apuravchauhan and jacoblee93 authored Nov 5, 2024
1 parent fcef784 commit 338a668
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/core_docs/docs/tutorials/pdf_qa.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@
" [\"human\", \"{input}\"],\n",
"]);\n",
"\n",
"const questionAnswerChain = await createStuffDocumentsChain({ llm, prompt });\n",
"const questionAnswerChain = await createStuffDocumentsChain({ llm: model, prompt });\n",
"const ragChain = await createRetrievalChain({ retriever, combineDocsChain: questionAnswerChain });\n",
"\n",
"const results = await ragChain.invoke({\n",
Expand Down Expand Up @@ -417,4 +417,4 @@
},
"nbformat": 4,
"nbformat_minor": 2
}
}

0 comments on commit 338a668

Please sign in to comment.