jev-sdk 0.1.0

Unofficial Rust client for the TypeSafe AI System One API (Jev): typed decisions with calibrated probabilities
Documentation
//! Types for the Models API.

use serde::{Deserialize, Serialize};

/// A model available to the account.
#[derive(Debug, Clone, Deserialize, Serialize)]
pub struct ModelCard {
    /// The model name to pass as `model` in requests (e.g. `jev-latest`).
    pub name: String,
    /// A human-readable description of the model.
    pub description: String,
    /// RFC 3339 / ISO 8601 release timestamp.
    pub release_date: String,
}

/// The response to `list_models`.
#[derive(Debug, Clone, Deserialize, Serialize)]
pub struct ListModelsResponse {
    /// Every model available to the account.
    pub models: Vec<ModelCard>,
}