Go to file
Roman Rizzi 9a79afcdbf
DEV: Better strategies for summarization (#88)
* DEV: Better strategies for summarization

The strategy responsibility needs to be "Given a collection of texts, I know how to summarize them most efficiently, using the minimum amount of requests and maximizing token usage".

There are different token limits for each model, so it all boils down to two different strategies:

Fold all these texts into a single one, doing the summarization in chunks, and then build a summary from those.
Build it by combining texts in a single prompt, and truncate it according to your token limits.

While the latter is less than ideal, we need it for "bart-large-cnn-samsum" and "flan-t5-base-samsum", both with low limits. The rest will rely on folding.

* Expose summarized chunks to users
2023-06-27 12:26:33 -03:00
.github/workflows Initial commit 2023-02-17 11:33:47 -03:00
app FIX: Serialize channel title for DMs (#90) 2023-06-16 14:37:16 -03:00
assets DEV: Remove the summarization feature (#83) 2023-06-13 14:32:26 -03:00
config FEATURE: add ai_bot_enabled_chat commands and tune search (#94) 2023-06-21 17:10:30 +10:00
db FEATURE: add full bot support for GPT 3.5 (#87) 2023-06-20 08:45:31 +10:00
lib DEV: Better strategies for summarization (#88) 2023-06-27 12:26:33 -03:00
spec DEV: Better strategies for summarization (#88) 2023-06-27 12:26:33 -03:00
svg-icons UX: add a custom sparkles icon for AI action buttons (#44) 2023-04-20 20:41:24 +05:30
test/javascripts Initial commit 2023-02-17 11:33:47 -03:00
tokenizers Refinements to embeddings and tokenizers (#61) 2023-05-15 15:10:42 -03:00
.discourse-compatibility DEV: Resolve add_to_serializer deprecations (#46) 2023-04-24 16:07:17 +01:00
.eslintrc Initial commit 2023-02-17 11:33:47 -03:00
.gitignore Initial commit 2023-02-17 11:33:47 -03:00
.prettierrc Initial commit 2023-02-17 11:33:47 -03:00
.rubocop.yml Initial commit 2023-02-17 11:33:47 -03:00
.streerc Initial commit 2023-02-17 11:33:47 -03:00
.template-lintrc.js Initial commit 2023-02-17 11:33:47 -03:00
Gemfile Initial commit 2023-02-17 11:33:47 -03:00
Gemfile.lock Initial commit 2023-02-17 11:33:47 -03:00
LICENSE Initial commit 2023-02-17 11:33:47 -03:00
README.md Initial commit 2023-02-17 11:33:47 -03:00
package.json Initial commit 2023-02-17 11:33:47 -03:00
plugin.rb DEV: Remove the summarization feature (#83) 2023-06-13 14:32:26 -03:00
yarn.lock Initial commit 2023-02-17 11:33:47 -03:00

README.md

Plugin Name Plugin

Plugin Summary

For more information, please see: url to meta topic