-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Migrate Azure.AI.ContentSafety to new Emitter #54611
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: main
Are you sure you want to change the base?
Conversation
API Change CheckAPIView identified API level changes in this PR and created the following API reviews |
jorgerangel-msft
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.
There are some code checks that are failing https://dev.azure.com/azure-sdk/public/_build/results?buildId=5685364&view=logs&j=c3e74943-23a9-5e82-9b42-8286fce989d4&t=e049197e-d864-58b1-c0e9-38458fd26878. At a glance, we may need to re-export the API files.
sdk/contentsafety/Azure.AI.ContentSafety/src/Customizations/BlocklistClient.cs
Outdated
Show resolved
Hide resolved
sdk/contentsafety/Azure.AI.ContentSafety/src/Customizations/ContentSafetyClient.cs
Outdated
Show resolved
Hide resolved
...tentsafety/Azure.AI.ContentSafety/src/Customizations/ContentSafetyClientBuilderExtensions.cs
Outdated
Show resolved
Hide resolved
| @@ -1,457 +0,0 @@ | |||
| <?xml version="1.0" encoding="utf-8"?> | |||
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.
Lets move these docs out of the generated folder vs deleted them since the new generator doesn't support doc generation yet.
JonathanCrd
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.
Left a couple of comments.
There are other task that are still needed for this PR:
- There will be changes in the API, you have to regenerate them by running:
eng\scripts\Export-API.ps1 contentsafety
- Test are failing due to "missing" recordings, but by looking at the CI logs this is actually a bug where the request URL is malformed with a duplicated path component, here.
sdk/contentsafety/Azure.AI.ContentSafety/src/Customizations/BlocklistClient.cs
Outdated
Show resolved
Hide resolved
...tentsafety/Azure.AI.ContentSafety/src/Customizations/ContentSafetyClientBuilderExtensions.cs
Show resolved
Hide resolved
56469b9 to
d84a42a
Compare
Contributing to the Azure SDK
Please see our CONTRIBUTING.md if you are not familiar with contributing to this repository or have questions.
For specific information about pull request etiquette and best practices, see this section.
Resolved: #54491