mirror of
https://github.com/discourse/discourse-ai.git
synced 2025-07-24 06:53:41 +00:00
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.
Plugin Name Plugin
Plugin Summary
For more information, please see: url to meta topic
Languages
Ruby
81.3%
JavaScript
15.5%
SCSS
2.2%
CSS
0.4%
HTML
0.4%
Other
0.2%