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: assistant/v2.ts
+19-2Lines changed: 19 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -1026,12 +1026,27 @@ namespace AssistantV2 {
1026
1026
* This can be useful for simulating past or future times for testing purposes, or when analyzing documents such as
1027
1027
* news articles.
1028
1028
*
1029
-
* This value must be a UTC time value formatted according to ISO 8601 (for example, `2019-06-26T12:00:00Z` for
1030
-
* noon on 26 June 2019.
1029
+
* This value must be a UTC time value formatted according to ISO 8601 (for example, `2021-06-26T12:00:00Z` for
1030
+
* noon UTC on 26 June 2021).
1031
1031
*
1032
1032
* This property is included only if the new system entities are enabled for the skill.
1033
1033
*/
1034
1034
reference_time?: string;
1035
+
/** The time at which the session started. With the stateful `message` method, the start time is always present,
1036
+
* and is set by the service based on the time the session was created. With the stateless `message` method, the
1037
+
* start time is set by the service in the response to the first message, and should be returned as part of the
1038
+
* context with each subsequent message in the session.
1039
+
*
1040
+
* This value is a UTC time value formatted according to ISO 8601 (for example, `2021-06-26T12:00:00Z` for noon UTC
1041
+
* on 26 June 2021).
1042
+
*/
1043
+
session_start_time?: string;
1044
+
/** An encoded string that represents the configuration state of the assistant at the beginning of the
1045
+
* conversation. If you are using the stateless `message` method, save this value and then send it in the context
1046
+
* of the subsequent message request to avoid disruptions if there are configuration changes during the
1047
+
* conversation (such as a change to a skill the assistant uses).
1048
+
*/
1049
+
state?: string;
1035
1050
}
1036
1051
1037
1052
/** Contains information specific to a particular skill used by the Assistant. The property name must be the same as the name of the skill (for example, `main skill`). */
@@ -1620,6 +1635,8 @@ namespace AssistantV2 {
1620
1635
* response is intended for a built-in integration and should not be handled by an API client.
1621
1636
*/
1622
1637
channels?: ResponseGenericChannel[];
1638
+
/** Descriptive text that can be used for screen readers or other situations where the image cannot be seen. */
* The `content_intelligence` type is a *Document Retrieval for Contracts* project and the `other` type is a
2815
2817
* *Custom* project.
2816
2818
*
2817
-
* The `content_mining` and `content_intelligence` types are available with Premium and Cloud Pak for Data
2818
-
* deployments only.
2819
+
* The `content_mining` and `content_intelligence` types are available with Premium plan managed deployments and
2820
+
* installed deployments only.
2819
2821
*/
2820
2822
type: CreateProjectConstants.Type|string;
2821
2823
/** Default query parameters for this project. */
@@ -2825,7 +2827,7 @@ namespace DiscoveryV2 {
2825
2827
2826
2828
/** Constants for the `createProject` operation. */
2827
2829
exportnamespaceCreateProjectConstants{
2828
-
/** The type of project. The `content_intelligence` type is a *Document Retrieval for Contracts* project and the `other` type is a *Custom* project. The `content_mining` and `content_intelligence` types are available with Premium and Cloud Pak for Data deployments only. */
2830
+
/** The type of project. The `content_intelligence` type is a *Document Retrieval for Contracts* project and the `other` type is a *Custom* project. The `content_mining` and `content_intelligence` types are available with Premium plan managed deployments and installed deployments only. */
2829
2831
exportenumType{
2830
2832
DOCUMENT_RETRIEVAL='document_retrieval',
2831
2833
CONVERSATIONAL_SEARCH='conversational_search',
@@ -2913,7 +2915,11 @@ namespace DiscoveryV2 {
2913
2915
exportinterfaceCollectionEnrichment{
2914
2916
/** The unique identifier of this enrichment. */
2915
2917
enrichment_id?: string;
2916
-
/** An array of field names that the enrichment is applied to. */
2918
+
/** An array of field names that the enrichment is applied to.
2919
+
*
2920
+
* If you apply an enrichment to a field from a JSON file, the data is converted to an array automatically, even if
2921
+
* the field contains a single value.
2922
+
*/
2917
2923
fields?: string[];
2918
2924
}
2919
2925
@@ -3187,8 +3193,8 @@ namespace DiscoveryV2 {
3187
3193
* The `content_intelligence` type is a *Document Retrieval for Contracts* project and the `other` type is a
3188
3194
* *Custom* project.
3189
3195
*
3190
-
* The `content_mining` and `content_intelligence` types are available with Premium and Cloud Pak for Data
3191
-
* deployments only.
3196
+
* The `content_mining` and `content_intelligence` types are available with Premium plan managed deployments and
3197
+
* installed deployments only.
3192
3198
*/
3193
3199
type?: string;
3194
3200
/** Relevancy training status information for this project. */
@@ -3210,8 +3216,8 @@ namespace DiscoveryV2 {
3210
3216
* The `content_intelligence` type is a *Document Retrieval for Contracts* project and the `other` type is a
3211
3217
* *Custom* project.
3212
3218
*
3213
-
* The `content_mining` and `content_intelligence` types are available with Premium and Cloud Pak for Data
3214
-
* deployments only.
3219
+
* The `content_mining` and `content_intelligence` types are available with Premium plan managed deployments and
3220
+
* installed deployments only.
3215
3221
*/
3216
3222
type?: string;
3217
3223
/** Relevancy training status information for this project. */
@@ -3317,8 +3323,7 @@ namespace DiscoveryV2 {
3317
3323
* is set to `false`, then the passage search results are reordered in decreasing order of the highest confidence
3318
3324
* answer for each document and passage.
3319
3325
*
3320
-
* The **find_answers** parameter is **beta** functionality available only on managed instances and should not be
3321
-
* used in a production environment. This parameter is not available on installed instances of Discovery.
3326
+
* The **find_answers** parameter is available only on managed instances of Discovery.
3322
3327
*/
3323
3328
find_answers?: boolean;
3324
3329
/** The number of `answer` objects to return per passage if the **find_answers** parmeter is specified as
0 commit comments