Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
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
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ public partial class AnalyzeImageOptions
public AnalyzeImageOptions(Azure.AI.ContentSafety.ContentSafetyImageData image) { }
public System.Collections.Generic.IList<Azure.AI.ContentSafety.ImageCategory> Categories { get { throw null; } }
public Azure.AI.ContentSafety.ContentSafetyImageData Image { get { throw null; } }
public Azure.AI.ContentSafety.IncidentOptions Incidents { get { throw null; } set { } }
public Azure.AI.ContentSafety.AnalyzeImageOutputType? OutputType { get { throw null; } set { } }
}
[System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
Expand All @@ -38,13 +39,25 @@ public partial class AnalyzeImageResult
{
internal AnalyzeImageResult() { }
public System.Collections.Generic.IReadOnlyList<Azure.AI.ContentSafety.ImageCategoriesAnalysis> CategoriesAnalysis { get { throw null; } }
public System.Collections.Generic.IReadOnlyList<Azure.AI.ContentSafety.IncidentMatch> IncidentMatches { get { throw null; } }
}
public partial class AnalyzeTextJailbreakOptions
{
public AnalyzeTextJailbreakOptions(string text) { }
public string Text { get { throw null; } }
}
public partial class AnalyzeTextJailbreakResult
{
internal AnalyzeTextJailbreakResult() { }
public Azure.AI.ContentSafety.JailbreakAnalysisResult JailbreakAnalysis { get { throw null; } }
}
public partial class AnalyzeTextOptions
{
public AnalyzeTextOptions(string text) { }
public System.Collections.Generic.IList<string> BlocklistNames { get { throw null; } }
public System.Collections.Generic.IList<Azure.AI.ContentSafety.TextCategory> Categories { get { throw null; } }
public bool? HaltOnBlocklistHit { get { throw null; } set { } }
public Azure.AI.ContentSafety.IncidentOptions Incidents { get { throw null; } set { } }
public Azure.AI.ContentSafety.AnalyzeTextOutputType? OutputType { get { throw null; } set { } }
public string Text { get { throw null; } }
}
Expand All @@ -66,11 +79,23 @@ public AnalyzeTextOptions(string text) { }
public static bool operator !=(Azure.AI.ContentSafety.AnalyzeTextOutputType left, Azure.AI.ContentSafety.AnalyzeTextOutputType right) { throw null; }
public override string ToString() { throw null; }
}
public partial class AnalyzeTextProtectedMaterialOptions
{
public AnalyzeTextProtectedMaterialOptions(string text) { }
public string Text { get { throw null; } }
}
public partial class AnalyzeTextProtectedMaterialResult
{
internal AnalyzeTextProtectedMaterialResult() { }
public Azure.AI.ContentSafety.ProtectedMaterialAnalysisResult ProtectedMaterialAnalysis { get { throw null; } }
}
public partial class AnalyzeTextResult
{
internal AnalyzeTextResult() { }
public System.Collections.Generic.IReadOnlyList<Azure.AI.ContentSafety.TextBlocklistMatch> BlocklistsMatch { get { throw null; } }
public System.Collections.Generic.IReadOnlyList<Azure.AI.ContentSafety.TextCategoriesAnalysis> CategoriesAnalysis { get { throw null; } }
public System.Collections.Generic.IReadOnlyList<string> Citation { get { throw null; } }
public System.Collections.Generic.IReadOnlyList<Azure.AI.ContentSafety.IncidentMatch> IncidentMatches { get { throw null; } }
}
public partial class BlocklistClient
{
Expand Down Expand Up @@ -131,13 +156,24 @@ public ContentSafetyClient(System.Uri endpoint, Azure.Core.TokenCredential crede
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.AI.ContentSafety.AnalyzeTextResult>> AnalyzeTextAsync(Azure.AI.ContentSafety.AnalyzeTextOptions options, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
public virtual System.Threading.Tasks.Task<Azure.Response> AnalyzeTextAsync(Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; }
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.AI.ContentSafety.AnalyzeTextResult>> AnalyzeTextAsync(string text, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
public virtual Azure.Response<Azure.AI.ContentSafety.AnalyzeTextJailbreakResult> DetectTextJailbreak(Azure.AI.ContentSafety.AnalyzeTextJailbreakOptions options, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
public virtual Azure.Response DetectTextJailbreak(Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; }
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.AI.ContentSafety.AnalyzeTextJailbreakResult>> DetectTextJailbreakAsync(Azure.AI.ContentSafety.AnalyzeTextJailbreakOptions options, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
public virtual System.Threading.Tasks.Task<Azure.Response> DetectTextJailbreakAsync(Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; }
public virtual Azure.Response<Azure.AI.ContentSafety.AnalyzeTextProtectedMaterialResult> DetectTextProtectedMaterial(Azure.AI.ContentSafety.AnalyzeTextProtectedMaterialOptions options, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
public virtual Azure.Response DetectTextProtectedMaterial(Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; }
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.AI.ContentSafety.AnalyzeTextProtectedMaterialResult>> DetectTextProtectedMaterialAsync(Azure.AI.ContentSafety.AnalyzeTextProtectedMaterialOptions options, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
public virtual System.Threading.Tasks.Task<Azure.Response> DetectTextProtectedMaterialAsync(Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; }
}
public partial class ContentSafetyClientOptions : Azure.Core.ClientOptions
{
public ContentSafetyClientOptions(Azure.AI.ContentSafety.ContentSafetyClientOptions.ServiceVersion version = Azure.AI.ContentSafety.ContentSafetyClientOptions.ServiceVersion.V2023_10_01) { }
public ContentSafetyClientOptions(Azure.AI.ContentSafety.ContentSafetyClientOptions.ServiceVersion version = Azure.AI.ContentSafety.ContentSafetyClientOptions.ServiceVersion.V2024_01_30_Preview) { }
public enum ServiceVersion
{
V2023_10_01 = 1,
V2023_10_15_Preview = 2,
V2023_10_30_Preview = 3,
V2024_01_30_Preview = 4,
}
}
public partial class ContentSafetyImageData
Expand All @@ -149,9 +185,14 @@ public ContentSafetyImageData(System.Uri blobUri) { }
public static partial class ContentSafetyModelFactory
{
public static Azure.AI.ContentSafety.AddOrUpdateTextBlocklistItemsResult AddOrUpdateTextBlocklistItemsResult(System.Collections.Generic.IEnumerable<Azure.AI.ContentSafety.TextBlocklistItem> blocklistItems = null) { throw null; }
public static Azure.AI.ContentSafety.AnalyzeImageResult AnalyzeImageResult(System.Collections.Generic.IEnumerable<Azure.AI.ContentSafety.ImageCategoriesAnalysis> categoriesAnalysis = null) { throw null; }
public static Azure.AI.ContentSafety.AnalyzeTextResult AnalyzeTextResult(System.Collections.Generic.IEnumerable<Azure.AI.ContentSafety.TextBlocklistMatch> blocklistsMatch = null, System.Collections.Generic.IEnumerable<Azure.AI.ContentSafety.TextCategoriesAnalysis> categoriesAnalysis = null) { throw null; }
public static Azure.AI.ContentSafety.AnalyzeImageResult AnalyzeImageResult(System.Collections.Generic.IEnumerable<Azure.AI.ContentSafety.ImageCategoriesAnalysis> categoriesAnalysis = null, System.Collections.Generic.IEnumerable<Azure.AI.ContentSafety.IncidentMatch> incidentMatches = null) { throw null; }
public static Azure.AI.ContentSafety.AnalyzeTextJailbreakResult AnalyzeTextJailbreakResult(Azure.AI.ContentSafety.JailbreakAnalysisResult jailbreakAnalysis = null) { throw null; }
public static Azure.AI.ContentSafety.AnalyzeTextProtectedMaterialResult AnalyzeTextProtectedMaterialResult(Azure.AI.ContentSafety.ProtectedMaterialAnalysisResult protectedMaterialAnalysis = null) { throw null; }
public static Azure.AI.ContentSafety.AnalyzeTextResult AnalyzeTextResult(System.Collections.Generic.IEnumerable<Azure.AI.ContentSafety.TextBlocklistMatch> blocklistsMatch = null, System.Collections.Generic.IEnumerable<Azure.AI.ContentSafety.TextCategoriesAnalysis> categoriesAnalysis = null, System.Collections.Generic.IEnumerable<Azure.AI.ContentSafety.IncidentMatch> incidentMatches = null, System.Collections.Generic.IEnumerable<string> citation = null) { throw null; }
public static Azure.AI.ContentSafety.ImageCategoriesAnalysis ImageCategoriesAnalysis(Azure.AI.ContentSafety.ImageCategory category = default(Azure.AI.ContentSafety.ImageCategory), int? severity = default(int?)) { throw null; }
public static Azure.AI.ContentSafety.IncidentMatch IncidentMatch(string incidentName = null) { throw null; }
public static Azure.AI.ContentSafety.JailbreakAnalysisResult JailbreakAnalysisResult(bool detected = false) { throw null; }
public static Azure.AI.ContentSafety.ProtectedMaterialAnalysisResult ProtectedMaterialAnalysisResult(bool detected = false) { throw null; }
public static Azure.AI.ContentSafety.TextBlocklist TextBlocklist(string name = null, string description = null) { throw null; }
public static Azure.AI.ContentSafety.TextBlocklistItem TextBlocklistItem(string blocklistItemId = null, string description = null, string text = null) { throw null; }
public static Azure.AI.ContentSafety.TextBlocklistMatch TextBlocklistMatch(string blocklistName = null, string blocklistItemId = null, string blocklistItemText = null) { throw null; }
Expand Down Expand Up @@ -183,6 +224,27 @@ internal ImageCategoriesAnalysis() { }
public static bool operator !=(Azure.AI.ContentSafety.ImageCategory left, Azure.AI.ContentSafety.ImageCategory right) { throw null; }
public override string ToString() { throw null; }
}
public partial class IncidentMatch
{
internal IncidentMatch() { }
public string IncidentName { get { throw null; } }
}
public partial class IncidentOptions
{
public IncidentOptions() { }
public bool? HaltOnIncidentHit { get { throw null; } set { } }
public System.Collections.Generic.IList<string> IncidentNames { get { throw null; } }
}
public partial class JailbreakAnalysisResult
{
internal JailbreakAnalysisResult() { }
public bool Detected { get { throw null; } }
}
public partial class ProtectedMaterialAnalysisResult
{
internal ProtectedMaterialAnalysisResult() { }
public bool Detected { get { throw null; } }
}
public partial class RemoveTextBlocklistItemsOptions
{
public RemoveTextBlocklistItemsOptions(System.Collections.Generic.IEnumerable<string> blocklistItemIds) { }
Expand Down

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