Skip to content
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

Add sdk for Content Safety #34933

Merged
merged 29 commits into from
May 26, 2023
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
6e42bed
Change namespace for project carnegie
mengaims Mar 15, 2023
165af9f
rename from ProjectCarnegie to ContentSafety
mengaims Mar 17, 2023
055e4af
Fix build errors
mengaims Mar 17, 2023
134bfa3
Update tests and samples for ContentSafety
mengaims Apr 26, 2023
ec58729
Merge branch 'Azure:main' into carnegie
mengaims Apr 26, 2023
8ef8873
Merge branch 'Azure:main' into carnegie
mengaims Apr 27, 2023
2490c31
update generated code
mengaims Apr 27, 2023
a10f3f6
Rename Azure.AI.netstandard2.0.cs
mengaims Apr 27, 2023
629d87c
Update sample2
mengaims Apr 27, 2023
8388951
Fix image sample
mengaims May 3, 2023
638c72d
Add blocklist management sample
mengaims May 3, 2023
e9d0ce4
Merge branch 'Azure:main' into carnegie
mengaims May 3, 2023
eda5ebc
Suppress AZC0002
mengaims May 3, 2023
84919ed
Fix GetTextBlocklistItems return type
mengaims May 3, 2023
9825c37
Fix CreateOrUpdateTextBlocklist manually
mengaims May 4, 2023
7395dbe
Remove useless samples
mengaims May 4, 2023
ba5a610
Resolve comments
mengaims May 4, 2023
dc2cd40
Update sample and test recordings
mengaims May 4, 2023
5de3987
Update CI and Changelog
mengaims May 4, 2023
bb9ee64
run export api
m-nash May 11, 2023
29e7d8a
Merge branch 'main' of https://github.com/Azure/azure-sdk-for-net int…
m-nash May 11, 2023
37c8c97
regen with latest client
m-nash May 11, 2023
9941cb3
fix broken links
m-nash May 11, 2023
de2e5cd
update nuget since the package hasn't shipped yet
m-nash May 11, 2023
85b54ec
fix link in samples readme
m-nash May 11, 2023
df0984c
Merge branch 'main' of https://github.com/Azure/azure-sdk-for-net int…
m-nash May 12, 2023
e95b8f7
regen with latest generator
m-nash May 12, 2023
422aaa4
Merge branch 'main' of https://github.com/Azure/azure-sdk-for-net int…
m-nash May 15, 2023
7b4e275
regen with latest and update test to use the image.jpg bytes vs hard …
m-nash May 15, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions sdk/contentsafety/Azure.AI.ContentSafety/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,9 @@ You can familiarize yourself with different APIs using [Samples](https://github.

You can create a client and call the client's `<operation>` method.

```C# Snippet:Azure___Scenario
<!--```C# Snippet:Azure___Scenario
Console.WriteLine("Hello, world!");
```
```-->

## Troubleshooting

Expand All @@ -88,4 +88,4 @@ This is a template, but your SDK readme should include details on how to contrib
[style-guide-msft]: https://docs.microsoft.com/style-guide/capitalization
[style-guide-cloud]: https://aka.ms/azsdk/cloud-style-guide

![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-net/sdk//Azure.AI/README.png)
![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-net/sdk//Azure.AI/README.png)
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
namespace Azure.AI.ContentSafety
{
public partial class ContentSafetyClient
{
protected ContentSafetyClient() { }
public ContentSafetyClient(string endpoint, Azure.Core.TokenCredential credential, Azure.AI.ClientOptions options = null) { }
public virtual Azure.Core.Pipeline.HttpPipeline Pipeline { get { throw null; } }
}
m-nash marked this conversation as resolved.
Show resolved Hide resolved
public partial class ContentSafetyClientOptions : Azure.Core.ClientOptions
{
public ContentSafetyClientOptions(Azure.AI.Generated.ClientOptions.ServiceVersion version = Azure.AI.Generated.ClientOptions.ServiceVersion.V1_0_0) { }
public enum ServiceVersion
{
V1_0_0 = 1,
}
}
}

This file was deleted.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading