Skip to content

Class UTryllClassifyIntentLLMParams

ClassList > UTryllClassifyIntentLLMParams

More...

  • #include <TryllClassifyIntentLLMParams.h>

Inherits the following classes: UTryllNodeParamsBase

Public Attributes

Type Name
int32 HistoryTurns = 4
FString IntentsIds
FString IntentsPrompt
float Margin = 0.0f
FString ModelName
FString NotFoundIntent
FString SystemPrompt
float Threshold = 0.5f
bool bNotifyClient = 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
UPROPERTY (EditAnywhere, BlueprintReadWrite, Category="Tryll|Exits", meta=(GetOptions="GetExitTargetOptions"))
UPROPERTY (EditAnywhere, BlueprintReadWrite, Category="Tryll|Exits", meta=(GetOptions="GetExitTargetOptions"))

Public Functions inherited from UTryllNodeParamsBase

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

Public Attributes Documentation

variable HistoryTurns

int32 UTryllClassifyIntentLLMParams::HistoryTurns;

Number of dialog history turns included in the classification context.


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

FString UTryllClassifyIntentLLMParams::ModelName;

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


function UPROPERTY [1/2]

UTryllClassifyIntentLLMParams::UPROPERTY (
    EditAnywhere,
    BlueprintReadWrite,
    Category="Tryll|Exits",
    meta=(GetOptions="GetExitTargetOptions")
) 

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


function UPROPERTY [2/2]

UTryllClassifyIntentLLMParams::UPROPERTY (
    EditAnywhere,
    BlueprintReadWrite,
    Category="Tryll|Exits",
    meta=(GetOptions="GetExitTargetOptions")
) 

Exit taken when no label cleared the threshold/margin. 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/TryllClassifyIntentLLMParams.h