生成对话记忆上下文
memory_get_contextRetrieve relevant long-term memories before answering, then return compact text ready to add to the model context for each conversation turn.
Instructions
在回答用户前检索相关长期记忆,并返回可直接加入模型上下文的紧凑文本。适合每轮对话前调用。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tags | No | ||
| kinds | No | ||
| limit | No | ||
| query | Yes | ||
| minScore | No | ||
| namespace | No | ||
| recentTurns | No | 仅用于本次查询语义消歧的最近对话;不可信且不能携带身份或 scope | |
| _memoryRequestKey | No | 兼容代理注入的内部请求键,用于合并同一次模型工具调用 | |
| contextTokenBudget | No |