-
Notifications
You must be signed in to change notification settings - Fork 33
Feature/natural language template selection #894
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
base: ai-app-init
Are you sure you want to change the base?
Feature/natural language template selection #894
Conversation
MichaelGoberling
left a comment
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, with one question for the flow
|
|
||
| const response = await fetch(url, { | ||
| method: 'POST', | ||
| headers: { |
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.
Do we have any auth enabled for recommendation API? If not it can lead to DOS attacks very easily.
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.
We initially wanted everyone to access the AI prompt. We will look into how to achieve the auth part.
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.
@sandeep-paliwal This would be good to discuss - I was thinking maybe we could pass the CLI token and do IMS auth on the backend. That of course would make it so we only allow the recommend flow for the logged in use cases and not noLogin. But maybe that's okay since noLogin is usually non-interactive?


Description
This PR adds natural language template recommendations to the
aio app initcommand, powered by Azure OpenAI. Instead of browsing through a long list of templates, developers can now describe what they want to build in plain English, and AI will recommend the most suitable template.Related Issue
https://jira.corp.adobe.com/browse/ACNA-4250
Motivation and Context
aio app initHow Has This Been Tested?
Manual, Automated and Functional tests
See https://new.express.adobe.com/id/urn:aaid:sc:VA6C2:b55bcdd9-383a-5ab9-81aa-f4be1aceffef?sceneline=true&taskID=video&q=Start
Screenshots (if appropriate):
Types of changes
Checklist: