sublayerapp / sublayer

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.
https://docs.sublayer.com
MIT License
109 stars 2 forks source link

Add quick_script template #78

Closed swerner closed 2 months ago

swerner commented 2 months ago

Added another template, this one for if you're just looking to put something together quickly to play around with in a single ruby file. Loads any agents, generators, or actions into project_name.rb.

Starting to reach the limits of the cli.rb script and the mechanism for replacing the placeholders. Probably need to switch over to similar to using thor instead of tty and doing something similar to how rails does it. Maybe with erb templates for these files even?

Tracking research on these questions here https://github.com/sublayerapp/sublayer/issues/77