Skip to content
Tabrez Syed edited this page Feb 22, 2023 · 3 revisions

Welcome to the BoxCars wiki!

What is BoxCars?

BoxCars is an open-source gem that helps you add AI-powered features to your Ruby app.

How can this gem help me add AI features to my app?

Once the gem is installed and set up, you can add text-to-command features to your apps. If you've used AI-powered apps recently, you've seen the interaction pattern where you can ask AI to request an image (text-to-image). This gem makes it trivial to offer this in your app.

Let's say you have a helpdesk app written in Rails. You'll be able to let your users type requests like the following:

Assign all of Pedro's tickets to Paula

Has Pedro mentioned "install dropbox" in his ticket comments?

BoxCars lets you offer a text-to-command interface to the functionality in your app.

How does BoxCarsAI work? What do I need to use it?

BoxCars has 2 concepts.

  • Engine: This is a LLM (Large-Language-Model). Currently, OpenAI's GPT is supported. New ones are easy to add.
  • BoxCar: A BoxCar is functionality the Engine can access (Google Search, Calculators, ActiveRecord, etc)

To use the gem, you'll need an OpenAI API Key. You'll set this to the value OPENAI_ACCESS_TOKEN). Other BoxCars have their own dependencies. For eg: The BoxCar Google Search uses the SERP API and needs a SERPAPI_API_KEY

Table of Contents