We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c4e5cc2 commit 8ef126aCopy full SHA for 8ef126a
src/strands_tools/memory.py
@@ -42,23 +42,23 @@
42
agent = Agent(tools=[memory])
43
44
# Store content in Knowledge Base
45
-agent.memory(
+agent.tool.memory(
46
action="store",
47
content="Important information to remember",
48
title="Meeting Notes",
49
STRANDS_KNOWLEDGE_BASE_ID="my1234kb"
50
)
51
52
# Retrieve content using semantic search
53
54
action="retrieve",
55
query="meeting information",
56
min_score=0.7,
57
58
59
60
# List all documents
61
62
action="list",
63
max_results=50,
64
0 commit comments