Skip to content

Class UTryllRegexGuardrailParams

ClassList > UTryllRegexGuardrailParams

More...

  • #include <TryllRegexGuardrailParams.h>

Inherits the following classes: UTryllNodeParamsBase

Public Attributes

Type Name
TArray< FString > InlineStrings
FTryllSlotInput Input
FString NotTriggeredExit
FTryllStoragePath StringStorage
FString TriggeredExit
bool bOverrideInput = 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

Regex guardrail node backed by session string storage. Branches on whether the node's input slot text matches a pattern in the storage. Resolution priority (factory): named string_storage → inline_strings → server-wide default (default-guardrail-patterns.txt from server-config).

Public Attributes Documentation

variable InlineStrings

TArray<FString> UTryllRegexGuardrailParams::InlineStrings;

Inline pattern list. Structural because it materialises the underlying StringStorage at construction; rebinding goes through string_storage.


variable Input

FTryllSlotInput UTryllRegexGuardrailParams::Input;

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


variable NotTriggeredExit

FString UTryllRegexGuardrailParams::NotTriggeredExit;

Exit taken when no pattern matches. Empty string = END. Graph exit "not_triggered" — target node name; empty = END.


variable StringStorage

FTryllStoragePath UTryllRegexGuardrailParams::StringStorage;

Named session string storage. Mutable — rebinds the underlying storage.


variable TriggeredExit

FString UTryllRegexGuardrailParams::TriggeredExit;

Exit taken when the input slot text matches a guardrail pattern. Empty string = END. Graph exit "triggered" — target node name; empty = END.


variable bOverrideInput

bool UTryllRegexGuardrailParams::bOverrideInput;

Slot name this node matches against. Empty = "user_message" (same default as every other input-bearing node). Structural: immutable after creation — rebinding would re-wire the slot dataflow that is validated once at agent creation. Set to true to override the inherited Input value.


Public Functions Documentation

function GetNodeType

inline virtual ETryllNodeType UTryllRegexGuardrailParams::GetNodeType () override const

Implements UTryllNodeParamsBase::GetNodeType


function Pack

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