Skip to content
Merged
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 @@ -51,16 +51,21 @@ public EntityRecognitionSkill()
/// code to use. Default is en. Possible values include: 'de', 'en',
/// 'es', 'fr', 'it'</param>
/// <param name="includeTypelessEntities">Determines whether or not to
/// include entities which are well known but don't conform to a type.
/// If this configuration is not set (default), set to null or set to
/// false, entities which don't have a type will not be
/// surfaced.</param>
public EntityRecognitionSkill(IList<InputFieldMappingEntry> inputs, IList<OutputFieldMappingEntry> outputs, string description = default(string), string context = default(string), IList<EntityCategory> categories = default(IList<EntityCategory>), EntityRecognitionSkillLanguage? defaultLanguageCode = default(EntityRecognitionSkillLanguage?), bool? includeTypelessEntities = default(bool?))
/// include entities which are well known but don't conform to a
/// pre-defined type. If this configuration is not set (default), set
/// to null or set to false, entities which don't conform to one of the
/// pre-defined types will not be surfaced.</param>
/// <param name="minimumPrecision">A value between 0 and 1 that be used
/// to only include entities whose confidence score is greater than the
/// value specified. If not set (default), or if explicitly set to
/// null, all entities will be included.</param>
public EntityRecognitionSkill(IList<InputFieldMappingEntry> inputs, IList<OutputFieldMappingEntry> outputs, string description = default(string), string context = default(string), IList<EntityCategory> categories = default(IList<EntityCategory>), EntityRecognitionSkillLanguage? defaultLanguageCode = default(EntityRecognitionSkillLanguage?), bool? includeTypelessEntities = default(bool?), double? minimumPrecision = default(double?))
: base(inputs, outputs, description, context)
{
Categories = categories;
DefaultLanguageCode = defaultLanguageCode;
IncludeTypelessEntities = includeTypelessEntities;
MinimumPrecision = minimumPrecision;
CustomInit();
}

Expand All @@ -84,13 +89,23 @@ public EntityRecognitionSkill()

/// <summary>
/// Gets or sets determines whether or not to include entities which
/// are well known but don't conform to a type. If this configuration
/// is not set (default), set to null or set to false, entities which
/// don't have a type will not be surfaced.
/// are well known but don't conform to a pre-defined type. If this
/// configuration is not set (default), set to null or set to false,
/// entities which don't conform to one of the pre-defined types will
/// not be surfaced.
/// </summary>
[JsonProperty(PropertyName = "includeTypelessEntities")]
public bool? IncludeTypelessEntities { get; set; }

/// <summary>
/// Gets or sets a value between 0 and 1 that be used to only include
/// entities whose confidence score is greater than the value
/// specified. If not set (default), or if explicitly set to null, all
/// entities will be included.
/// </summary>
[JsonProperty(PropertyName = "minimumPrecision")]
public double? MinimumPrecision { get; set; }

/// <summary>
/// Validate the object.
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,10 @@ public static IEnumerable<Tuple<string, string, string>> ApiInfo_SearchServiceCl
// BEGIN: Code Generation Metadata Section
public static readonly String AutoRestVersion = "latest";
public static readonly String AutoRestBootStrapperVersion = "autorest@2.0.4283";
public static readonly String AutoRestCmdExecuted = "cmd.exe /c autorest.cmd https://github.com/Azure/azure-rest-api-specs/blob/master/specification/search/data-plane/Microsoft.Azure.Search.Service/readme.md --csharp --version=latest --reflect-api-versions --csharp-sdks-folder=E:\\github\\azure-sdk-for-net\\src\\SDKs";
public static readonly String AutoRestCmdExecuted = "cmd.exe /c autorest.cmd https://github.com/Azure/azure-rest-api-specs/blob/master/specification/search/data-plane/Microsoft.Azure.Search.Service/readme.md --csharp --version=latest --reflect-api-versions --csharp-sdks-folder=D:\\src\\azure-sdk-for-net\\src\\SDKs";
public static readonly String GithubForkName = "Azure";
public static readonly String GithubBranchName = "master";
public static readonly String GithubCommidId = "5cf04eef6f58e129c259a6686cd30e88c9bc2811";
public static readonly String GithubCommidId = "67d6bf5c72fb183114938332e72f5d8d995f9979";
public static readonly String CodeGenerationErrors = "";
public static readonly String GithubRepoName = "azure-rest-api-specs";
// END: Code Generation Metadata Section
Expand Down
Loading