Support managing rich text prompts from Wagtail admin
tomusher opened this issue · 4 comments
Rich text prompts are currently managed using the WAGTAIL_AI_PROMPTS
setting. It would be a nice for users if these prompts were instead stored in the database and they could be created/edited from the Wagtail admin.
This would allow easier customisation for cases such as defining a tone of voice, enforcing site-specific rules, etc.
In two minds about whether we should continue to support the WAGTAIL_AI_PROMPTS
setting, but my initial inclination would be to only support database-managed prompts.
I agree with db-only prompts.
Q: should we create a migration step that would set the new db-managed prompts from WAGTAIL_AI_PROMPTS
?
Q: should we create a migration step that would set the new db-managed prompts from WAGTAIL_AI_PROMPTS ?
Yep, default prompts sound good so it works out of the box. Nicer experience for things to just work.