Class UTryllGenerateParams¶
ClassList > UTryllGenerateParams
#include <TryllGenerateParams.h>
Inherits the following classes: UTryllNodeParamsBase
Public Attributes¶
| Type | Name |
|---|---|
| FTryllModelAdaptation | Adaptation |
| FTryllContextOverrides | Context |
| int32 | ContextSize = 0 |
| FString | DefaultExit |
| FString | Grammar |
| ETryllHistoryRole | HistoryRole = ETryllHistoryRole::Assistant |
| FTryllSlotInput | Input |
| FTryllModelName | ModelName |
| FTryllOutputFilterOverrides | OutputFilter |
| FTryllSlotName | OutputName |
| ETryllPlacement | Placement = ETryllPlacement::BeforeUserAsSystem |
| FTryllSamplingOverrides | Sampling |
| ETryllSendAnswer | Send = ETryllSendAnswer::Streamed |
| FString | SystemPrompt |
| FString | SystemPromptTextId |
| FString | Template |
| FString | TemplateTextId |
| bool | bOverrideGrammar = false |
| bool | bOverrideInput = false |
| bool | bOverrideModelName = false |
| bool | bOverrideOutputName = false |
| bool | bOverrideSystemPrompt = false |
| bool | bOverrideTemplate = false |
| bool | bSubstituteAgentVariables = false |
| bool | bSystemPromptLocalized = false |
| bool | bTemplateLocalized = false |
Public Functions¶
| Type | Name |
|---|---|
| virtual FString | GetDocsUrl () override const |
| virtual ETryllNodeType | GetNodeType () override const |
| virtual flatbuffers::Offset< void > | Pack (flatbuffers::FlatBufferBuilder & Fbb, Tryll::NodeParams::NodeParams & OutType) override const |
Public Functions inherited from UTryllNodeParamsBase¶
| Type | Name |
|---|---|
| virtual FString | GetDocsUrl () const |
| 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¶
| Type | Name |
|---|---|
| const FTryllGraphDescription * | FindEnclosingGraph (const UObject * Obj) |
Protected Functions inherited from UTryllNodeParamsBase¶
| Type | Name |
|---|---|
| virtual void | ApplyOldDefaults (int32 SavedVersion) |
| virtual bool | UpgradeFrom (int32 SavedVersion) |
Detailed Description¶
LLM-driven text generation node. Renders a Mustache template, runs sampling, produces a streamed AnswerText.
Public Attributes Documentation¶
variable Adaptation¶
LoRA adapters applied to this node's model. Empty = the base model.
variable Context¶
Advanced memory and batching settings for this node's model (KV cache type, GPU offload, batch sizes). Unset = inherit.
variable ContextSize¶
Context window for this node, in tokens; must fit the model's trained maximum. 0 = the model's own size, else the server default.
variable DefaultExit¶
Node to run after the answer is generated. Empty = end the turn. Graph exit "default" — target node name; empty = END.
variable Grammar¶
variable HistoryRole¶
Whether later turns remember this answer as an assistant message. None = forgotten after this turn.
variable Input¶
Upstream inter-node slot this field consumes. Empty = context default.
variable ModelName¶
variable OutputFilter¶
Removes roleplay artifacts from the answer: "Bob:" prefixes, actions, (asides), [notes]. All off by default.
variable OutputName¶
Effective output slot name for this node. Empty = the node's own name.
variable Placement¶
Where Template goes: before or after the Input, as a system or a user message.
variable Sampling¶
Overrides for the model's sampling settings (temperature, top-p, max tokens…). Unset values keep the model's own.
variable Send¶
How the answer reaches the game: Streamed (token by token), Whole (once, at the end), or None (kept for later nodes only).
variable SystemPrompt¶
variable SystemPromptTextId¶
Text ID in the workflow text table. The provider's text is what is sent.
variable Template¶
variable TemplateTextId¶
Text ID in the workflow text table. The provider's text is what is sent.
variable bOverrideGrammar¶
GBNF grammar the answer must follow; needs a root rule. Empty = free text. Use it to force a format, such as JSON or a fixed set of lines. Set to true to override the inherited Grammar value.
variable bOverrideInput¶
Text this node answers: the player's message or an earlier node's output. Empty = the player's message. Set to true to override the inherited Input value.
variable bOverrideModelName¶
Language model this node runs. Empty = the workflow's Default Model Name. Set to true to override the inherited ModelName value.
variable bOverrideOutputName¶
Name later nodes use to read this node's answer (in their Input, or as the slot.<name> tag). Empty = this node's name. Set to true to override the inherited OutputName value.
variable bOverrideSystemPrompt¶
System message the model reads before the dialog. Empty = none. Set to true to override the inherited SystemPrompt value.
variable bOverrideTemplate¶
Mustache text added next to the Input (where: see Placement), for example the slot.<name> tag or retrieved knowledge. Empty = none. Set to true to override the inherited Template value.
variable bSubstituteAgentVariables¶
Replace NAME markers in the answer with the values of agent variables that allow output substitution. Not case-sensitive.
variable bSystemPromptLocalized¶
Ticked: SystemPromptTextId is resolved by the text provider and that text is sent.
variable bTemplateLocalized¶
Ticked: TemplateTextId is resolved by the text provider and that text is sent.
Public Functions Documentation¶
function GetDocsUrl¶
Reference page of this node type on docs.tryllengine.com, opened by the editor's help button. Empty for test-only node types, which have no page.
Implements UTryllNodeParamsBase::GetDocsUrl
function GetNodeType¶
Implements UTryllNodeParamsBase::GetNodeType
function Pack¶
virtual flatbuffers::Offset< void > UTryllGenerateParams::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/TryllGenerateParams.h