@gooddata/api-client-tiger 10.13.0-alpha.9 → 10.13.0

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.
@@ -706,29 +706,110 @@ export interface AttributeResultHeader {
706
706
  primaryLabelValue: string;
707
707
  }
708
708
  /**
709
- * List of chat interactions
709
+ * List of chat history interactions.
710
710
  * @export
711
- * @interface ChatInteraction
711
+ * @interface ChatHistoryInteraction
712
712
  */
713
- export interface ChatInteraction {
713
+ export interface ChatHistoryInteraction {
714
714
  /**
715
- * Interaction content.
716
- * @type {Array<CreatedVisualizationInteractionWithContext | FoundObjectInteractionWithContext | TextInteractionWithContext>}
717
- * @memberof ChatInteraction
715
+ * User question
716
+ * @type {string}
717
+ * @memberof ChatHistoryInteraction
718
+ */
719
+ question: string;
720
+ /**
721
+ * Chat History thread suffix appended to ID generated by backend. Enables more chat windows.
722
+ * @type {string}
723
+ * @memberof ChatHistoryInteraction
724
+ */
725
+ threadIdSuffix?: string;
726
+ /**
727
+ * Chat History interaction ID. Unique ID for each interaction.
728
+ * @type {number}
729
+ * @memberof ChatHistoryInteraction
730
+ */
731
+ chatHistoryInteractionId: number;
732
+ /**
733
+ * Has the interaction already finished? Can be used for polling when interaction is in progress.
734
+ * @type {boolean}
735
+ * @memberof ChatHistoryInteraction
718
736
  */
719
- content: Array<CreatedVisualizationInteractionWithContext | FoundObjectInteractionWithContext | TextInteractionWithContext>;
737
+ interactionFinished: boolean;
720
738
  /**
721
- * Role of actor.
739
+ *
740
+ * @type {RouteResult}
741
+ * @memberof ChatHistoryInteraction
742
+ */
743
+ routing: RouteResult;
744
+ /**
745
+ * Text response for general questions.
722
746
  * @type {string}
723
- * @memberof ChatInteraction
747
+ * @memberof ChatHistoryInteraction
724
748
  */
725
- role: ChatInteractionRoleEnum;
749
+ textResponse?: string;
750
+ /**
751
+ *
752
+ * @type {FoundObjects}
753
+ * @memberof ChatHistoryInteraction
754
+ */
755
+ foundObjects?: FoundObjects;
756
+ /**
757
+ *
758
+ * @type {CreatedVisualizations}
759
+ * @memberof ChatHistoryInteraction
760
+ */
761
+ createdVisualizations?: CreatedVisualizations;
726
762
  }
727
- export declare const ChatInteractionRoleEnum: {
728
- readonly USER: "USER";
729
- readonly AI: "AI";
763
+ /**
764
+ *
765
+ * @export
766
+ * @interface ChatHistoryRequest
767
+ */
768
+ export interface ChatHistoryRequest {
769
+ /**
770
+ * Chat History thread suffix appended to ID generated by backend. Enables more chat windows.
771
+ * @type {string}
772
+ * @memberof ChatHistoryRequest
773
+ */
774
+ threadIdSuffix?: string;
775
+ /**
776
+ * Return chat history records only after this interaction ID. If empty, complete chat history is returned.
777
+ * @type {number}
778
+ * @memberof ChatHistoryRequest
779
+ */
780
+ chatHistoryInteractionId?: number;
781
+ /**
782
+ * User feedback.
783
+ * @type {string}
784
+ * @memberof ChatHistoryRequest
785
+ */
786
+ userFeedback?: ChatHistoryRequestUserFeedbackEnum;
787
+ /**
788
+ * User feedback.
789
+ * @type {boolean}
790
+ * @memberof ChatHistoryRequest
791
+ */
792
+ reset?: boolean;
793
+ }
794
+ export declare const ChatHistoryRequestUserFeedbackEnum: {
795
+ readonly POSITIVE: "POSITIVE";
796
+ readonly NEGATIVE: "NEGATIVE";
797
+ readonly NONE: "NONE";
730
798
  };
731
- export type ChatInteractionRoleEnum = typeof ChatInteractionRoleEnum[keyof typeof ChatInteractionRoleEnum];
799
+ export type ChatHistoryRequestUserFeedbackEnum = typeof ChatHistoryRequestUserFeedbackEnum[keyof typeof ChatHistoryRequestUserFeedbackEnum];
800
+ /**
801
+ *
802
+ * @export
803
+ * @interface ChatHistoryResult
804
+ */
805
+ export interface ChatHistoryResult {
806
+ /**
807
+ * List of chat history interactions.
808
+ * @type {Array<ChatHistoryInteraction>}
809
+ * @memberof ChatHistoryResult
810
+ */
811
+ interactions: Array<ChatHistoryInteraction>;
812
+ }
732
813
  /**
733
814
  *
734
815
  * @export
@@ -760,11 +841,11 @@ export interface ChatRequest {
760
841
  */
761
842
  limitCreate?: number;
762
843
  /**
763
- * List of chat interactions
764
- * @type {Array<ChatInteraction>}
844
+ * Chat History thread suffix appended to ID generated by backend. Enables more chat windows.
845
+ * @type {string}
765
846
  * @memberof ChatRequest
766
847
  */
767
- chatHistory?: Array<ChatInteraction>;
848
+ threadIdSuffix?: string;
768
849
  /**
769
850
  *
770
851
  * @type {UserContext}
@@ -777,12 +858,6 @@ export interface ChatRequest {
777
858
  * @memberof ChatRequest
778
859
  */
779
860
  titleToDescriptorRatio?: number;
780
- /**
781
- * Score, below which we set invalidQuestion to true. The question does not match to any use case
782
- * @type {number}
783
- * @memberof ChatRequest
784
- */
785
- routeScoreThreshold?: number;
786
861
  /**
787
862
  * Score, above which we return found object(s) and don\'t call LLM to create new objects.
788
863
  * @type {number}
@@ -803,17 +878,17 @@ export interface ChatRequest {
803
878
  */
804
879
  export interface ChatResult {
805
880
  /**
806
- * Use cases with scores. The question was routed to the use case with highest score.
807
- * @type {Array<RouteResultObject>}
881
+ *
882
+ * @type {RouteResult}
808
883
  * @memberof ChatResult
809
884
  */
810
- useCases: Array<RouteResultObject>;
885
+ routing: RouteResult;
811
886
  /**
812
- * Flag detecting invalid/irrelevant user question. No user case was found.
813
- * @type {boolean}
887
+ * Text response for general questions.
888
+ * @type {string}
814
889
  * @memberof ChatResult
815
890
  */
816
- invalidQuestion: boolean;
891
+ textResponse?: string;
817
892
  /**
818
893
  *
819
894
  * @type {FoundObjects}
@@ -826,6 +901,12 @@ export interface ChatResult {
826
901
  * @memberof ChatResult
827
902
  */
828
903
  createdVisualizations?: CreatedVisualizations;
904
+ /**
905
+ * Chat History thread suffix appended to ID generated by backend. Enables more chat windows.
906
+ * @type {string}
907
+ * @memberof ChatResult
908
+ */
909
+ threadIdSuffix?: string;
829
910
  }
830
911
  /**
831
912
  *
@@ -949,7 +1030,7 @@ export declare const ComparisonMeasureValueFilterComparisonMeasureValueFilterOpe
949
1030
  };
950
1031
  export type ComparisonMeasureValueFilterComparisonMeasureValueFilterOperatorEnum = typeof ComparisonMeasureValueFilterComparisonMeasureValueFilterOperatorEnum[keyof typeof ComparisonMeasureValueFilterComparisonMeasureValueFilterOperatorEnum];
951
1032
  /**
952
- * Visualization created by AI.
1033
+ * List of created visualization objects
953
1034
  * @export
954
1035
  * @interface CreatedVisualization
955
1036
  */
@@ -994,50 +1075,6 @@ export declare const CreatedVisualizationVisualizationTypeEnum: {
994
1075
  readonly COLUMN: "COLUMN";
995
1076
  };
996
1077
  export type CreatedVisualizationVisualizationTypeEnum = typeof CreatedVisualizationVisualizationTypeEnum[keyof typeof CreatedVisualizationVisualizationTypeEnum];
997
- /**
998
- *
999
- * @export
1000
- * @interface CreatedVisualizationInteractionWithContext
1001
- */
1002
- export interface CreatedVisualizationInteractionWithContext {
1003
- /**
1004
- * Include all in the chat context. Used for further questions. Use if it\'s not clear which objects relate to the question.
1005
- * @type {boolean}
1006
- * @memberof CreatedVisualizationInteractionWithContext
1007
- */
1008
- includeToChatContext?: boolean;
1009
- /**
1010
- * User feedback
1011
- * @type {string}
1012
- * @memberof CreatedVisualizationInteractionWithContext
1013
- */
1014
- userFeedback?: CreatedVisualizationInteractionWithContextUserFeedbackEnum;
1015
- /**
1016
- *
1017
- * @type {CreatedVisualization}
1018
- * @memberof CreatedVisualizationInteractionWithContext
1019
- */
1020
- createdVisualization: CreatedVisualization;
1021
- }
1022
- export declare const CreatedVisualizationInteractionWithContextUserFeedbackEnum: {
1023
- readonly POSITIVE: "POSITIVE";
1024
- readonly NEGATIVE: "NEGATIVE";
1025
- readonly NONE: "NONE";
1026
- };
1027
- export type CreatedVisualizationInteractionWithContextUserFeedbackEnum = typeof CreatedVisualizationInteractionWithContextUserFeedbackEnum[keyof typeof CreatedVisualizationInteractionWithContextUserFeedbackEnum];
1028
- /**
1029
- *
1030
- * @export
1031
- * @interface CreatedVisualizationInteractionWithContextAllOf
1032
- */
1033
- export interface CreatedVisualizationInteractionWithContextAllOf {
1034
- /**
1035
- *
1036
- * @type {CreatedVisualization}
1037
- * @memberof CreatedVisualizationInteractionWithContextAllOf
1038
- */
1039
- createdVisualization?: CreatedVisualization;
1040
- }
1041
1078
  /**
1042
1079
  * Visualization definitions created by AI.
1043
1080
  * @export
@@ -1051,7 +1088,7 @@ export interface CreatedVisualizations {
1051
1088
  */
1052
1089
  objects: Array<CreatedVisualization>;
1053
1090
  /**
1054
- * Reasoning from LLM. Description of how the answer was generated.
1091
+ * Reasoning from LLM. Description of how and why the answer was generated.
1055
1092
  * @type {string}
1056
1093
  * @memberof CreatedVisualizations
1057
1094
  */
@@ -1614,51 +1651,7 @@ export interface ForecastResult {
1614
1651
  upperBound: Array<number>;
1615
1652
  }
1616
1653
  /**
1617
- *
1618
- * @export
1619
- * @interface FoundObjectInteractionWithContext
1620
- */
1621
- export interface FoundObjectInteractionWithContext {
1622
- /**
1623
- * Include all in the chat context. Used for further questions. Use if it\'s not clear which objects relate to the question.
1624
- * @type {boolean}
1625
- * @memberof FoundObjectInteractionWithContext
1626
- */
1627
- includeToChatContext?: boolean;
1628
- /**
1629
- * User feedback
1630
- * @type {string}
1631
- * @memberof FoundObjectInteractionWithContext
1632
- */
1633
- userFeedback?: FoundObjectInteractionWithContextUserFeedbackEnum;
1634
- /**
1635
- *
1636
- * @type {SearchResultObject}
1637
- * @memberof FoundObjectInteractionWithContext
1638
- */
1639
- foundObject: SearchResultObject;
1640
- }
1641
- export declare const FoundObjectInteractionWithContextUserFeedbackEnum: {
1642
- readonly POSITIVE: "POSITIVE";
1643
- readonly NEGATIVE: "NEGATIVE";
1644
- readonly NONE: "NONE";
1645
- };
1646
- export type FoundObjectInteractionWithContextUserFeedbackEnum = typeof FoundObjectInteractionWithContextUserFeedbackEnum[keyof typeof FoundObjectInteractionWithContextUserFeedbackEnum];
1647
- /**
1648
- *
1649
- * @export
1650
- * @interface FoundObjectInteractionWithContextAllOf
1651
- */
1652
- export interface FoundObjectInteractionWithContextAllOf {
1653
- /**
1654
- *
1655
- * @type {SearchResultObject}
1656
- * @memberof FoundObjectInteractionWithContextAllOf
1657
- */
1658
- foundObject?: SearchResultObject;
1659
- }
1660
- /**
1661
- * List of objects found by similarity search.
1654
+ * List of objects found by similarity search and post-processed by LLM.
1662
1655
  * @export
1663
1656
  * @interface FoundObjects
1664
1657
  */
@@ -1670,7 +1663,7 @@ export interface FoundObjects {
1670
1663
  */
1671
1664
  objects: Array<SearchResultObject>;
1672
1665
  /**
1673
- * Reasoning from LLM. Description of how the answer was generated.
1666
+ * Reasoning from LLM. Description of how and why the answer was generated.
1674
1667
  * @type {string}
1675
1668
  * @memberof FoundObjects
1676
1669
  */
@@ -1747,31 +1740,6 @@ export interface InlineMeasureDefinitionInline {
1747
1740
  */
1748
1741
  maql: string;
1749
1742
  }
1750
- /**
1751
- * Interaction content.
1752
- * @export
1753
- * @interface InteractionWithContext
1754
- */
1755
- export interface InteractionWithContext {
1756
- /**
1757
- * Include all in the chat context. Used for further questions. Use if it\'s not clear which objects relate to the question.
1758
- * @type {boolean}
1759
- * @memberof InteractionWithContext
1760
- */
1761
- includeToChatContext?: boolean;
1762
- /**
1763
- * User feedback
1764
- * @type {string}
1765
- * @memberof InteractionWithContext
1766
- */
1767
- userFeedback?: InteractionWithContextUserFeedbackEnum;
1768
- }
1769
- export declare const InteractionWithContextUserFeedbackEnum: {
1770
- readonly POSITIVE: "POSITIVE";
1771
- readonly NEGATIVE: "NEGATIVE";
1772
- readonly NONE: "NONE";
1773
- };
1774
- export type InteractionWithContextUserFeedbackEnum = typeof InteractionWithContextUserFeedbackEnum[keyof typeof InteractionWithContextUserFeedbackEnum];
1775
1743
  /**
1776
1744
  *
1777
1745
  * @export
@@ -2562,37 +2530,28 @@ export interface RouteRequest {
2562
2530
  */
2563
2531
  export interface RouteResult {
2564
2532
  /**
2565
- *
2566
- * @type {Array<RouteResultObject>}
2567
- * @memberof RouteResult
2568
- */
2569
- results: Array<RouteResultObject>;
2570
- }
2571
- /**
2572
- *
2573
- * @export
2574
- * @interface RouteResultObject
2575
- */
2576
- export interface RouteResultObject {
2577
- /**
2578
- * Use case where to route, e.g. \'list dashboards\' or \'create visualization\'.
2533
+ * Use case where LLM routed based on question.
2579
2534
  * @type {string}
2580
- * @memberof RouteResultObject
2535
+ * @memberof RouteResult
2581
2536
  */
2582
- useCase: string;
2537
+ useCase: RouteResultUseCaseEnum;
2583
2538
  /**
2584
- * Use case description, which was hit by the similarity search.
2539
+ * Explanation why LLM picked this use case.
2585
2540
  * @type {string}
2586
- * @memberof RouteResultObject
2587
- */
2588
- exampleDescription: string;
2589
- /**
2590
- * Similarity score between input query and the use case description.
2591
- * @type {number}
2592
- * @memberof RouteResultObject
2541
+ * @memberof RouteResult
2593
2542
  */
2594
- score: number;
2543
+ reasoning: string;
2595
2544
  }
2545
+ export declare const RouteResultUseCaseEnum: {
2546
+ readonly SEARCH_ALL: "SEARCH_ALL";
2547
+ readonly SEARCH_VISUALIZATIONS: "SEARCH_VISUALIZATIONS";
2548
+ readonly SEARCH_DASHBOARDS: "SEARCH_DASHBOARDS";
2549
+ readonly CREATE_VISUALIZATION: "CREATE_VISUALIZATION";
2550
+ readonly EXTEND_VISUALIZATION: "EXTEND_VISUALIZATION";
2551
+ readonly GENERAL: "GENERAL";
2552
+ readonly INVALID: "INVALID";
2553
+ };
2554
+ export type RouteResultUseCaseEnum = typeof RouteResultUseCaseEnum[keyof typeof RouteResultUseCaseEnum];
2596
2555
  /**
2597
2556
  *
2598
2557
  * @export
@@ -2756,7 +2715,7 @@ export interface SearchResultObject {
2756
2715
  * @type {string}
2757
2716
  * @memberof SearchResultObject
2758
2717
  */
2759
- description: string;
2718
+ description?: string;
2760
2719
  /**
2761
2720
  *
2762
2721
  * @type {Array<string>}
@@ -2786,25 +2745,25 @@ export interface SearchResultObject {
2786
2745
  * @type {number}
2787
2746
  * @memberof SearchResultObject
2788
2747
  */
2789
- score: number;
2748
+ score?: number;
2790
2749
  /**
2791
2750
  * Result score for object title.
2792
2751
  * @type {number}
2793
2752
  * @memberof SearchResultObject
2794
2753
  */
2795
- scoreTitle: number;
2754
+ scoreTitle?: number;
2796
2755
  /**
2797
2756
  * Result score for descriptor containing(now) description and tags.
2798
2757
  * @type {number}
2799
2758
  * @memberof SearchResultObject
2800
2759
  */
2801
- scoreDescriptor: number;
2760
+ scoreDescriptor?: number;
2802
2761
  /**
2803
2762
  * Result score for exact match(id/title). 1/1000. Other scores are multiplied by this.
2804
2763
  * @type {number}
2805
2764
  * @memberof SearchResultObject
2806
2765
  */
2807
- scoreExactMatch: number;
2766
+ scoreExactMatch?: number;
2808
2767
  }
2809
2768
  /**
2810
2769
  *
@@ -3009,50 +2968,6 @@ export declare const SortKeyValueValueDirectionEnum: {
3009
2968
  readonly DESC: "DESC";
3010
2969
  };
3011
2970
  export type SortKeyValueValueDirectionEnum = typeof SortKeyValueValueDirectionEnum[keyof typeof SortKeyValueValueDirectionEnum];
3012
- /**
3013
- *
3014
- * @export
3015
- * @interface TextInteractionWithContext
3016
- */
3017
- export interface TextInteractionWithContext {
3018
- /**
3019
- * Include all in the chat context. Used for further questions. Use if it\'s not clear which objects relate to the question.
3020
- * @type {boolean}
3021
- * @memberof TextInteractionWithContext
3022
- */
3023
- includeToChatContext?: boolean;
3024
- /**
3025
- * User feedback
3026
- * @type {string}
3027
- * @memberof TextInteractionWithContext
3028
- */
3029
- userFeedback?: TextInteractionWithContextUserFeedbackEnum;
3030
- /**
3031
- * Object found by similarity search.
3032
- * @type {string}
3033
- * @memberof TextInteractionWithContext
3034
- */
3035
- text: string;
3036
- }
3037
- export declare const TextInteractionWithContextUserFeedbackEnum: {
3038
- readonly POSITIVE: "POSITIVE";
3039
- readonly NEGATIVE: "NEGATIVE";
3040
- readonly NONE: "NONE";
3041
- };
3042
- export type TextInteractionWithContextUserFeedbackEnum = typeof TextInteractionWithContextUserFeedbackEnum[keyof typeof TextInteractionWithContextUserFeedbackEnum];
3043
- /**
3044
- *
3045
- * @export
3046
- * @interface TextInteractionWithContextAllOf
3047
- */
3048
- export interface TextInteractionWithContextAllOf {
3049
- /**
3050
- * Object found by similarity search.
3051
- * @type {string}
3052
- * @memberof TextInteractionWithContextAllOf
3053
- */
3054
- text?: string;
3055
- }
3056
2971
  /**
3057
2972
  * Definition of a total. There are two types of totals: grand totals and subtotals. Grand total data will be returned in a separate section of the result structure while subtotals are fully integrated into the main result data. The mechanism for this distinction is automatic and it\'s described in `TotalDimension`
3058
2973
  * @export
@@ -3184,6 +3099,15 @@ export declare const ActionsApiAxiosParamCreator: (configuration?: Configuration
3184
3099
  * @throws {RequiredError}
3185
3100
  */
3186
3101
  aiChat: (workspaceId: string, chatRequest: ChatRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
3102
+ /**
3103
+ * (BETA) Post thread ID (and optionally interaction ID) to get full/partial chat history.
3104
+ * @summary (BETA) Get Chat History
3105
+ * @param {string} workspaceId Workspace identifier
3106
+ * @param {ChatHistoryRequest} chatHistoryRequest
3107
+ * @param {*} [options] Override http request option.
3108
+ * @throws {RequiredError}
3109
+ */
3110
+ aiChatHistory: (workspaceId: string, chatHistoryRequest: ChatHistoryRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
3187
3111
  /**
3188
3112
  * (BETA) Uses similarity (e.g. cosine distance) to find most similar use cases.
3189
3113
  * @summary (BETA) Route to supported use cases based on this input query.
@@ -3376,6 +3300,15 @@ export declare const ActionsApiFp: (configuration?: Configuration) => {
3376
3300
  * @throws {RequiredError}
3377
3301
  */
3378
3302
  aiChat(workspaceId: string, chatRequest: ChatRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ChatResult>>;
3303
+ /**
3304
+ * (BETA) Post thread ID (and optionally interaction ID) to get full/partial chat history.
3305
+ * @summary (BETA) Get Chat History
3306
+ * @param {string} workspaceId Workspace identifier
3307
+ * @param {ChatHistoryRequest} chatHistoryRequest
3308
+ * @param {*} [options] Override http request option.
3309
+ * @throws {RequiredError}
3310
+ */
3311
+ aiChatHistory(workspaceId: string, chatHistoryRequest: ChatHistoryRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ChatHistoryResult>>;
3379
3312
  /**
3380
3313
  * (BETA) Uses similarity (e.g. cosine distance) to find most similar use cases.
3381
3314
  * @summary (BETA) Route to supported use cases based on this input query.
@@ -3567,6 +3500,14 @@ export declare const ActionsApiFactory: (configuration?: Configuration, basePath
3567
3500
  * @throws {RequiredError}
3568
3501
  */
3569
3502
  aiChat(requestParameters: ActionsApiAiChatRequest, options?: AxiosRequestConfig): AxiosPromise<ChatResult>;
3503
+ /**
3504
+ * (BETA) Post thread ID (and optionally interaction ID) to get full/partial chat history.
3505
+ * @summary (BETA) Get Chat History
3506
+ * @param {ActionsApiAiChatHistoryRequest} requestParameters Request parameters.
3507
+ * @param {*} [options] Override http request option.
3508
+ * @throws {RequiredError}
3509
+ */
3510
+ aiChatHistory(requestParameters: ActionsApiAiChatHistoryRequest, options?: AxiosRequestConfig): AxiosPromise<ChatHistoryResult>;
3570
3511
  /**
3571
3512
  * (BETA) Uses similarity (e.g. cosine distance) to find most similar use cases.
3572
3513
  * @summary (BETA) Route to supported use cases based on this input query.
@@ -3719,6 +3660,15 @@ export interface ActionsApiInterface {
3719
3660
  * @memberof ActionsApiInterface
3720
3661
  */
3721
3662
  aiChat(requestParameters: ActionsApiAiChatRequest, options?: AxiosRequestConfig): AxiosPromise<ChatResult>;
3663
+ /**
3664
+ * (BETA) Post thread ID (and optionally interaction ID) to get full/partial chat history.
3665
+ * @summary (BETA) Get Chat History
3666
+ * @param {ActionsApiAiChatHistoryRequest} requestParameters Request parameters.
3667
+ * @param {*} [options] Override http request option.
3668
+ * @throws {RequiredError}
3669
+ * @memberof ActionsApiInterface
3670
+ */
3671
+ aiChatHistory(requestParameters: ActionsApiAiChatHistoryRequest, options?: AxiosRequestConfig): AxiosPromise<ChatHistoryResult>;
3722
3672
  /**
3723
3673
  * (BETA) Uses similarity (e.g. cosine distance) to find most similar use cases.
3724
3674
  * @summary (BETA) Route to supported use cases based on this input query.
@@ -3892,6 +3842,25 @@ export interface ActionsApiAiChatRequest {
3892
3842
  */
3893
3843
  readonly chatRequest: ChatRequest;
3894
3844
  }
3845
+ /**
3846
+ * Request parameters for aiChatHistory operation in ActionsApi.
3847
+ * @export
3848
+ * @interface ActionsApiAiChatHistoryRequest
3849
+ */
3850
+ export interface ActionsApiAiChatHistoryRequest {
3851
+ /**
3852
+ * Workspace identifier
3853
+ * @type {string}
3854
+ * @memberof ActionsApiAiChatHistory
3855
+ */
3856
+ readonly workspaceId: string;
3857
+ /**
3858
+ *
3859
+ * @type {ChatHistoryRequest}
3860
+ * @memberof ActionsApiAiChatHistory
3861
+ */
3862
+ readonly chatHistoryRequest: ChatHistoryRequest;
3863
+ }
3895
3864
  /**
3896
3865
  * Request parameters for aiRoute operation in ActionsApi.
3897
3866
  * @export
@@ -4375,6 +4344,15 @@ export declare class ActionsApi extends BaseAPI implements ActionsApiInterface {
4375
4344
  * @memberof ActionsApi
4376
4345
  */
4377
4346
  aiChat(requestParameters: ActionsApiAiChatRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ChatResult, any>>;
4347
+ /**
4348
+ * (BETA) Post thread ID (and optionally interaction ID) to get full/partial chat history.
4349
+ * @summary (BETA) Get Chat History
4350
+ * @param {ActionsApiAiChatHistoryRequest} requestParameters Request parameters.
4351
+ * @param {*} [options] Override http request option.
4352
+ * @throws {RequiredError}
4353
+ * @memberof ActionsApi
4354
+ */
4355
+ aiChatHistory(requestParameters: ActionsApiAiChatHistoryRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ChatHistoryResult, any>>;
4378
4356
  /**
4379
4357
  * (BETA) Uses similarity (e.g. cosine distance) to find most similar use cases.
4380
4358
  * @summary (BETA) Route to supported use cases based on this input query.
@@ -5239,6 +5217,15 @@ export declare const SmartFunctionsApiAxiosParamCreator: (configuration?: Config
5239
5217
  * @throws {RequiredError}
5240
5218
  */
5241
5219
  aiChat: (workspaceId: string, chatRequest: ChatRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
5220
+ /**
5221
+ * (BETA) Post thread ID (and optionally interaction ID) to get full/partial chat history.
5222
+ * @summary (BETA) Get Chat History
5223
+ * @param {string} workspaceId Workspace identifier
5224
+ * @param {ChatHistoryRequest} chatHistoryRequest
5225
+ * @param {*} [options] Override http request option.
5226
+ * @throws {RequiredError}
5227
+ */
5228
+ aiChatHistory: (workspaceId: string, chatHistoryRequest: ChatHistoryRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
5242
5229
  /**
5243
5230
  * (BETA) Uses similarity (e.g. cosine distance) to find most similar use cases.
5244
5231
  * @summary (BETA) Route to supported use cases based on this input query.
@@ -5338,6 +5325,15 @@ export declare const SmartFunctionsApiFp: (configuration?: Configuration) => {
5338
5325
  * @throws {RequiredError}
5339
5326
  */
5340
5327
  aiChat(workspaceId: string, chatRequest: ChatRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ChatResult>>;
5328
+ /**
5329
+ * (BETA) Post thread ID (and optionally interaction ID) to get full/partial chat history.
5330
+ * @summary (BETA) Get Chat History
5331
+ * @param {string} workspaceId Workspace identifier
5332
+ * @param {ChatHistoryRequest} chatHistoryRequest
5333
+ * @param {*} [options] Override http request option.
5334
+ * @throws {RequiredError}
5335
+ */
5336
+ aiChatHistory(workspaceId: string, chatHistoryRequest: ChatHistoryRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ChatHistoryResult>>;
5341
5337
  /**
5342
5338
  * (BETA) Uses similarity (e.g. cosine distance) to find most similar use cases.
5343
5339
  * @summary (BETA) Route to supported use cases based on this input query.
@@ -5436,6 +5432,14 @@ export declare const SmartFunctionsApiFactory: (configuration?: Configuration, b
5436
5432
  * @throws {RequiredError}
5437
5433
  */
5438
5434
  aiChat(requestParameters: SmartFunctionsApiAiChatRequest, options?: AxiosRequestConfig): AxiosPromise<ChatResult>;
5435
+ /**
5436
+ * (BETA) Post thread ID (and optionally interaction ID) to get full/partial chat history.
5437
+ * @summary (BETA) Get Chat History
5438
+ * @param {SmartFunctionsApiAiChatHistoryRequest} requestParameters Request parameters.
5439
+ * @param {*} [options] Override http request option.
5440
+ * @throws {RequiredError}
5441
+ */
5442
+ aiChatHistory(requestParameters: SmartFunctionsApiAiChatHistoryRequest, options?: AxiosRequestConfig): AxiosPromise<ChatHistoryResult>;
5439
5443
  /**
5440
5444
  * (BETA) Uses similarity (e.g. cosine distance) to find most similar use cases.
5441
5445
  * @summary (BETA) Route to supported use cases based on this input query.
@@ -5516,6 +5520,15 @@ export interface SmartFunctionsApiInterface {
5516
5520
  * @memberof SmartFunctionsApiInterface
5517
5521
  */
5518
5522
  aiChat(requestParameters: SmartFunctionsApiAiChatRequest, options?: AxiosRequestConfig): AxiosPromise<ChatResult>;
5523
+ /**
5524
+ * (BETA) Post thread ID (and optionally interaction ID) to get full/partial chat history.
5525
+ * @summary (BETA) Get Chat History
5526
+ * @param {SmartFunctionsApiAiChatHistoryRequest} requestParameters Request parameters.
5527
+ * @param {*} [options] Override http request option.
5528
+ * @throws {RequiredError}
5529
+ * @memberof SmartFunctionsApiInterface
5530
+ */
5531
+ aiChatHistory(requestParameters: SmartFunctionsApiAiChatHistoryRequest, options?: AxiosRequestConfig): AxiosPromise<ChatHistoryResult>;
5519
5532
  /**
5520
5533
  * (BETA) Uses similarity (e.g. cosine distance) to find most similar use cases.
5521
5534
  * @summary (BETA) Route to supported use cases based on this input query.
@@ -5608,6 +5621,25 @@ export interface SmartFunctionsApiAiChatRequest {
5608
5621
  */
5609
5622
  readonly chatRequest: ChatRequest;
5610
5623
  }
5624
+ /**
5625
+ * Request parameters for aiChatHistory operation in SmartFunctionsApi.
5626
+ * @export
5627
+ * @interface SmartFunctionsApiAiChatHistoryRequest
5628
+ */
5629
+ export interface SmartFunctionsApiAiChatHistoryRequest {
5630
+ /**
5631
+ * Workspace identifier
5632
+ * @type {string}
5633
+ * @memberof SmartFunctionsApiAiChatHistory
5634
+ */
5635
+ readonly workspaceId: string;
5636
+ /**
5637
+ *
5638
+ * @type {ChatHistoryRequest}
5639
+ * @memberof SmartFunctionsApiAiChatHistory
5640
+ */
5641
+ readonly chatHistoryRequest: ChatHistoryRequest;
5642
+ }
5611
5643
  /**
5612
5644
  * Request parameters for aiRoute operation in SmartFunctionsApi.
5613
5645
  * @export
@@ -5848,6 +5880,15 @@ export declare class SmartFunctionsApi extends BaseAPI implements SmartFunctions
5848
5880
  * @memberof SmartFunctionsApi
5849
5881
  */
5850
5882
  aiChat(requestParameters: SmartFunctionsApiAiChatRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ChatResult, any>>;
5883
+ /**
5884
+ * (BETA) Post thread ID (and optionally interaction ID) to get full/partial chat history.
5885
+ * @summary (BETA) Get Chat History
5886
+ * @param {SmartFunctionsApiAiChatHistoryRequest} requestParameters Request parameters.
5887
+ * @param {*} [options] Override http request option.
5888
+ * @throws {RequiredError}
5889
+ * @memberof SmartFunctionsApi
5890
+ */
5891
+ aiChatHistory(requestParameters: SmartFunctionsApiAiChatHistoryRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ChatHistoryResult, any>>;
5851
5892
  /**
5852
5893
  * (BETA) Uses similarity (e.g. cosine distance) to find most similar use cases.
5853
5894
  * @summary (BETA) Route to supported use cases based on this input query.