Skip to content

Class UTryllClassifyAttributesLLMParams

ClassList > UTryllClassifyAttributesLLMParams

More...

  • #include <TryllClassifyAttributesLLMParams.h>

Inherits the following classes: UTryllNodeParamsBase

Public Attributes

Type Name
FTryllModelAdaptation Adaptation
TArray< FTryllClassifyAttributeDef > Attributes
FTryllContextOverrides Context
int32 ContextSize = 0
FString DefaultExit
int32 HistoryTurns = 0
FTryllSlotInput Input
FTryllModelName ModelName
ETryllNotifyClient NotifyClient = ETryllNotifyClient::Disabled
ETryllAttributeFailureRoute OnFailure = ETryllAttributeFailureRoute::Default
FTryllSlotName OutputName
float Temperature = 0.0f
FString TriggeredExit
bool bOverrideInput = false
bool bOverrideModelName = false
bool bOverrideOutputName = 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

Several specialist classifiers scored in one cached batched call. Each attribute writes slot.<output_name>_<name>. triggered_exit is taken when any attribute's own rule fires.

Public Attributes Documentation

variable Adaptation

FTryllModelAdaptation UTryllClassifyAttributesLLMParams::Adaptation;

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


variable Attributes

TArray<FTryllClassifyAttributeDef> UTryllClassifyAttributesLLMParams::Attributes;

Questions to classify, 1–16, all scored in one pass. Each writes its answer to <Output Name>_<attribute Name>.


variable Context

FTryllContextOverrides UTryllClassifyAttributesLLMParams::Context;

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


variable ContextSize

int32 UTryllClassifyAttributesLLMParams::ContextSize;

Context window for this node, in tokens. 0 = sized automatically from the attribute prompts.


variable DefaultExit

FString UTryllClassifyAttributesLLMParams::DefaultExit;

Node to run when no attribute fires. Empty = end the turn. Graph exit "default" — target node name; empty = END.


variable HistoryTurns

int32 UTryllClassifyAttributesLLMParams::HistoryTurns;

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


variable Input

FTryllSlotInput UTryllClassifyAttributesLLMParams::Input;

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


variable ModelName

FTryllModelName UTryllClassifyAttributesLLMParams::ModelName;

variable NotifyClient

ETryllNotifyClient UTryllClassifyAttributesLLMParams::NotifyClient;

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


variable OnFailure

ETryllAttributeFailureRoute UTryllClassifyAttributesLLMParams::OnFailure;

Exit to take if scoring fails: Default (fail open) or Triggered (fail closed).


variable OutputName

FTryllSlotName UTryllClassifyAttributesLLMParams::OutputName;

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


variable Temperature

float UTryllClassifyAttributesLLMParams::Temperature;

Sharpens (below 1) or flattens (above 1) every attribute's probabilities before its thresholds. 0 = unchanged.


variable TriggeredExit

FString UTryllClassifyAttributesLLMParams::TriggeredExit;

Node to run when any attribute fires (or scoring fails and On Failure is Triggered). Empty = end the turn. Graph exit "triggered" — target node name; empty = END.


variable bOverrideInput

bool UTryllClassifyAttributesLLMParams::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 bOverrideModelName

bool UTryllClassifyAttributesLLMParams::bOverrideModelName;

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


variable bOverrideOutputName

bool UTryllClassifyAttributesLLMParams::bOverrideOutputName;

Prefix of this node's results: each attribute writes <Output Name>_<attribute Name>. Empty = this node's name. Set to true to override the inherited OutputName value.


Public Functions Documentation

function GetDocsUrl

inline virtual FString UTryllClassifyAttributesLLMParams::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 UTryllClassifyAttributesLLMParams::GetNodeType () override const

Implements UTryllNodeParamsBase::GetNodeType


function Pack

virtual flatbuffers::Offset< void > UTryllClassifyAttributesLLMParams::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/TryllClassifyAttributesLLMParams.h