Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Feat(Builder): Enhance AITextSummarizerBlock with configurable summar…
…y style and focus (#8165) * feat(platform): Enhance AITextSummarizerBlock with configurable summary style and focus The AITextSummarizerBlock in the autogpt_platform/backend/backend/blocks/llm.py file has been enhanced to include the following changes: - Added a new enum class, SummaryStyle, with options for concise, detailed, bullet points, and numbered list styles. - Added a new input parameter, focus, to specify the topic of the summary. - Modified the _summarize_chunk method to include the style and focus in the prompt. - Modified the _combine_summaries method to include the style and focus in the prompt. These changes allow users to customize the style and focus of the generated summaries, providing more flexibility and control. * run formatting and linting
- Loading branch information