TanGentleman / Augmenta

Automate RAG-powered workflows
MIT License
1 stars 0 forks source link

Create mapping for specified system messages #26

Closed TanGentleman closed 6 months ago

TanGentleman commented 6 months ago

Much like .names showcases the existing vector databases, typing .smap should show a mapping of system messages to their shortcut. I also want to make some automatic adjustments to the system message depending on the model. I'm not sure at what stage this should occur, but it makes sense for a specific system message for coding models for instance.

The immediate benefits would be getting higher quality responses if I switch to a code model. I'm tempted to allow in-chat model switching and deprecate the "backup_model" implementation. I'll need some cleaner logic for this, and I'll likely toss it in the Config class instantiation!

TanGentleman commented 6 months ago

I decided this was unnecessary complexity. I added this logic within the ".s" command, and I'll add a print statement as a reminder of some of the codes.

TanGentleman commented 6 months ago

This has been solved using SYSTEM_MESSAGE_CODES in constants.py