5f0c617880
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. |
||
---|---|---|
.. | ||
summarization | ||
anthropic_completion_stubs.rb | ||
embeddings_generation_stubs.rb | ||
nsfw_inference_stubs.rb | ||
openai_completions_inference_stubs.rb | ||
sentiment_inference_stubs.rb | ||
toxicity_inference_stubs.rb |