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: Remove summarization code #27373

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

Conversation

keegangeorge
Copy link
Member

@keegangeorge keegangeorge commented Jun 6, 2024

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 to discourse-ai.

@github-actions github-actions bot added chat PRs which include a change to Chat plugin i18n PRs which update English locale files or i18n related code labels Jun 6, 2024
config/site_settings.yml Show resolved Hide resolved
config/site_settings.yml Show resolved Hide resolved
@@ -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
Copy link
Member

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.

Copy link
Member

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.

@github-actions github-actions bot removed the i18n PRs which update English locale files or i18n related code label Jun 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chat PRs which include a change to Chat plugin
3 participants