-
Notifications
You must be signed in to change notification settings - Fork 198
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
[Feature ASK] Add fields to the metadata file "templates.json" to enable better retrieval from AI systems. #4242
Comments
@kristenwomack - FYI |
Thank you for this suggestion @unrealab |
Would also add a flag to this metadata for approved or other flag used to make the template exposed through the API, as not all of them should be readily available for various reasons |
This is a great addition. |
@unrealab would it be ok to group all those fields in one node key, like: {
"title": "ChatGPT + Enterprise data with Azure OpenAI and AI Search",
"description": "A sample app for the Retrieval-Augmented",
"author": "Microsoft",
"source": "https://github.com/Azure-Samples/azure-search-openai-demo",
"tags": [
"OpenAI",
"Azure",
"AI Search",
"ChatGPT",
"Enterprise"
],
"ai-integration": {
"id": "88bce5a4-8e70-4c83-a87c-4d68e34eaf7e",
"deploymentOptions": [
"AzD"
],
"deploymentConfig": {},
"products": [
"Azure OpenAI and AI Search"
],
"sampleQueries": [
"How to use Azure AI Search to power ChatGPT-style and Q&A experiences"
],
"sourceType": "Azd"
}
} See the key This will also help us to easily add more field for you and quickly recognize what fields are for the gallery and which are for integrating to your system. |
@vhvb1989 - Yes that would work, the Quick note: We don't need all the fields (from your snippet). Some fields are specific to the Copilot client(Copilot in Azure Portal) that we need on our end, and AZD doesn't need to be aware of, eg: |
@abhishekbhombore , do you have some public docs about the supported fields and why/when folks would want to add them for the ai-integration? Something like what you described on the top with
We don't own all the samples/templates from the gallery. We can update the ones we are familiar with as a way for you to test (it will be just a few ones). For new templates, we can include such documentation as part of the - How to add your template - docs here: https://azure.github.io/awesome-azd/docs/contribute/ |
We would want to create requirements, much like we have in the azure.yaml for the template name etc. for these and then have the validation pipeline also check for these as "optional". |
@vhvb1989 - I don't have public docs, but I can share a doc (I'll do it over teams) with an explanation of what each of those fields do and how the Author should use it, and how it helps. Updating a few to begin with, will work as a test. This would be great as well.
Could we add the information about the fields in @spboyer - Not very familiar with what azure.yaml is, but I can help with providing all the information about the fields and their optionality.
|
@vhvb1989 , @kristenwomack , @rajeshkamal5050 , @spboyer - I've shared the doc with the fields and descriptions with you. Let me know if there's anything else needed from me. |
@vhvb1989 @kristenwomack @rajeshkamal5050 @spboyer - Folks, want to check if this work was committed to a sprint? I'd like to move away from keeping a copy of the AZD templates, when possible. |
This is not a bug .
This is an ask on the AZD team to consider the addition of some new fields that will help AI systems discover these templates better. Currently the static workloads team has done work to aid discovery of the AZD templates in Copilots on Azure Portal and GitHub. The endpoint Indexes information from the templates.json file - templates.json
The information in these fields are used to match one of the maintained templates to a User Intent and is then recommended as a good starting point(or a close match to the intent).
The static workloads team, presently, maintains a copy of some of these templates here - static workload templates.
We have added some additional fields to support better matching and recommendations via the Copilot systems in the Azure Portal and GitHub.
Adding these additional fields (if it is reasonable after consideration) to this central location has the following benefits:
Specifically, consider adding these optional fields:
Please reach out to - [email protected] if you would like to discuss this further outside of this Issue. Happy to elaborate more on the ask.
The text was updated successfully, but these errors were encountered: