repositories / smith

smith

There are many coding harnesses - but this one is fast

owned by bugabinga

smith-ai/src/lib.rs

Raw
File outline
#![forbid(unsafe_code)]
#![warn(missing_docs)]

//! Smith provider integrations and model registry.
//!
//! Vendor wire formats stop at the adapter boundary: each adapter is an
//! incremental decoder producing [`smith::stream::StreamEvent`]s, proven
//! against the shared conformance kit in [`conformance`].

/// Stream conformance kit shared by all vendor adapters.
pub mod conformance;
/// OpenAI-compatible chat-completions adapter.
pub mod openai;

pub use conformance::{Expected, Fixture, StreamDecoder};
pub use openai::OpenAiDecoder;