ai_client 0.1.0

A Rust crate for interacting with AI language model APIs
Documentation
1
2
3
4
5
6
7
8
use serde::{Deserialize, Serialize};

/// Message structure for chat completions
#[derive(Debug, Serialize, Deserialize, Clone)]
pub struct Message {
    pub role: String,
    pub content: String,
}