agnaistic / agnai

AI Agnostic (Multi-user and Multi-bot) Chat with Fictional Characters. Designed with scale in mind.
https://agnai.chat
GNU Affero General Public License v3.0
540 stars 107 forks source link

Add Toggleable Custom Prompt Fields to Preset #984

Open rankcody opened 4 months ago

rankcody commented 4 months ago

Is your feature request related to a problem? Please describe. Some prompts work better when used sparingly rather than being used all the time (ex. NSFW prompts, CoT prompts, style prompts, etc.). However, it is inconvenient to constantly edit the preset to add and remove these prompts when needed. The interface could stand to better accommodate the use case of a prompt that is not always being used.

Describe the solution you'd like The ability to add custom fields for prompts to the preset, in addition to the system/jailbreak/prefill fields. These fields should be toggleable to allow the user to turn each prompt on/off as necessary from the preset sidebar.

Describe alternatives you've considered Editing the preset to add and remove these prompts when needed, which is pretty inconvenient.

Additional context N/A

sceuick commented 3 months ago

I'll look into this. The addition of JSON schemas will make this easier to implement. This feature can probably leverage a lot of that effort and might be easy to implement now.