Namespace Tryll::Client¶
Namespace List > Tryll > Client
Classes¶
| Type | Name |
|---|---|
| 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 . |
Public Types¶
| Type | Name |
|---|---|
| typedef std::function< void(std::string_view, std::uint64_t, std::uint64_t, float)> | DownloadProgressCallback Callback invoked during Tryll::TryllClient::DownloadModel as data arrives. |
| typedef std::variant< ::Tryll::NodeParams::GenerateParamsT, ::Tryll::NodeParams::HumanMessageGuardrailParamsT, ::Tryll::NodeParams::CannedResponseParamsT, ::Tryll::NodeParams::ToolCallParamsT, ::Tryll::NodeParams::RetrieveParamsT, ::Tryll::NodeParams::InstructionParamsT, ::Tryll::NodeParams::ClassifyIntentParamsT, ::Tryll::NodeParams::ClassifyIntentLLMParamsT, ::Tryll::NodeParams::IntentToInstructionParamsT > | NodeParamsVariant Typed variant discriminating all concrete node-parameter PODs. |
Public Types Documentation¶
typedef DownloadProgressCallback¶
Callback invoked during Tryll::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).
typedef NodeParamsVariant¶
Typed variant discriminating all concrete node-parameter PODs.
using Tryll::Client::NodeParamsVariant = std::variant<
::Tryll::NodeParams::GenerateParamsT,
::Tryll::NodeParams::HumanMessageGuardrailParamsT,
::Tryll::NodeParams::CannedResponseParamsT,
::Tryll::NodeParams::ToolCallParamsT,
::Tryll::NodeParams::RetrieveParamsT,
::Tryll::NodeParams::InstructionParamsT,
::Tryll::NodeParams::ClassifyIntentParamsT,
::Tryll::NodeParams::ClassifyIntentLLMParamsT,
::Tryll::NodeParams::IntentToInstructionParamsT
>;
Generated AddXxx methods build a NodeParamsVariant and store it in NodeDesc.params. The ClientCodec serialises the variant into the FlatBuffers NodeParams union.
The documentation for this class was generated from the following file C:/_tryll/_monorepo2/server/client-cpp/include/tryll/Generated/GraphDescription.Nodes.gen.h