Expand description
siumai-core
Provider-agnostic runtime, types, and shared execution primitives.
Modules§
- auth
- Authentication helpers and token providers. This module defines a minimal trait to supply Bearer tokens (e.g., for Vertex AI).
- bridge
- Protocol bridge contracts.
- builder
- Builder base + provider builder core utilities.
- client
- Client Module
- core
- Core Abstractions
- custom_
provider - Custom Provider Framework
- defaults
- Default Configuration Values
- embedding
- Embedding model family (V3).
- encoding
- Provider wire-format encoders.
- error
- Error handling (re-export).
- execution
- Execution Layer - Unified Public API
- hosted_
tools - Provider-defined tools (core crate).
- image
- Image generation model family (V3).
- observability
- Observability entrypoint: unified namespace for tracing and telemetry.
- params
- Parameter Management Module
- rerank
- Rerank model family (V3).
- retry
- Retry module (ergonomic namespace)
- retry_
api - Public Retry API Facade
- speech
- Speech (text-to-speech) model family (V3).
- standards
- Protocol standards and compatibility helpers.
- streaming
- Streaming Module
- structured_
output - Provider-agnostic structured output helpers.
- text
- Text model family (V3).
- tooling
- Tool runtime (schema + execution binding).
- tools
- Provider-defined tool factories (re-export).
- traits
- Core Trait Definitions
- transcription
- Transcription (speech-to-text) model family (V3).
- types
- Core data type definitions (re-export).
- utils
- Utility modules for siumai
Macros§
Enums§
- LlmError
- The primary error type for the LLM library.