omniai
OmniAI standardizes the APIs for multiple AI providers like OpenAI's Chat GPT, Mistral's LeChat, Claude's Anthropic, Google's Gemini and DeepSeek's Chat..
What is omniai?
OmniAI standardizes the APIs for multiple AI providers like OpenAI's Chat GPT, Mistral's LeChat, Claude's Anthropic, Google's Gemini and DeepSeek's Chat..
Overview of omniai
What it is
OmniAI is a Ruby gem that provides a unified API for integrating with multiple AI providers, including Anthropic, DeepSeek, Google, Mistral, and OpenAI. It offers a consistent interface for features such as chat, text-to-speech, speech-to-text, and embeddings, enabling seamless interoperability across platforms. Switching between providers is effortless.
Key features
- Unified Ruby API for multiple AI providers (Anthropic, DeepSeek, Google, Mistral, OpenAI)
- Consistent interface for chat, text-to-speech, speech-to-text, and embeddings - Support for streaming responses - Tool/function calling support - Schema-based structured data extraction - Usage tracking with token counts and prompt caching
Use cases
- Building applications that need to switch between different AI providers without code changes - Implementing chat interfaces with streaming, tools, and conversation history - Extracting structured data from LLM responses using schemas - Integrating text-to-speech and speech-to-text capabilities
Getting started
See the repository README for installation and quick-start commands.
License and pricing
The project is open source under the MIT license. Pricing is not applicable as it is open source.
Based on the project's public README and repository metadata.