1 unstable release
0.1.0 | Nov 10, 2023 |
---|
#33 in #chat-completion
28 downloads per month
19KB
321 lines
Rust Chat and Speech Library
This Rust library is designed to provide a comprehensive suite of functionalities for building chat and speech processing applications. It includes modules for handling chat operations with AI models, performing speech-to-text (STT) and text-to-speech (TTS) conversions, and managing API-related errors.
Features
- Chat completion API integration
- Error handling for API requests
- Speech-to-text (STT) processing capabilities
- Text-to-speech (TTS) conversion with multiple format support
Getting Started
Prerequisites
- Rust programming language
- Cargo package manager
Installation
Add the following to your Cargo.toml
file to include this library in your Rust project:
[dependencies]
[![Rust](https://github.com/Shahrooze/simple-open-ai/actions/workflows/rust.yml/badge.svg)](https://github.com/Shahrooze/simple-open-ai/actions/workflows/rust.yml)
Dependencies
~6–18MB
~264K SLoC