Skip to content

Class UTryllClassifyIntentLLMParams

ClassList > UTryllClassifyIntentLLMParams

More...

  • #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

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 (LLM first-token logprob over letter candidates). Scores labels via a dedicated LLM and attaches an IntentionComponent.

Public Attributes Documentation

variable ContextSize

int32 UTryllClassifyIntentLLMParams::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

FString UTryllClassifyIntentLLMParams::FoundExit;

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


variable HistoryTurns

int32 UTryllClassifyIntentLLMParams::HistoryTurns;

Number of dialog history turns included in the classification context.


variable Input

FTryllSlotInput UTryllClassifyIntentLLMParams::Input;

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


variable IntentsIds

FString UTryllClassifyIntentLLMParams::IntentsIds;

variable IntentsPrompt

FString UTryllClassifyIntentLLMParams::IntentsPrompt;

variable Margin

float UTryllClassifyIntentLLMParams::Margin;

Minimum margin between top and second label probabilities.


variable ModelName

FTryllModelName UTryllClassifyIntentLLMParams::ModelName;

variable NotFoundExit

FString UTryllClassifyIntentLLMParams::NotFoundExit;

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


variable NotFoundIntent

FString UTryllClassifyIntentLLMParams::NotFoundIntent;

variable SystemPrompt

FString UTryllClassifyIntentLLMParams::SystemPrompt;

variable Threshold

float UTryllClassifyIntentLLMParams::Threshold;

First-token probability threshold for the winning label.


variable bNotifyClient

bool UTryllClassifyIntentLLMParams::bNotifyClient;

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


variable bOverrideInput

bool UTryllClassifyIntentLLMParams::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

bool UTryllClassifyIntentLLMParams::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

bool UTryllClassifyIntentLLMParams::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

bool UTryllClassifyIntentLLMParams::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

bool UTryllClassifyIntentLLMParams::bOverrideNotFoundIntent;

Intent ID returned when no label clears the threshold/margin. Set to true to override the inherited NotFoundIntent value.


variable bOverrideSystemPrompt

bool UTryllClassifyIntentLLMParams::bOverrideSystemPrompt;

Prepended before the user turn during classification projection. Set to true to override the inherited SystemPrompt value.


Public Functions Documentation

function GetNodeType

inline virtual ETryllNodeType UTryllClassifyIntentLLMParams::GetNodeType () override const

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