Skip to content

Commit 45427ad

Browse files
corrects method name
1 parent e612195 commit 45427ad

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/user_guide/session_manager_06.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -424,7 +424,7 @@
424424
"cell_type": "markdown",
425425
"metadata": {},
426426
"source": [
427-
"Rather than naively pass the most recent conversation we can use RedisVL to find only the semantically relevant sections of our conversation based on our new prompt. We can do this with the `fetch_context()` method."
427+
"Rather than naively pass the most recent conversation we can use RedisVL to find only the semantically relevant sections of our conversation based on our new prompt. We can do this with the `fetch_relevant()` method."
428428
]
429429
},
430430
{
@@ -462,7 +462,7 @@
462462
"source": [
463463
"prompt = \"Can you give me the avocado one?\"\n",
464464
"user_session.set_distance_threshold(0.75)\n",
465-
"context = user_session.fetch_context(prompt=prompt)\n",
465+
"context = user_session.fetch_relevant(prompt=prompt)\n",
466466
"response = client.converse(prompt=prompt, context=context)\n",
467467
"user_session.store((prompt, response))\n",
468468
"print('USER: ', prompt)\n",

0 commit comments

Comments
 (0)