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 FString | GetDocsUrl () override const |
| 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 FString | GetDocsUrl () const |
| 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¶
How many closest examples to report in diagnostics. Routing always uses the closest one.
variable EmbeddedStringStorage¶
Embedded file of example phrases, each labelled with its intent.
variable Filter¶
variable FoundExit¶
Node to run when the closest example is within Threshold. Empty = end the turn. Graph exit "found" — target node name; empty = END.
variable Input¶
Upstream inter-node slot this field consumes. Empty = context default.
variable MetadataField¶
Metadata field in that file that holds each example's intent label.
variable NotFoundExit¶
Node to run when no example is close enough. Empty = end the turn. Graph exit "not_found" — target node name; empty = END.
variable NotifyClient¶
When to send the game an intent_classified event: Disabled, OnFound (Found exit only), or Always.
variable Threshold¶
Max cosine distance of the closest example (0 = identical, 2 = opposite). Farther = Not Found.
variable bOverrideFilter¶
JSON filter on example metadata; only matching examples are compared. Empty = no filter. Set to true to override the inherited Filter value.
variable bOverrideInput¶
Text to classify: the player's message or an earlier node's output. Empty = the player's message. Set to true to override the inherited Input value.
Public Functions Documentation¶
function GetDocsUrl¶
Reference page of this node type on docs.tryllengine.com, opened by the editor's help button. Empty for test-only node types, which have no page.
Implements UTryllNodeParamsBase::GetDocsUrl
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