qanswer-sdk 3.1244.0-main → 3.1248.0-main
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.
- package/api.ts +574 -46
- package/dist/api.d.ts +324 -36
- package/dist/api.js +427 -24
- package/package.json +1 -1
- package/qanswer-sdk-3.1248.0-main.tgz +0 -0
- package/qanswer-sdk-3.1244.0-main.tgz +0 -0
package/dist/api.d.ts
CHANGED
|
@@ -9265,6 +9265,12 @@ export interface RAGPayload {
|
|
|
9265
9265
|
* @memberof RAGPayload
|
|
9266
9266
|
*/
|
|
9267
9267
|
'filters'?: Array<Array<SearchMetadataFilter>>;
|
|
9268
|
+
/**
|
|
9269
|
+
*
|
|
9270
|
+
* @type {Array<Array<SearchMetadataFilter>>}
|
|
9271
|
+
* @memberof RAGPayload
|
|
9272
|
+
*/
|
|
9273
|
+
'exclude_filters'?: Array<Array<SearchMetadataFilter>>;
|
|
9268
9274
|
/**
|
|
9269
9275
|
* The hashes of the indexes to be used for the response.
|
|
9270
9276
|
* @type {Array<object>}
|
|
@@ -10164,67 +10170,67 @@ export type ReportCopilotSlotTaskSettingsBotAnswerLengthEnum = typeof ReportCopi
|
|
|
10164
10170
|
/**
|
|
10165
10171
|
*
|
|
10166
10172
|
* @export
|
|
10167
|
-
* @interface
|
|
10173
|
+
* @interface ReportCopilotSlotTaskSettingsUpdate
|
|
10168
10174
|
*/
|
|
10169
|
-
export interface
|
|
10175
|
+
export interface ReportCopilotSlotTaskSettingsUpdate {
|
|
10170
10176
|
/**
|
|
10171
10177
|
*
|
|
10172
10178
|
* @type {string}
|
|
10173
|
-
* @memberof
|
|
10179
|
+
* @memberof ReportCopilotSlotTaskSettingsUpdate
|
|
10174
10180
|
*/
|
|
10175
10181
|
'prompt'?: string;
|
|
10176
10182
|
/**
|
|
10177
10183
|
* The LLM choice. If not provided, the system default will be used.
|
|
10178
10184
|
* @type {string}
|
|
10179
|
-
* @memberof
|
|
10185
|
+
* @memberof ReportCopilotSlotTaskSettingsUpdate
|
|
10180
10186
|
*/
|
|
10181
10187
|
'llm_choice'?: string;
|
|
10182
10188
|
/**
|
|
10183
10189
|
*
|
|
10184
10190
|
* @type {number}
|
|
10185
|
-
* @memberof
|
|
10191
|
+
* @memberof ReportCopilotSlotTaskSettingsUpdate
|
|
10186
10192
|
*/
|
|
10187
10193
|
'bot_seed'?: number;
|
|
10188
10194
|
/**
|
|
10189
10195
|
*
|
|
10190
10196
|
* @type {number}
|
|
10191
|
-
* @memberof
|
|
10197
|
+
* @memberof ReportCopilotSlotTaskSettingsUpdate
|
|
10192
10198
|
*/
|
|
10193
10199
|
'bot_temperature'?: number;
|
|
10194
10200
|
/**
|
|
10195
10201
|
*
|
|
10196
10202
|
* @type {string}
|
|
10197
|
-
* @memberof
|
|
10203
|
+
* @memberof ReportCopilotSlotTaskSettingsUpdate
|
|
10198
10204
|
*/
|
|
10199
|
-
'bot_answer_length'?:
|
|
10205
|
+
'bot_answer_length'?: ReportCopilotSlotTaskSettingsUpdateBotAnswerLengthEnum;
|
|
10200
10206
|
/**
|
|
10201
10207
|
*
|
|
10202
10208
|
* @type {number}
|
|
10203
|
-
* @memberof
|
|
10209
|
+
* @memberof ReportCopilotSlotTaskSettingsUpdate
|
|
10204
10210
|
*/
|
|
10205
10211
|
'number_of_references'?: number;
|
|
10206
10212
|
/**
|
|
10207
10213
|
*
|
|
10208
10214
|
* @type {number}
|
|
10209
|
-
* @memberof
|
|
10215
|
+
* @memberof ReportCopilotSlotTaskSettingsUpdate
|
|
10210
10216
|
*/
|
|
10211
10217
|
'stream_speed'?: number;
|
|
10212
10218
|
/**
|
|
10213
10219
|
*
|
|
10214
10220
|
* @type {number}
|
|
10215
|
-
* @memberof
|
|
10221
|
+
* @memberof ReportCopilotSlotTaskSettingsUpdate
|
|
10216
10222
|
*/
|
|
10217
10223
|
'context_window'?: number;
|
|
10218
10224
|
/**
|
|
10219
10225
|
*
|
|
10220
10226
|
* @type {number}
|
|
10221
|
-
* @memberof
|
|
10227
|
+
* @memberof ReportCopilotSlotTaskSettingsUpdate
|
|
10222
10228
|
*/
|
|
10223
10229
|
'max_tokens'?: number;
|
|
10224
10230
|
/**
|
|
10225
10231
|
*
|
|
10226
10232
|
* @type {{ [key: string]: string; }}
|
|
10227
|
-
* @memberof
|
|
10233
|
+
* @memberof ReportCopilotSlotTaskSettingsUpdate
|
|
10228
10234
|
*/
|
|
10229
10235
|
'slots_values'?: {
|
|
10230
10236
|
[key: string]: string;
|
|
@@ -10232,40 +10238,40 @@ export interface ReportCopilotSlotTaskUpdate {
|
|
|
10232
10238
|
/**
|
|
10233
10239
|
*
|
|
10234
10240
|
* @type {string}
|
|
10235
|
-
* @memberof
|
|
10241
|
+
* @memberof ReportCopilotSlotTaskSettingsUpdate
|
|
10236
10242
|
*/
|
|
10237
10243
|
'bot_name'?: string;
|
|
10238
10244
|
/**
|
|
10239
10245
|
*
|
|
10240
10246
|
* @type {string}
|
|
10241
|
-
* @memberof
|
|
10247
|
+
* @memberof ReportCopilotSlotTaskSettingsUpdate
|
|
10242
10248
|
*/
|
|
10243
10249
|
'bot_description'?: string;
|
|
10244
10250
|
/**
|
|
10245
10251
|
* The LLM ID. This field is populated based on the llm_choice.
|
|
10246
10252
|
* @type {number}
|
|
10247
|
-
* @memberof
|
|
10253
|
+
* @memberof ReportCopilotSlotTaskSettingsUpdate
|
|
10248
10254
|
*/
|
|
10249
10255
|
'llm_id'?: number;
|
|
10250
10256
|
/**
|
|
10251
10257
|
*
|
|
10252
10258
|
* @type {LLMEndpointReadInput}
|
|
10253
|
-
* @memberof
|
|
10259
|
+
* @memberof ReportCopilotSlotTaskSettingsUpdate
|
|
10254
10260
|
*/
|
|
10255
10261
|
'llm_endpoint'?: LLMEndpointReadInput;
|
|
10256
10262
|
/**
|
|
10257
10263
|
*
|
|
10258
10264
|
* @type {number}
|
|
10259
|
-
* @memberof
|
|
10265
|
+
* @memberof ReportCopilotSlotTaskSettingsUpdate
|
|
10260
10266
|
*/
|
|
10261
10267
|
'id'?: number;
|
|
10262
10268
|
}
|
|
10263
|
-
export declare const
|
|
10269
|
+
export declare const ReportCopilotSlotTaskSettingsUpdateBotAnswerLengthEnum: {
|
|
10264
10270
|
readonly Short: "short";
|
|
10265
10271
|
readonly Brief: "brief";
|
|
10266
10272
|
readonly Long: "long";
|
|
10267
10273
|
};
|
|
10268
|
-
export type
|
|
10274
|
+
export type ReportCopilotSlotTaskSettingsUpdateBotAnswerLengthEnum = typeof ReportCopilotSlotTaskSettingsUpdateBotAnswerLengthEnum[keyof typeof ReportCopilotSlotTaskSettingsUpdateBotAnswerLengthEnum];
|
|
10269
10275
|
/**
|
|
10270
10276
|
*
|
|
10271
10277
|
* @export
|
|
@@ -11042,6 +11048,12 @@ export interface SearchPayload {
|
|
|
11042
11048
|
* @memberof SearchPayload
|
|
11043
11049
|
*/
|
|
11044
11050
|
'filters'?: Array<Array<SearchMetadataFilter>>;
|
|
11051
|
+
/**
|
|
11052
|
+
*
|
|
11053
|
+
* @type {Array<Array<SearchMetadataFilter>>}
|
|
11054
|
+
* @memberof SearchPayload
|
|
11055
|
+
*/
|
|
11056
|
+
'exclude_filters'?: Array<Array<SearchMetadataFilter>>;
|
|
11045
11057
|
/**
|
|
11046
11058
|
* The hashes of the indexes to be used for the response.
|
|
11047
11059
|
* @type {Array<object>}
|
|
@@ -11741,19 +11753,19 @@ export interface SlotUpdate {
|
|
|
11741
11753
|
* @type {string}
|
|
11742
11754
|
* @memberof SlotUpdate
|
|
11743
11755
|
*/
|
|
11744
|
-
'prompt'
|
|
11756
|
+
'prompt'?: string;
|
|
11745
11757
|
/**
|
|
11746
11758
|
*
|
|
11747
11759
|
* @type {string}
|
|
11748
11760
|
* @memberof SlotUpdate
|
|
11749
11761
|
*/
|
|
11750
|
-
'completion'
|
|
11762
|
+
'completion'?: string;
|
|
11751
11763
|
/**
|
|
11752
11764
|
*
|
|
11753
11765
|
* @type {Array<Source>}
|
|
11754
11766
|
* @memberof SlotUpdate
|
|
11755
11767
|
*/
|
|
11756
|
-
'sources'
|
|
11768
|
+
'sources'?: Array<Source>;
|
|
11757
11769
|
/**
|
|
11758
11770
|
*
|
|
11759
11771
|
* @type {string}
|
|
@@ -11786,10 +11798,10 @@ export interface SlotUpdate {
|
|
|
11786
11798
|
'is_input_data_cropped'?: boolean;
|
|
11787
11799
|
/**
|
|
11788
11800
|
*
|
|
11789
|
-
* @type {
|
|
11801
|
+
* @type {ReportCopilotSlotTaskSettingsUpdate}
|
|
11790
11802
|
* @memberof SlotUpdate
|
|
11791
11803
|
*/
|
|
11792
|
-
'task_settings'?:
|
|
11804
|
+
'task_settings'?: ReportCopilotSlotTaskSettingsUpdate;
|
|
11793
11805
|
}
|
|
11794
11806
|
export declare const SlotUpdateModeEnum: {
|
|
11795
11807
|
readonly Rag: "rag";
|
|
@@ -13481,6 +13493,12 @@ export interface Text2SparqlPayload {
|
|
|
13481
13493
|
* @memberof Text2SparqlPayload
|
|
13482
13494
|
*/
|
|
13483
13495
|
'filters'?: Array<Array<SearchMetadataFilter>>;
|
|
13496
|
+
/**
|
|
13497
|
+
*
|
|
13498
|
+
* @type {Array<Array<SearchMetadataFilter>>}
|
|
13499
|
+
* @memberof Text2SparqlPayload
|
|
13500
|
+
*/
|
|
13501
|
+
'exclude_filters'?: Array<Array<SearchMetadataFilter>>;
|
|
13484
13502
|
/**
|
|
13485
13503
|
* The hashes of the indexes to be used for the response.
|
|
13486
13504
|
* @type {Array<object>}
|
|
@@ -15898,11 +15916,12 @@ export declare const AiAssistantApiAxiosParamCreator: (configuration?: Configura
|
|
|
15898
15916
|
* @summary How much quota is still available for a dataset
|
|
15899
15917
|
* @param {string} username
|
|
15900
15918
|
* @param {string} dataset
|
|
15919
|
+
* @param {string} [conversationId]
|
|
15901
15920
|
* @param {string} [qAnswerApiKey]
|
|
15902
15921
|
* @param {*} [options] Override http request option.
|
|
15903
15922
|
* @throws {RequiredError}
|
|
15904
15923
|
*/
|
|
15905
|
-
availableQuotaForDataset: (username: string, dataset: string, qAnswerApiKey?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
15924
|
+
availableQuotaForDataset: (username: string, dataset: string, conversationId?: string, qAnswerApiKey?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
15906
15925
|
/**
|
|
15907
15926
|
*
|
|
15908
15927
|
* @summary Create a new dataset
|
|
@@ -16066,11 +16085,12 @@ export declare const AiAssistantApiFp: (configuration?: Configuration) => {
|
|
|
16066
16085
|
* @summary How much quota is still available for a dataset
|
|
16067
16086
|
* @param {string} username
|
|
16068
16087
|
* @param {string} dataset
|
|
16088
|
+
* @param {string} [conversationId]
|
|
16069
16089
|
* @param {string} [qAnswerApiKey]
|
|
16070
16090
|
* @param {*} [options] Override http request option.
|
|
16071
16091
|
* @throws {RequiredError}
|
|
16072
16092
|
*/
|
|
16073
|
-
availableQuotaForDataset(username: string, dataset: string, qAnswerApiKey?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AvailableSpaceQuotaForDataset>>;
|
|
16093
|
+
availableQuotaForDataset(username: string, dataset: string, conversationId?: string, qAnswerApiKey?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AvailableSpaceQuotaForDataset>>;
|
|
16074
16094
|
/**
|
|
16075
16095
|
*
|
|
16076
16096
|
* @summary Create a new dataset
|
|
@@ -16382,6 +16402,12 @@ export interface AiAssistantApiAvailableQuotaForDatasetRequest {
|
|
|
16382
16402
|
* @memberof AiAssistantApiAvailableQuotaForDataset
|
|
16383
16403
|
*/
|
|
16384
16404
|
readonly dataset: string;
|
|
16405
|
+
/**
|
|
16406
|
+
*
|
|
16407
|
+
* @type {string}
|
|
16408
|
+
* @memberof AiAssistantApiAvailableQuotaForDataset
|
|
16409
|
+
*/
|
|
16410
|
+
readonly conversationId?: string;
|
|
16385
16411
|
/**
|
|
16386
16412
|
*
|
|
16387
16413
|
* @type {string}
|
|
@@ -19469,6 +19495,19 @@ export declare const ConnectorDocumentApiAxiosParamCreator: (configuration?: Con
|
|
|
19469
19495
|
* @throws {RequiredError}
|
|
19470
19496
|
*/
|
|
19471
19497
|
documentConnectorCreateConnector: (createConnectorRequest: CreateConnectorRequest, qAnswerApiKey?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
19498
|
+
/**
|
|
19499
|
+
*
|
|
19500
|
+
* @param {string} username
|
|
19501
|
+
* @param {string} dataset
|
|
19502
|
+
* @param {string} fileId
|
|
19503
|
+
* @param {Array<File>} file
|
|
19504
|
+
* @param {number} [connectorId]
|
|
19505
|
+
* @param {string} [qAnswerApiKey]
|
|
19506
|
+
* @param {DocumentMetadataListWrapper} [metadata]
|
|
19507
|
+
* @param {*} [options] Override http request option.
|
|
19508
|
+
* @throws {RequiredError}
|
|
19509
|
+
*/
|
|
19510
|
+
overrideDocumentConnectorFileByFileId: (username: string, dataset: string, fileId: string, file: Array<File>, connectorId?: number, qAnswerApiKey?: string, metadata?: DocumentMetadataListWrapper, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
19472
19511
|
};
|
|
19473
19512
|
/**
|
|
19474
19513
|
* ConnectorDocumentApi - functional programming interface
|
|
@@ -19522,6 +19561,19 @@ export declare const ConnectorDocumentApiFp: (configuration?: Configuration) =>
|
|
|
19522
19561
|
* @throws {RequiredError}
|
|
19523
19562
|
*/
|
|
19524
19563
|
documentConnectorCreateConnector(createConnectorRequest: CreateConnectorRequest, qAnswerApiKey?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateConnectorResponse>>;
|
|
19564
|
+
/**
|
|
19565
|
+
*
|
|
19566
|
+
* @param {string} username
|
|
19567
|
+
* @param {string} dataset
|
|
19568
|
+
* @param {string} fileId
|
|
19569
|
+
* @param {Array<File>} file
|
|
19570
|
+
* @param {number} [connectorId]
|
|
19571
|
+
* @param {string} [qAnswerApiKey]
|
|
19572
|
+
* @param {DocumentMetadataListWrapper} [metadata]
|
|
19573
|
+
* @param {*} [options] Override http request option.
|
|
19574
|
+
* @throws {RequiredError}
|
|
19575
|
+
*/
|
|
19576
|
+
overrideDocumentConnectorFileByFileId(username: string, dataset: string, fileId: string, file: Array<File>, connectorId?: number, qAnswerApiKey?: string, metadata?: DocumentMetadataListWrapper, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<StatusResponse>>;
|
|
19525
19577
|
};
|
|
19526
19578
|
/**
|
|
19527
19579
|
* ConnectorDocumentApi - factory interface
|
|
@@ -19558,6 +19610,13 @@ export declare const ConnectorDocumentApiFactory: (configuration?: Configuration
|
|
|
19558
19610
|
* @throws {RequiredError}
|
|
19559
19611
|
*/
|
|
19560
19612
|
documentConnectorCreateConnector(requestParameters: ConnectorDocumentApiDocumentConnectorCreateConnectorRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateConnectorResponse>;
|
|
19613
|
+
/**
|
|
19614
|
+
*
|
|
19615
|
+
* @param {ConnectorDocumentApiOverrideDocumentConnectorFileByFileIdRequest} requestParameters Request parameters.
|
|
19616
|
+
* @param {*} [options] Override http request option.
|
|
19617
|
+
* @throws {RequiredError}
|
|
19618
|
+
*/
|
|
19619
|
+
overrideDocumentConnectorFileByFileId(requestParameters: ConnectorDocumentApiOverrideDocumentConnectorFileByFileIdRequest, options?: RawAxiosRequestConfig): AxiosPromise<StatusResponse>;
|
|
19561
19620
|
};
|
|
19562
19621
|
/**
|
|
19563
19622
|
* Request parameters for documentConnectorAddDocuments operation in ConnectorDocumentApi.
|
|
@@ -19713,6 +19772,55 @@ export interface ConnectorDocumentApiDocumentConnectorCreateConnectorRequest {
|
|
|
19713
19772
|
*/
|
|
19714
19773
|
readonly qAnswerApiKey?: string;
|
|
19715
19774
|
}
|
|
19775
|
+
/**
|
|
19776
|
+
* Request parameters for overrideDocumentConnectorFileByFileId operation in ConnectorDocumentApi.
|
|
19777
|
+
* @export
|
|
19778
|
+
* @interface ConnectorDocumentApiOverrideDocumentConnectorFileByFileIdRequest
|
|
19779
|
+
*/
|
|
19780
|
+
export interface ConnectorDocumentApiOverrideDocumentConnectorFileByFileIdRequest {
|
|
19781
|
+
/**
|
|
19782
|
+
*
|
|
19783
|
+
* @type {string}
|
|
19784
|
+
* @memberof ConnectorDocumentApiOverrideDocumentConnectorFileByFileId
|
|
19785
|
+
*/
|
|
19786
|
+
readonly username: string;
|
|
19787
|
+
/**
|
|
19788
|
+
*
|
|
19789
|
+
* @type {string}
|
|
19790
|
+
* @memberof ConnectorDocumentApiOverrideDocumentConnectorFileByFileId
|
|
19791
|
+
*/
|
|
19792
|
+
readonly dataset: string;
|
|
19793
|
+
/**
|
|
19794
|
+
*
|
|
19795
|
+
* @type {string}
|
|
19796
|
+
* @memberof ConnectorDocumentApiOverrideDocumentConnectorFileByFileId
|
|
19797
|
+
*/
|
|
19798
|
+
readonly fileId: string;
|
|
19799
|
+
/**
|
|
19800
|
+
*
|
|
19801
|
+
* @type {Array<File>}
|
|
19802
|
+
* @memberof ConnectorDocumentApiOverrideDocumentConnectorFileByFileId
|
|
19803
|
+
*/
|
|
19804
|
+
readonly file: Array<File>;
|
|
19805
|
+
/**
|
|
19806
|
+
*
|
|
19807
|
+
* @type {number}
|
|
19808
|
+
* @memberof ConnectorDocumentApiOverrideDocumentConnectorFileByFileId
|
|
19809
|
+
*/
|
|
19810
|
+
readonly connectorId?: number;
|
|
19811
|
+
/**
|
|
19812
|
+
*
|
|
19813
|
+
* @type {string}
|
|
19814
|
+
* @memberof ConnectorDocumentApiOverrideDocumentConnectorFileByFileId
|
|
19815
|
+
*/
|
|
19816
|
+
readonly qAnswerApiKey?: string;
|
|
19817
|
+
/**
|
|
19818
|
+
*
|
|
19819
|
+
* @type {DocumentMetadataListWrapper}
|
|
19820
|
+
* @memberof ConnectorDocumentApiOverrideDocumentConnectorFileByFileId
|
|
19821
|
+
*/
|
|
19822
|
+
readonly metadata?: DocumentMetadataListWrapper;
|
|
19823
|
+
}
|
|
19716
19824
|
/**
|
|
19717
19825
|
* ConnectorDocumentApi - object-oriented interface
|
|
19718
19826
|
* TypeScript/Axios client for the QAnswer API
|
|
@@ -19754,6 +19862,14 @@ export declare class ConnectorDocumentApi extends BaseAPI {
|
|
|
19754
19862
|
* @memberof ConnectorDocumentApi
|
|
19755
19863
|
*/
|
|
19756
19864
|
documentConnectorCreateConnector(requestParameters: ConnectorDocumentApiDocumentConnectorCreateConnectorRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateConnectorResponse, any, {}>>;
|
|
19865
|
+
/**
|
|
19866
|
+
*
|
|
19867
|
+
* @param {ConnectorDocumentApiOverrideDocumentConnectorFileByFileIdRequest} requestParameters Request parameters.
|
|
19868
|
+
* @param {*} [options] Override http request option.
|
|
19869
|
+
* @throws {RequiredError}
|
|
19870
|
+
* @memberof ConnectorDocumentApi
|
|
19871
|
+
*/
|
|
19872
|
+
overrideDocumentConnectorFileByFileId(requestParameters: ConnectorDocumentApiOverrideDocumentConnectorFileByFileIdRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<StatusResponse, any, {}>>;
|
|
19757
19873
|
}
|
|
19758
19874
|
/**
|
|
19759
19875
|
* ConnectorEConsiliumApi - axios parameter creator
|
|
@@ -32124,14 +32240,15 @@ export declare const TaskReportCopilotApiAxiosParamCreator: (configuration?: Con
|
|
|
32124
32240
|
/**
|
|
32125
32241
|
*
|
|
32126
32242
|
* @summary Get the default prompt with slots of a report template
|
|
32127
|
-
* @param {number} templateId
|
|
32128
32243
|
* @param {string} username
|
|
32129
32244
|
* @param {string} dataset
|
|
32245
|
+
* @param {number} [templateId]
|
|
32246
|
+
* @param {number} [slotId]
|
|
32130
32247
|
* @param {string} [qAnswerApiKey]
|
|
32131
32248
|
* @param {*} [options] Override http request option.
|
|
32132
32249
|
* @throws {RequiredError}
|
|
32133
32250
|
*/
|
|
32134
|
-
getDefaultPrompt: (
|
|
32251
|
+
getDefaultPrompt: (username: string, dataset: string, templateId?: number, slotId?: number, qAnswerApiKey?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
32135
32252
|
/**
|
|
32136
32253
|
*
|
|
32137
32254
|
* @summary Get a specific report template
|
|
@@ -32143,6 +32260,18 @@ export declare const TaskReportCopilotApiAxiosParamCreator: (configuration?: Con
|
|
|
32143
32260
|
* @throws {RequiredError}
|
|
32144
32261
|
*/
|
|
32145
32262
|
getReportTemplate: (username: string, dataset: string, templateId: number, qAnswerApiKey?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
32263
|
+
/**
|
|
32264
|
+
*
|
|
32265
|
+
* @summary Get a specific slot of a report template
|
|
32266
|
+
* @param {string} username
|
|
32267
|
+
* @param {string} dataset
|
|
32268
|
+
* @param {number} templateId
|
|
32269
|
+
* @param {number} slotId
|
|
32270
|
+
* @param {string} [qAnswerApiKey]
|
|
32271
|
+
* @param {*} [options] Override http request option.
|
|
32272
|
+
* @throws {RequiredError}
|
|
32273
|
+
*/
|
|
32274
|
+
getSlotOfTemplate: (username: string, dataset: string, templateId: number, slotId: number, qAnswerApiKey?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
32146
32275
|
/**
|
|
32147
32276
|
*
|
|
32148
32277
|
* @summary This gets the settings of the report-copilot task
|
|
@@ -32190,6 +32319,19 @@ export declare const TaskReportCopilotApiAxiosParamCreator: (configuration?: Con
|
|
|
32190
32319
|
* @throws {RequiredError}
|
|
32191
32320
|
*/
|
|
32192
32321
|
updateReportTemplate: (templateId: number, reportTemplateUpdatePayload: ReportTemplateUpdatePayload, qAnswerApiKey?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
32322
|
+
/**
|
|
32323
|
+
*
|
|
32324
|
+
* @summary Update a specific slot of a report template
|
|
32325
|
+
* @param {string} username
|
|
32326
|
+
* @param {string} dataset
|
|
32327
|
+
* @param {number} templateId
|
|
32328
|
+
* @param {number} slotId
|
|
32329
|
+
* @param {SlotUpdate} slotUpdate
|
|
32330
|
+
* @param {string} [qAnswerApiKey]
|
|
32331
|
+
* @param {*} [options] Override http request option.
|
|
32332
|
+
* @throws {RequiredError}
|
|
32333
|
+
*/
|
|
32334
|
+
updateSlotOfTemplate: (username: string, dataset: string, templateId: number, slotId: number, slotUpdate: SlotUpdate, qAnswerApiKey?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
32193
32335
|
/**
|
|
32194
32336
|
*
|
|
32195
32337
|
* @summary This updates the settings of the report-copilot task
|
|
@@ -32247,14 +32389,15 @@ export declare const TaskReportCopilotApiFp: (configuration?: Configuration) =>
|
|
|
32247
32389
|
/**
|
|
32248
32390
|
*
|
|
32249
32391
|
* @summary Get the default prompt with slots of a report template
|
|
32250
|
-
* @param {number} templateId
|
|
32251
32392
|
* @param {string} username
|
|
32252
32393
|
* @param {string} dataset
|
|
32394
|
+
* @param {number} [templateId]
|
|
32395
|
+
* @param {number} [slotId]
|
|
32253
32396
|
* @param {string} [qAnswerApiKey]
|
|
32254
32397
|
* @param {*} [options] Override http request option.
|
|
32255
32398
|
* @throws {RequiredError}
|
|
32256
32399
|
*/
|
|
32257
|
-
getDefaultPrompt(
|
|
32400
|
+
getDefaultPrompt(username: string, dataset: string, templateId?: number, slotId?: number, qAnswerApiKey?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DefaultPrompt>>;
|
|
32258
32401
|
/**
|
|
32259
32402
|
*
|
|
32260
32403
|
* @summary Get a specific report template
|
|
@@ -32266,6 +32409,18 @@ export declare const TaskReportCopilotApiFp: (configuration?: Configuration) =>
|
|
|
32266
32409
|
* @throws {RequiredError}
|
|
32267
32410
|
*/
|
|
32268
32411
|
getReportTemplate(username: string, dataset: string, templateId: number, qAnswerApiKey?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ReportTemplate>>;
|
|
32412
|
+
/**
|
|
32413
|
+
*
|
|
32414
|
+
* @summary Get a specific slot of a report template
|
|
32415
|
+
* @param {string} username
|
|
32416
|
+
* @param {string} dataset
|
|
32417
|
+
* @param {number} templateId
|
|
32418
|
+
* @param {number} slotId
|
|
32419
|
+
* @param {string} [qAnswerApiKey]
|
|
32420
|
+
* @param {*} [options] Override http request option.
|
|
32421
|
+
* @throws {RequiredError}
|
|
32422
|
+
*/
|
|
32423
|
+
getSlotOfTemplate(username: string, dataset: string, templateId: number, slotId: number, qAnswerApiKey?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Slot>>;
|
|
32269
32424
|
/**
|
|
32270
32425
|
*
|
|
32271
32426
|
* @summary This gets the settings of the report-copilot task
|
|
@@ -32313,6 +32468,19 @@ export declare const TaskReportCopilotApiFp: (configuration?: Configuration) =>
|
|
|
32313
32468
|
* @throws {RequiredError}
|
|
32314
32469
|
*/
|
|
32315
32470
|
updateReportTemplate(templateId: number, reportTemplateUpdatePayload: ReportTemplateUpdatePayload, qAnswerApiKey?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ReportTemplate>>;
|
|
32471
|
+
/**
|
|
32472
|
+
*
|
|
32473
|
+
* @summary Update a specific slot of a report template
|
|
32474
|
+
* @param {string} username
|
|
32475
|
+
* @param {string} dataset
|
|
32476
|
+
* @param {number} templateId
|
|
32477
|
+
* @param {number} slotId
|
|
32478
|
+
* @param {SlotUpdate} slotUpdate
|
|
32479
|
+
* @param {string} [qAnswerApiKey]
|
|
32480
|
+
* @param {*} [options] Override http request option.
|
|
32481
|
+
* @throws {RequiredError}
|
|
32482
|
+
*/
|
|
32483
|
+
updateSlotOfTemplate(username: string, dataset: string, templateId: number, slotId: number, slotUpdate: SlotUpdate, qAnswerApiKey?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Slot>>;
|
|
32316
32484
|
/**
|
|
32317
32485
|
*
|
|
32318
32486
|
* @summary This updates the settings of the report-copilot task
|
|
@@ -32377,6 +32545,14 @@ export declare const TaskReportCopilotApiFactory: (configuration?: Configuration
|
|
|
32377
32545
|
* @throws {RequiredError}
|
|
32378
32546
|
*/
|
|
32379
32547
|
getReportTemplate(requestParameters: TaskReportCopilotApiGetReportTemplateRequest, options?: RawAxiosRequestConfig): AxiosPromise<ReportTemplate>;
|
|
32548
|
+
/**
|
|
32549
|
+
*
|
|
32550
|
+
* @summary Get a specific slot of a report template
|
|
32551
|
+
* @param {TaskReportCopilotApiGetSlotOfTemplateRequest} requestParameters Request parameters.
|
|
32552
|
+
* @param {*} [options] Override http request option.
|
|
32553
|
+
* @throws {RequiredError}
|
|
32554
|
+
*/
|
|
32555
|
+
getSlotOfTemplate(requestParameters: TaskReportCopilotApiGetSlotOfTemplateRequest, options?: RawAxiosRequestConfig): AxiosPromise<Slot>;
|
|
32380
32556
|
/**
|
|
32381
32557
|
*
|
|
32382
32558
|
* @summary This gets the settings of the report-copilot task
|
|
@@ -32415,6 +32591,14 @@ export declare const TaskReportCopilotApiFactory: (configuration?: Configuration
|
|
|
32415
32591
|
* @throws {RequiredError}
|
|
32416
32592
|
*/
|
|
32417
32593
|
updateReportTemplate(requestParameters: TaskReportCopilotApiUpdateReportTemplateRequest, options?: RawAxiosRequestConfig): AxiosPromise<ReportTemplate>;
|
|
32594
|
+
/**
|
|
32595
|
+
*
|
|
32596
|
+
* @summary Update a specific slot of a report template
|
|
32597
|
+
* @param {TaskReportCopilotApiUpdateSlotOfTemplateRequest} requestParameters Request parameters.
|
|
32598
|
+
* @param {*} [options] Override http request option.
|
|
32599
|
+
* @throws {RequiredError}
|
|
32600
|
+
*/
|
|
32601
|
+
updateSlotOfTemplate(requestParameters: TaskReportCopilotApiUpdateSlotOfTemplateRequest, options?: RawAxiosRequestConfig): AxiosPromise<Slot>;
|
|
32418
32602
|
/**
|
|
32419
32603
|
*
|
|
32420
32604
|
* @summary This updates the settings of the report-copilot task
|
|
@@ -32520,22 +32704,28 @@ export interface TaskReportCopilotApiExportTemplateAsDocxRequest {
|
|
|
32520
32704
|
export interface TaskReportCopilotApiGetDefaultPromptRequest {
|
|
32521
32705
|
/**
|
|
32522
32706
|
*
|
|
32523
|
-
* @type {
|
|
32707
|
+
* @type {string}
|
|
32524
32708
|
* @memberof TaskReportCopilotApiGetDefaultPrompt
|
|
32525
32709
|
*/
|
|
32526
|
-
readonly
|
|
32710
|
+
readonly username: string;
|
|
32527
32711
|
/**
|
|
32528
32712
|
*
|
|
32529
32713
|
* @type {string}
|
|
32530
32714
|
* @memberof TaskReportCopilotApiGetDefaultPrompt
|
|
32531
32715
|
*/
|
|
32532
|
-
readonly
|
|
32716
|
+
readonly dataset: string;
|
|
32533
32717
|
/**
|
|
32534
32718
|
*
|
|
32535
|
-
* @type {
|
|
32719
|
+
* @type {number}
|
|
32536
32720
|
* @memberof TaskReportCopilotApiGetDefaultPrompt
|
|
32537
32721
|
*/
|
|
32538
|
-
readonly
|
|
32722
|
+
readonly templateId?: number;
|
|
32723
|
+
/**
|
|
32724
|
+
*
|
|
32725
|
+
* @type {number}
|
|
32726
|
+
* @memberof TaskReportCopilotApiGetDefaultPrompt
|
|
32727
|
+
*/
|
|
32728
|
+
readonly slotId?: number;
|
|
32539
32729
|
/**
|
|
32540
32730
|
*
|
|
32541
32731
|
* @type {string}
|
|
@@ -32574,6 +32764,43 @@ export interface TaskReportCopilotApiGetReportTemplateRequest {
|
|
|
32574
32764
|
*/
|
|
32575
32765
|
readonly qAnswerApiKey?: string;
|
|
32576
32766
|
}
|
|
32767
|
+
/**
|
|
32768
|
+
* Request parameters for getSlotOfTemplate operation in TaskReportCopilotApi.
|
|
32769
|
+
* @export
|
|
32770
|
+
* @interface TaskReportCopilotApiGetSlotOfTemplateRequest
|
|
32771
|
+
*/
|
|
32772
|
+
export interface TaskReportCopilotApiGetSlotOfTemplateRequest {
|
|
32773
|
+
/**
|
|
32774
|
+
*
|
|
32775
|
+
* @type {string}
|
|
32776
|
+
* @memberof TaskReportCopilotApiGetSlotOfTemplate
|
|
32777
|
+
*/
|
|
32778
|
+
readonly username: string;
|
|
32779
|
+
/**
|
|
32780
|
+
*
|
|
32781
|
+
* @type {string}
|
|
32782
|
+
* @memberof TaskReportCopilotApiGetSlotOfTemplate
|
|
32783
|
+
*/
|
|
32784
|
+
readonly dataset: string;
|
|
32785
|
+
/**
|
|
32786
|
+
*
|
|
32787
|
+
* @type {number}
|
|
32788
|
+
* @memberof TaskReportCopilotApiGetSlotOfTemplate
|
|
32789
|
+
*/
|
|
32790
|
+
readonly templateId: number;
|
|
32791
|
+
/**
|
|
32792
|
+
*
|
|
32793
|
+
* @type {number}
|
|
32794
|
+
* @memberof TaskReportCopilotApiGetSlotOfTemplate
|
|
32795
|
+
*/
|
|
32796
|
+
readonly slotId: number;
|
|
32797
|
+
/**
|
|
32798
|
+
*
|
|
32799
|
+
* @type {string}
|
|
32800
|
+
* @memberof TaskReportCopilotApiGetSlotOfTemplate
|
|
32801
|
+
*/
|
|
32802
|
+
readonly qAnswerApiKey?: string;
|
|
32803
|
+
}
|
|
32577
32804
|
/**
|
|
32578
32805
|
* Request parameters for getTaskSettings operation in TaskReportCopilotApi.
|
|
32579
32806
|
* @export
|
|
@@ -32693,6 +32920,49 @@ export interface TaskReportCopilotApiUpdateReportTemplateRequest {
|
|
|
32693
32920
|
*/
|
|
32694
32921
|
readonly qAnswerApiKey?: string;
|
|
32695
32922
|
}
|
|
32923
|
+
/**
|
|
32924
|
+
* Request parameters for updateSlotOfTemplate operation in TaskReportCopilotApi.
|
|
32925
|
+
* @export
|
|
32926
|
+
* @interface TaskReportCopilotApiUpdateSlotOfTemplateRequest
|
|
32927
|
+
*/
|
|
32928
|
+
export interface TaskReportCopilotApiUpdateSlotOfTemplateRequest {
|
|
32929
|
+
/**
|
|
32930
|
+
*
|
|
32931
|
+
* @type {string}
|
|
32932
|
+
* @memberof TaskReportCopilotApiUpdateSlotOfTemplate
|
|
32933
|
+
*/
|
|
32934
|
+
readonly username: string;
|
|
32935
|
+
/**
|
|
32936
|
+
*
|
|
32937
|
+
* @type {string}
|
|
32938
|
+
* @memberof TaskReportCopilotApiUpdateSlotOfTemplate
|
|
32939
|
+
*/
|
|
32940
|
+
readonly dataset: string;
|
|
32941
|
+
/**
|
|
32942
|
+
*
|
|
32943
|
+
* @type {number}
|
|
32944
|
+
* @memberof TaskReportCopilotApiUpdateSlotOfTemplate
|
|
32945
|
+
*/
|
|
32946
|
+
readonly templateId: number;
|
|
32947
|
+
/**
|
|
32948
|
+
*
|
|
32949
|
+
* @type {number}
|
|
32950
|
+
* @memberof TaskReportCopilotApiUpdateSlotOfTemplate
|
|
32951
|
+
*/
|
|
32952
|
+
readonly slotId: number;
|
|
32953
|
+
/**
|
|
32954
|
+
*
|
|
32955
|
+
* @type {SlotUpdate}
|
|
32956
|
+
* @memberof TaskReportCopilotApiUpdateSlotOfTemplate
|
|
32957
|
+
*/
|
|
32958
|
+
readonly slotUpdate: SlotUpdate;
|
|
32959
|
+
/**
|
|
32960
|
+
*
|
|
32961
|
+
* @type {string}
|
|
32962
|
+
* @memberof TaskReportCopilotApiUpdateSlotOfTemplate
|
|
32963
|
+
*/
|
|
32964
|
+
readonly qAnswerApiKey?: string;
|
|
32965
|
+
}
|
|
32696
32966
|
/**
|
|
32697
32967
|
* Request parameters for updateTaskSettings operation in TaskReportCopilotApi.
|
|
32698
32968
|
* @export
|
|
@@ -32774,6 +33044,15 @@ export declare class TaskReportCopilotApi extends BaseAPI {
|
|
|
32774
33044
|
* @memberof TaskReportCopilotApi
|
|
32775
33045
|
*/
|
|
32776
33046
|
getReportTemplate(requestParameters: TaskReportCopilotApiGetReportTemplateRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ReportTemplate, any, {}>>;
|
|
33047
|
+
/**
|
|
33048
|
+
*
|
|
33049
|
+
* @summary Get a specific slot of a report template
|
|
33050
|
+
* @param {TaskReportCopilotApiGetSlotOfTemplateRequest} requestParameters Request parameters.
|
|
33051
|
+
* @param {*} [options] Override http request option.
|
|
33052
|
+
* @throws {RequiredError}
|
|
33053
|
+
* @memberof TaskReportCopilotApi
|
|
33054
|
+
*/
|
|
33055
|
+
getSlotOfTemplate(requestParameters: TaskReportCopilotApiGetSlotOfTemplateRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Slot, any, {}>>;
|
|
32777
33056
|
/**
|
|
32778
33057
|
*
|
|
32779
33058
|
* @summary This gets the settings of the report-copilot task
|
|
@@ -32817,6 +33096,15 @@ export declare class TaskReportCopilotApi extends BaseAPI {
|
|
|
32817
33096
|
* @memberof TaskReportCopilotApi
|
|
32818
33097
|
*/
|
|
32819
33098
|
updateReportTemplate(requestParameters: TaskReportCopilotApiUpdateReportTemplateRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ReportTemplate, any, {}>>;
|
|
33099
|
+
/**
|
|
33100
|
+
*
|
|
33101
|
+
* @summary Update a specific slot of a report template
|
|
33102
|
+
* @param {TaskReportCopilotApiUpdateSlotOfTemplateRequest} requestParameters Request parameters.
|
|
33103
|
+
* @param {*} [options] Override http request option.
|
|
33104
|
+
* @throws {RequiredError}
|
|
33105
|
+
* @memberof TaskReportCopilotApi
|
|
33106
|
+
*/
|
|
33107
|
+
updateSlotOfTemplate(requestParameters: TaskReportCopilotApiUpdateSlotOfTemplateRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Slot, any, {}>>;
|
|
32820
33108
|
/**
|
|
32821
33109
|
*
|
|
32822
33110
|
* @summary This updates the settings of the report-copilot task
|