Skip to main content

Crate siumai_provider_amazon_bedrock

Crate siumai_provider_amazon_bedrock 

Source
Expand description

siumai-provider-amazon-bedrock

Amazon Bedrock provider implementation for siumai.

This crate mirrors the Vercel AI SDK @ai-sdk/amazon-bedrock granularity.

Modules§

auth
Authentication helpers and token providers. This module defines a minimal trait to supply Bearer tokens (e.g., for Vertex AI).
builder
Builder utilities shared across provider crates.
client
Client Module
core
Core Abstractions
defaults
Default Configuration Values
error
Error handling (re-export).
execution
Execution Layer - Unified Public API
hosted_tools
Provider-defined tools (core crate).
observability
Observability entrypoint: unified namespace for tracing and telemetry.
provider_metadata
Provider-owned typed response metadata (ChatResponse.provider_metadata["bedrock"]). Provider-owned typed response metadata.
provider_options
Provider-owned typed option structs (Bedrock-specific). Provider-owned typed option structs for Amazon Bedrock.
providers
Provider-owned clients and builders.
retry
Retry module (ergonomic namespace)
retry_api
Public Retry API Facade
standards
Provider-owned protocol mapping modules for Amazon Bedrock.
streaming
Streaming Module
traits
Core Trait Definitions
types
Core data type definitions (re-export).
utils
Utility modules for siumai

Structs§

ChatResponse
Chat response from the provider
CommonParams
Common AI parameters

Enums§

LlmError
The primary error type for the LLM library.