TanGentleman / Augmenta

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

Create mapping for specified system messages #26

Closed TanGentleman closed 1 month ago

TanGentleman commented 1 month 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 1 month 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 1 month ago

This has been solved using SYSTEM_MESSAGE_CODES in constants.py