memory_context
Build a context window of relevant memories tailored to your query, enabling LLMs to recall past interactions and knowledge for accurate responses.
Instructions
Build a context window from relevant memories for LLM input.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | What is the current task or question? | |
| max_tokens | No | Approximate max tokens for the context. Default: 2000 | |
| session_id | No | Prioritize memories from this session. |