icebaker / ruby-nano-bots

Ruby Implementation of Nano Bots: small, AI-powered bots that can be easily shared as a single file, designed to support multiple providers such as Anthropic Claude, Cohere Command, Google Gemini, Maritaca AI, Mistral AI, Ollama, OpenAI ChatGPT, and others, with support for calling tools (functions).
https://rubygems.org/gems/nano-bots
MIT License
96 stars 10 forks source link

Feature request - option to have different input and output contexts #20

Open PatParslow opened 5 months ago

PatParslow commented 5 months ago

It would be useful to have the option to branch to a new context e.g. nb model inputcontext -o newcontext eval do the thing

Along the same lines, being able to read multiple inputcontexts and write to a new one would be useful.

Agents could then summarise existing conversations, or draw related ones together.

icebaker commented 5 months ago

Hi @PatParslow, thanks for opening the issue!

Can you elaborate more and provide additional examples?

I'm wondering if the current approach of supporting pipe operators would not fulfill this need:

cat article.txt |
  nb to-en-us-translator.yml - eval |
  nb summarizer.yml - eval