-
Notifications
You must be signed in to change notification settings - Fork 37
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
Fix alert summary prompt #958
Conversation
Signed-off-by: Heng Qian <qianheng@amazon.com>
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #958 +/- ##
=========================================
Coverage 77.57% 77.57%
Complexity 993 993
=========================================
Files 99 99
Lines 4714 4714
Branches 431 431
=========================================
Hits 3657 3657
Misses 877 877
Partials 180 180 ☔ View full report in Codecov by Sentry. |
Signed-off-by: Heng Qian <qianheng@amazon.com>
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 (feel free to revert the changelog entry, those are just there as linked from documentation page).
Have you looked at any other templates for similar issue?
No. These 2 prompt starts with
flow-framework/sample-templates/query-assist-data-summary-agent-claude-tested.json Line 72 in 35b171e
|
Signed-off-by: Heng Qian <qianheng@amazon.com>
3004955
to
b32f98b
Compare
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.
(Re-) approving. Thanks for fixing this!
@qianheng-aws I've tested with your new template, but I still meet with the same error:
Can you please check the code here:
|
Signed-off-by: Heng Qian <qianheng@amazon.com>
Refact as your suggestion, can you help verify it again. |
Good to merge once @yuye-aws verifies |
Verified. |
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.
Both the agent and model work. LGTM!
* Fix alert summary prompt Signed-off-by: Heng Qian <qianheng@amazon.com> * Update CHANGELOG Signed-off-by: Heng Qian <qianheng@amazon.com> * Revert "Update CHANGELOG" Signed-off-by: Heng Qian <qianheng@amazon.com> * Add prefix and postfix in requestbody Signed-off-by: Heng Qian <qianheng@amazon.com> --------- Signed-off-by: Heng Qian <qianheng@amazon.com> (cherry picked from commit 70b5721) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Fix alert summary prompt (#958) * Fix alert summary prompt * Update CHANGELOG * Revert "Update CHANGELOG" * Add prefix and postfix in requestbody --------- (cherry picked from commit 70b5721) Signed-off-by: Heng Qian <qianheng@amazon.com> Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Description
Fix alert summary prompt, it needs to start prompt with
\n\nHuman:
for model claude v1Related Issues
Resolves #955
Check List
--signoff
.By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.