Memory Read Component
Use the Memory Read component to retrieve a value previously stored in memory by key.
Why this matters
Step 1: Configure Memory Name
Provide the Memory Name used when the values were stored. Without the correct memory name, no data can be retrieved.
Setting | Required? | Description | Example |
---|---|---|---|
Memory Name | Yes | The namespace under which values are grouped. | session-memory |
Step 2: Provide Key
Exact match required
Set the Key to fetch exactly one value.
Example:
{ "memory_name": "session_memory", "key": "user_id" }
Check the Scope
Best Practices
- Always confirm the memory name matches the one used in the write operation.
- Use bulk reads carefully if the memory contains large objects.
- Combine reads with debugging to verify retrieved values.
Troubleshooting Tips
If your memory read isn’t working...
FAQs
FAQs for Memory Read
What to Try Next
- Store values using the Memory Write Component.
- Write multiple keys at once with the Memory Write Multi Component.
- Remove unneeded data using the Memory Delete Component.