RetrievalSettings
Settings controlling how memory records are retrieved and injected into prompts (RAG).
Parameters
The retrieval storage to search for relevant memory records.
The extractor that defines how to derive the search query from the prompt. Defaults to LastUserMessageQueryExtractor, which uses the last user message content.
The strategy that defines how to search the retrieval store.
The augmenter that defines how retrieved context is inserted into the prompt.
When true (default), retrieval and prompt augmentation happen automatically before each LLM call. When false, the storage and strategy are still accessible for manual use inside graph strategy nodes via ai.koog.agents.longtermmemory.feature.withLongTermMemory.
Namespace (table/collection name) for a request.