Class UTryllSpeakParams¶
#include <TryllSpeakParams.h>
Inherits the following classes: UTryllNodeParamsBase
Public Attributes¶
| Type | Name |
|---|---|
| FString | DefaultExit |
| int32 | FirstChunkMaxChars = 0 |
| FTryllSlotInput | Input |
| int32 | MinSentenceChars = 12 |
| bool | bOverrideInput = false |
Public Functions¶
| Type | Name |
|---|---|
| virtual FString | GetDocsUrl () override const |
| virtual ETryllNodeType | GetNodeType () override const |
| virtual bool | IsTtsConsumer () 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¶
Standalone TTS-only node. Voices its input-resolved slot (any upstream node's output — Generate, CannedResponse, etc. — or user_message itself), segments it into sentences, and synthesizes each on a dedicated TTS strand, emitting PCM frames via OnTtsAudio callbacks. Unlike GenerateAndSpeak it runs no LLM inference, so it can voice canned/scripted lines or any upstream-produced answer without paying for a generation pass. The voice belongs to the agent (CreateAgentRequest.voice); agent creation fails without one (3025).
Public Attributes Documentation¶
variable DefaultExit¶
Node to run after the text is spoken. Empty = end the turn. Graph exit "default" — target node name; empty = END.
variable FirstChunkMaxChars¶
Lets the first chunk end early, at a comma, dash or space once it is this long, so speech starts sooner. 0 = off; try 48.
variable Input¶
Upstream inter-node slot this field consumes. Empty = context default.
variable MinSentenceChars¶
Minimum length of a spoken chunk before a sentence end cuts it (CJK characters count double). Lower = speech starts sooner, more TTS calls.
variable bOverrideInput¶
Text to speak: the player's message or an earlier node's output (for example a Canned Response). Empty = the player's message. Set to true to override the inherited Input value.
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 IsTtsConsumer¶
True when this node speaks through the agent's voice (Speak, GenerateAndSpeak). A graph with such a node needs a voice profile. From the schema's (tts_consumer).
Implements UTryllNodeParamsBase::IsTtsConsumer
function Pack¶
virtual flatbuffers::Offset< void > UTryllSpeakParams::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/TryllSpeakParams.h