Class UTryllClassifyIntentParams¶
ClassList > UTryllClassifyIntentParams
#include <TryllClassifyIntentParams.h>
Inherits the following classes: UTryllNodeParamsBase
Public Attributes¶
| Type | Name |
|---|---|
| int32 | DiagnosticTopk = 1 |
| FString | EmbeddedStringStorage |
| FString | EmbeddingModel |
| FString | Filter |
| FString | MetadataField |
| float | Threshold = 0.0f |
| bool | bNotifyClient = false |
| bool | bOverrideEmbeddedStringStorage = false |
| bool | bOverrideEmbeddingModel = false |
| bool | bOverrideFilter = 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 |
| UPROPERTY (EditAnywhere, BlueprintReadWrite, Category="Tryll|Exits", meta=(GetOptions="GetExitTargetOptions")) |
|
| UPROPERTY (EditAnywhere, BlueprintReadWrite, Category="Tryll|Exits", meta=(GetOptions="GetExitTargetOptions")) |
Public Functions inherited from UTryllNodeParamsBase¶
| Type | Name |
|---|---|
| virtual TArray< FString > | GetExitTargetOptions () const |
| virtual ETryllNodeType | GetNodeType () const |
| virtual flatbuffers::Offset< void > | Pack (flatbuffers::FlatBufferBuilder & Fbb, ::Tryll::NodeParams::NodeParams & OutType) const |
| ETryllNodeType return | static_cast (0) |
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¶
variable EmbeddingModel¶
variable Filter¶
variable MetadataField¶
variable Threshold¶
Maximum cosine distance; hits above this are treated as not_found.
variable bNotifyClient¶
When true, fire OnNodeEvent("intent_classified", …) on the found path.
variable bOverrideEmbeddedStringStorage¶
Named embedded string storage. Structural. Set to true to override the inherited EmbeddedStringStorage value.
variable bOverrideEmbeddingModel¶
Embedding model catalog name. Structural. Set to true to override the inherited EmbeddingModel value.
variable bOverrideFilter¶
JSON filter applied during search. Empty = no filter. Mutable. Set to true to override the inherited Filter value.
variable 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¶
Implements UTryllNodeParamsBase::GetNodeType
function Pack¶
virtual flatbuffers::Offset< void > UTryllClassifyIntentParams::Pack (
flatbuffers::FlatBufferBuilder & Fbb,
Tryll::NodeParams::NodeParams & OutType
) override const
Implements UTryllNodeParamsBase::Pack
function UPROPERTY [1/2]¶
UTryllClassifyIntentParams::UPROPERTY (
EditAnywhere,
BlueprintReadWrite,
Category="Tryll|Exits",
meta=(GetOptions="GetExitTargetOptions")
)
Exit taken when classification produced a label above threshold. Empty string = END. Graph exit "found" — target node name; empty = END.
function UPROPERTY [2/2]¶
UTryllClassifyIntentParams::UPROPERTY (
EditAnywhere,
BlueprintReadWrite,
Category="Tryll|Exits",
meta=(GetOptions="GetExitTargetOptions")
)
Exit taken when no label cleared the threshold. Empty string = END. Graph exit "not_found" — target node name; empty = END.
The documentation for this class was generated from the following file C:/_tryll/_monorepo2/server/client-unreal/Source/TryllClient/Public/Generated/Nodes/TryllClassifyIntentParams.h