-
Notifications
You must be signed in to change notification settings - Fork 8.2k
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: Remove summarization code #27373
base: main
Are you sure you want to change the base?
Conversation
@@ -10,9 +10,11 @@ def get_summary | |||
channel = Chat::Channel.find(params[:channel_id]) | |||
guardian.ensure_can_join_chat_channel!(channel) | |||
|
|||
strategy = Summarization::Base.selected_strategy | |||
strategy = DiscourseAi::Summarization::Models::Base.selected_strategy |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Chat summaries now depend on a plugin that it's not always installed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Indeed, chat must follow the same idea of having it's AI summarization bits extracted and moved into the plugin or simply deleted.
This PR removes any code related to summarization. Any logic for handling summarization will now return to being handled by the
discourse-ai
plugin. See PR: discourse/discourse-ai#658 for the logic being added back todiscourse-ai
.