Skip to content

Class UTryllClassifyIntentParams

ClassList > UTryllClassifyIntentParams

More...

  • #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
float Threshold = 0.25f
bool bNotifyClient = false
bool bOverrideFilter = false
bool bOverrideInput = false
bool bOverrideMetadataField = 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

See UTryllNodeParamsBase

Type Name
virtual TArray< FString > GetExitTargetOptions () const
virtual ETryllNodeType GetNodeType () const
FString GetOwnerNodeName () const
virtual flatbuffers::Offset< void > Pack (flatbuffers::FlatBufferBuilder & Fbb, ::Tryll::NodeParams::NodeParams & OutType) const
ETryllNodeType return static_cast (0)

Public Static Functions inherited from UTryllNodeParamsBase

See UTryllNodeParamsBase

Type Name
const FTryllGraphDescription * FindEnclosingGraph (const UObject * Obj)

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

int32 UTryllClassifyIntentParams::DiagnosticTopk;

Hits to fetch for diagnostic purposes (routing always uses top-1).


variable EmbeddedStringStorage

FTryllStoragePath UTryllClassifyIntentParams::EmbeddedStringStorage;

Named embedded string storage. Structural.


variable Filter

FString UTryllClassifyIntentParams::Filter;

variable FoundExit

FString UTryllClassifyIntentParams::FoundExit;

Exit taken when classification produced a label above threshold. Empty string = END. Graph exit "found" — target node name; empty = END.


variable Input

FTryllSlotInput UTryllClassifyIntentParams::Input;

Upstream inter-node slot this field consumes. Empty = context default.


variable MetadataField

FString UTryllClassifyIntentParams::MetadataField;

variable NotFoundExit

FString UTryllClassifyIntentParams::NotFoundExit;

Exit taken when no label cleared the threshold. Empty string = END. Graph exit "not_found" — target node name; empty = END.


variable Threshold

float UTryllClassifyIntentParams::Threshold;

Maximum cosine distance; hits above this are treated as not_found.


variable bNotifyClient

bool UTryllClassifyIntentParams::bNotifyClient;

When true, fire OnNodeEvent("intent_classified", …) on the found path.


variable bOverrideFilter

bool UTryllClassifyIntentParams::bOverrideFilter;

JSON filter applied during search. Empty = no filter. Mutable. Set to true to override the inherited Filter value.


variable bOverrideInput

bool UTryllClassifyIntentParams::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 bOverrideMetadataField

bool UTryllClassifyIntentParams::bOverrideMetadataField;

Storage metadata field whose string value becomes the intent label. Set to true to override the inherited MetadataField value.


Public Functions Documentation

function GetNodeType

inline virtual ETryllNodeType UTryllClassifyIntentParams::GetNodeType () override const

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