Project

everyai

0.0
The project is in a healthy, maintained state
This ruby gem allows you to connect to any AI model with one simple interface. Never worry about configuration and installing libraries. We make connecting to multiple AI models simple
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
 Dependencies
 Project Readme

Every AI Ruby Gem

The best gem for connecting to every AI model. Forget about configuring each different model and use our simple and intuitive interface

Install Gem

To install the gem you can add it your app with the following command

bundle add everyai

Usage

Before you can use the library you must set an API Key if you need to create one visit the Every LLM Website

Everyai.api_key = "my-secret-api-key-123567"

To use the gem you can simply call the generate method and pass in any chat prompt

Everyai.generate("Hello Lllama3.1 AI Model")

By default it uses llama3.1 so if you want to use a different model use the optional model: option

Everyai.generate("Hello Mixtral AI Model", model: "mixtral")

You can also use the short hand available methods to interact with specific models

Everyai.chatgpt("Hey ChatGPT whats going on")

To list the available models you can use the ls command

Everyai.ls