Class UTryllClassifyIntentLLMParams¶
ClassList > UTryllClassifyIntentLLMParams
#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¶
| 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¶
Number of dialog history turns included in the classification context.
variable IntentsIds¶
variable IntentsPrompt¶
variable Margin¶
Minimum margin between top and second label probabilities.
variable ModelName¶
variable NotFoundIntent¶
variable SystemPrompt¶
variable Threshold¶
First-token probability threshold for the winning label.
variable bNotifyClient¶
When true, fire OnNodeEvent("intent_classified", …) on the found path.
variable 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¶
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¶
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¶
Intent ID returned when no label clears the threshold/margin. Set to true to override the inherited NotFoundIntent value.
variable bOverrideSystemPrompt¶
Prepended before the user turn during classification projection. Set to true to override the inherited SystemPrompt value.
Public Functions Documentation¶
function GetNodeType¶
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