sublayer
sublayer copied to clipboard
A model-agnostic Ruby Generative AI DSL and framework. Provides base classes for building Generators, Actions, Tasks, and Agents that can be used to build AI powered applications in Ruby.
if a user plans to trigger their agent manually, an error is raised: ``` gems/sublayer-0.2.3/lib/sublayer/agents/base.rb:45:in `setup_triggers': undefined method `each' for nil (NoMethodError) self.class.triggers.each do |trigger| ``` Two things planned here,...
I know its easy to get started with just a string prompt, but I've been thinking an easier to use DSL for prompting might make it possible to do more...
The code in `cli.rb` is already starting to get messy and complicated. I have to imagine there's is an established pattern for something like this. I'm sure Rails has a...
this is a test branch/pr for open ai's new response formats
Started down this path in https://github.com/sublayerapp/sublayer/pull/72 but the PR is getting pretty big, so breaking this out as a separate feature
Make it easier to package and distribute cli-based sublayer apps, two options found so far: Dr Nic has a guide on how to distribute onto homebrew: https://x.com/drnic/status/1790142457587568805?s=46&t=sAqv4O8SV8AEgeXTXGaORg Also came across...
New projects in the project templates should start with dotenv installed and a `.env.example` file
We can use the same concept we're using for blueprints (and the docs site) to help people generate new agents, actions, and generators on the command line for their project....