discourse-ai/lib/modules/summarization
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
..
models REFACTOR: Cohesive narrative for single-chunk summaries. (#103) 2023-07-13 17:05:41 -03:00
strategies REFACTOR: Cohesive narrative for single-chunk summaries. (#103) 2023-07-13 17:05:41 -03:00
entry_point.rb FEATURE: Claude 2 for summarization and AIHelper (#101) 2023-07-13 12:32:08 -03:00