discourse-ai/spec
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
..
lib/modules DEV: Better strategies for summarization (#88) 2023-06-27 12:26:33 -03:00
models FEATURE: Multi-model support for the AI Bot module. (#56) 2023-05-11 10:03:03 -03:00
requests DEV: Remove the summarization feature (#83) 2023-06-13 14:32:26 -03:00
serializers FIX: Serialize channel title for DMs (#90) 2023-06-16 14:37:16 -03:00
shared DEV: Better strategies for summarization (#88) 2023-06-27 12:26:33 -03:00
support DEV: Better strategies for summarization (#88) 2023-06-27 12:26:33 -03:00
system DEV: Remove the summarization feature (#83) 2023-06-13 14:32:26 -03:00
plugin_spec.rb DEV: DiscourseAI -> DiscourseAi rename to have consistent folders and files (#9) 2023-03-14 16:03:50 -03:00