audacity-sdk 0.1.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};
pub use config::{Config, ConfigBuilder};
pub use error::{Error, ErrorDetails};
pub use stream::{ConverseStreamOutputHandle, StreamReceiver};
pub use types::{
    ContentBlock, ContentBlockDeltaEvent, ContentBlockDeltaPayload, ContentBlockStartEvent,
    ContentBlockStartPayload, ContentBlockStartToolUse, ContentBlockStopEvent, ConversationRole,
    ConverseOutput, ConverseOutputEnum, ConverseStreamOutput, ImageBlock, ImageFormat, ImageSource,
    InferenceConfiguration, Message, MessageBuilder, MessageStartEvent, MessageStopEvent,
    MetadataEvent, Metrics, StopReason, SystemContentBlock, TokenUsage, Tool, ToolChoice,
    ToolConfiguration, ToolInputSchema, ToolResultBlock, ToolResultContent, ToolSpecification,
    ToolUseBlock,
};