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. */
3048
3051
similar_fields?: string[];
3052
+
/** If `true`, queries are not stored in the Discovery **Logs** endpoint. */
3053
+
logging_opt_out?: boolean;
3049
3054
headers?: Object;
3050
3055
}
3051
3056
@@ -3296,8 +3301,8 @@ namespace DiscoveryV1 {
3296
3301
headers?: Object;
3297
3302
}
3298
3303
3299
-
/** Parameters for the `getCredentials` operation. */
3300
-
exportinterfaceGetCredentialsParams{
3304
+
/** Parameters for the `getSourceCredentials` operation. */
3305
+
exportinterfaceGetSourceCredentialsParams{
3301
3306
/** The ID of the environment. */
3302
3307
environment_id: string;
3303
3308
/** The unique identifier for a set of source credentials. */
@@ -3601,6 +3606,8 @@ namespace DiscoveryV1 {
3601
3606
exportinterfaceEnrichmentOptions{
3602
3607
/** An object representing the enrichment features that will be applied to the specified field. */
3603
3608
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;
3604
3611
/** *For use with `elements` enrichments only.* The element extraction model to use. Models available are: `contract`. */
3605
3612
model?: string;
3606
3613
}
@@ -4019,7 +4026,7 @@ namespace DiscoveryV1 {
4019
4026
aggregations?: QueryAggregation[];
4020
4027
passages?: QueryPassages[];
4021
4028
duplicates_removed?: number;
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. */
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. */
4023
4030
session_token?: string;
4024
4031
}
4025
4032
@@ -4039,9 +4046,9 @@ namespace DiscoveryV1 {
4039
4046
4040
4047
/** Metadata of a query result. */
4041
4048
exportinterfaceQueryResultResultMetadata{
4042
-
/** The raw score of the result. A higher score indicates a greater match to the query parameters. */
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. */
4043
4050
score?: number;
4044
-
/** The confidence score of the result's analysis. A higher score indicates greater confidence. */
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. */
4045
4052
confidence?: number;
4046
4053
}
4047
4054
@@ -4246,7 +4253,7 @@ namespace DiscoveryV1 {
4246
4253
field?: string;
4247
4254
/** Interval of the aggregation. Valid date interval values are second/seconds minute/minutes, hour/hours, day/days, week/weeks, month/months, and year/years. */
4248
4255
interval?: string;
4249
-
/** Used to inducate that anomaly detection should be performed. Anomaly detection is used to locate unusual datapoints within a time series. */
4256
+
/** Used to indicate that anomaly detection should be performed. Anomaly detection is used to locate unusual datapoints within a time series. */
0 commit comments