-
Notifications
You must be signed in to change notification settings - Fork 5.1k
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
[CLU] Adding x-ms-client-names properties for confidenceScore #16646
Conversation
Hi, @AhmedLeithy Thanks for your PR. I am workflow bot for review process. Here are some small tips. Any feedback about review process or workflow bot, pls contact swagger and tools team. vsswagger@microsoft.com |
[Call for Action] To better understand Azure service dev/test scenario, and support Azure service developer better on Swagger and REST API related tests in early phase, please help to fill in with this survey https://aka.ms/SurveyForEarlyPhase. It will take 5 to 10 minutes. If you already complete survey, please neglect this comment. Thanks. |
Swagger Validation Report
|
Swagger Generation Artifacts
|
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, but could we do any other renames while we're at it? Let me know and I can wait, or merge this now and you could follow-up with another PR (if there are any more renames in this swagger).
@AhmedLeithy The stable version of the Question Answering was not merged when I made this change. In the stable version, they removed the KnowledgeBaseAnswers definition and use the KnowledgeBaseAnswer as their response. Do you want me to create a PR to refer the stable version now? If I create a PR to update this, will it interrupt your work flow? |
@heaths @ChongTang |
@AhmedLeithy Got it. I will create it soon. BTW. The renaming you are talking about happens in SDK right? We don't need to change the swagger. Correct? |
@ChongTang you can safely change model names in the swagger as needed, but changing property names - if you don't have enough time in the service - can be done with |
Got it. For the confidence thing, we agreed to use "confidenceScore"
instead of "score". I am not sure how "confidence" appears. :)
…On Wed, Nov 3, 2021 at 10:39 AM Heath Stewart ***@***.***> wrote:
@ChongTang <https://github.com/ChongTang> you can safely change model
names in the swagger as needed, but changing property names - if you don't
have enough time in the service - can be done with x-ms-client-name that
only impacts autorest-generated clients like the Azure SDKs.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#16646 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AA3YR52GDDTIWA6QNYVGFDTUKF6VFANCNFSM5HIWWPKA>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
During the archboard review of Question Answering, the architects want just |
@ChongTang, given this is what the SDK archboard wants, do you have any objections? You don't need to change the service models. |
Sounds good to me. |
12a84f5
into
Azure:release/cognitiveservices/clu-2021-11-01-preview
* Adds base for updating Language from version preview/2021-07-15-preview to version 2021-11-01-preview * Updates readme * Updates API version in new specs and examples * Add CLU Public Preview API (#16450) * Add CLU Public Preview API * remove azure-sdk-for-net-track2 * Nit: remove extra space Co-authored-by: Heath Stewart <heaths@outlook.com> Co-authored-by: Chong Tang <chot@microsoft.com> Co-authored-by: Heath Stewart <heaths@outlook.com> * added x-ms-client-name "confidence" (#16646) * Add SDK owners for CLU (#16718) * add a clu entry to readme * making enums compatible * making TA point to common.json for error * fixing spaces * adding questionanswering to custom-words * Update analyzeconversations.json adding "non_linked" * add an owner * addressing comments Co-authored-by: Chong Tang <ct4ew@virginia.edu> Co-authored-by: Chong Tang <chot@microsoft.com> Co-authored-by: Heath Stewart <heaths@outlook.com> Co-authored-by: Ahmed Leithy <v-aleithy@microsoft.com> Co-authored-by: Heath Stewart <heaths@microsoft.com> Co-authored-by: Farhad Shakerin <fshakerin@microsoft.com>
* Adds base for updating Language from version preview/2021-07-15-preview to version 2021-11-01-preview * Updates readme * Updates API version in new specs and examples * Add CLU Public Preview API (Azure#16450) * Add CLU Public Preview API * remove azure-sdk-for-net-track2 * Nit: remove extra space Co-authored-by: Heath Stewart <heaths@outlook.com> Co-authored-by: Chong Tang <chot@microsoft.com> Co-authored-by: Heath Stewart <heaths@outlook.com> * added x-ms-client-name "confidence" (Azure#16646) * Add SDK owners for CLU (Azure#16718) * add a clu entry to readme * making enums compatible * making TA point to common.json for error * fixing spaces * adding questionanswering to custom-words * Update analyzeconversations.json adding "non_linked" * add an owner * addressing comments Co-authored-by: Chong Tang <ct4ew@virginia.edu> Co-authored-by: Chong Tang <chot@microsoft.com> Co-authored-by: Heath Stewart <heaths@outlook.com> Co-authored-by: Ahmed Leithy <v-aleithy@microsoft.com> Co-authored-by: Heath Stewart <heaths@microsoft.com> Co-authored-by: Farhad Shakerin <fshakerin@microsoft.com>
To ensure consistency with question answering, any mention of confidenceScore should be renamed to
confidence
in the SDK. Since the question answering SDK implements this using the swagger "x-ms-client-name" property, we would like to add it to the conversations swagger as well. This change should be considered after the release of the PuP later today.Manually adding folks for review.
@heaths @ChongTang @annatisch
I've also caught the following bug:
The QuestionAnsweringTargetIntentResult references the 2021-07-15-preview question answering swagger in this line of code, which does not have the renames for the
confidenceScore
properties. We would ideally like this to reference the stable question answering swagger. Should we bring the stable question answering swagger to this branch and reference it? Or should we add a static reference to the swagger on the other branch?