Namespace Tryll::Client¶
Namespace List > Tryll > Client
Namespaces¶
| Type | Name |
|---|---|
| namespace | Internal |
Classes¶
| Type | Name |
|---|---|
| struct | AgentCreateOptions |
| struct | AgentKvCacheEvictResult |
| struct | AgentKvCachePrefillResult |
| struct | AgentKvCacheStatus |
| class | AgentProxy Client-side handle for one server-side agent. |
| struct | AgentVariableDecl |
| class | AgentVariables Client-side mirror + deferred-flush batcher for one agent's declared variables. |
| struct | AudioFormat |
| class | ConnectedSession RAII pair: owns a ManagedServer child process and a connectedTryllClient . |
| struct | DialogFileLoadResult |
| struct | DialogFileSaveResult |
| struct | DialogImportResult |
| struct | DialogIntention |
| struct | DialogInteractionSnapshot |
| struct | DialogKnowledge |
| struct | DialogKnowledgeChunk |
| struct | DialogProjectionWindow |
| struct | DialogSlot |
| struct | DialogSnapshot |
| struct | DialogSummary |
| struct | DialogToolCall |
| struct | DialogToolResult |
| struct | GameMemoryLoadResult |
| struct | GameMemorySaveResult |
| struct | GameMemorySnapshot |
| class | GraphDescription Fluent builder for a workflow graph description sent to the server. |
| class | GraphDescriptionNodeMethods |
| class | ManagedServer RAII handle around a child tryll_server process. |
| struct | ManagedServerOptions Configuration passed to ManagedServer::Start . |
| struct | MessageResult Placeholder for per-turn metadata returned from SendText. |
| class | MutableKb Experimental session-scoped mutable knowledge-base handle. |
| struct | MutableKbHit |
| struct | MutableKbImportResult |
| struct | MutableKbInfo |
| struct | MutableKbListPage |
| struct | MutableKbRecord |
| struct | MutableKbSnapshot |
| struct | MutableKbStats |
| struct | MutableKbUpsert |
| struct | MutableKbWriteResult |
| struct | TranscriptUpdate Transcript update delivered via the VoiceInput callback. |
| class | TryllClient TCP session to the Tryll server. |
| class | TryllError Exception thrown by TryllClient andAgentProxy on server errors or disconnects. |
| struct | UtteranceOptions Per-utterance options passed to BeginUtterance. |
| class | VoiceInput |
| struct | VoiceInputConfig Parameters for creating a VoiceInput handle. |
Public Types¶
| Type | Name |
|---|---|
| enum std::uint8_t | AgentKvCachePrefixStatus |
| enum std::uint8_t | AgentKvCacheResidency |
| enum std::uint8_t | DialogCompatibility |
| typedef std::variant< DialogSlot, DialogKnowledge, DialogIntention, DialogToolCall, DialogToolResult, DialogSummary > | DialogComponent |
| enum std::uint8_t | DialogSlotKind |
| typedef std::function< void(std::string_view, std::uint64_t, std::uint64_t, float)> | DownloadProgressCallback Callback invoked during TryllClient::DownloadModel as data arrives. |
| enum std::uint8_t | MutableKbCompatibility |
| enum std::uint8_t | MutableKbEmbedTiming |
| typedef std::variant< ::Tryll::NodeParams::GenerateParamsT, ::Tryll::NodeParams::RegexGuardrailParamsT, ::Tryll::NodeParams::CannedResponseParamsT, ::Tryll::NodeParams::ToolCallParamsT, ::Tryll::NodeParams::RetrieveParamsT, ::Tryll::NodeParams::InstructionParamsT, ::Tryll::NodeParams::ClassifyIntentParamsT, ::Tryll::NodeParams::ClassifyIntentLLMParamsT, ::Tryll::NodeParams::IntentToInstructionParamsT, ::Tryll::NodeParams::GenerateAndSpeakParamsT, ::Tryll::NodeParams::SpeakParamsT, ::Tryll::NodeParams::PauseParamsT, ::Tryll::NodeParams::TransformParamsT, ::Tryll::NodeParams::BranchParamsT, ::Tryll::NodeParams::WriteToMemoryParamsT, ::Tryll::NodeParams::SummarizeParamsT, ::Tryll::NodeParams::ClassifyAttributesLLMParamsT > | NodeParamsVariant Typed variant discriminating all concrete node-parameter PODs. |
| enum std::uint8_t | VariableType Type tag for a declared agent variable. |
| typedef std::variant< std::int64_t, double, std::string, bool, std::vector< std::string > > | VariableValue |
Public Attributes¶
| Type | Name |
|---|---|
| std::uint32_t | kGameMemoryFormatVersion = 1 |
Public Functions¶
| Type | Name |
|---|---|
| DialogSnapshot | DecodeFlatBuffer (std::span< const std::uint8_t > bytes) |
| GameMemorySnapshot | DecodeGameMemory (std::span< const std::uint8_t > bytes) |
| MutableKbSnapshot | DecodeMutableKbSnapshot (std::span< const std::uint8_t > bytes) |
| std::vector< std::uint8_t > | EncodeFlatBuffer (const DialogSnapshot & snapshot) Canonical binary form (file identifier "TDLG"). Throws TryllError on failure. |
| std::vector< std::uint8_t > | EncodeFlatBuffer (const MutableKbSnapshot & snapshot) Canonical TMKB bytes. Throws TryllError on failure. |
| std::vector< std::uint8_t > | EncodeFlatBuffer (const GameMemorySnapshot & snapshot) |
| flatbuffers::Offset<::Tryll::GameMemory > | PackGameMemory (flatbuffers::FlatBufferBuilder & fbb, const GameMemorySnapshot & snapshot) |
| flatbuffers::Offset<::Tryll::PersistedDialogSnapshot > | PackPersistedDialogSnapshot (flatbuffers::FlatBufferBuilder & fbb, const DialogSnapshot & snapshot) |
| flatbuffers::Offset<::Tryll::PersistedMutableKb > | PackPersistedMutableKb (flatbuffers::FlatBufferBuilder & fbb, const MutableKbSnapshot & snapshot) |
| GameMemorySnapshot | UnpackGameMemory (const ::Tryll::GameMemory & table) |
| DialogSnapshot | UnpackPersistedDialogSnapshot (const ::Tryll::PersistedDialogSnapshot & table) |
| MutableKbSnapshot | UnpackPersistedMutableKb (const ::Tryll::PersistedMutableKb & table) |
Public Types Documentation¶
enum AgentKvCachePrefixStatus¶
enum AgentKvCacheResidency¶
enum DialogCompatibility¶
typedef DialogComponent¶
using Tryll::Client::DialogComponent = std::variant<
DialogSlot,
DialogKnowledge,
DialogIntention,
DialogToolCall,
DialogToolResult,
DialogSummary>;
enum DialogSlotKind¶
typedef DownloadProgressCallback¶
Callback invoked during TryllClient::DownloadModel as data arrives.
using Tryll::Client::DownloadProgressCallback =
std::function<void(std::string_view, std::uint64_t, std::uint64_t, float)>;
Invoked synchronously on the reader thread — keep the callback short and non-blocking.
Parameters (in order): modelName, bytesDownloaded, totalBytes, percent (0–100).
enum MutableKbCompatibility¶
enum MutableKbEmbedTiming¶
typedef NodeParamsVariant¶
Typed variant discriminating all concrete node-parameter PODs.
using Tryll::Client::NodeParamsVariant = std::variant<
::Tryll::NodeParams::GenerateParamsT,
::Tryll::NodeParams::RegexGuardrailParamsT,
::Tryll::NodeParams::CannedResponseParamsT,
::Tryll::NodeParams::ToolCallParamsT,
::Tryll::NodeParams::RetrieveParamsT,
::Tryll::NodeParams::InstructionParamsT,
::Tryll::NodeParams::ClassifyIntentParamsT,
::Tryll::NodeParams::ClassifyIntentLLMParamsT,
::Tryll::NodeParams::IntentToInstructionParamsT,
::Tryll::NodeParams::GenerateAndSpeakParamsT,
::Tryll::NodeParams::SpeakParamsT,
::Tryll::NodeParams::PauseParamsT,
::Tryll::NodeParams::TransformParamsT,
::Tryll::NodeParams::BranchParamsT,
::Tryll::NodeParams::WriteToMemoryParamsT,
::Tryll::NodeParams::SummarizeParamsT,
::Tryll::NodeParams::ClassifyAttributesLLMParamsT
>;
Generated AddXxx methods build a NodeParamsVariant and store it in NodeDesc.params. The ClientCodec serialises the variant into the FlatBuffers NodeParams union.
enum VariableType¶
Type tag for a declared agent variable.
typedef VariableValue¶
using Tryll::Client::VariableValue = std::variant<std::int64_t, double, std::string, bool, std::vector<std::string>>;
A variable's value. The active alternative fixes its type for the agent's whole lifetime (server-enforced; see VariableTypeMismatch 3014).
Public Attributes Documentation¶
variable kGameMemoryFormatVersion¶
Public Functions Documentation¶
function DecodeFlatBuffer¶
function DecodeGameMemory¶
function DecodeMutableKbSnapshot¶
function EncodeFlatBuffer¶
Canonical binary form (file identifier "TDLG"). Throws TryllError on failure.
function EncodeFlatBuffer¶
Canonical TMKB bytes. Throws TryllError on failure.
function EncodeFlatBuffer¶
function PackGameMemory¶
flatbuffers::Offset<::Tryll::GameMemory > Tryll::Client::PackGameMemory (
flatbuffers::FlatBufferBuilder & fbb,
const GameMemorySnapshot & snapshot
)
function PackPersistedDialogSnapshot¶
flatbuffers::Offset<::Tryll::PersistedDialogSnapshot > Tryll::Client::PackPersistedDialogSnapshot (
flatbuffers::FlatBufferBuilder & fbb,
const DialogSnapshot & snapshot
)
function PackPersistedMutableKb¶
flatbuffers::Offset<::Tryll::PersistedMutableKb > Tryll::Client::PackPersistedMutableKb (
flatbuffers::FlatBufferBuilder & fbb,
const MutableKbSnapshot & snapshot
)
function UnpackGameMemory¶
function UnpackPersistedDialogSnapshot¶
DialogSnapshot Tryll::Client::UnpackPersistedDialogSnapshot (
const ::Tryll::PersistedDialogSnapshot & table
)
function UnpackPersistedMutableKb¶
MutableKbSnapshot Tryll::Client::UnpackPersistedMutableKb (
const ::Tryll::PersistedMutableKb & table
)
The documentation for this class was generated from the following file C:/_tryll/_monorepo3/tryll/clients/cpp/include/tryll/AgentCreateOptions.h