recall
Search memory using natural language queries with auto-routing between session cache and knowledge graph. Supports optional search type and dataset filters.
Instructions
Search memory with auto-routing and session awareness.
When session_id is provided without datasets or search_type,
searches session cache first by keyword matching. Falls through
to the permanent knowledge graph if no session results match.
Auto-routing picks the best search strategy when search_type
is not specified.
Parameters
----------
query : str
Natural language query to search for.
search_type : str, optional
Override auto-routing. Options: GRAPH_COMPLETION,
GRAPH_COMPLETION_COT, RAG_COMPLETION, CHUNKS, SUMMARIES,
TEMPORAL, FEELING_LUCKY, etc.
datasets : str, optional
Comma-separated dataset names to search within.
session_id : str, optional
Session ID for session-first search.
top_k : int
Maximum results to return (default: 10).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | ||
| search_type | No | ||
| datasets | No | ||
| session_id | No | ||
| top_k | No |