Class UTryllRetrieveParams¶
ClassList > UTryllRetrieveParams
#include <TryllRetrieveParams.h>
Inherits the following classes: UTryllNodeParamsBase
Public Attributes¶
| Type | Name |
|---|---|
| FTryllStoragePath | EmbeddedStringStorage |
| FString | Filter |
| FString | FoundExit |
| FTryllSlotInput | Input |
| FString | NotFoundExit |
| ETryllRetrievalMode | RetrievalMode = ETryllRetrievalMode::Dense |
| int32 | RrfK = 60 |
| FString | Schema |
| FString | Source |
| ETryllKnowledgeSourceKind | SourceKind = ETryllKnowledgeSourceKind::FromFile |
| FString | StorageName |
| float | Threshold = 0.5f |
| int32 | TopK = 2 |
| bool | bOverrideFilter = false |
| bool | bOverrideInput = false |
| bool | bOverrideSource = false |
Public Functions¶
| Type | Name |
|---|---|
| virtual ETryllNodeType | GetNodeType () override const |
| virtual flatbuffers::Offset< void > | Pack (flatbuffers::FlatBufferBuilder & Fbb, Tryll::NodeParams::NodeParams & OutType) override const |
Public Functions inherited from UTryllNodeParamsBase¶
| Type | Name |
|---|---|
| virtual TArray< FString > | GetExitTargetOptions () const |
| virtual ETryllNodeType | GetNodeType () const |
| FString | GetOwnerNodeName () const |
| virtual bool | IsTtsConsumer () const |
| virtual flatbuffers::Offset< void > | Pack (flatbuffers::FlatBufferBuilder & Fbb, ::Tryll::NodeParams::NodeParams & OutType) const |
| virtual void | PostLoad () override |
| virtual void | Serialize (FArchive & Ar) override |
| ETryllNodeType return | static_cast (0) |
Public Static Functions inherited from UTryllNodeParamsBase¶
| Type | Name |
|---|---|
| const FTryllGraphDescription * | FindEnclosingGraph (const UObject * Obj) |
Protected Functions inherited from UTryllNodeParamsBase¶
| Type | Name |
|---|---|
| virtual void | ApplyOldDefaults (int32 SavedVersion) |
| virtual bool | UpgradeFrom (int32 SavedVersion) |
Detailed Description¶
RAG retrieval node. Embeds the HumanMessage, searches an embedded storage, and attaches a KnowledgeComponent to the current interaction.
Public Attributes Documentation¶
variable EmbeddedStringStorage¶
File-mode address (EmbeddedStringStorageManager path or virtual name). Required when source_kind is File; must be empty in Name mode.
variable Filter¶
variable FoundExit¶
Exit taken when retrieval returned at least one chunk at or below threshold. Empty string = END. Graph exit "found" — target node name; empty = END.
variable Input¶
Upstream inter-node slot this field consumes. Empty = context default.
variable NotFoundExit¶
Exit taken when retrieval produced no results. Empty string = END. Graph exit "not_found" — target node name; empty = END.
variable RetrievalMode¶
Which retrieval path to use. Default Dense preserves historical behaviour. Mutable so a single agent can A/B modes without recreation.
variable RrfK¶
RRF constant k in score(d) = Σ 1/(k + rank). Only used in Hybrid mode. Mutable. Default 60 (Cormack et al.).
variable Schema¶
Schema catalog name. Required in Name mode; optional File-mode cross-check.
variable Source¶
variable SourceKind¶
File vs named mutable store. Structural: addressing is fixed at create.
variable StorageName¶
Name-mode store. Required when source_kind is Name; must be empty in File mode. May contain var.* templates resolved at agent creation.
variable Threshold¶
Maximum cosine distance applied to the dense leg. Cosine distance on normalized vectors is in [0, 2] (0 identical, 2 opposite). Dense mode: results above this threshold are dropped (unchanged historical behaviour). Hybrid mode: gates the dense candidate list before RRF fusion; BM25-only hits are not gated. Lexical mode: inert (ignored). Zero disables dense-leg filtering.
variable TopK¶
Number of chunks to retrieve.
variable bOverrideFilter¶
JSON filter compiled against the storage's metadata schema. Empty string = no filter. Mutable — recompiles the filter on change. Set to true to override the inherited Filter value.
variable bOverrideInput¶
Slot name this node embeds and searches with. Empty = "user_message". Structural: immutable after creation — rebinding would re-wire the slot dataflow that is validated once at agent creation. Set to true to override the inherited Input value.
variable bOverrideSource¶
Label attached to the KnowledgeComponent; defaults to node name. Set to true to override the inherited Source value.
Public Functions Documentation¶
function GetNodeType¶
Implements UTryllNodeParamsBase::GetNodeType
function Pack¶
virtual flatbuffers::Offset< void > UTryllRetrieveParams::Pack (
flatbuffers::FlatBufferBuilder & Fbb,
Tryll::NodeParams::NodeParams & OutType
) override const
Implements UTryllNodeParamsBase::Pack
The documentation for this class was generated from the following file C:/_tryll/_monorepo3/tryll/clients/unreal/Source/TryllClient/Public/Generated/Nodes/TryllRetrieveParams.h