discourse/plugins/chat/spec/requests
Roman Rizzi 8938ecabc2
FEATURE: Custom content summarization strategies. (#21813)
* FEATURE: Content custom summarization strategies.

This PR establishes a pattern for plugins to register alternative ways of summarizing content by extending a class that defines an interface.

Core controls which strategy we'll use and who has access to it through the `summarization_strategy` and `custom_summarization_allowed_groups`. It also defines the UI for summarizing topics.

Other plugins can access this summarization mechanism and implement their features, removing cross-plugin customizations, as it currently happens between chat and the discourse-ai plugin.

* Group membership validation and rate limiting

* Work with objects instead of classes

* Port summarization feature from discourse-ai to chat

* Rename available summaries to 'Top Replies' and 'Summary'
2023-06-13 14:21:46 -03:00
..
chat FEATURE: Custom content summarization strategies. (#21813) 2023-06-13 14:21:46 -03:00
core_ext DEV: fixes a flakey spec (#20721) 2023-03-17 18:01:19 +01:00
chat_controller_spec.rb DEV: Remove old ChatController routes for messages & lookup (#21723) 2023-05-29 09:37:10 +02:00
direct_messages_controller_spec.rb DEV: properly namespace chat (#20690) 2023-03-17 14:24:38 +01:00
emojis_controller_spec.rb DEV: Move `discourse-chat` to the core repo. (#18776) 2022-11-02 10:41:30 -03:00