Add Memory Store conceptual doc section (#2624)

On semantic search
This commit is contained in:
William FH
2024-12-04 15:19:49 +00:00
committed by GitHub
parent e6c83abecd
commit c322f7ffa6
5 changed files with 87 additions and 22 deletions
@@ -59,7 +59,7 @@ def search_memory(state: State, *, store: BaseStore):
results = store.search(
namespace=("memory", "facts"), # Organize memories by type
query="your search query",
k=3 # number of results to return
limit=3 # number of results to return
)
return results
```