Skip to content

Struct FTryllClassifyAttributeDef

ClassList > FTryllClassifyAttributeDef

More...

  • #include <TryllClassifyAttributeDef.h>

Public Attributes

Type Name
ETryllBooleanTrigger BooleanTrigger = ETryllBooleanTrigger::Never
TArray< FTryllClassifyAttributeChoice > Choices
ETryllAttributeKind Kind = ETryllAttributeKind::Choice
float Margin = 0.15f
FString Name
float ScoreThreshold = 0.5f
ETryllScoreTrigger ScoreTrigger = ETryllScoreTrigger::Never
FString Statement
FString SystemPrompt
float Threshold = 0.5f
FString UncertainChoice
bool bOverrideSystemPrompt = false

Detailed Description

One specialist question scored in the same batched call as its siblings.

Public Attributes Documentation

variable BooleanTrigger

ETryllBooleanTrigger FTryllClassifyAttributeDef::BooleanTrigger;

Boolean only. Which decided value takes triggered_exit.


variable Choices

TArray<FTryllClassifyAttributeChoice> FTryllClassifyAttributeDef::Choices;

Choice and Score only. Choice order is arbitrary; Score order is lowest to highest. 2-26 entries. Forbidden for Boolean.


variable Kind

ETryllAttributeKind FTryllClassifyAttributeDef::Kind;

Choice writes the winning id. Boolean writes true/false for one statement. Score writes a 0..1 expected level.


variable Margin

float FTryllClassifyAttributeDef::Margin;

Choice only. Minimum gap between the top two probabilities.


variable Name

FString FTryllClassifyAttributeDef::Name;

Slot suffix and diagnostics key. Unique within the parent vector. Combined with the node's output_name as <output_name>_<name>.


variable ScoreThreshold

float FTryllClassifyAttributeDef::ScoreThreshold;

Score only. Threshold in the normalised 0..1 range.


variable ScoreTrigger

ETryllScoreTrigger FTryllClassifyAttributeDef::ScoreTrigger;

Score only. Comparison of the normalised score with score_threshold.


variable Statement

FString FTryllClassifyAttributeDef::Statement;

Boolean only. The proposition evaluated against the input.


variable SystemPrompt

FString FTryllClassifyAttributeDef::SystemPrompt;

variable Threshold

float FTryllClassifyAttributeDef::Threshold;

Choice: minimum winning probability. Boolean: p_true cutoff.


variable UncertainChoice

FString FTryllClassifyAttributeDef::UncertainChoice;

Choice only. Written when the winner is below threshold or margin. One of the choice ids, or the reserved "#uncertain". A choice id uses that choice's triggers flag, including when that id itself wins. "#uncertain" is not a menu letter and does not trigger.


variable bOverrideSystemPrompt

bool FTryllClassifyAttributeDef::bOverrideSystemPrompt;

Specialist Mustache template. Empty selects a kind-specific default. Choice and Score must reference intents_block. Boolean must reference statement; the node appends the fixed True/False menu. Set to true to override the inherited SystemPrompt value.



The documentation for this class was generated from the following file C:/_tryll/_monorepo3/tryll/clients/unreal/Source/TryllClient/Public/Generated/Nodes/TryllClassifyAttributeDef.h