{"repo":"ksylvest/omniai","free":true,"listed":false,"github":"https://github.com/ksylvest/omniai","clone":"git clone https://github.com/ksylvest/omniai.git","description":"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..","language":"Ruby","stars":253,"topics":["anthropic","chatgpt","claude","gemini","google","lechat","mistral","openai","ruby","omniai"],"license":"MIT","category":"ai-agents","readme_excerpt":"OmniAI OmniAI provides a unified Ruby API for integrating with multiple AI providers, including Anthropic, DeepSeek, Google, Mistral, and OpenAI. It streamlines AI development by offering a consistent interface for features such as chat, text-to-speech, speech-to-text, and embeddings—ensuring seamless interoperability across platforms. Switching between providers is effortless, making any integration more flexible and reliable. - OmniAI::Anthropic - OmniAI::DeepSeek - OmniAI::Llama - OmniAI::Google - OmniAI::Mistral - OmniAI::OpenAI 📄 Examples Example #1: 💬 Chat w/ Text This example demonstrates using OmniAI with Anthropic to ask for a joke. The response is parsed and printed. Example #2: 💬 Chat w/ Prompt This example demonstrates using OmniAI with Mistral to ask for the fastest animal. It includes a system and user message in the prompt. The response is streamed in real time. Example #3: 💬 Chat w/ Vision This example demonstrates using OmniAI with OpenAI to prompt a “biologist” for an analysis of photos, identifying the animals within each one. A system and user message are provided, and the response is streamed in real time. Example #4: 💬 Chat w/ Tools This example demonstrates using OmniAI with Google to ask for the weather. A tool “Weather” is provided. The tool accepts a location and unit (Celsius or Fahrenheit) then calculates the weather. The LLM makes multiple tool-call requests and is automatically provided with a tool-call response prior to streaming in real-ti","default_branch":null,"files":null,"tree":[],"storefront":"/r/ksylvest","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/ksylvest/omniai/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}