recall
Search AI app memory using natural language queries with auto-routing to the best search strategy and session-aware fallback to knowledge graphs.
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.
system_prompt : str, optional
Override the synthesis prompt for completion searches.
top_k : int
Maximum results to return (default: 10).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | ||
| top_k | No | ||
| datasets | No | ||
| session_id | No | ||
| search_type | No | ||
| system_prompt | No |