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

Changes how the model behaves for this node (LoRA adapters; later control vectors). Null = base model. Structural: applied to the llama context at creation, so a change means a new context. Appended last so existing field IDs do not move.


variable Attributes

TArray<FTryllClassifyAttributeDef> UTryllClassifyAttributesLLMParams::Attributes;

The attributes to classify. 1-16 entries, unique names. Shape, name, kind and choice id/prompt are structural; the hand-written Apply allows statement, prompt, decision and trigger edits.


variable Context

FTryllContextOverrides UTryllClassifyAttributesLLMParams::Context;

Backend context construction. The node derives n_seq_max and n_outputs_max from the attribute count. Structural.


variable ContextSize

int32 UTryllClassifyAttributesLLMParams::ContextSize;

KV-cache window in tokens. 0 = size from the rendered specialist prompts plus a per-attribute tail budget, else the classify default.


variable DefaultExit

FString UTryllClassifyAttributesLLMParams::DefaultExit;

Exit taken when no attribute triggers. Empty string = END. Graph exit "default" — target node name; empty = END.


variable HistoryTurns

int32 UTryllClassifyAttributesLLMParams::HistoryTurns;

Dialog turns included before the current user text. Default 0 until history quality is measured.


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 fire OnNodeEvent("attributes_classified", …). OnFound means the triggered exit was taken.


variable OnFailure

ETryllAttributeFailureRoute UTryllClassifyAttributesLLMParams::OnFailure;

Exit taken when scoring fails.


variable OutputName

FTryllSlotName UTryllClassifyAttributesLLMParams::OutputName;

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


variable Temperature

float UTryllClassifyAttributesLLMParams::Temperature;

Softmax temperature for every attribute. 0 = 1.0 (identity).


variable TriggeredExit

FString UTryllClassifyAttributesLLMParams::TriggeredExit;

Exit taken when any attribute triggers, or when on_failure is Triggered and scoring fails. Empty string = END. Graph exit "triggered" — target node name; empty = END.


variable bOverrideInput

bool UTryllClassifyAttributesLLMParams::bOverrideInput;

Slot name this node consumes. Empty = "user_message". Set to true to override the inherited Input value.


variable bOverrideModelName

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

bool UTryllClassifyAttributesLLMParams::bOverrideOutputName;

Slot namespace. Empty = node name. Set to true to override the inherited OutputName value.


Public Functions Documentation

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