discourse-ai/spec/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: Claude's max_tookens_to_sample is a required field (#97) 2023-06-27 14:42:33 -03:00
ai_helper FEATURE: Anthropic Claude for AIHelper and Summarization modules (#39) 2023-04-10 11:04:42 -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: Fix toxicity test (#78) 2023-05-23 11:02:11 -03:00