mirror of
https://github.com/hwchase17/langchain.git
synced 2025-07-14 00:47:27 +00:00
docs: fix qa_per_user.ipynb (#29290)
# Description The `config` option was not passed to `configurable_retriever.invoke()`. Screenshot below. Fixed. <img width="731" alt="Screenshot 2025-01-18 at 11 59 28 AM" src="https://github.com/user-attachments/assets/21f30739-2abd-4150-b3ad-626ea9e3f96c" />
This commit is contained in:
parent
2fb6fd7950
commit
8fad9214c7
@ -228,7 +228,7 @@
|
||||
"# highlight-next-line\n",
|
||||
"def retrieve(state: State, config: RunnableConfig):\n",
|
||||
" # highlight-next-line\n",
|
||||
" retrieved_docs = configurable_retriever.invoke(state[\"question\"])\n",
|
||||
" retrieved_docs = configurable_retriever.invoke(state[\"question\"], config)\n",
|
||||
" return {\"context\": retrieved_docs}\n",
|
||||
"\n",
|
||||
"\n",
|
||||
|
Loading…
Reference in New Issue
Block a user