-
Notifications
You must be signed in to change notification settings - Fork 44.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feat(Builder): Enhance AITextSummarizerBlock with configurable summary style and focus #8165
Feat(Builder): Enhance AITextSummarizerBlock with configurable summary style and focus #8165
Conversation
…ry 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.
PR-Agent was enabled for this repository. To continue using it, please link your git user with your CodiumAI identity here. PR Reviewer Guide 🔍
|
✅ Deploy Preview for auto-gpt-docs canceled.
|
This pull request has conflicts with the base branch, please resolve those so we can evaluate the pull request. |
…s-to-ai-text-summary-block
Conflicts have been resolved! 🎉 A maintainer will review the pull request shortly. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Background
This was requested by a couple of users and I've felt the need two when building agents.
Changes 🏗️
The AITextSummarizerBlock in the autogpt_platform/backend/backend/blocks/llm.py file has been enhanced to include the following changes:
concise
,detailed
,bullet points
, andnumbered list
styles.focus
, to specify the topic of the summary.These changes allow users to customize the style and focus of the generated summaries, providing more flexibility and control.