RetrievalSettingsBuilder
Builder for RetrievalSettings used in the Config.retrieval DSL block.
Properties
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.
The augmenter that defines how retrieved context is inserted into the prompt. Defaults to SystemPromptAugmenter.
The extractor that defines how to derive the search query from the prompt. Defaults to LastUserMessageQueryExtractor.
The search strategy that defines how to search the retrieval storage.
The retrieval storage to search for relevant memory records. Must be set explicitly in the retrieval { } block.
Functions
RetrievalSettings builder.
Fluent setter for enableAutomaticRetrieval.
Fluent setter for namespace.
Fluent setter for promptAugmenter.
Fluent setter for queryExtractor.
Fluent setter for searchStrategy.
Fluent setter for storage.