Can't 'store' data into Knowledge base. #226
Replies: 5 comments 6 replies
-
https://github.com/strands-agents/tools/blob/af3314e9997d2ac884ed4983e3b953446c2fcb7a/src/strands_tools/memory.py#L564 the parameter for region name is weather_agent.tool.memory(
action="store",
STRANDS_KNOWLEDGE_BASE_ID="U1REFHCZG2",
region_name="us-east-1",
content="loaded data Dynamo DB is a super fast, no SQL, no SQL database. No, there's uh there's SQL and there's no SQL. The SQL database is like MySQL. And then there's a new SQL database like ",
title="Meeting Notes",
) Enabling debug logs can show more verbose output: https://strandsagents.com/latest/user-guide/quickstart/#debug-logs |
Beta Was this translation helpful? Give feedback.
-
Ah that's unfortunate. What is returned by the |
Beta Was this translation helpful? Give feedback.
-
Hi @JackYPCOnline , is there an ETA for this fix ? Sorry if i'm being impatient. I understand there's a lot of work to be done. The thing is, i'm working on a huge course/workshop for Strands and i wanted to showcase both sides of it's RAG feature( Of course i can use other means to save the data into the KB. But i particularly wanted to showcase how it's done with Strands. |
Beta Was this translation helpful? Give feedback.
-
Hi @trey-rosius thank you for your patience while we looked into this. I have an update for you after a deeper discussion with our engineering team. After reviewing the architecture, the team has clarified that the memory tool's current behavior—hardcoding the data source to CUSTOM—is the intended design. Therefore, we will not be changing it to support S3 data sources directly from the store action.
To showcase the store action specifically, you could configure a separate Knowledge Base that uses the CUSTOM data source type and use it to demonstrate how an agent can learn and save new facts in real-time. We apologize for the initial miscommunication where this was labeled a bug. It was a misunderstanding of the tool's intended design. |
Beta Was this translation helpful? Give feedback.
-
@JackYPCOnline thanks for the clarification. I'll go with Custom Datasources then. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi folks, I have a bedrock knowledge base connected to a pinecone vector store and an S3 datasource. I'm able to add documents through the AWS Console and query the KB.
But using Strands, i can't add data to the KB.
This is what i get
No Logs or proper feedback on what's actually going on.
Here's the code
Can i please get some help ?
Beta Was this translation helpful? Give feedback.
All reactions