machi 0.8.1

A Web3-native AI Agent Framework
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
//! `OpenAI` API client implementation.
//!
//! This module provides a client for the `OpenAI` API, supporting:
//! - Chat completions (synchronous and streaming)
//! - Text-to-Speech (TTS)
//! - Speech-to-Text (STT/Whisper)
//! - Text embeddings

mod audio;
mod chat;
mod client;
mod config;
mod embedding;
mod stream;

pub use client::OpenAI;
pub use config::OpenAIConfig;