Class UTryllClassifyIntentParams¶
ClassList > UTryllClassifyIntentParams
#include <TryllClassifyIntentParams.h>
Inherits the following classes: UTryllNodeParamsBase
Public Attributes¶
| Type | Name |
|---|---|
| int32 | DiagnosticTopk = 5 |
| FTryllStoragePath | EmbeddedStringStorage |
| FString | Filter |
| FString | FoundExit |
| FTryllSlotInput | Input |
| FString | MetadataField |
| FString | NotFoundExit |
| ETryllNotifyClient | NotifyClient = ETryllNotifyClient::Disabled |
| float | Threshold = 0.25f |
| bool | bOverrideFilter = false |
| bool | bOverrideInput = 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¶
Intent classification node (embedding-based, top-1 nearest-neighbour). Searches a labelled embedded storage and attaches an IntentionComponent.
Public Attributes Documentation¶
variable DiagnosticTopk¶
Hits to fetch for diagnostic purposes (routing always uses top-1).
variable EmbeddedStringStorage¶
Named embedded string storage. Structural.
variable Filter¶
variable FoundExit¶
Exit taken when the top-1 hit's distance is 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 MetadataField¶
Storage metadata field whose string value becomes the intent label.
variable NotFoundExit¶
Exit taken when no label cleared the threshold. Empty string = END. Graph exit "not_found" — target node name; empty = END.
variable NotifyClient¶
When to fire OnNodeEvent("intent_classified", …).
variable Threshold¶
Maximum cosine distance; hits above this are treated as not_found. Cosine distance on normalized vectors is in [0, 2].
variable bOverrideFilter¶
JSON filter applied during search. Empty = no filter. Mutable. 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.
Public Functions Documentation¶
function GetNodeType¶
Implements UTryllNodeParamsBase::GetNodeType
function Pack¶
virtual flatbuffers::Offset< void > UTryllClassifyIntentParams::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/TryllClassifyIntentParams.h