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 StatementTextId
FString SystemPrompt
FString SystemPromptTextId
float Threshold = 0.5f
FString UncertainChoice
bool bOverrideSystemPrompt = false
bool bStatementLocalized = false
bool bSystemPromptLocalized = 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 answer fires the node's Triggered exit: Never, True or False.


variable Choices

TArray<FTryllClassifyAttributeChoice> FTryllClassifyAttributeDef::Choices;

Choice and Score only: the options, 2–26. For Score, order them from lowest to highest.


variable Kind

ETryllAttributeKind FTryllClassifyAttributeDef::Kind;

Choice: picks one option and writes its id. Boolean: decides one Statement, writes true or false. Score: writes a 0–1 level.


variable Margin

float FTryllClassifyAttributeDef::Margin;

Choice only. Minimum lead of the winner over the runner-up.


variable Name

FString FTryllClassifyAttributeDef::Name;

Attribute name; the answer is written to <Output Name>_<Name>. Must be unique within the node.


variable ScoreThreshold

float FTryllClassifyAttributeDef::ScoreThreshold;

Score only. Level (0–1) that Score Trigger compares against.


variable ScoreTrigger

ETryllScoreTrigger FTryllClassifyAttributeDef::ScoreTrigger;

Score only. Fire the node's Triggered exit when the score is AtOrAbove or Below Score Threshold, or Never.


variable Statement

FString FTryllClassifyAttributeDef::Statement;

variable StatementTextId

FString FTryllClassifyAttributeDef::StatementTextId;

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


variable SystemPrompt

FString FTryllClassifyAttributeDef::SystemPrompt;

variable SystemPromptTextId

FString FTryllClassifyAttributeDef::SystemPromptTextId;

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


variable Threshold

float FTryllClassifyAttributeDef::Threshold;

Choice: minimum probability of the winner. Boolean: probability of True needed to answer true.


variable UncertainChoice

FString FTryllClassifyAttributeDef::UncertainChoice;

Choice only. Answer written when the winner is too weak: a choice id or #uncertain. A choice id fires Triggered if that choice does.


variable bOverrideSystemPrompt

bool FTryllClassifyAttributeDef::bOverrideSystemPrompt;

Instructions for this attribute. Empty = a built-in default. Choice and Score must include the intents_block tag; Boolean must include the statement tag. Set to true to override the inherited SystemPrompt value.


variable bStatementLocalized

bool FTryllClassifyAttributeDef::bStatementLocalized;

Boolean only. The statement judged true or false for the input. Ticked: StatementTextId is resolved by the text provider and that text is sent.


variable bSystemPromptLocalized

bool FTryllClassifyAttributeDef::bSystemPromptLocalized;

Ticked: SystemPromptTextId is resolved by the text provider and that text is sent.



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