Blog

Introducing Spectre: AI-Enable Your Ruby on Rails Application

We're excited to announce the latest addition to our open-source library: Spectre. This new Ruby gem makes it easy for developers to AI-enable their Ruby on Rails application. This release marks a significant step forward in our continued commitment to the open-source community and our mission to simplify AI integration for developers.

Why Spectre?

When we began incorporating Large Language Model (LLM) functionality into Mav, we found the existing foundations for Ruby and Ruby on Rails to be messy and fragmented — very un-Rails like. We created Spectre to address this gap, providing a clean and efficient way to bring AI capabilities to your Rails projects.

What Spectre Focuses On

Currently, Spectre focuses on four key areas, making it ideal for applications featuring RAG (Retrieval-Augmented Generation), chatbots, and dynamic prompting:

  • - Creating embeddings

  • - Performing vector-based searches

  • - Generating chat completions

  • - Managing dynamic prompts

Our Commitment to Open Source

At Mav, we owe much of our success to the amazing open-source community. Visionaries like Yukihiro Matsumoto, the creator of Ruby, and David Heinemeier Hansson, the creator of Ruby on Rails, have inspired us tremendously. Contributing back to this community is one of our core values, and Spectre is a testament to that commitment.

What's Next

We're not stopping here. Support for additional foundation models is coming soon, further expanding Spectre's capabilities and versatility.

Spectre represents our dedication to making AI integration as seamless as possible for Ruby on Rails developers. We can't wait to see what you'll build with it 🛠️

With much love to the Ruby community,

The Mav Team

Matthew Black

Matthew Black

© 2024 Mav Automation Ventures Inc. All rights reserved.