From 8fad9214c7597572c982aa0b5bfa87ec9bc399d1 Mon Sep 17 00:00:00 2001 From: Farzad Sharif Date: Sat, 18 Jan 2025 16:24:31 -0500 Subject: [PATCH] docs: fix qa_per_user.ipynb (#29290) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit # Description The `config` option was not passed to `configurable_retriever.invoke()`. Screenshot below. Fixed. Screenshot 2025-01-18 at 11 59 28 AM --- docs/docs/how_to/qa_per_user.ipynb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/docs/how_to/qa_per_user.ipynb b/docs/docs/how_to/qa_per_user.ipynb index acead6ed5910c..20dc9f0ee0038 100644 --- a/docs/docs/how_to/qa_per_user.ipynb +++ b/docs/docs/how_to/qa_per_user.ipynb @@ -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",