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¶
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¶
variable engine¶
variable gameName¶
Integration identifier for telemetry grouping (e.g. "my-game"). Empty for anonymous sessions.
variable sttEngine¶
variable timeout¶
variable ttsEngine¶
The documentation for this class was generated from the following file C:/_tryll/_monorepo2/server/client-cpp/include/tryll/TryllClient.h