@gooddata/api-client-tiger 10.13.0-alpha.3 → 10.13.0-alpha.30

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,3 +1,3 @@
1
- export declare const LIB_VERSION = "10.13.0-alpha.3";
1
+ export declare const LIB_VERSION = "10.13.0-alpha.30";
2
2
  export declare const LIB_NAME = "@gooddata/api-client-tiger";
3
3
  //# sourceMappingURL=__version.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"__version.d.ts","sourceRoot":"","sources":["../src/__version.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,WAAW,oBAAoB,CAAC;AAE7C,eAAO,MAAM,QAAQ,+BAA+B,CAAC"}
1
+ {"version":3,"file":"__version.d.ts","sourceRoot":"","sources":["../src/__version.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,WAAW,qBAAqB,CAAC;AAE9C,eAAO,MAAM,QAAQ,+BAA+B,CAAC"}
package/esm/__version.js CHANGED
@@ -1,5 +1,5 @@
1
1
  // (C) 2021 GoodData Corporation
2
2
  // DO NOT CHANGE THIS FILE, IT IS RE-GENERATED ON EVERY BUILD
3
- export const LIB_VERSION = "10.13.0-alpha.3";
3
+ export const LIB_VERSION = "10.13.0-alpha.30";
4
4
  export const LIB_NAME = "@gooddata/api-client-tiger";
5
5
  //# sourceMappingURL=__version.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"__version.js","sourceRoot":"","sources":["../src/__version.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,6DAA6D;AAC7D,MAAM,CAAC,MAAM,WAAW,GAAG,iBAAiB,CAAC;AAE7C,MAAM,CAAC,MAAM,QAAQ,GAAG,4BAA4B,CAAC"}
1
+ {"version":3,"file":"__version.js","sourceRoot":"","sources":["../src/__version.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,6DAA6D;AAC7D,MAAM,CAAC,MAAM,WAAW,GAAG,kBAAkB,CAAC;AAE9C,MAAM,CAAC,MAAM,QAAQ,GAAG,4BAA4B,CAAC"}
@@ -374,6 +374,26 @@ export declare class ActionsApi extends MetadataBaseApi implements ActionsApiInt
374
374
  workspaceResolveSettings(requestParameters: ActionsApiWorkspaceResolveSettingsRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<ResolvedSetting[], any>>;
375
375
  }
376
376
 
377
+ /**
378
+ * Request parameters for aiChatHistory operation in ActionsApi.
379
+ * @export
380
+ * @interface ActionsApiAiChatHistoryRequest
381
+ */
382
+ export declare interface ActionsApiAiChatHistoryRequest {
383
+ /**
384
+ * Workspace identifier
385
+ * @type {string}
386
+ * @memberof ActionsApiAiChatHistory
387
+ */
388
+ readonly workspaceId: string;
389
+ /**
390
+ *
391
+ * @type {ChatHistoryRequest}
392
+ * @memberof ActionsApiAiChatHistory
393
+ */
394
+ readonly chatHistoryRequest: ChatHistoryRequest;
395
+ }
396
+
377
397
  /**
378
398
  * Request parameters for aiChat operation in ActionsApi.
379
399
  * @export
@@ -2985,6 +3005,15 @@ export declare class AfmActionsApi extends LabelElementsBaseApi implements AfmAc
2985
3005
  * @memberof ActionsApi
2986
3006
  */
2987
3007
  aiChat(requestParameters: ActionsApiAiChatRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<ChatResult, any>>;
3008
+ /**
3009
+ * (BETA) Post thread ID (and optionally interaction ID) to get full/partial chat history.
3010
+ * @summary (BETA) Get Chat History
3011
+ * @param {ActionsApiAiChatHistoryRequest} requestParameters Request parameters.
3012
+ * @param {*} [options] Override http request option.
3013
+ * @throws {RequiredError}
3014
+ * @memberof ActionsApi
3015
+ */
3016
+ aiChatHistory(requestParameters: ActionsApiAiChatHistoryRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<ChatHistoryResult, any>>;
2988
3017
  /**
2989
3018
  * (BETA) Uses similarity (e.g. cosine distance) to find most similar use cases.
2990
3019
  * @summary (BETA) Route to supported use cases based on this input query.
@@ -3154,6 +3183,15 @@ export declare const AfmActionsApiAxiosParamCreator: (configuration?: LabelEleme
3154
3183
  * @throws {RequiredError}
3155
3184
  */
3156
3185
  aiChat: (workspaceId: string, chatRequest: ChatRequest, options?: AxiosRequestConfig) => Promise<LabelElementsRequestArgs>;
3186
+ /**
3187
+ * (BETA) Post thread ID (and optionally interaction ID) to get full/partial chat history.
3188
+ * @summary (BETA) Get Chat History
3189
+ * @param {string} workspaceId Workspace identifier
3190
+ * @param {ChatHistoryRequest} chatHistoryRequest
3191
+ * @param {*} [options] Override http request option.
3192
+ * @throws {RequiredError}
3193
+ */
3194
+ aiChatHistory: (workspaceId: string, chatHistoryRequest: ChatHistoryRequest, options?: AxiosRequestConfig) => Promise<LabelElementsRequestArgs>;
3157
3195
  /**
3158
3196
  * (BETA) Uses similarity (e.g. cosine distance) to find most similar use cases.
3159
3197
  * @summary (BETA) Route to supported use cases based on this input query.
@@ -3346,6 +3384,14 @@ export declare const AfmActionsApiFactory: (configuration?: LabelElementsConfigu
3346
3384
  * @throws {RequiredError}
3347
3385
  */
3348
3386
  aiChat(requestParameters: ActionsApiAiChatRequest, options?: AxiosRequestConfig): AxiosPromise<ChatResult>;
3387
+ /**
3388
+ * (BETA) Post thread ID (and optionally interaction ID) to get full/partial chat history.
3389
+ * @summary (BETA) Get Chat History
3390
+ * @param {ActionsApiAiChatHistoryRequest} requestParameters Request parameters.
3391
+ * @param {*} [options] Override http request option.
3392
+ * @throws {RequiredError}
3393
+ */
3394
+ aiChatHistory(requestParameters: ActionsApiAiChatHistoryRequest, options?: AxiosRequestConfig): AxiosPromise<ChatHistoryResult>;
3349
3395
  /**
3350
3396
  * (BETA) Uses similarity (e.g. cosine distance) to find most similar use cases.
3351
3397
  * @summary (BETA) Route to supported use cases based on this input query.
@@ -3498,6 +3544,15 @@ export declare const AfmActionsApiFp: (configuration?: LabelElementsConfiguratio
3498
3544
  * @throws {RequiredError}
3499
3545
  */
3500
3546
  aiChat(workspaceId: string, chatRequest: ChatRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ChatResult>>;
3547
+ /**
3548
+ * (BETA) Post thread ID (and optionally interaction ID) to get full/partial chat history.
3549
+ * @summary (BETA) Get Chat History
3550
+ * @param {string} workspaceId Workspace identifier
3551
+ * @param {ChatHistoryRequest} chatHistoryRequest
3552
+ * @param {*} [options] Override http request option.
3553
+ * @throws {RequiredError}
3554
+ */
3555
+ aiChatHistory(workspaceId: string, chatHistoryRequest: ChatHistoryRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ChatHistoryResult>>;
3501
3556
  /**
3502
3557
  * (BETA) Uses similarity (e.g. cosine distance) to find most similar use cases.
3503
3558
  * @summary (BETA) Route to supported use cases based on this input query.
@@ -3692,6 +3747,15 @@ export declare interface AfmActionsApiInterface {
3692
3747
  * @memberof ActionsApiInterface
3693
3748
  */
3694
3749
  aiChat(requestParameters: ActionsApiAiChatRequest, options?: AxiosRequestConfig): AxiosPromise<ChatResult>;
3750
+ /**
3751
+ * (BETA) Post thread ID (and optionally interaction ID) to get full/partial chat history.
3752
+ * @summary (BETA) Get Chat History
3753
+ * @param {ActionsApiAiChatHistoryRequest} requestParameters Request parameters.
3754
+ * @param {*} [options] Override http request option.
3755
+ * @throws {RequiredError}
3756
+ * @memberof ActionsApiInterface
3757
+ */
3758
+ aiChatHistory(requestParameters: ActionsApiAiChatHistoryRequest, options?: AxiosRequestConfig): AxiosPromise<ChatHistoryResult>;
3695
3759
  /**
3696
3760
  * (BETA) Uses similarity (e.g. cosine distance) to find most similar use cases.
3697
3761
  * @summary (BETA) Route to supported use cases based on this input query.
@@ -8970,31 +9034,114 @@ export declare interface CacheUsageData {
8970
9034
  }
8971
9035
 
8972
9036
  /**
8973
- * List of chat interactions
9037
+ * List of chat history interactions.
8974
9038
  * @export
8975
- * @interface ChatInteraction
9039
+ * @interface ChatHistoryInteraction
8976
9040
  */
8977
- export declare interface ChatInteraction {
9041
+ export declare interface ChatHistoryInteraction {
8978
9042
  /**
8979
- * Interaction content.
8980
- * @type {Array<CreatedVisualizationInteractionWithContext | FoundObjectInteractionWithContext | TextInteractionWithContext>}
8981
- * @memberof ChatInteraction
9043
+ * User question
9044
+ * @type {string}
9045
+ * @memberof ChatHistoryInteraction
8982
9046
  */
8983
- content: Array<CreatedVisualizationInteractionWithContext | FoundObjectInteractionWithContext | TextInteractionWithContext>;
9047
+ question: string;
8984
9048
  /**
8985
- * Role of actor.
9049
+ * Chat History thread suffix appended to ID generated by backend. Enables more chat windows.
8986
9050
  * @type {string}
8987
- * @memberof ChatInteraction
9051
+ * @memberof ChatHistoryInteraction
8988
9052
  */
8989
- role: ChatInteractionRoleEnum;
9053
+ threadIdSuffix?: string;
9054
+ /**
9055
+ * Chat History interaction ID. Unique ID for each interaction.
9056
+ * @type {number}
9057
+ * @memberof ChatHistoryInteraction
9058
+ */
9059
+ chatHistoryInteractionId: number;
9060
+ /**
9061
+ * Has the interaction already finished? Can be used for polling when interaction is in progress.
9062
+ * @type {boolean}
9063
+ * @memberof ChatHistoryInteraction
9064
+ */
9065
+ interactionFinished: boolean;
9066
+ /**
9067
+ *
9068
+ * @type {RouteResult}
9069
+ * @memberof ChatHistoryInteraction
9070
+ */
9071
+ routing: RouteResult;
9072
+ /**
9073
+ * Text response for general questions.
9074
+ * @type {string}
9075
+ * @memberof ChatHistoryInteraction
9076
+ */
9077
+ textResponse?: string;
9078
+ /**
9079
+ *
9080
+ * @type {FoundObjects}
9081
+ * @memberof ChatHistoryInteraction
9082
+ */
9083
+ foundObjects?: FoundObjects;
9084
+ /**
9085
+ *
9086
+ * @type {CreatedVisualizations}
9087
+ * @memberof ChatHistoryInteraction
9088
+ */
9089
+ createdVisualizations?: CreatedVisualizations;
9090
+ }
9091
+
9092
+ /**
9093
+ *
9094
+ * @export
9095
+ * @interface ChatHistoryRequest
9096
+ */
9097
+ export declare interface ChatHistoryRequest {
9098
+ /**
9099
+ * Chat History thread suffix appended to ID generated by backend. Enables more chat windows.
9100
+ * @type {string}
9101
+ * @memberof ChatHistoryRequest
9102
+ */
9103
+ threadIdSuffix?: string;
9104
+ /**
9105
+ * Return chat history records only after this interaction ID. If empty, complete chat history is returned.
9106
+ * @type {number}
9107
+ * @memberof ChatHistoryRequest
9108
+ */
9109
+ chatHistoryInteractionId?: number;
9110
+ /**
9111
+ * User feedback.
9112
+ * @type {string}
9113
+ * @memberof ChatHistoryRequest
9114
+ */
9115
+ userFeedback?: ChatHistoryRequestUserFeedbackEnum;
9116
+ /**
9117
+ * User feedback.
9118
+ * @type {boolean}
9119
+ * @memberof ChatHistoryRequest
9120
+ */
9121
+ reset?: boolean;
8990
9122
  }
8991
9123
 
8992
- export declare const ChatInteractionRoleEnum: {
8993
- readonly USER: "USER";
8994
- readonly AI: "AI";
9124
+ export declare const ChatHistoryRequestUserFeedbackEnum: {
9125
+ readonly POSITIVE: "POSITIVE";
9126
+ readonly NEGATIVE: "NEGATIVE";
9127
+ readonly NONE: "NONE";
8995
9128
  };
8996
9129
 
8997
- export declare type ChatInteractionRoleEnum = typeof ChatInteractionRoleEnum[keyof typeof ChatInteractionRoleEnum];
9130
+ export declare type ChatHistoryRequestUserFeedbackEnum = typeof ChatHistoryRequestUserFeedbackEnum[keyof typeof ChatHistoryRequestUserFeedbackEnum];
9131
+
9132
+ /**
9133
+ *
9134
+ * @export
9135
+ * @interface ChatHistoryResult
9136
+ */
9137
+ export declare interface ChatHistoryResult {
9138
+ /**
9139
+ * List of chat history interactions.
9140
+ * @type {Array<ChatHistoryInteraction>}
9141
+ * @memberof ChatHistoryResult
9142
+ */
9143
+ interactions: Array<ChatHistoryInteraction>;
9144
+ }
8998
9145
 
8999
9146
  /**
9000
9147
  *
@@ -9027,11 +9174,11 @@ export declare interface ChatRequest {
9027
9174
  */
9028
9175
  limitCreate?: number;
9029
9176
  /**
9030
- * List of chat interactions
9031
- * @type {Array<ChatInteraction>}
9177
+ * Chat History thread suffix appended to ID generated by backend. Enables more chat windows.
9178
+ * @type {string}
9032
9179
  * @memberof ChatRequest
9033
9180
  */
9034
- chatHistory?: Array<ChatInteraction>;
9181
+ threadIdSuffix?: string;
9035
9182
  /**
9036
9183
  *
9037
9184
  * @type {UserContext}
@@ -9044,12 +9191,6 @@ export declare interface ChatRequest {
9044
9191
  * @memberof ChatRequest
9045
9192
  */
9046
9193
  titleToDescriptorRatio?: number;
9047
- /**
9048
- * Score, below which we set invalidQuestion to true. The question does not match to any use case
9049
- * @type {number}
9050
- * @memberof ChatRequest
9051
- */
9052
- routeScoreThreshold?: number;
9053
9194
  /**
9054
9195
  * Score, above which we return found object(s) and don\'t call LLM to create new objects.
9055
9196
  * @type {number}
@@ -9071,17 +9212,17 @@ export declare interface ChatRequest {
9071
9212
  */
9072
9213
  export declare interface ChatResult {
9073
9214
  /**
9074
- * Use cases with scores. The question was routed to the use case with highest score.
9075
- * @type {Array<RouteResultObject>}
9215
+ *
9216
+ * @type {RouteResult}
9076
9217
  * @memberof ChatResult
9077
9218
  */
9078
- useCases: Array<RouteResultObject>;
9219
+ routing: RouteResult;
9079
9220
  /**
9080
- * Flag detecting invalid/irrelevant user question. No user case was found.
9081
- * @type {boolean}
9221
+ * Text response for general questions.
9222
+ * @type {string}
9082
9223
  * @memberof ChatResult
9083
9224
  */
9084
- invalidQuestion: boolean;
9225
+ textResponse?: string;
9085
9226
  /**
9086
9227
  *
9087
9228
  * @type {FoundObjects}
@@ -9094,6 +9235,12 @@ export declare interface ChatResult {
9094
9235
  * @memberof ChatResult
9095
9236
  */
9096
9237
  createdVisualizations?: CreatedVisualizations;
9238
+ /**
9239
+ * Chat History thread suffix appended to ID generated by backend. Enables more chat windows.
9240
+ * @type {string}
9241
+ * @memberof ChatResult
9242
+ */
9243
+ threadIdSuffix?: string;
9097
9244
  }
9098
9245
 
9099
9246
  /**
@@ -10348,7 +10495,7 @@ export declare interface CookieSecurityConfigurationApiUpdateEntityCookieSecurit
10348
10495
  }
10349
10496
 
10350
10497
  /**
10351
- * Visualization created by AI.
10498
+ * List of created visualization objects
10352
10499
  * @export
10353
10500
  * @interface CreatedVisualization
10354
10501
  */
@@ -10385,40 +10532,6 @@ export declare interface CreatedVisualization {
10385
10532
  dimensionality: Array<DimAttribute>;
10386
10533
  }
10387
10534
 
10388
- /**
10389
- *
10390
- * @export
10391
- * @interface CreatedVisualizationInteractionWithContext
10392
- */
10393
- export declare interface CreatedVisualizationInteractionWithContext {
10394
- /**
10395
- * Include all in the chat context. Used for further questions. Use if it\'s not clear which objects relate to the question.
10396
- * @type {boolean}
10397
- * @memberof CreatedVisualizationInteractionWithContext
10398
- */
10399
- includeToChatContext?: boolean;
10400
- /**
10401
- * User feedback
10402
- * @type {string}
10403
- * @memberof CreatedVisualizationInteractionWithContext
10404
- */
10405
- userFeedback?: CreatedVisualizationInteractionWithContextUserFeedbackEnum;
10406
- /**
10407
- *
10408
- * @type {CreatedVisualization}
10409
- * @memberof CreatedVisualizationInteractionWithContext
10410
- */
10411
- createdVisualization: CreatedVisualization;
10412
- }
10413
-
10414
- export declare const CreatedVisualizationInteractionWithContextUserFeedbackEnum: {
10415
- readonly POSITIVE: "POSITIVE";
10416
- readonly NEGATIVE: "NEGATIVE";
10417
- readonly NONE: "NONE";
10418
- };
10419
-
10420
- export declare type CreatedVisualizationInteractionWithContextUserFeedbackEnum = typeof CreatedVisualizationInteractionWithContextUserFeedbackEnum[keyof typeof CreatedVisualizationInteractionWithContextUserFeedbackEnum];
10421
-
10422
10535
  /**
10423
10536
  * Visualization definitions created by AI.
10424
10537
  * @export
@@ -10432,7 +10545,7 @@ export declare interface CreatedVisualizations {
10432
10545
  */
10433
10546
  objects: Array<CreatedVisualization>;
10434
10547
  /**
10435
- * Reasoning from LLM. Description of how the answer was generated.
10548
+ * Reasoning from LLM. Description of how and why the answer was generated.
10436
10549
  * @type {string}
10437
10550
  * @memberof CreatedVisualizations
10438
10551
  */
@@ -35756,41 +35869,7 @@ export declare interface ForecastResult {
35756
35869
  }
35757
35870
 
35758
35871
  /**
35759
- *
35760
- * @export
35761
- * @interface FoundObjectInteractionWithContext
35762
- */
35763
- export declare interface FoundObjectInteractionWithContext {
35764
- /**
35765
- * Include all in the chat context. Used for further questions. Use if it\'s not clear which objects relate to the question.
35766
- * @type {boolean}
35767
- * @memberof FoundObjectInteractionWithContext
35768
- */
35769
- includeToChatContext?: boolean;
35770
- /**
35771
- * User feedback
35772
- * @type {string}
35773
- * @memberof FoundObjectInteractionWithContext
35774
- */
35775
- userFeedback?: FoundObjectInteractionWithContextUserFeedbackEnum;
35776
- /**
35777
- *
35778
- * @type {SearchResultObject}
35779
- * @memberof FoundObjectInteractionWithContext
35780
- */
35781
- foundObject: SearchResultObject;
35782
- }
35783
-
35784
- export declare const FoundObjectInteractionWithContextUserFeedbackEnum: {
35785
- readonly POSITIVE: "POSITIVE";
35786
- readonly NEGATIVE: "NEGATIVE";
35787
- readonly NONE: "NONE";
35788
- };
35789
-
35790
- export declare type FoundObjectInteractionWithContextUserFeedbackEnum = typeof FoundObjectInteractionWithContextUserFeedbackEnum[keyof typeof FoundObjectInteractionWithContextUserFeedbackEnum];
35791
-
35792
- /**
35793
- * List of objects found by similarity search.
35872
+ * List of objects found by similarity search and post-processed by LLM.
35794
35873
  * @export
35795
35874
  * @interface FoundObjects
35796
35875
  */
@@ -35802,7 +35881,7 @@ export declare interface FoundObjects {
35802
35881
  */
35803
35882
  objects: Array<SearchResultObject>;
35804
35883
  /**
35805
- * Reasoning from LLM. Description of how the answer was generated.
35884
+ * Reasoning from LLM. Description of how and why the answer was generated.
35806
35885
  * @type {string}
35807
35886
  * @memberof FoundObjects
35808
35887
  */
@@ -65867,39 +65946,31 @@ export declare interface RouteRequest {
65867
65946
  */
65868
65947
  export declare interface RouteResult {
65869
65948
  /**
65870
- *
65871
- * @type {Array<RouteResultObject>}
65872
- * @memberof RouteResult
65873
- */
65874
- results: Array<RouteResultObject>;
65875
- }
65876
-
65877
- /**
65878
- *
65879
- * @export
65880
- * @interface RouteResultObject
65881
- */
65882
- export declare interface RouteResultObject {
65883
- /**
65884
- * Use case where to route, e.g. \'list dashboards\' or \'create visualization\'.
65949
+ * Use case where LLM routed based on question.
65885
65950
  * @type {string}
65886
- * @memberof RouteResultObject
65951
+ * @memberof RouteResult
65887
65952
  */
65888
- useCase: string;
65953
+ useCase: RouteResultUseCaseEnum;
65889
65954
  /**
65890
- * Use case description, which was hit by the similarity search.
65955
+ * Explanation why LLM picked this use case.
65891
65956
  * @type {string}
65892
- * @memberof RouteResultObject
65893
- */
65894
- exampleDescription: string;
65895
- /**
65896
- * Similarity score between input query and the use case description.
65897
- * @type {number}
65898
- * @memberof RouteResultObject
65957
+ * @memberof RouteResult
65899
65958
  */
65900
- score: number;
65959
+ reasoning: string;
65901
65960
  }
65902
65961
 
65962
+ export declare const RouteResultUseCaseEnum: {
65963
+ readonly SEARCH_ALL: "SEARCH_ALL";
65964
+ readonly SEARCH_VISUALIZATIONS: "SEARCH_VISUALIZATIONS";
65965
+ readonly SEARCH_DASHBOARDS: "SEARCH_DASHBOARDS";
65966
+ readonly CREATE_VISUALIZATION: "CREATE_VISUALIZATION";
65967
+ readonly EXTEND_VISUALIZATION: "EXTEND_VISUALIZATION";
65968
+ readonly GENERAL: "GENERAL";
65969
+ readonly INVALID: "INVALID";
65970
+ };
65971
+
65972
+ export declare type RouteResultUseCaseEnum = typeof RouteResultUseCaseEnum[keyof typeof RouteResultUseCaseEnum];
65973
+
65903
65974
  /**
65904
65975
  *
65905
65976
  * @export
@@ -66579,7 +66650,7 @@ export declare interface SearchResultObject {
66579
66650
  * @type {string}
66580
66651
  * @memberof SearchResultObject
66581
66652
  */
66582
- description: string;
66653
+ description?: string;
66583
66654
  /**
66584
66655
  *
66585
66656
  * @type {Array<string>}
@@ -66609,25 +66680,25 @@ export declare interface SearchResultObject {
66609
66680
  * @type {number}
66610
66681
  * @memberof SearchResultObject
66611
66682
  */
66612
- score: number;
66683
+ score?: number;
66613
66684
  /**
66614
66685
  * Result score for object title.
66615
66686
  * @type {number}
66616
66687
  * @memberof SearchResultObject
66617
66688
  */
66618
- scoreTitle: number;
66689
+ scoreTitle?: number;
66619
66690
  /**
66620
66691
  * Result score for descriptor containing(now) description and tags.
66621
66692
  * @type {number}
66622
66693
  * @memberof SearchResultObject
66623
66694
  */
66624
- scoreDescriptor: number;
66695
+ scoreDescriptor?: number;
66625
66696
  /**
66626
66697
  * Result score for exact match(id/title). 1/1000. Other scores are multiplied by this.
66627
66698
  * @type {number}
66628
66699
  * @memberof SearchResultObject
66629
66700
  */
66630
- scoreExactMatch: number;
66701
+ scoreExactMatch?: number;
66631
66702
  }
66632
66703
 
66633
66704
  /**
@@ -67499,40 +67570,6 @@ export declare interface TestResponse {
67499
67570
  queryDurationMillis?: TestQueryDuration;
67500
67571
  }
67501
67572
 
67502
- /**
67503
- *
67504
- * @export
67505
- * @interface TextInteractionWithContext
67506
- */
67507
- export declare interface TextInteractionWithContext {
67508
- /**
67509
- * Include all in the chat context. Used for further questions. Use if it\'s not clear which objects relate to the question.
67510
- * @type {boolean}
67511
- * @memberof TextInteractionWithContext
67512
- */
67513
- includeToChatContext?: boolean;
67514
- /**
67515
- * User feedback
67516
- * @type {string}
67517
- * @memberof TextInteractionWithContext
67518
- */
67519
- userFeedback?: TextInteractionWithContextUserFeedbackEnum;
67520
- /**
67521
- * Object found by similarity search.
67522
- * @type {string}
67523
- * @memberof TextInteractionWithContext
67524
- */
67525
- text: string;
67526
- }
67527
-
67528
- export declare const TextInteractionWithContextUserFeedbackEnum: {
67529
- readonly POSITIVE: "POSITIVE";
67530
- readonly NEGATIVE: "NEGATIVE";
67531
- readonly NONE: "NONE";
67532
- };
67533
-
67534
- export declare type TextInteractionWithContextUserFeedbackEnum = typeof TextInteractionWithContextUserFeedbackEnum[keyof typeof TextInteractionWithContextUserFeedbackEnum];
67535
-
67536
67573
  export declare const tigerActionsClientFactory: (axios: AxiosInstance) => ActionsApiInterface;
67537
67574
 
67538
67575
  export declare const tigerAfmExplainClientFactory: (axios: AxiosInstance) => Pick<AfmActionsApiInterface, "explainAFM">;
@@ -67563,7 +67600,7 @@ export declare const tigerExportClientFactory: (axios: AxiosInstance) => ExportA
67563
67600
  /**
67564
67601
  * Tiger GenAI client factory
67565
67602
  */
67566
- export declare const tigerGenAIClientFactory: (axios: AxiosInstance) => Pick<AfmActionsApiInterface, "aiSearch" | "aiChat">;
67603
+ export declare const tigerGenAIClientFactory: (axios: AxiosInstance) => Pick<AfmActionsApiInterface, "aiSearch" | "aiChat" | "aiChatHistory" | "aiRoute">;
67567
67604
 
67568
67605
  export declare const tigerLabelElementsClientFactory: (axios: AxiosInstance) => Pick<AfmActionsApiInterface, "computeLabelElementsPost">;
67569
67606
 
package/esm/genAI.d.ts CHANGED
@@ -3,5 +3,5 @@ import { ActionsApiInterface } from "./generated/afm-rest-api/index.js";
3
3
  /**
4
4
  * Tiger GenAI client factory
5
5
  */
6
- export declare const tigerGenAIClientFactory: (axios: AxiosInstance) => Pick<ActionsApiInterface, "aiSearch" | "aiChat">;
6
+ export declare const tigerGenAIClientFactory: (axios: AxiosInstance) => Pick<ActionsApiInterface, "aiSearch" | "aiChat" | "aiChatHistory" | "aiRoute">;
7
7
  //# sourceMappingURL=genAI.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"genAI.d.ts","sourceRoot":"","sources":["../src/genAI.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AACtC,OAAO,EAAc,mBAAmB,EAAE,MAAM,mCAAmC,CAAC;AAEpF;;GAEG;AACH,eAAO,MAAM,uBAAuB,UACzB,aAAa,KACrB,KAAK,mBAAmB,EAAE,UAAU,GAAG,QAAQ,CAAyC,CAAC"}
1
+ {"version":3,"file":"genAI.d.ts","sourceRoot":"","sources":["../src/genAI.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AACtC,OAAO,EAAc,mBAAmB,EAAE,MAAM,mCAAmC,CAAC;AAEpF;;GAEG;AACH,eAAO,MAAM,uBAAuB,UACzB,aAAa,KACrB,KAAK,mBAAmB,EAAE,UAAU,GAAG,QAAQ,GAAG,eAAe,GAAG,SAAS,CACxC,CAAC"}
package/esm/genAI.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"genAI.js","sourceRoot":"","sources":["../src/genAI.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAuB,MAAM,mCAAmC,CAAC;AAEpF;;GAEG;AACH,MAAM,CAAC,MAAM,uBAAuB,GAAG,CACnC,KAAoB,EAC4B,EAAE,CAAC,IAAI,UAAU,CAAC,SAAS,EAAE,EAAE,EAAE,KAAK,CAAC,CAAC"}
1
+ {"version":3,"file":"genAI.js","sourceRoot":"","sources":["../src/genAI.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAuB,MAAM,mCAAmC,CAAC;AAEpF;;GAEG;AACH,MAAM,CAAC,MAAM,uBAAuB,GAAG,CACnC,KAAoB,EAC0D,EAAE,CAChF,IAAI,UAAU,CAAC,SAAS,EAAE,EAAE,EAAE,KAAK,CAAC,CAAC"}