Feature/natural language template selection#894
Open
chsrimanaswi wants to merge 8 commits intoadobe:ai-app-initfrom
Open
Feature/natural language template selection#894chsrimanaswi wants to merge 8 commits intoadobe:ai-app-initfrom
chsrimanaswi wants to merge 8 commits intoadobe:ai-app-initfrom
Conversation
purplecabbage
requested changes
Jan 6, 2026
MichaelGoberling
approved these changes
Jan 6, 2026
Contributor
MichaelGoberling
left a comment
There was a problem hiding this comment.
Lgtm, with one question for the flow
Author
|
|
||
| const response = await fetch(url, { | ||
| method: 'POST', | ||
| headers: { |
Contributor
There was a problem hiding this comment.
Do we have any auth enabled for recommendation API? If not it can lead to DOS attacks very easily.
Author
There was a problem hiding this comment.
We initially wanted everyone to access the AI prompt. We will look into how to achieve the auth part.
Contributor
There was a problem hiding this comment.
@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?
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


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: