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