Skip to content

Commit 4b3848a

Browse files
farzadsbakhtiarshinxi
authored andcommitted
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" />
1 parent 5b949c8 commit 4b3848a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/docs/how_to/qa_per_user.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@
228228
"# highlight-next-line\n",
229229
"def retrieve(state: State, config: RunnableConfig):\n",
230230
" # highlight-next-line\n",
231-
" retrieved_docs = configurable_retriever.invoke(state[\"question\"])\n",
231+
" retrieved_docs = configurable_retriever.invoke(state[\"question\"], config)\n",
232232
" return {\"context\": retrieved_docs}\n",
233233
"\n",
234234
"\n",

0 commit comments

Comments
 (0)