You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: discovery/v1-generated.ts
+12-4Lines changed: 12 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -4784,6 +4784,12 @@ namespace DiscoveryV1 {
4784
4784
[propName: string]: any;
4785
4785
}
4786
4786
4787
+
/** An object specifiying the concepts enrichment and related parameters. */
4788
+
exportinterfaceNluEnrichmentConcepts{
4789
+
/** The maximum number of concepts enrichments to extact from each instance of the specified field. */
4790
+
limit?: number;
4791
+
}
4792
+
4787
4793
/** An object specifying the emotion detection enrichment and related parameters. */
4788
4794
exportinterfaceNluEnrichmentEmotion{
4789
4795
/** When `true`, emotion detection is performed on the entire field. */
@@ -4805,7 +4811,7 @@ namespace DiscoveryV1 {
4805
4811
/** When `true`, the types of mentions for each idetifieid entity is recorded. The default is `false`. */
4806
4812
mention_types?: boolean;
4807
4813
/** When `true`, a list of sentence locations for each instance of each identified entity is recorded. The default is `false`. */
4808
-
sentence_location?: boolean;
4814
+
sentence_locations?: boolean;
4809
4815
/** The enrichement model to use with entity extraction. May be a custom model provided by Watson Knowledge Studio, the public model for use with Knowledge Graph `en-news`, or the default public model `alchemy`. */
4810
4816
model?: string;
4811
4817
}
@@ -4826,6 +4832,8 @@ namespace DiscoveryV1 {
4826
4832
semantic_roles?: NluEnrichmentSemanticRoles;
4827
4833
/** An object specifying the relations enrichment and related parameters. */
4828
4834
relations?: NluEnrichmentRelations;
4835
+
/** An object specifiying the concepts enrichment and related parameters. */
4836
+
concepts?: NluEnrichmentConcepts;
4829
4837
}
4830
4838
4831
4839
/** An object specifying the Keyword enrichment and related parameters. */
@@ -5207,13 +5215,13 @@ namespace DiscoveryV1 {
5207
5215
/** An object defining a single tokenizaion rule. */
5208
5216
exportinterfaceTokenDictRule{
5209
5217
/** The string to tokenize. */
5210
-
text?: string;
5218
+
text: string;
5211
5219
/** Array of tokens that the `text` field is split into when found. */
5212
-
tokens?: string[];
5220
+
tokens: string[];
5213
5221
/** Array of tokens that represent the content of the `text` field in an alternate character set. */
5214
5222
readings?: string[];
5215
5223
/** The part of speech that the `text` string belongs to. For example `noun`. Custom parts of speech can be specified. */
5216
-
part_of_speech?: string;
5224
+
part_of_speech: string;
5217
5225
}
5218
5226
5219
5227
/** Object describing the current status of the tokenization dictionary. */
0 commit comments