-
Notifications
You must be signed in to change notification settings - Fork 11
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
AAP-30426: Lightspeed API playbook generation and explanation to accept a new custom_prompt field #1322
Conversation
4cb8c9d
to
75b7426
Compare
I believe @TamiTakamiya may be changing the That however does not affect the changes made here. |
…pt a new custom_prompt field
My change is specifically for fixing AAP-30690, i.e. not to send the |
8905721
Quality Gate passedIssues Measures |
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! Thanks!
Jira Issue: https://issues.redhat.com/browse/AAP-30426
Description
Support
customPrompt
JSON field for both Playbook Generation and Explanation.Playbook Generation
{goal}
or both{goal}
and{outline}
keywords to be present in thecustom_prompt
Playbook Explanation
{playbook}
keyword to be present in thecustom_prompt
Testing
Steps to test
make start-backends
make create-application
http://localhost:8000/admin
as Django adminResponse should be OK.
Response should be OK.
Response should represent:
Response should represent:
Response should be OK.
Response should represent:
Scenarios tested
As above.
Production deployment
See ansible/vscode-ansible#1545