RetrievalSettingsBuilder

Builder for RetrievalSettings used in the Config.retrieval DSL block.

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard

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.

Link copied to clipboard

Namespace (table/collection name) for a request.

Link copied to clipboard

The augmenter that defines how retrieved context is inserted into the prompt. Defaults to SystemPromptAugmenter.

Link copied to clipboard

The extractor that defines how to derive the search query from the prompt. Defaults to LastUserMessageQueryExtractor.

Link copied to clipboard

The search strategy that defines how to search the retrieval storage.

Link copied to clipboard

The retrieval storage to search for relevant memory records. Must be set explicitly in the retrieval { } block.

Functions

Link copied to clipboard

RetrievalSettings builder.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard