BoxcarsAI / boxcars

Building applications with composability using Boxcars with LLM's. Inspired by LangChain.
MIT License
434 stars 39 forks source link

use structured results internally and bring SQL up to parity with ActiveRecord boxcar. #36

Closed francis closed 1 year ago

francis commented 1 year ago

Refactored Boxcars to use a Boxcars::Result structure to contain results and context. closes #31 You can now use the function conduct on a Boxcar and get back a Result.

While doing this, took the time to add a list of Tables for the SQL Boxcar. closes #19 You can pass in the tables you want like so: bcar = Boxcars::SQL.new(tables: ["a_table", "b_table"]) and only those tables will be used for SQL generation.