Update 04_Memory101.ipynb

This commit is contained in:
Sanyam Bhutani 2024-11-05 21:17:58 -08:00
parent debbb34077
commit 855091f403

View file

@ -138,7 +138,7 @@
},
{
"cell_type": "code",
"execution_count": 8,
"execution_count": null,
"metadata": {},
"outputs": [
{
@ -179,10 +179,7 @@
"# Let's verify our memory bank was created\n",
"memory_banks = client.memory_banks.list()\n",
"#print(\"\\nRegistered memory banks:\")\n",
"#print(json.dumps(memory_banks, indent=2))\n",
"\n",
"# 🎯 Exercise: Try creating another memory bank with different settings!\n",
"# What happens if you try to create a bank with the same identifier?"
"#print(json.dumps(memory_banks, indent=2))"
]
},
{
@ -269,7 +266,6 @@
"Now for the exciting part - querying our documents! The Memory API uses semantic search to find relevant content based on meaning, not just keywords.\n",
"❓ Understanding Scores:\n",
"\n",
"Scores range from 0 to 1, with 1 being the most relevant\n",
"Generally, scores above 0.7 indicate strong relevance\n",
"Consider your use case when deciding on score thresholds"
]