Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DEV: Add Ai summary persona siteSettings WIP #1167

Draft
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

rngus2344
Copy link
Contributor

@rngus2344 rngus2344 commented Mar 5, 2025

Background

Meta topic that brings up this change:
https://meta.discourse.org/t/ai-summarization-formatting-and-bugs/351163

Changes

This PR adds hidden site settings to the AI plugin:

  • ai_summary_persona_id
  • ai_summary_consolidator_persona_id

Then in the Ai summary methods, we see if those site settings are filled in. If so, we grab the prompt from the persona. If not, we use what is there now.

@rngus2344 rngus2344 marked this pull request as draft March 5, 2025 17:28
@rngus2344
Copy link
Contributor Author

I might consolidate the two spec some.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants