search_unified
Search across short-term and long-term memory with unified ranking, using customizable weights and filters to retrieve relevant information from temporal data stores.
Instructions
Search across both STM and LTM with unified ranking.
Args:
query: Text query to search for.
tags: Filter by tags.
limit: Maximum total results.
stm_weight: Weight multiplier for STM results.
ltm_weight: Weight multiplier for LTM results.
window_days: Only include STM memories from last N days.
min_score: Minimum score threshold for STM memories.
Returns:
A dictionary containing the search results.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
limit | No | ||
ltm_weight | No | ||
min_score | No | ||
query | No | ||
stm_weight | No | ||
tags | No | ||
window_days | No |
Input Schema (JSON Schema)
{
"properties": {
"limit": {
"default": 10,
"title": "Limit",
"type": "integer"
},
"ltm_weight": {
"default": 0.7,
"title": "Ltm Weight",
"type": "number"
},
"min_score": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"default": null,
"title": "Min Score"
},
"query": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Query"
},
"stm_weight": {
"default": 1,
"title": "Stm Weight",
"type": "number"
},
"tags": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"title": "Tags"
},
"window_days": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "Window Days"
}
},
"type": "object"
}