-
Notifications
You must be signed in to change notification settings - Fork 4.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Content moderator update * modified screen text api * Updated the version
- Loading branch information
1 parent
9212a31
commit c95b3ed
Showing
12 changed files
with
202 additions
and
44 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
49 changes: 49 additions & 0 deletions
49
...lane/Vision/ContentModerator/ContentModerator/Generated/Models/ClassificationCategory1.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
// <auto-generated> | ||
// Code generated by Microsoft (R) AutoRest Code Generator. | ||
// Changes may cause incorrect behavior and will be lost if the code is | ||
// regenerated. | ||
// </auto-generated> | ||
|
||
namespace Microsoft.CognitiveServices.ContentModerator.Models | ||
{ | ||
using Newtonsoft.Json; | ||
using System.Linq; | ||
|
||
/// <summary> | ||
/// The category1 score details of the text. <a | ||
/// href="https://aka.ms/textClassifyCategories">Click here</a> | ||
/// for more details on category classification. | ||
/// </summary> | ||
public partial class ClassificationCategory1 | ||
{ | ||
/// <summary> | ||
/// Initializes a new instance of the ClassificationCategory1 class. | ||
/// </summary> | ||
public ClassificationCategory1() | ||
{ | ||
CustomInit(); | ||
} | ||
|
||
/// <summary> | ||
/// Initializes a new instance of the ClassificationCategory1 class. | ||
/// </summary> | ||
/// <param name="score">The category1 score.</param> | ||
public ClassificationCategory1(double? score = default(double?)) | ||
{ | ||
Score = score; | ||
CustomInit(); | ||
} | ||
|
||
/// <summary> | ||
/// An initialization method that performs custom operations like setting defaults | ||
/// </summary> | ||
partial void CustomInit(); | ||
|
||
/// <summary> | ||
/// Gets or sets the category1 score. | ||
/// </summary> | ||
[JsonProperty(PropertyName = "Score")] | ||
public double? Score { get; set; } | ||
|
||
} | ||
} |
49 changes: 49 additions & 0 deletions
49
...lane/Vision/ContentModerator/ContentModerator/Generated/Models/ClassificationCategory2.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
// <auto-generated> | ||
// Code generated by Microsoft (R) AutoRest Code Generator. | ||
// Changes may cause incorrect behavior and will be lost if the code is | ||
// regenerated. | ||
// </auto-generated> | ||
|
||
namespace Microsoft.CognitiveServices.ContentModerator.Models | ||
{ | ||
using Newtonsoft.Json; | ||
using System.Linq; | ||
|
||
/// <summary> | ||
/// The category2 score details of the text. <a | ||
/// href="https://aka.ms/textClassifyCategories">Click here</a> | ||
/// for more details on category classification. | ||
/// </summary> | ||
public partial class ClassificationCategory2 | ||
{ | ||
/// <summary> | ||
/// Initializes a new instance of the ClassificationCategory2 class. | ||
/// </summary> | ||
public ClassificationCategory2() | ||
{ | ||
CustomInit(); | ||
} | ||
|
||
/// <summary> | ||
/// Initializes a new instance of the ClassificationCategory2 class. | ||
/// </summary> | ||
/// <param name="score">The category2 score.</param> | ||
public ClassificationCategory2(double? score = default(double?)) | ||
{ | ||
Score = score; | ||
CustomInit(); | ||
} | ||
|
||
/// <summary> | ||
/// An initialization method that performs custom operations like setting defaults | ||
/// </summary> | ||
partial void CustomInit(); | ||
|
||
/// <summary> | ||
/// Gets or sets the category2 score. | ||
/// </summary> | ||
[JsonProperty(PropertyName = "Score")] | ||
public double? Score { get; set; } | ||
|
||
} | ||
} |
49 changes: 49 additions & 0 deletions
49
...lane/Vision/ContentModerator/ContentModerator/Generated/Models/ClassificationCategory3.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
// <auto-generated> | ||
// Code generated by Microsoft (R) AutoRest Code Generator. | ||
// Changes may cause incorrect behavior and will be lost if the code is | ||
// regenerated. | ||
// </auto-generated> | ||
|
||
namespace Microsoft.CognitiveServices.ContentModerator.Models | ||
{ | ||
using Newtonsoft.Json; | ||
using System.Linq; | ||
|
||
/// <summary> | ||
/// The category3 score details of the text. <a | ||
/// href="https://aka.ms/textClassifyCategories">Click here</a> | ||
/// for more details on category classification. | ||
/// </summary> | ||
public partial class ClassificationCategory3 | ||
{ | ||
/// <summary> | ||
/// Initializes a new instance of the ClassificationCategory3 class. | ||
/// </summary> | ||
public ClassificationCategory3() | ||
{ | ||
CustomInit(); | ||
} | ||
|
||
/// <summary> | ||
/// Initializes a new instance of the ClassificationCategory3 class. | ||
/// </summary> | ||
/// <param name="score">The category3 score.</param> | ||
public ClassificationCategory3(double? score = default(double?)) | ||
{ | ||
Score = score; | ||
CustomInit(); | ||
} | ||
|
||
/// <summary> | ||
/// An initialization method that performs custom operations like setting defaults | ||
/// </summary> | ||
partial void CustomInit(); | ||
|
||
/// <summary> | ||
/// Gets or sets the category3 score. | ||
/// </summary> | ||
[JsonProperty(PropertyName = "Score")] | ||
public double? Score { get; set; } | ||
|
||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 4 additions & 5 deletions
9
src/SDKs/_metadata/cognitiveservices_data-plane_ContentModerator.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,10 @@ | ||
2017-12-08 20:25:38 UTC | ||
2018-02-16 21:45:48 UTC | ||
|
||
1) azure-rest-api-specs repository information | ||
GitHub user: Azure | ||
Branch: current | ||
Commit: 58b5052b90deb9f280725ca7811896fb98d2c63c | ||
Branch: master | ||
Commit: b1bd5185dc7575232b0c4bc14eff76b877dd3d7b | ||
|
||
2) AutoRest information | ||
Requested version: latest | ||
Bootstrapper version: C:\Users\v-sodsou\AppData\Roaming\npm `-- [email protected] | ||
Latest installed version: | ||
Bootstrapper version: C:\Users\v-sodsou\AppData\Roaming\npm `-- [email protected] |