Skip to content

Struct Tryll::TryllClient::SessionConfig

ClassList > Tryll > TryllClient > SessionConfig

Per-model-kind session configuration. More...

  • #include <TryllClient.h>

Public Attributes

Type Name
bool allowAutoModelDownloading = false
::Tryll::InferenceEngine embeddingEngine = ::Tryll::InferenceEngine\_Mock
::Tryll::InferenceEngine engine = ::Tryll::InferenceEngine\_Mock
std::string gameName
::Tryll::InferenceEngine sttEngine = ::Tryll::InferenceEngine\_Mock
std::chrono::milliseconds timeout = std::chrono::seconds{30}
::Tryll::InferenceEngine ttsEngine = ::Tryll::InferenceEngine\_Mock

Detailed Description

Each model kind dispatches against its own engine: language models use engine, STT models use sttEngine, TTS models use ttsEngine, and embedding models use embeddingEngine. All default to ::Tryll::InferenceEngine_Mock; set the ones you actually use.

Public Attributes Documentation

variable allowAutoModelDownloading

bool Tryll::TryllClient::SessionConfig::allowAutoModelDownloading;

When true, the server automatically downloads any missing models referenced by a graph during CreateAgent. Intended for development and prototyping — not for production use. When this flag is set, CreateAgent and CreateAgentAsync use a 30-minute default timeout unless the caller overrides it explicitly.


variable embeddingEngine

::Tryll::InferenceEngine Tryll::TryllClient::SessionConfig::embeddingEngine;

variable engine

::Tryll::InferenceEngine Tryll::TryllClient::SessionConfig::engine;

variable gameName

std::string Tryll::TryllClient::SessionConfig::gameName;

Integration identifier for telemetry grouping (e.g. "my-game"). Empty for anonymous sessions.


variable sttEngine

::Tryll::InferenceEngine Tryll::TryllClient::SessionConfig::sttEngine;

variable timeout

std::chrono::milliseconds Tryll::TryllClient::SessionConfig::timeout;

variable ttsEngine

::Tryll::InferenceEngine Tryll::TryllClient::SessionConfig::ttsEngine;


The documentation for this class was generated from the following file C:/_tryll/_monorepo2/server/client-cpp/include/tryll/TryllClient.h