refactor: v2 search and update examples (#3508)

This commit is contained in:
Parshva Daftari
2025-09-26 22:55:53 +05:30
committed by GitHub
parent ed5a1e9fc6
commit 135883935f
16 changed files with 21 additions and 27 deletions
+1 -1
View File
@@ -125,7 +125,7 @@ def chat_user(
if user_input:
# Search for relevant memories
memories = client.search(user_input, user_id=user_id, output_format='v1.1')
memories = client.search(user_input, user_id=user_id)
memory_context = "\n".join(f"- {m['memory']}" for m in memories['results'])
# Construct the prompt