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
/** A comma-separated list of field names that will be used as a basis for comparison to identify similar documents. If not specified, the entire document is used for comparison. */
3051
3048
similar_fields?: string[];
3052
-
/** If `true`, queries are not stored in the Discovery **Logs** endpoint. */
3053
-
logging_opt_out?: boolean;
3054
3049
headers?: Object;
3055
3050
}
3056
3051
@@ -3301,8 +3296,8 @@ namespace DiscoveryV1 {
3301
3296
headers?: Object;
3302
3297
}
3303
3298
3304
-
/** Parameters for the `getSourceCredentials` operation. */
3305
-
exportinterfaceGetSourceCredentialsParams{
3299
+
/** Parameters for the `getCredentials` operation. */
3300
+
exportinterfaceGetCredentialsParams{
3306
3301
/** The ID of the environment. */
3307
3302
environment_id: string;
3308
3303
/** The unique identifier for a set of source credentials. */
@@ -3606,8 +3601,6 @@ namespace DiscoveryV1 {
3606
3601
exportinterfaceEnrichmentOptions{
3607
3602
/** An object representing the enrichment features that will be applied to the specified field. */
3608
3603
features?: NluEnrichmentFeatures;
3609
-
/** ISO 639-1 code indicating the language to use for the analysis. This code overrides the automatic language detection performed by the service. Valid codes are `ar` (Arabic), `en` (English), `fr` (French), `de` (German), `it` (Italian), `pt` (Portuguese), `ru` (Russian), `es` (Spanish), and `sv` (Swedish). **Note:** Not all features support all languages, automatic detection is recommended. */
3610
-
language?: string;
3611
3604
/** *For use with `elements` enrichments only.* The element extraction model to use. Models available are: `contract`. */
3612
3605
model?: string;
3613
3606
}
@@ -4026,7 +4019,7 @@ namespace DiscoveryV1 {
4026
4019
aggregations?: QueryAggregation[];
4027
4020
passages?: QueryPassages[];
4028
4021
duplicates_removed?: number;
4029
-
/** The session token for this query. The session token can be used to add events associated with this query to the query and event log. **Important:** Session tokens are case sensitive. */
4022
+
/** The session token for this query. The session token can be used to add events associated with this query to the query and event log. */
4030
4023
session_token?: string;
4031
4024
}
4032
4025
@@ -4046,9 +4039,9 @@ namespace DiscoveryV1 {
4046
4039
4047
4040
/** Metadata of a query result. */
4048
4041
exportinterfaceQueryResultResultMetadata{
4049
-
/** An unbounded measure of the relevance of a particular result, dependent on the query and matching document. A higher score indicates a greater match to the query parameters. */
4042
+
/** The raw score of the result. A higher score indicates a greater match to the query parameters. */
4050
4043
score?: number;
4051
-
/** The confidence score for the given result. Calculated based on how relevant the result is estimated to be, compared to a trained relevancy model. confidence can range from `0.0` to `1.0`. The higher the number, the more relevant the document. */
4044
+
/** The confidence score of the result's analysis. A higher score indicates greater confidence. */
4052
4045
confidence?: number;
4053
4046
}
4054
4047
@@ -4253,7 +4246,7 @@ namespace DiscoveryV1 {
4253
4246
field?: string;
4254
4247
/** Interval of the aggregation. Valid date interval values are second/seconds minute/minutes, hour/hours, day/days, week/weeks, month/months, and year/years. */
4255
4248
interval?: string;
4256
-
/** Used to indicate that anomaly detection should be performed. Anomaly detection is used to locate unusual datapoints within a time series. */
4249
+
/** Used to inducate that anomaly detection should be performed. Anomaly detection is used to locate unusual datapoints within a time series. */
Copy file name to clipboardExpand all lines: language-translator/v2-generated.ts
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -21,7 +21,7 @@ import { getMissingParams } from '../lib/helper';
21
21
import{FileObject}from'../lib/helper';
22
22
23
23
/**
24
-
* --- Language Translator v3 is [available](https://www.ibm.com/watson/developercloud/language-translator/api/v3/). See the [migration guide](https://console.bluemix.net/docs/services/language-translator/migrating.html). --- IBM Watson™ Language Translator translates text from one language to another. The service offers multiple domain-specific models that you can customize based on your unique terminology and language. Use Language Translator to take news from across the globe and present it in your language, communicate with your customers in their own language, and more.
24
+
* @deprecated Language Translator v3 is [available](https://www.ibm.com/watson/developercloud/language-translator/api/v3/). See the [migration guide](https://console.bluemix.net/docs/services/language-translator/migrating.html). --- IBM Watson™ Language Translator translates text from one language to another. The service offers multiple domain-specific models that you can customize based on your unique terminology and language. Use Language Translator to take news from across the globe and present it in your language, communicate with your customers in their own language, and more.
0 commit comments