discourse-ai/lib/modules
Roman Rizzi 5f0c617880
REFACTOR: Cohesive narrative for single-chunk summaries. (#103)
Single and multi-chunk summaries end using different prompts for the last summary. This change detects when the summarized content fits in a single chunk and uses a slightly different prompt, which leads to more consistent summary formats.

This PR also moves the chunk-splitting step to the `FoldContent` strategy as preparation for implementing streamed summaries.
2023-07-13 17:05:41 -03:00
..
ai_bot FIX: adjust token limits to account for functions (#96) 2023-06-23 10:02:04 +10:00
ai_helper FEATURE: Multi-model support for the AI Bot module. (#56) 2023-05-11 10:03:03 -03:00
embeddings FEATURE: Embeddings to main db (#99) 2023-07-13 12:41:36 -03:00
nsfw FEATURE: Handle invalid media in NSFW module (#57) 2023-05-11 15:35:39 -03:00
sentiment DEV: DiscourseAI -> DiscourseAi rename to have consistent folders and files (#9) 2023-03-14 16:03:50 -03:00
summarization REFACTOR: Cohesive narrative for single-chunk summaries. (#103) 2023-07-13 17:05:41 -03:00
toxicity DEV: applies chat namespacing (#12) 2023-03-17 15:15:38 +01:00