audacity-sdk 0.4.0

Rust SDK for the Audacity Investments AI gateway — Amazon Bedrock Converse-compatible API surface
Documentation
//! # audacity-sdk
//!
//! Rust SDK for the Audacity Investments AI gateway.
//! Exposes an **Amazon Bedrock Converse–shaped API** on top of the Audacity
//! OpenAI-compatible chat completions endpoint, so that teams migrating off
//! Bedrock can swap the client construction + API key and keep the rest of
//! their code.
//!
//! See the [README](https://portal.audacityinvestments.com) for quickstart examples.

pub mod types;

mod client;
mod config;
mod error;
mod mapping;
mod sse;
mod stream;

// Re-export the most commonly used items at the crate root.
pub use client::{
    Client, ConverseBuilder, ConverseInput, ConverseStreamBuilder, GenerateImageBuilder,
    UploadFileBuilder,
};
pub use config::{Config, ConfigBuilder};
pub use error::{Error, ErrorDetails};
pub use stream::{ConverseStreamOutputHandle, StreamReceiver};
pub use types::{
    CachePointBlock, CachePointType, ContentBlock, ContentBlockDeltaEvent,
    ContentBlockDeltaPayload, ContentBlockStartEvent, ContentBlockStartPayload,
    ContentBlockStartToolUse, ContentBlockStopEvent, ConversationRole, ConverseOutput,
    ConverseOutputEnum, ConverseStreamOutput, GenerateImageOutput, GeneratedImage, ImageBlock,
    ImageFormat, ImageGenerationUsage, ImageSource, InferenceConfiguration, MediaResolution,
    Message, MessageBuilder, MessageStartEvent, MessageStopEvent, MetadataEvent, Metrics,
    StopReason, SystemContentBlock, TokenUsage, Tool, ToolChoice, ToolConfiguration,
    ToolInputSchema, ToolResultBlock, ToolResultContent, ToolSpecification, ToolUseBlock,
    UploadFileOutput, VideoBlock, VideoFormat, VideoSource,
};