Skip to content

Class UTryllClassifyIntentLLMParams

ClassList > UTryllClassifyIntentLLMParams

More...

  • #include <TryllClassifyIntentLLMParams.h>

Inherits the following classes: UTryllNodeParamsBase

Public Attributes

Type Name
FTryllModelAdaptation Adaptation
FTryllContextOverrides Context
int32 ContextSize = 0
FString FoundExit
int32 HistoryTurns = 2
FTryllSlotInput Input
TArray< FTryllClassifyIntentEntry > Intents
FString IntentsIds_DEPRECATED
FString IntentsPrompt_DEPRECATED
float Margin = 0.15f
FTryllModelName ModelName
FString NotFoundExit
FString NotFoundIntent
ETryllNotifyClient NotifyClient = ETryllNotifyClient::Disabled
FTryllSlotName OutputName
FString SystemPrompt
FString SystemPromptTextId
float Temperature = 0.0f
float Threshold = 0.5f
bool bOverrideInput = false
bool bOverrideIntentsIds_DEPRECATED = false
bool bOverrideIntentsPrompt_DEPRECATED = false
bool bOverrideModelName = false
bool bOverrideOutputName = false
bool bSystemPromptLocalized = 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

See 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

See UTryllNodeParamsBase

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

Protected Functions inherited from UTryllNodeParamsBase

See UTryllNodeParamsBase

Type Name
virtual void ApplyOldDefaults (int32 SavedVersion)
virtual bool UpgradeFrom (int32 SavedVersion)

Detailed Description

Intent classification node (LLM first-token logprob over letter candidates). Scores labels via a dedicated LLM, attaches an IntentionComponent on found, and writes the decision to slot.<output_name>.

Public Attributes Documentation

variable Adaptation

FTryllModelAdaptation UTryllClassifyIntentLLMParams::Adaptation;

LoRA adapters applied to this node's model. Empty = the base model.


variable Context

FTryllContextOverrides UTryllClassifyIntentLLMParams::Context;

Advanced memory and batching settings for this node's model (KV cache type, GPU offload, batch sizes). Unset = inherit.


variable ContextSize

int32 UTryllClassifyIntentLLMParams::ContextSize;

Context window for this node, in tokens; must fit the model's trained maximum. 0 = 2048.


variable FoundExit

FString UTryllClassifyIntentLLMParams::FoundExit;

Node to run when an intent wins clearly (passes Threshold and Margin). Empty = end the turn. Graph exit "found" — target node name; empty = END.


variable HistoryTurns

int32 UTryllClassifyIntentLLMParams::HistoryTurns;

How many earlier dialog turns the classifier sees. 0 = the current message only.


variable Input

FTryllSlotInput UTryllClassifyIntentLLMParams::Input;

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


variable Intents

TArray<FTryllClassifyIntentEntry> UTryllClassifyIntentLLMParams::Intents;

The intents to choose from, 2–26. Each has an id (the label written to the output) and a description the model reads.


variable IntentsIds_DEPRECATED

FString UTryllClassifyIntentLLMParams::IntentsIds_DEPRECATED;

variable IntentsPrompt_DEPRECATED

FString UTryllClassifyIntentLLMParams::IntentsPrompt_DEPRECATED;

variable Margin

float UTryllClassifyIntentLLMParams::Margin;

Minimum lead (0–1) of the winner over the runner-up; less = Not Found.


variable ModelName

FTryllModelName UTryllClassifyIntentLLMParams::ModelName;

variable NotFoundExit

FString UTryllClassifyIntentLLMParams::NotFoundExit;

Node to run when no intent wins clearly. Empty = end the turn. Graph exit "not_found" — target node name; empty = END.


variable NotFoundIntent

FString UTryllClassifyIntentLLMParams::NotFoundIntent;

Intent id that means "none of these": if it wins, take Not Found. Also the output on Not Found. May be #uncertain or empty.


variable NotifyClient

ETryllNotifyClient UTryllClassifyIntentLLMParams::NotifyClient;

When to send the game an intent_llm_classified event: Disabled, OnFound (Found exit only), or Always.


variable OutputName

FTryllSlotName UTryllClassifyIntentLLMParams::OutputName;

Effective output slot name for this node. Empty = the node's own name.


variable SystemPrompt

FString UTryllClassifyIntentLLMParams::SystemPrompt;

variable SystemPromptTextId

FString UTryllClassifyIntentLLMParams::SystemPromptTextId;

Text ID in the workflow text table. The provider's text is what is sent.


variable Temperature

float UTryllClassifyIntentLLMParams::Temperature;

Sharpens (below 1) or flattens (above 1) the probabilities before Threshold and Margin. 0 = unchanged.


variable Threshold

float UTryllClassifyIntentLLMParams::Threshold;

Minimum probability (0–1) the winning intent needs; below it = Not Found.


variable bOverrideInput

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


variable bOverrideIntentsIds_DEPRECATED

bool UTryllClassifyIntentLLMParams::bOverrideIntentsIds_DEPRECATED;

variable bOverrideIntentsPrompt_DEPRECATED

bool UTryllClassifyIntentLLMParams::bOverrideIntentsPrompt_DEPRECATED;

variable bOverrideModelName

bool UTryllClassifyIntentLLMParams::bOverrideModelName;

Language model that scores the intents. Empty = the workflow's Default Model Name. Set to true to override the inherited ModelName value.


variable bOverrideOutputName

bool UTryllClassifyIntentLLMParams::bOverrideOutputName;

Name later nodes use to read the result: the winning intent id, or Not Found Intent. Empty = this node's name. Set to true to override the inherited OutputName value.


variable bSystemPromptLocalized

bool UTryllClassifyIntentLLMParams::bSystemPromptLocalized;

Instructions for the classifier. Must include the intents_block tag (the lettered intent list); the letters tag ("A, B, C") is optional. Ticked: SystemPromptTextId is resolved by the text provider and that text is sent.


Public Functions Documentation

function GetDocsUrl

inline virtual FString UTryllClassifyIntentLLMParams::GetDocsUrl () override const

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

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