Query Memories (RAG)
Retrieve context and generate an answer using an LLM.
Request body
| Field | Type | Required | Description |
|---|---|---|---|
query | string | Yes | The question to answer |
mode | string | No | fast, balanced (default), or precise |
maxSources | number | No | Max sources to retrieve |
instructions | string | No | System instructions for the LLM |
userId | string | No | Scope retrieval to a user |