Skip to content

Commit 97ed5f9

Browse files
authored
Merge pull request #615 from watson-developer-cloud/nlu-models-patch
fix(NaturalLanguageUnderstanding): add Model param back to CategoriesOptions
2 parents a18658a + 9f0e7fe commit 97ed5f9

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

Scripts/Services/NaturalLanguageUnderstanding/V1/Model/CategoriesOptions.cs

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,5 +37,18 @@ public class CategoriesOptions
3737
/// </summary>
3838
[JsonProperty("limit", NullValueHandling = NullValueHandling.Ignore)]
3939
public long? Limit { get; set; }
40+
/// <summary>
41+
/// Enter a [custom
42+
/// model](https://cloud.ibm.com/docs/services/natural-language-understanding?topic=natural-language-understanding-customizing)
43+
/// ID to override the standard categories model
44+
///
45+
/// **Deprecated**
46+
// The custom categories experimental feature will be retired on 19 December 2019. On that date, deployed custom
47+
// categories models will no longer be accessible in Natural Language Understanding. The feature will be removed from
48+
// Knowledge Studio on an earlier date. Custom categories models will no longer be accessible in Knowledge Studio on 17
49+
// December 2019.
50+
/// </summary>
51+
[JsonProperty("model", NullValueHandling = NullValueHandling.Ignore)]
52+
public string Model { get; set; }
4053
}
4154
}

0 commit comments

Comments
 (0)