discourse-ai/spec/support/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
..
dummy_completion_model.rb REFACTOR: Cohesive narrative for single-chunk summaries. (#103) 2023-07-13 17:05:41 -03:00