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.
For model providers like Groq, Local, OpenRouter, etc, each different model you might want to use inside these different services could have different function calling/tool calling mechanism and quirks: Specifically...
Working on a fix for #11 - Updating the interaction between providers and output adapters, moving the provider-specific tool calling formats into the providers and not something the output_adapters are...
Blueprints is very effective at generating `Sublayer::Generator`s and `Sublayer::Action`s but the pattern I've been exploring with `Sublayer::Task`s doesn't seem to work very well. I tried to create a blueprint of...
For example, being able to optionally choose between using gpt-3.5 for something, using gpt-4-turbo for others, or between using claude-haiku for some and claude-opus for others if you want, but...