[Cognitive Services - Azure AI Content Safety] Update package print name.#26911
[Cognitive Services - Azure AI Content Safety] Update package print name.#26911mengaims merged 3 commits intoAzure:mainfrom
Conversation
Next Steps to Merge✔️ All automated merging requirements have been met! Refer to step 4 in the PR workflow diagram (even if your PR is for data plane, not ARM). |
Swagger Validation Report
|
Swagger Generation Artifacts
|
Generated ApiView
|
* Update spell checking instructions (#26874) Having one custom-words.txt for the entire repo has been causing a number of merging issues so we are trying to move away from it and instead have teams use override in the cspell configuration file directly. * Update readme.python.md (#26894) * Update readme.python.md * Update readme.python.md * Update readme.python.md * Update readme.python.md --------- Co-authored-by: Yuchao Yan <yuchaoyan@microsoft.com> * [Cognitive Services - Azure AI Content Safety] Update package print name. (#26911) * Update package print name. * update. * update name. * Added TypeSpec customization support for Java --------- Co-authored-by: Wes Haggard <weshaggard@users.noreply.github.com> Co-authored-by: ChenxiJiang333 <119990644+ChenxiJiang333@users.noreply.github.com> Co-authored-by: Yuchao Yan <yuchaoyan@microsoft.com> Co-authored-by: jiezhou_microsoft <94604058+JieZhou000@users.noreply.github.com>
| package-dir: "azure-ai-contentsafety" | ||
| package-version: "1.0.0" | ||
| package-name: "{package-dir}" | ||
| package-pprint-name: "\"Azure AI Content Safety\"" |
There was a problem hiding this comment.
Why are you including the quotes in the name?
There was a problem hiding this comment.
I searched through other projects in this repository to see how they used package-pprint-name. I noticed that everyone included quotes, so I followed suit and used quotes as well.
There was a problem hiding this comment.
@catalinaperalta Can you help me understand why we need this extra property? I don't think the escaped quotes should be needed either. Also the version property should be removed as it isn't needed.
There was a problem hiding this comment.
The property is used in setup.py for python packages and is used as part of the display name for the package on PyPi. Here is Content Safety's setup.py: https://github.com/Azure/azure-sdk-for-python/blob/20423ff39c28318cd219f520709d9efea360faf6/sdk/contentsafety/azure-ai-contentsafety/setup.py#L16
and yes the escaped quotes are not necessary.
* baseline: add new label with no changes * reapplication of changes from PR repository * incremental: chat inputs, including tools * incremental, in-progress: chat message rework * incremental: chat completions updated (undoc'd/unverified) * incremental: provisional completeness for chat * Incremental: RAI updates * RAI, data-plane, tsp compilation fixes * minor updates after starting .NET integration * small fix to structured text items for vision * small but important function fix * trial and error: OYD apiKey->key * minor edit * java emitter config merge * some PR feedback + tool_calls role fix * small but important: url is optional in protected_material_code * add missing layer to image_url * Add speculative finish_details for gpt-4-vision-preview * Reorging files for extensions * Using generics * Removed generics approach * Fixed various typos and added docs * Removed super class parameters * Removed LRO entries in client.tsp, since they are removed from spec anyway * WIP * removed LRO related definitions * Added @client to hide the LRO op * Moved visibility modifiers to their own source file * Annotated Key as removed * Restored LRO as private methods * PR feedback * Hid LROs (#26898) * format, recompile, backport optional filename for whisper * PR feedback: naming/docs updates * Added TypeSpec customization support for Java (#26916) * Update spell checking instructions (#26874) Having one custom-words.txt for the entire repo has been causing a number of merging issues so we are trying to move away from it and instead have teams use override in the cspell configuration file directly. * Update readme.python.md (#26894) * Update readme.python.md * Update readme.python.md * Update readme.python.md * Update readme.python.md --------- Co-authored-by: Yuchao Yan <yuchaoyan@microsoft.com> * [Cognitive Services - Azure AI Content Safety] Update package print name. (#26911) * Update package print name. * update. * update name. * Added TypeSpec customization support for Java --------- Co-authored-by: Wes Haggard <weshaggard@users.noreply.github.com> Co-authored-by: ChenxiJiang333 <119990644+ChenxiJiang333@users.noreply.github.com> Co-authored-by: Yuchao Yan <yuchaoyan@microsoft.com> Co-authored-by: jiezhou_microsoft <94604058+JieZhou000@users.noreply.github.com> * Renamed customization class (#26919) * Update specification/cognitiveservices/OpenAI.Inference/models/completions/chat_completions.tsp Co-authored-by: Deyaaeldeen Almahallawi <dealmaha@microsoft.com> * recompile after accepted/committed feedback fix * PR feedback: non-optional content_filter_results on prompt model * very minor change: one file fix via npx prettier * missing second half of prettier fix: copied file to data-plane --------- Co-authored-by: Jose Alvarez <jp.alvarezl@gmail.com> Co-authored-by: Jose Alvarez <jpalvarezl@users.noreply.github.com> Co-authored-by: Shawn Fang <45607042+mssfang@users.noreply.github.com> Co-authored-by: Wes Haggard <weshaggard@users.noreply.github.com> Co-authored-by: ChenxiJiang333 <119990644+ChenxiJiang333@users.noreply.github.com> Co-authored-by: Yuchao Yan <yuchaoyan@microsoft.com> Co-authored-by: jiezhou_microsoft <94604058+JieZhou000@users.noreply.github.com> Co-authored-by: Deyaaeldeen Almahallawi <dealmaha@microsoft.com>

Choose a PR Template
Switch to "Preview" on this description then select one of the choices below.
Click here to open a PR for a Data Plane API.
Click here to open a PR for a Control Plane (ARM) API.