simple_open_ai/lib.rs
1/// Root module of the library crate.
2///
3/// # Library Overview
4/// This crate provides a set of modules for speech-to-text (STT), text-to-speech (TTS),
5/// error handling, and chat functionality as part of a conversational AI application.
6/// It's designed to be modular and reusable across various components of the application.
7///
8/// # Modules
9/// - `stt`: Handles the conversion of speech to text.
10/// - `tts`: Converts text into spoken voice outputs.
11/// - `error`: Provides error types and handling mechanisms for the API.
12/// - `chat`: Manages communication with a chat completion API service.
13///
14/// # Usage
15/// This library can be included in Rust projects by adding it to the dependencies
16/// in the project's `Cargo.toml` file and using the modules as needed.
17///
18/// For more details on each module, refer to the respective module documentation.
19///
20mod stt;
21mod tts;
22mod error;
23mod chat;