mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-07-30 07:39:38 +00:00
Update 04_Memory101.ipynb
This commit is contained in:
parent
debbb34077
commit
855091f403
1 changed files with 2 additions and 6 deletions
|
@ -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"
|
||||
]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue