typesafe-rs 0.1.0

Rust client for TypeSafe's System One API
Documentation
//! Wire types for the System One API.
//!
//! [`Question`] is what you send; [`Answer`] / [`SystemOneResponse`] is what you
//! get back. [`Entry`] is TypeSafe's `string | object | array | null` slot used
//! for instructions and criteria.

mod entry;
mod models;
mod question;
mod request;
mod response;

pub use entry::Entry;
pub use models::{ListModelsResponse, ModelCard};
pub use question::{MAX_CHOICE_OPTIONS, NoulCriteria, Question, Questions, validate_questions};
pub use request::SystemOneRequest;
pub use response::{
    Answer, ChoiceView, NoulView, ResponseMeta, ScoreView, SystemOneResponse, Usage,
};