Using Boxcars (Ruby Langchain alternative) to query a Rails DB with natural language
You may have heard of Langchain, the Python library for creating LLM-powered apps with nearly 35k GitHub stars. Despite the large following, Langchain can be difficult to use when you want to go deeper than “hello world” tutorials. This experience led me to Boxcars, a Langchain-inspired Ruby gem but with fewer abstractions.
In this post I show how to use Boxcars to query your Rails DB with natural language and look at how Boxcars does this under-the-hood.
Post a comment