Class UTryllClassifyIntentLLMParams¶
ClassList > UTryllClassifyIntentLLMParams
#include <TryllClassifyIntentLLMParams.h>
Inherits the following classes: UTryllNodeParamsBase
Public Attributes¶
| Type | Name |
|---|---|
| int32 | ContextSize = 0 |
| FString | FoundExit |
| int32 | HistoryTurns = 2 |
| FTryllSlotInput | Input |
| FString | IntentsIds |
| FString | IntentsPrompt |
| float | Margin = 0.15f |
| FTryllModelName | ModelName |
| FString | NotFoundExit |
| FString | NotFoundIntent |
| FString | SystemPrompt |
| float | Threshold = 0.5f |
| bool | bNotifyClient = false |
| bool | bOverrideInput = false |
| bool | bOverrideIntentsIds = false |
| bool | bOverrideIntentsPrompt = false |
| bool | bOverrideModelName = false |
| bool | bOverrideNotFoundIntent = false |
| bool | bOverrideSystemPrompt = 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 flatbuffers::Offset< void > | Pack (flatbuffers::FlatBufferBuilder & Fbb, ::Tryll::NodeParams::NodeParams & OutType) const |
| ETryllNodeType return | static_cast (0) |
Public Static Functions inherited from UTryllNodeParamsBase¶
| Type | Name |
|---|---|
| const FTryllGraphDescription * | FindEnclosingGraph (const UObject * Obj) |
Detailed Description¶
Intent classification node (LLM first-token logprob over letter candidates). Scores labels via a dedicated LLM and attaches an IntentionComponent.
Public Attributes Documentation¶
variable ContextSize¶
KV-cache / context window (n_ctx) for this node in tokens. 0 = fall back to the model variant's context_size, else the server default_n_ctx. Validated against the model's trained maximum at agent creation.
variable FoundExit¶
Exit taken when classification produced a label above threshold/margin. Empty string = END. Graph exit "found" — target node name; empty = END.
variable HistoryTurns¶
Number of dialog history turns included in the classification context.
variable Input¶
Upstream inter-node slot this field consumes. Empty = context default.
variable IntentsIds¶
variable IntentsPrompt¶
variable Margin¶
Minimum margin between top and second label probabilities.
variable ModelName¶
variable NotFoundExit¶
Exit taken when no label cleared the threshold/margin. Empty string = END. Graph exit "not_found" — target node name; empty = END.
variable NotFoundIntent¶
variable SystemPrompt¶
variable Threshold¶
First-token probability threshold for the winning label.
variable bNotifyClient¶
When true, fire OnNodeEvent("intent_classified", …) on the found path.
variable bOverrideInput¶
Slot name this node consumes as its primary text for the current turn. 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 bOverrideIntentsIds¶
Comma-separated intent IDs (e.g. "greet,farewell,other"). Structural because label-to-token-ID mapping is built at construction. Set to true to override the inherited IntentsIds value.
variable bOverrideIntentsPrompt¶
Comma-separated intent prompt labels / descriptions. Structural because the projection scaffolding and label-token mapping are built at construction. Set to true to override the inherited IntentsPrompt value.
variable bOverrideModelName¶
Model catalog name. Structural because the token-ID mapping is built from the model's vocabulary at construction. Set to true to override the inherited ModelName value.
variable bOverrideNotFoundIntent¶
Intent ID returned when no label clears the threshold/margin. Set to true to override the inherited NotFoundIntent value.
variable bOverrideSystemPrompt¶
Prepended before the user turn during classification projection. Set to true to override the inherited SystemPrompt value.
Public Functions Documentation¶
function GetNodeType¶
Implements UTryllNodeParamsBase::GetNodeType
function Pack¶
virtual flatbuffers::Offset< void > UTryllClassifyIntentLLMParams::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/TryllClassifyIntentLLMParams.h