qanswer-sdk 3.2017.0-main → 3.2018.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 +456 -126
- package/dist/api.d.ts +264 -54
- package/dist/api.js +324 -196
- package/package.json +1 -1
- package/qanswer-sdk-3.2018.0-main.tgz +0 -0
- package/qanswer-sdk-3.2017.0-main.tgz +0 -0
package/api.ts
CHANGED
|
@@ -22536,13 +22536,13 @@ export interface User {
|
|
|
22536
22536
|
* @type {number}
|
|
22537
22537
|
* @memberof User
|
|
22538
22538
|
*/
|
|
22539
|
-
'
|
|
22539
|
+
'rateLimitBucketForUser'?: number;
|
|
22540
22540
|
/**
|
|
22541
22541
|
*
|
|
22542
22542
|
* @type {number}
|
|
22543
22543
|
* @memberof User
|
|
22544
22544
|
*/
|
|
22545
|
-
'
|
|
22545
|
+
'selectedOrgId'?: number;
|
|
22546
22546
|
}
|
|
22547
22547
|
|
|
22548
22548
|
export const UserPricingPlanEnum = {
|
|
@@ -79903,10 +79903,11 @@ export const ToolLLMApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
79903
79903
|
* @summary Create a new LLM endpoint
|
|
79904
79904
|
* @param {LlmCreateDto} llmCreateDto
|
|
79905
79905
|
* @param {number} [organizationId]
|
|
79906
|
+
* @param {string} [qAnswerApiKey]
|
|
79906
79907
|
* @param {*} [options] Override http request option.
|
|
79907
79908
|
* @throws {RequiredError}
|
|
79908
79909
|
*/
|
|
79909
|
-
createLlmEndpoint: async (llmCreateDto: LlmCreateDto, organizationId?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
79910
|
+
createLlmEndpoint: async (llmCreateDto: LlmCreateDto, organizationId?: number, qAnswerApiKey?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
79910
79911
|
// verify required parameter 'llmCreateDto' is not null or undefined
|
|
79911
79912
|
assertParamExists('createLlmEndpoint', 'llmCreateDto', llmCreateDto)
|
|
79912
79913
|
const localVarPath = `/api/tool/llm/`;
|
|
@@ -79932,6 +79933,10 @@ export const ToolLLMApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
79932
79933
|
localVarQueryParameter['organization_id'] = organizationId;
|
|
79933
79934
|
}
|
|
79934
79935
|
|
|
79936
|
+
if (qAnswerApiKey != null) {
|
|
79937
|
+
localVarHeaderParameter['QAnswer-Api-Key'] = String(qAnswerApiKey);
|
|
79938
|
+
}
|
|
79939
|
+
|
|
79935
79940
|
|
|
79936
79941
|
|
|
79937
79942
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
@@ -79951,10 +79956,11 @@ export const ToolLLMApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
79951
79956
|
* @summary Delete an LLM endpoint
|
|
79952
79957
|
* @param {number} id
|
|
79953
79958
|
* @param {number} [organizationId]
|
|
79959
|
+
* @param {string} [qAnswerApiKey]
|
|
79954
79960
|
* @param {*} [options] Override http request option.
|
|
79955
79961
|
* @throws {RequiredError}
|
|
79956
79962
|
*/
|
|
79957
|
-
deleteLlmEndpoint: async (id: number, organizationId?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
79963
|
+
deleteLlmEndpoint: async (id: number, organizationId?: number, qAnswerApiKey?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
79958
79964
|
// verify required parameter 'id' is not null or undefined
|
|
79959
79965
|
assertParamExists('deleteLlmEndpoint', 'id', id)
|
|
79960
79966
|
const localVarPath = `/api/tool/llm/{id}`
|
|
@@ -79981,6 +79987,10 @@ export const ToolLLMApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
79981
79987
|
localVarQueryParameter['organization_id'] = organizationId;
|
|
79982
79988
|
}
|
|
79983
79989
|
|
|
79990
|
+
if (qAnswerApiKey != null) {
|
|
79991
|
+
localVarHeaderParameter['QAnswer-Api-Key'] = String(qAnswerApiKey);
|
|
79992
|
+
}
|
|
79993
|
+
|
|
79984
79994
|
|
|
79985
79995
|
|
|
79986
79996
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -79996,10 +80006,11 @@ export const ToolLLMApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
79996
80006
|
*
|
|
79997
80007
|
* @summary Download LLM consumption costs
|
|
79998
80008
|
* @param {LlmCostFilter} llmCostFilter
|
|
80009
|
+
* @param {string} [qAnswerApiKey]
|
|
79999
80010
|
* @param {*} [options] Override http request option.
|
|
80000
80011
|
* @throws {RequiredError}
|
|
80001
80012
|
*/
|
|
80002
|
-
downloadCosts: async (llmCostFilter: LlmCostFilter, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
80013
|
+
downloadCosts: async (llmCostFilter: LlmCostFilter, qAnswerApiKey?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
80003
80014
|
// verify required parameter 'llmCostFilter' is not null or undefined
|
|
80004
80015
|
assertParamExists('downloadCosts', 'llmCostFilter', llmCostFilter)
|
|
80005
80016
|
const localVarPath = `/api/tool/llm/costs-download`;
|
|
@@ -80021,6 +80032,10 @@ export const ToolLLMApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
80021
80032
|
// http bearer authentication required
|
|
80022
80033
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
80023
80034
|
|
|
80035
|
+
if (qAnswerApiKey != null) {
|
|
80036
|
+
localVarHeaderParameter['QAnswer-Api-Key'] = String(qAnswerApiKey);
|
|
80037
|
+
}
|
|
80038
|
+
|
|
80024
80039
|
|
|
80025
80040
|
|
|
80026
80041
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
@@ -80039,10 +80054,11 @@ export const ToolLLMApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
80039
80054
|
*
|
|
80040
80055
|
* @summary Export LLM endpoints as a ZIP file
|
|
80041
80056
|
* @param {number} [organizationId]
|
|
80057
|
+
* @param {string} [qAnswerApiKey]
|
|
80042
80058
|
* @param {*} [options] Override http request option.
|
|
80043
80059
|
* @throws {RequiredError}
|
|
80044
80060
|
*/
|
|
80045
|
-
exportLlmEndpoints: async (organizationId?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
80061
|
+
exportLlmEndpoints: async (organizationId?: number, qAnswerApiKey?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
80046
80062
|
const localVarPath = `/api/tool/llm/export`;
|
|
80047
80063
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
80048
80064
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -80066,6 +80082,10 @@ export const ToolLLMApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
80066
80082
|
localVarQueryParameter['organizationId'] = organizationId;
|
|
80067
80083
|
}
|
|
80068
80084
|
|
|
80085
|
+
if (qAnswerApiKey != null) {
|
|
80086
|
+
localVarHeaderParameter['QAnswer-Api-Key'] = String(qAnswerApiKey);
|
|
80087
|
+
}
|
|
80088
|
+
|
|
80069
80089
|
|
|
80070
80090
|
|
|
80071
80091
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -80081,10 +80101,11 @@ export const ToolLLMApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
80081
80101
|
*
|
|
80082
80102
|
* @summary Get an LLM endpoint by id
|
|
80083
80103
|
* @param {number} id
|
|
80104
|
+
* @param {string} [qAnswerApiKey]
|
|
80084
80105
|
* @param {*} [options] Override http request option.
|
|
80085
80106
|
* @throws {RequiredError}
|
|
80086
80107
|
*/
|
|
80087
|
-
getById: async (id: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
80108
|
+
getById: async (id: number, qAnswerApiKey?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
80088
80109
|
// verify required parameter 'id' is not null or undefined
|
|
80089
80110
|
assertParamExists('getById', 'id', id)
|
|
80090
80111
|
const localVarPath = `/api/tool/llm/{id}`
|
|
@@ -80107,6 +80128,10 @@ export const ToolLLMApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
80107
80128
|
// http bearer authentication required
|
|
80108
80129
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
80109
80130
|
|
|
80131
|
+
if (qAnswerApiKey != null) {
|
|
80132
|
+
localVarHeaderParameter['QAnswer-Api-Key'] = String(qAnswerApiKey);
|
|
80133
|
+
}
|
|
80134
|
+
|
|
80110
80135
|
|
|
80111
80136
|
|
|
80112
80137
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -80122,10 +80147,11 @@ export const ToolLLMApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
80122
80147
|
*
|
|
80123
80148
|
* @summary API to get analytics of LLM consumption costs
|
|
80124
80149
|
* @param {LlmCostFilter} llmCostFilter
|
|
80150
|
+
* @param {string} [qAnswerApiKey]
|
|
80125
80151
|
* @param {*} [options] Override http request option.
|
|
80126
80152
|
* @throws {RequiredError}
|
|
80127
80153
|
*/
|
|
80128
|
-
getCosts: async (llmCostFilter: LlmCostFilter, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
80154
|
+
getCosts: async (llmCostFilter: LlmCostFilter, qAnswerApiKey?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
80129
80155
|
// verify required parameter 'llmCostFilter' is not null or undefined
|
|
80130
80156
|
assertParamExists('getCosts', 'llmCostFilter', llmCostFilter)
|
|
80131
80157
|
const localVarPath = `/api/tool/llm/costs`;
|
|
@@ -80147,6 +80173,10 @@ export const ToolLLMApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
80147
80173
|
// http bearer authentication required
|
|
80148
80174
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
80149
80175
|
|
|
80176
|
+
if (qAnswerApiKey != null) {
|
|
80177
|
+
localVarHeaderParameter['QAnswer-Api-Key'] = String(qAnswerApiKey);
|
|
80178
|
+
}
|
|
80179
|
+
|
|
80150
80180
|
|
|
80151
80181
|
|
|
80152
80182
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
@@ -80165,10 +80195,11 @@ export const ToolLLMApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
80165
80195
|
*
|
|
80166
80196
|
* @summary Retrieves the default LLM endpoint
|
|
80167
80197
|
* @param {number} [organizationId]
|
|
80198
|
+
* @param {string} [qAnswerApiKey]
|
|
80168
80199
|
* @param {*} [options] Override http request option.
|
|
80169
80200
|
* @throws {RequiredError}
|
|
80170
80201
|
*/
|
|
80171
|
-
getDefaultLlmEndpoint: async (organizationId?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
80202
|
+
getDefaultLlmEndpoint: async (organizationId?: number, qAnswerApiKey?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
80172
80203
|
const localVarPath = `/api/tool/llm/default`;
|
|
80173
80204
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
80174
80205
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -80192,6 +80223,10 @@ export const ToolLLMApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
80192
80223
|
localVarQueryParameter['organization_id'] = organizationId;
|
|
80193
80224
|
}
|
|
80194
80225
|
|
|
80226
|
+
if (qAnswerApiKey != null) {
|
|
80227
|
+
localVarHeaderParameter['QAnswer-Api-Key'] = String(qAnswerApiKey);
|
|
80228
|
+
}
|
|
80229
|
+
|
|
80195
80230
|
|
|
80196
80231
|
|
|
80197
80232
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -80208,10 +80243,11 @@ export const ToolLLMApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
80208
80243
|
* @summary Returns if the LLM endpoint is active. If the organization ID is provided, it checks if the endpoint is active for that organization otherwise for the whole application.
|
|
80209
80244
|
* @param {number} id
|
|
80210
80245
|
* @param {number} [organizationId]
|
|
80246
|
+
* @param {string} [qAnswerApiKey]
|
|
80211
80247
|
* @param {*} [options] Override http request option.
|
|
80212
80248
|
* @throws {RequiredError}
|
|
80213
80249
|
*/
|
|
80214
|
-
getIsActive: async (id: number, organizationId?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
80250
|
+
getIsActive: async (id: number, organizationId?: number, qAnswerApiKey?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
80215
80251
|
// verify required parameter 'id' is not null or undefined
|
|
80216
80252
|
assertParamExists('getIsActive', 'id', id)
|
|
80217
80253
|
const localVarPath = `/api/tool/llm/{id}/active`
|
|
@@ -80238,6 +80274,10 @@ export const ToolLLMApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
80238
80274
|
localVarQueryParameter['organizationId'] = organizationId;
|
|
80239
80275
|
}
|
|
80240
80276
|
|
|
80277
|
+
if (qAnswerApiKey != null) {
|
|
80278
|
+
localVarHeaderParameter['QAnswer-Api-Key'] = String(qAnswerApiKey);
|
|
80279
|
+
}
|
|
80280
|
+
|
|
80241
80281
|
|
|
80242
80282
|
|
|
80243
80283
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -80253,10 +80293,11 @@ export const ToolLLMApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
80253
80293
|
* Fetches the info of a specific LLM endpoint by its name.
|
|
80254
80294
|
* @summary Get LLM info by name
|
|
80255
80295
|
* @param {string} name
|
|
80296
|
+
* @param {string} [qAnswerApiKey]
|
|
80256
80297
|
* @param {*} [options] Override http request option.
|
|
80257
80298
|
* @throws {RequiredError}
|
|
80258
80299
|
*/
|
|
80259
|
-
getLlmEndpointByName: async (name: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
80300
|
+
getLlmEndpointByName: async (name: string, qAnswerApiKey?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
80260
80301
|
// verify required parameter 'name' is not null or undefined
|
|
80261
80302
|
assertParamExists('getLlmEndpointByName', 'name', name)
|
|
80262
80303
|
const localVarPath = `/api/tool/llm/llm-info`;
|
|
@@ -80282,6 +80323,10 @@ export const ToolLLMApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
80282
80323
|
localVarQueryParameter['name'] = name;
|
|
80283
80324
|
}
|
|
80284
80325
|
|
|
80326
|
+
if (qAnswerApiKey != null) {
|
|
80327
|
+
localVarHeaderParameter['QAnswer-Api-Key'] = String(qAnswerApiKey);
|
|
80328
|
+
}
|
|
80329
|
+
|
|
80285
80330
|
|
|
80286
80331
|
|
|
80287
80332
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -80297,10 +80342,11 @@ export const ToolLLMApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
80297
80342
|
*
|
|
80298
80343
|
* @summary Get an LLM endpoint by name
|
|
80299
80344
|
* @param {string} name
|
|
80345
|
+
* @param {string} [qAnswerApiKey]
|
|
80300
80346
|
* @param {*} [options] Override http request option.
|
|
80301
80347
|
* @throws {RequiredError}
|
|
80302
80348
|
*/
|
|
80303
|
-
getLlmEndpointByName1: async (name: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
80349
|
+
getLlmEndpointByName1: async (name: string, qAnswerApiKey?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
80304
80350
|
// verify required parameter 'name' is not null or undefined
|
|
80305
80351
|
assertParamExists('getLlmEndpointByName1', 'name', name)
|
|
80306
80352
|
const localVarPath = `/api/tool/llm/by-name`;
|
|
@@ -80326,6 +80372,10 @@ export const ToolLLMApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
80326
80372
|
localVarQueryParameter['name'] = name;
|
|
80327
80373
|
}
|
|
80328
80374
|
|
|
80375
|
+
if (qAnswerApiKey != null) {
|
|
80376
|
+
localVarHeaderParameter['QAnswer-Api-Key'] = String(qAnswerApiKey);
|
|
80377
|
+
}
|
|
80378
|
+
|
|
80329
80379
|
|
|
80330
80380
|
|
|
80331
80381
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -80340,10 +80390,11 @@ export const ToolLLMApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
80340
80390
|
/**
|
|
80341
80391
|
*
|
|
80342
80392
|
* @summary Get the default prompts for an LLM endpoint
|
|
80393
|
+
* @param {string} [qAnswerApiKey]
|
|
80343
80394
|
* @param {*} [options] Override http request option.
|
|
80344
80395
|
* @throws {RequiredError}
|
|
80345
80396
|
*/
|
|
80346
|
-
getLlmEndpointDefaultPrompts: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
80397
|
+
getLlmEndpointDefaultPrompts: async (qAnswerApiKey?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
80347
80398
|
const localVarPath = `/api/tool/llm/default-prompts`;
|
|
80348
80399
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
80349
80400
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -80363,6 +80414,10 @@ export const ToolLLMApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
80363
80414
|
// http bearer authentication required
|
|
80364
80415
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
80365
80416
|
|
|
80417
|
+
if (qAnswerApiKey != null) {
|
|
80418
|
+
localVarHeaderParameter['QAnswer-Api-Key'] = String(qAnswerApiKey);
|
|
80419
|
+
}
|
|
80420
|
+
|
|
80366
80421
|
|
|
80367
80422
|
|
|
80368
80423
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -80379,10 +80434,11 @@ export const ToolLLMApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
80379
80434
|
* @summary Get the logo of an LLM endpoint by id
|
|
80380
80435
|
* @param {number} id
|
|
80381
80436
|
* @param {string} [conversationId]
|
|
80437
|
+
* @param {string} [qAnswerApiKey]
|
|
80382
80438
|
* @param {*} [options] Override http request option.
|
|
80383
80439
|
* @throws {RequiredError}
|
|
80384
80440
|
*/
|
|
80385
|
-
getLlmEndpointLogo: async (id: number, conversationId?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
80441
|
+
getLlmEndpointLogo: async (id: number, conversationId?: string, qAnswerApiKey?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
80386
80442
|
// verify required parameter 'id' is not null or undefined
|
|
80387
80443
|
assertParamExists('getLlmEndpointLogo', 'id', id)
|
|
80388
80444
|
const localVarPath = `/api/tool/llm/{id}/logo`
|
|
@@ -80409,6 +80465,10 @@ export const ToolLLMApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
80409
80465
|
localVarQueryParameter['conversationId'] = conversationId;
|
|
80410
80466
|
}
|
|
80411
80467
|
|
|
80468
|
+
if (qAnswerApiKey != null) {
|
|
80469
|
+
localVarHeaderParameter['QAnswer-Api-Key'] = String(qAnswerApiKey);
|
|
80470
|
+
}
|
|
80471
|
+
|
|
80412
80472
|
|
|
80413
80473
|
|
|
80414
80474
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -80424,10 +80484,11 @@ export const ToolLLMApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
80424
80484
|
*
|
|
80425
80485
|
* @summary Get all sensitivity levels of LLM endpoints.
|
|
80426
80486
|
* @param {LlmFilterDto} filter
|
|
80487
|
+
* @param {string} [qAnswerApiKey]
|
|
80427
80488
|
* @param {*} [options] Override http request option.
|
|
80428
80489
|
* @throws {RequiredError}
|
|
80429
80490
|
*/
|
|
80430
|
-
getSensitivityLevels: async (filter: LlmFilterDto, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
80491
|
+
getSensitivityLevels: async (filter: LlmFilterDto, qAnswerApiKey?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
80431
80492
|
// verify required parameter 'filter' is not null or undefined
|
|
80432
80493
|
assertParamExists('getSensitivityLevels', 'filter', filter)
|
|
80433
80494
|
const localVarPath = `/api/tool/llm/sensitivity-levels`;
|
|
@@ -80455,6 +80516,10 @@ export const ToolLLMApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
80455
80516
|
}
|
|
80456
80517
|
}
|
|
80457
80518
|
|
|
80519
|
+
if (qAnswerApiKey != null) {
|
|
80520
|
+
localVarHeaderParameter['QAnswer-Api-Key'] = String(qAnswerApiKey);
|
|
80521
|
+
}
|
|
80522
|
+
|
|
80458
80523
|
|
|
80459
80524
|
|
|
80460
80525
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -80469,10 +80534,11 @@ export const ToolLLMApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
80469
80534
|
/**
|
|
80470
80535
|
*
|
|
80471
80536
|
* @summary Retrieves the system default LLM endpoint (used when resetting to defaults)
|
|
80537
|
+
* @param {string} [qAnswerApiKey]
|
|
80472
80538
|
* @param {*} [options] Override http request option.
|
|
80473
80539
|
* @throws {RequiredError}
|
|
80474
80540
|
*/
|
|
80475
|
-
getSystemDefaultLlmEndpoint: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
80541
|
+
getSystemDefaultLlmEndpoint: async (qAnswerApiKey?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
80476
80542
|
const localVarPath = `/api/tool/llm/system-default`;
|
|
80477
80543
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
80478
80544
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -80492,6 +80558,10 @@ export const ToolLLMApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
80492
80558
|
// http bearer authentication required
|
|
80493
80559
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
80494
80560
|
|
|
80561
|
+
if (qAnswerApiKey != null) {
|
|
80562
|
+
localVarHeaderParameter['QAnswer-Api-Key'] = String(qAnswerApiKey);
|
|
80563
|
+
}
|
|
80564
|
+
|
|
80495
80565
|
|
|
80496
80566
|
|
|
80497
80567
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -80508,10 +80578,11 @@ export const ToolLLMApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
80508
80578
|
* @summary Import LLM endpoints from a file
|
|
80509
80579
|
* @param {File} file
|
|
80510
80580
|
* @param {number} [organizationId]
|
|
80581
|
+
* @param {string} [qAnswerApiKey]
|
|
80511
80582
|
* @param {*} [options] Override http request option.
|
|
80512
80583
|
* @throws {RequiredError}
|
|
80513
80584
|
*/
|
|
80514
|
-
importLlmEndpoints: async (file: File, organizationId?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
80585
|
+
importLlmEndpoints: async (file: File, organizationId?: number, qAnswerApiKey?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
80515
80586
|
// verify required parameter 'file' is not null or undefined
|
|
80516
80587
|
assertParamExists('importLlmEndpoints', 'file', file)
|
|
80517
80588
|
const localVarPath = `/api/tool/llm/import`;
|
|
@@ -80538,6 +80609,10 @@ export const ToolLLMApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
80538
80609
|
localVarQueryParameter['organizationId'] = organizationId;
|
|
80539
80610
|
}
|
|
80540
80611
|
|
|
80612
|
+
if (qAnswerApiKey != null) {
|
|
80613
|
+
localVarHeaderParameter['QAnswer-Api-Key'] = String(qAnswerApiKey);
|
|
80614
|
+
}
|
|
80615
|
+
|
|
80541
80616
|
|
|
80542
80617
|
if (file !== undefined) {
|
|
80543
80618
|
localVarFormParams.append('file', file as any);
|
|
@@ -80560,10 +80635,11 @@ export const ToolLLMApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
80560
80635
|
*
|
|
80561
80636
|
* @summary Reset the logo of an LLM endpoint by id
|
|
80562
80637
|
* @param {number} id
|
|
80638
|
+
* @param {string} [qAnswerApiKey]
|
|
80563
80639
|
* @param {*} [options] Override http request option.
|
|
80564
80640
|
* @throws {RequiredError}
|
|
80565
80641
|
*/
|
|
80566
|
-
resetLlmEndpointLogo: async (id: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
80642
|
+
resetLlmEndpointLogo: async (id: number, qAnswerApiKey?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
80567
80643
|
// verify required parameter 'id' is not null or undefined
|
|
80568
80644
|
assertParamExists('resetLlmEndpointLogo', 'id', id)
|
|
80569
80645
|
const localVarPath = `/api/tool/llm/{id}/logo/reset`
|
|
@@ -80586,6 +80662,10 @@ export const ToolLLMApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
80586
80662
|
// http bearer authentication required
|
|
80587
80663
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
80588
80664
|
|
|
80665
|
+
if (qAnswerApiKey != null) {
|
|
80666
|
+
localVarHeaderParameter['QAnswer-Api-Key'] = String(qAnswerApiKey);
|
|
80667
|
+
}
|
|
80668
|
+
|
|
80589
80669
|
|
|
80590
80670
|
|
|
80591
80671
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -80601,10 +80681,11 @@ export const ToolLLMApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
80601
80681
|
*
|
|
80602
80682
|
* @summary Search over all LLM endpoints.
|
|
80603
80683
|
* @param {LlmFilterDto} filter
|
|
80684
|
+
* @param {string} [qAnswerApiKey]
|
|
80604
80685
|
* @param {*} [options] Override http request option.
|
|
80605
80686
|
* @throws {RequiredError}
|
|
80606
80687
|
*/
|
|
80607
|
-
search2: async (filter: LlmFilterDto, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
80688
|
+
search2: async (filter: LlmFilterDto, qAnswerApiKey?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
80608
80689
|
// verify required parameter 'filter' is not null or undefined
|
|
80609
80690
|
assertParamExists('search2', 'filter', filter)
|
|
80610
80691
|
const localVarPath = `/api/tool/llm/search`;
|
|
@@ -80632,6 +80713,10 @@ export const ToolLLMApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
80632
80713
|
}
|
|
80633
80714
|
}
|
|
80634
80715
|
|
|
80716
|
+
if (qAnswerApiKey != null) {
|
|
80717
|
+
localVarHeaderParameter['QAnswer-Api-Key'] = String(qAnswerApiKey);
|
|
80718
|
+
}
|
|
80719
|
+
|
|
80635
80720
|
|
|
80636
80721
|
|
|
80637
80722
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -80647,10 +80732,11 @@ export const ToolLLMApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
80647
80732
|
*
|
|
80648
80733
|
* @summary Search over the LLM endpoints.
|
|
80649
80734
|
* @param {LlmFilterDto} filter
|
|
80735
|
+
* @param {string} [qAnswerApiKey]
|
|
80650
80736
|
* @param {*} [options] Override http request option.
|
|
80651
80737
|
* @throws {RequiredError}
|
|
80652
80738
|
*/
|
|
80653
|
-
searchDetailed: async (filter: LlmFilterDto, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
80739
|
+
searchDetailed: async (filter: LlmFilterDto, qAnswerApiKey?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
80654
80740
|
// verify required parameter 'filter' is not null or undefined
|
|
80655
80741
|
assertParamExists('searchDetailed', 'filter', filter)
|
|
80656
80742
|
const localVarPath = `/api/tool/llm/search-detailed`;
|
|
@@ -80678,6 +80764,10 @@ export const ToolLLMApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
80678
80764
|
}
|
|
80679
80765
|
}
|
|
80680
80766
|
|
|
80767
|
+
if (qAnswerApiKey != null) {
|
|
80768
|
+
localVarHeaderParameter['QAnswer-Api-Key'] = String(qAnswerApiKey);
|
|
80769
|
+
}
|
|
80770
|
+
|
|
80681
80771
|
|
|
80682
80772
|
|
|
80683
80773
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -80694,10 +80784,11 @@ export const ToolLLMApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
80694
80784
|
* @summary Sets the default LLM endpoint
|
|
80695
80785
|
* @param {number} llmId
|
|
80696
80786
|
* @param {number} [organizationId]
|
|
80787
|
+
* @param {string} [qAnswerApiKey]
|
|
80697
80788
|
* @param {*} [options] Override http request option.
|
|
80698
80789
|
* @throws {RequiredError}
|
|
80699
80790
|
*/
|
|
80700
|
-
setDefaultLlmEndpoint: async (llmId: number, organizationId?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
80791
|
+
setDefaultLlmEndpoint: async (llmId: number, organizationId?: number, qAnswerApiKey?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
80701
80792
|
// verify required parameter 'llmId' is not null or undefined
|
|
80702
80793
|
assertParamExists('setDefaultLlmEndpoint', 'llmId', llmId)
|
|
80703
80794
|
const localVarPath = `/api/tool/llm/default`;
|
|
@@ -80727,6 +80818,10 @@ export const ToolLLMApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
80727
80818
|
localVarQueryParameter['organization_id'] = organizationId;
|
|
80728
80819
|
}
|
|
80729
80820
|
|
|
80821
|
+
if (qAnswerApiKey != null) {
|
|
80822
|
+
localVarHeaderParameter['QAnswer-Api-Key'] = String(qAnswerApiKey);
|
|
80823
|
+
}
|
|
80824
|
+
|
|
80730
80825
|
|
|
80731
80826
|
|
|
80732
80827
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -80744,10 +80839,11 @@ export const ToolLLMApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
80744
80839
|
* @param {number} id
|
|
80745
80840
|
* @param {boolean} active
|
|
80746
80841
|
* @param {number} [organizationId]
|
|
80842
|
+
* @param {string} [qAnswerApiKey]
|
|
80747
80843
|
* @param {*} [options] Override http request option.
|
|
80748
80844
|
* @throws {RequiredError}
|
|
80749
80845
|
*/
|
|
80750
|
-
setIsActive: async (id: number, active: boolean, organizationId?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
80846
|
+
setIsActive: async (id: number, active: boolean, organizationId?: number, qAnswerApiKey?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
80751
80847
|
// verify required parameter 'id' is not null or undefined
|
|
80752
80848
|
assertParamExists('setIsActive', 'id', id)
|
|
80753
80849
|
// verify required parameter 'active' is not null or undefined
|
|
@@ -80780,6 +80876,10 @@ export const ToolLLMApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
80780
80876
|
localVarQueryParameter['active'] = active;
|
|
80781
80877
|
}
|
|
80782
80878
|
|
|
80879
|
+
if (qAnswerApiKey != null) {
|
|
80880
|
+
localVarHeaderParameter['QAnswer-Api-Key'] = String(qAnswerApiKey);
|
|
80881
|
+
}
|
|
80882
|
+
|
|
80783
80883
|
|
|
80784
80884
|
|
|
80785
80885
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -80796,10 +80896,11 @@ export const ToolLLMApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
80796
80896
|
* @summary Set the logo of an LLM endpoint by id
|
|
80797
80897
|
* @param {number} id
|
|
80798
80898
|
* @param {File} file
|
|
80899
|
+
* @param {string} [qAnswerApiKey]
|
|
80799
80900
|
* @param {*} [options] Override http request option.
|
|
80800
80901
|
* @throws {RequiredError}
|
|
80801
80902
|
*/
|
|
80802
|
-
setLlmEndpointLogo: async (id: number, file: File, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
80903
|
+
setLlmEndpointLogo: async (id: number, file: File, qAnswerApiKey?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
80803
80904
|
// verify required parameter 'id' is not null or undefined
|
|
80804
80905
|
assertParamExists('setLlmEndpointLogo', 'id', id)
|
|
80805
80906
|
// verify required parameter 'file' is not null or undefined
|
|
@@ -80825,6 +80926,10 @@ export const ToolLLMApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
80825
80926
|
// http bearer authentication required
|
|
80826
80927
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
80827
80928
|
|
|
80929
|
+
if (qAnswerApiKey != null) {
|
|
80930
|
+
localVarHeaderParameter['QAnswer-Api-Key'] = String(qAnswerApiKey);
|
|
80931
|
+
}
|
|
80932
|
+
|
|
80828
80933
|
|
|
80829
80934
|
if (file !== undefined) {
|
|
80830
80935
|
localVarFormParams.append('file', file as any);
|
|
@@ -80847,10 +80952,11 @@ export const ToolLLMApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
80847
80952
|
*
|
|
80848
80953
|
* @summary Sets the system default LLM endpoint (used when resetting to defaults)
|
|
80849
80954
|
* @param {number} llmId
|
|
80955
|
+
* @param {string} [qAnswerApiKey]
|
|
80850
80956
|
* @param {*} [options] Override http request option.
|
|
80851
80957
|
* @throws {RequiredError}
|
|
80852
80958
|
*/
|
|
80853
|
-
setSystemDefaultLlmEndpoint: async (llmId: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
80959
|
+
setSystemDefaultLlmEndpoint: async (llmId: number, qAnswerApiKey?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
80854
80960
|
// verify required parameter 'llmId' is not null or undefined
|
|
80855
80961
|
assertParamExists('setSystemDefaultLlmEndpoint', 'llmId', llmId)
|
|
80856
80962
|
const localVarPath = `/api/tool/llm/system-default`;
|
|
@@ -80876,6 +80982,10 @@ export const ToolLLMApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
80876
80982
|
localVarQueryParameter['llm_id'] = llmId;
|
|
80877
80983
|
}
|
|
80878
80984
|
|
|
80985
|
+
if (qAnswerApiKey != null) {
|
|
80986
|
+
localVarHeaderParameter['QAnswer-Api-Key'] = String(qAnswerApiKey);
|
|
80987
|
+
}
|
|
80988
|
+
|
|
80879
80989
|
|
|
80880
80990
|
|
|
80881
80991
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -80893,10 +81003,11 @@ export const ToolLLMApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
80893
81003
|
* @param {number} id
|
|
80894
81004
|
* @param {LlmUpdateDto} llmUpdateDto
|
|
80895
81005
|
* @param {number} [organizationId]
|
|
81006
|
+
* @param {string} [qAnswerApiKey]
|
|
80896
81007
|
* @param {*} [options] Override http request option.
|
|
80897
81008
|
* @throws {RequiredError}
|
|
80898
81009
|
*/
|
|
80899
|
-
updateLlmEndpoint: async (id: number, llmUpdateDto: LlmUpdateDto, organizationId?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
81010
|
+
updateLlmEndpoint: async (id: number, llmUpdateDto: LlmUpdateDto, organizationId?: number, qAnswerApiKey?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
80900
81011
|
// verify required parameter 'id' is not null or undefined
|
|
80901
81012
|
assertParamExists('updateLlmEndpoint', 'id', id)
|
|
80902
81013
|
// verify required parameter 'llmUpdateDto' is not null or undefined
|
|
@@ -80925,6 +81036,10 @@ export const ToolLLMApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
80925
81036
|
localVarQueryParameter['organization_id'] = organizationId;
|
|
80926
81037
|
}
|
|
80927
81038
|
|
|
81039
|
+
if (qAnswerApiKey != null) {
|
|
81040
|
+
localVarHeaderParameter['QAnswer-Api-Key'] = String(qAnswerApiKey);
|
|
81041
|
+
}
|
|
81042
|
+
|
|
80928
81043
|
|
|
80929
81044
|
|
|
80930
81045
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
@@ -80943,10 +81058,11 @@ export const ToolLLMApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
80943
81058
|
*
|
|
80944
81059
|
* @summary Validate an LLM endpoint by id
|
|
80945
81060
|
* @param {number} id
|
|
81061
|
+
* @param {string} [qAnswerApiKey]
|
|
80946
81062
|
* @param {*} [options] Override http request option.
|
|
80947
81063
|
* @throws {RequiredError}
|
|
80948
81064
|
*/
|
|
80949
|
-
validateLlmEndpointById: async (id: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
81065
|
+
validateLlmEndpointById: async (id: number, qAnswerApiKey?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
80950
81066
|
// verify required parameter 'id' is not null or undefined
|
|
80951
81067
|
assertParamExists('validateLlmEndpointById', 'id', id)
|
|
80952
81068
|
const localVarPath = `/api/tool/llm/validate/{id}`
|
|
@@ -80969,6 +81085,10 @@ export const ToolLLMApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
80969
81085
|
// http bearer authentication required
|
|
80970
81086
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
80971
81087
|
|
|
81088
|
+
if (qAnswerApiKey != null) {
|
|
81089
|
+
localVarHeaderParameter['QAnswer-Api-Key'] = String(qAnswerApiKey);
|
|
81090
|
+
}
|
|
81091
|
+
|
|
80972
81092
|
|
|
80973
81093
|
|
|
80974
81094
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -80996,11 +81116,12 @@ export const ToolLLMApiFp = function(configuration?: Configuration) {
|
|
|
80996
81116
|
* @summary Create a new LLM endpoint
|
|
80997
81117
|
* @param {LlmCreateDto} llmCreateDto
|
|
80998
81118
|
* @param {number} [organizationId]
|
|
81119
|
+
* @param {string} [qAnswerApiKey]
|
|
80999
81120
|
* @param {*} [options] Override http request option.
|
|
81000
81121
|
* @throws {RequiredError}
|
|
81001
81122
|
*/
|
|
81002
|
-
async createLlmEndpoint(llmCreateDto: LlmCreateDto, organizationId?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LlmDetailedDto>> {
|
|
81003
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.createLlmEndpoint(llmCreateDto, organizationId, options);
|
|
81123
|
+
async createLlmEndpoint(llmCreateDto: LlmCreateDto, organizationId?: number, qAnswerApiKey?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LlmDetailedDto>> {
|
|
81124
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createLlmEndpoint(llmCreateDto, organizationId, qAnswerApiKey, options);
|
|
81004
81125
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
81005
81126
|
const localVarOperationServerBasePath = operationServerMap['ToolLLMApi.createLlmEndpoint']?.[localVarOperationServerIndex]?.url;
|
|
81006
81127
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -81010,11 +81131,12 @@ export const ToolLLMApiFp = function(configuration?: Configuration) {
|
|
|
81010
81131
|
* @summary Delete an LLM endpoint
|
|
81011
81132
|
* @param {number} id
|
|
81012
81133
|
* @param {number} [organizationId]
|
|
81134
|
+
* @param {string} [qAnswerApiKey]
|
|
81013
81135
|
* @param {*} [options] Override http request option.
|
|
81014
81136
|
* @throws {RequiredError}
|
|
81015
81137
|
*/
|
|
81016
|
-
async deleteLlmEndpoint(id: number, organizationId?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
81017
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteLlmEndpoint(id, organizationId, options);
|
|
81138
|
+
async deleteLlmEndpoint(id: number, organizationId?: number, qAnswerApiKey?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
81139
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteLlmEndpoint(id, organizationId, qAnswerApiKey, options);
|
|
81018
81140
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
81019
81141
|
const localVarOperationServerBasePath = operationServerMap['ToolLLMApi.deleteLlmEndpoint']?.[localVarOperationServerIndex]?.url;
|
|
81020
81142
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -81023,11 +81145,12 @@ export const ToolLLMApiFp = function(configuration?: Configuration) {
|
|
|
81023
81145
|
*
|
|
81024
81146
|
* @summary Download LLM consumption costs
|
|
81025
81147
|
* @param {LlmCostFilter} llmCostFilter
|
|
81148
|
+
* @param {string} [qAnswerApiKey]
|
|
81026
81149
|
* @param {*} [options] Override http request option.
|
|
81027
81150
|
* @throws {RequiredError}
|
|
81028
81151
|
*/
|
|
81029
|
-
async downloadCosts(llmCostFilter: LlmCostFilter, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>> {
|
|
81030
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.downloadCosts(llmCostFilter, options);
|
|
81152
|
+
async downloadCosts(llmCostFilter: LlmCostFilter, qAnswerApiKey?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>> {
|
|
81153
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.downloadCosts(llmCostFilter, qAnswerApiKey, options);
|
|
81031
81154
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
81032
81155
|
const localVarOperationServerBasePath = operationServerMap['ToolLLMApi.downloadCosts']?.[localVarOperationServerIndex]?.url;
|
|
81033
81156
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -81036,11 +81159,12 @@ export const ToolLLMApiFp = function(configuration?: Configuration) {
|
|
|
81036
81159
|
*
|
|
81037
81160
|
* @summary Export LLM endpoints as a ZIP file
|
|
81038
81161
|
* @param {number} [organizationId]
|
|
81162
|
+
* @param {string} [qAnswerApiKey]
|
|
81039
81163
|
* @param {*} [options] Override http request option.
|
|
81040
81164
|
* @throws {RequiredError}
|
|
81041
81165
|
*/
|
|
81042
|
-
async exportLlmEndpoints(organizationId?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>> {
|
|
81043
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.exportLlmEndpoints(organizationId, options);
|
|
81166
|
+
async exportLlmEndpoints(organizationId?: number, qAnswerApiKey?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>> {
|
|
81167
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.exportLlmEndpoints(organizationId, qAnswerApiKey, options);
|
|
81044
81168
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
81045
81169
|
const localVarOperationServerBasePath = operationServerMap['ToolLLMApi.exportLlmEndpoints']?.[localVarOperationServerIndex]?.url;
|
|
81046
81170
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -81049,11 +81173,12 @@ export const ToolLLMApiFp = function(configuration?: Configuration) {
|
|
|
81049
81173
|
*
|
|
81050
81174
|
* @summary Get an LLM endpoint by id
|
|
81051
81175
|
* @param {number} id
|
|
81176
|
+
* @param {string} [qAnswerApiKey]
|
|
81052
81177
|
* @param {*} [options] Override http request option.
|
|
81053
81178
|
* @throws {RequiredError}
|
|
81054
81179
|
*/
|
|
81055
|
-
async getById(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LLMEndpoint>> {
|
|
81056
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getById(id, options);
|
|
81180
|
+
async getById(id: number, qAnswerApiKey?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LLMEndpoint>> {
|
|
81181
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getById(id, qAnswerApiKey, options);
|
|
81057
81182
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
81058
81183
|
const localVarOperationServerBasePath = operationServerMap['ToolLLMApi.getById']?.[localVarOperationServerIndex]?.url;
|
|
81059
81184
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -81062,11 +81187,12 @@ export const ToolLLMApiFp = function(configuration?: Configuration) {
|
|
|
81062
81187
|
*
|
|
81063
81188
|
* @summary API to get analytics of LLM consumption costs
|
|
81064
81189
|
* @param {LlmCostFilter} llmCostFilter
|
|
81190
|
+
* @param {string} [qAnswerApiKey]
|
|
81065
81191
|
* @param {*} [options] Override http request option.
|
|
81066
81192
|
* @throws {RequiredError}
|
|
81067
81193
|
*/
|
|
81068
|
-
async getCosts(llmCostFilter: LlmCostFilter, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LlmCostList>> {
|
|
81069
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getCosts(llmCostFilter, options);
|
|
81194
|
+
async getCosts(llmCostFilter: LlmCostFilter, qAnswerApiKey?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LlmCostList>> {
|
|
81195
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getCosts(llmCostFilter, qAnswerApiKey, options);
|
|
81070
81196
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
81071
81197
|
const localVarOperationServerBasePath = operationServerMap['ToolLLMApi.getCosts']?.[localVarOperationServerIndex]?.url;
|
|
81072
81198
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -81075,11 +81201,12 @@ export const ToolLLMApiFp = function(configuration?: Configuration) {
|
|
|
81075
81201
|
*
|
|
81076
81202
|
* @summary Retrieves the default LLM endpoint
|
|
81077
81203
|
* @param {number} [organizationId]
|
|
81204
|
+
* @param {string} [qAnswerApiKey]
|
|
81078
81205
|
* @param {*} [options] Override http request option.
|
|
81079
81206
|
* @throws {RequiredError}
|
|
81080
81207
|
*/
|
|
81081
|
-
async getDefaultLlmEndpoint(organizationId?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LlmDetailedDto>> {
|
|
81082
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getDefaultLlmEndpoint(organizationId, options);
|
|
81208
|
+
async getDefaultLlmEndpoint(organizationId?: number, qAnswerApiKey?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LlmDetailedDto>> {
|
|
81209
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getDefaultLlmEndpoint(organizationId, qAnswerApiKey, options);
|
|
81083
81210
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
81084
81211
|
const localVarOperationServerBasePath = operationServerMap['ToolLLMApi.getDefaultLlmEndpoint']?.[localVarOperationServerIndex]?.url;
|
|
81085
81212
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -81089,11 +81216,12 @@ export const ToolLLMApiFp = function(configuration?: Configuration) {
|
|
|
81089
81216
|
* @summary Returns if the LLM endpoint is active. If the organization ID is provided, it checks if the endpoint is active for that organization otherwise for the whole application.
|
|
81090
81217
|
* @param {number} id
|
|
81091
81218
|
* @param {number} [organizationId]
|
|
81219
|
+
* @param {string} [qAnswerApiKey]
|
|
81092
81220
|
* @param {*} [options] Override http request option.
|
|
81093
81221
|
* @throws {RequiredError}
|
|
81094
81222
|
*/
|
|
81095
|
-
async getIsActive(id: number, organizationId?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
|
|
81096
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getIsActive(id, organizationId, options);
|
|
81223
|
+
async getIsActive(id: number, organizationId?: number, qAnswerApiKey?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
|
|
81224
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getIsActive(id, organizationId, qAnswerApiKey, options);
|
|
81097
81225
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
81098
81226
|
const localVarOperationServerBasePath = operationServerMap['ToolLLMApi.getIsActive']?.[localVarOperationServerIndex]?.url;
|
|
81099
81227
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -81102,11 +81230,12 @@ export const ToolLLMApiFp = function(configuration?: Configuration) {
|
|
|
81102
81230
|
* Fetches the info of a specific LLM endpoint by its name.
|
|
81103
81231
|
* @summary Get LLM info by name
|
|
81104
81232
|
* @param {string} name
|
|
81233
|
+
* @param {string} [qAnswerApiKey]
|
|
81105
81234
|
* @param {*} [options] Override http request option.
|
|
81106
81235
|
* @throws {RequiredError}
|
|
81107
81236
|
*/
|
|
81108
|
-
async getLlmEndpointByName(name: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LlmDto>> {
|
|
81109
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getLlmEndpointByName(name, options);
|
|
81237
|
+
async getLlmEndpointByName(name: string, qAnswerApiKey?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LlmDto>> {
|
|
81238
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getLlmEndpointByName(name, qAnswerApiKey, options);
|
|
81110
81239
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
81111
81240
|
const localVarOperationServerBasePath = operationServerMap['ToolLLMApi.getLlmEndpointByName']?.[localVarOperationServerIndex]?.url;
|
|
81112
81241
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -81115,11 +81244,12 @@ export const ToolLLMApiFp = function(configuration?: Configuration) {
|
|
|
81115
81244
|
*
|
|
81116
81245
|
* @summary Get an LLM endpoint by name
|
|
81117
81246
|
* @param {string} name
|
|
81247
|
+
* @param {string} [qAnswerApiKey]
|
|
81118
81248
|
* @param {*} [options] Override http request option.
|
|
81119
81249
|
* @throws {RequiredError}
|
|
81120
81250
|
*/
|
|
81121
|
-
async getLlmEndpointByName1(name: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LLMEndpoint>> {
|
|
81122
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getLlmEndpointByName1(name, options);
|
|
81251
|
+
async getLlmEndpointByName1(name: string, qAnswerApiKey?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LLMEndpoint>> {
|
|
81252
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getLlmEndpointByName1(name, qAnswerApiKey, options);
|
|
81123
81253
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
81124
81254
|
const localVarOperationServerBasePath = operationServerMap['ToolLLMApi.getLlmEndpointByName1']?.[localVarOperationServerIndex]?.url;
|
|
81125
81255
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -81127,11 +81257,12 @@ export const ToolLLMApiFp = function(configuration?: Configuration) {
|
|
|
81127
81257
|
/**
|
|
81128
81258
|
*
|
|
81129
81259
|
* @summary Get the default prompts for an LLM endpoint
|
|
81260
|
+
* @param {string} [qAnswerApiKey]
|
|
81130
81261
|
* @param {*} [options] Override http request option.
|
|
81131
81262
|
* @throws {RequiredError}
|
|
81132
81263
|
*/
|
|
81133
|
-
async getLlmEndpointDefaultPrompts(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LLMEndpointDefaultPrompts>> {
|
|
81134
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getLlmEndpointDefaultPrompts(options);
|
|
81264
|
+
async getLlmEndpointDefaultPrompts(qAnswerApiKey?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LLMEndpointDefaultPrompts>> {
|
|
81265
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getLlmEndpointDefaultPrompts(qAnswerApiKey, options);
|
|
81135
81266
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
81136
81267
|
const localVarOperationServerBasePath = operationServerMap['ToolLLMApi.getLlmEndpointDefaultPrompts']?.[localVarOperationServerIndex]?.url;
|
|
81137
81268
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -81141,11 +81272,12 @@ export const ToolLLMApiFp = function(configuration?: Configuration) {
|
|
|
81141
81272
|
* @summary Get the logo of an LLM endpoint by id
|
|
81142
81273
|
* @param {number} id
|
|
81143
81274
|
* @param {string} [conversationId]
|
|
81275
|
+
* @param {string} [qAnswerApiKey]
|
|
81144
81276
|
* @param {*} [options] Override http request option.
|
|
81145
81277
|
* @throws {RequiredError}
|
|
81146
81278
|
*/
|
|
81147
|
-
async getLlmEndpointLogo(id: number, conversationId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>> {
|
|
81148
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getLlmEndpointLogo(id, conversationId, options);
|
|
81279
|
+
async getLlmEndpointLogo(id: number, conversationId?: string, qAnswerApiKey?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>> {
|
|
81280
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getLlmEndpointLogo(id, conversationId, qAnswerApiKey, options);
|
|
81149
81281
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
81150
81282
|
const localVarOperationServerBasePath = operationServerMap['ToolLLMApi.getLlmEndpointLogo']?.[localVarOperationServerIndex]?.url;
|
|
81151
81283
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -81154,11 +81286,12 @@ export const ToolLLMApiFp = function(configuration?: Configuration) {
|
|
|
81154
81286
|
*
|
|
81155
81287
|
* @summary Get all sensitivity levels of LLM endpoints.
|
|
81156
81288
|
* @param {LlmFilterDto} filter
|
|
81289
|
+
* @param {string} [qAnswerApiKey]
|
|
81157
81290
|
* @param {*} [options] Override http request option.
|
|
81158
81291
|
* @throws {RequiredError}
|
|
81159
81292
|
*/
|
|
81160
|
-
async getSensitivityLevels(filter: LlmFilterDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<string>>> {
|
|
81161
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getSensitivityLevels(filter, options);
|
|
81293
|
+
async getSensitivityLevels(filter: LlmFilterDto, qAnswerApiKey?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<string>>> {
|
|
81294
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getSensitivityLevels(filter, qAnswerApiKey, options);
|
|
81162
81295
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
81163
81296
|
const localVarOperationServerBasePath = operationServerMap['ToolLLMApi.getSensitivityLevels']?.[localVarOperationServerIndex]?.url;
|
|
81164
81297
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -81166,11 +81299,12 @@ export const ToolLLMApiFp = function(configuration?: Configuration) {
|
|
|
81166
81299
|
/**
|
|
81167
81300
|
*
|
|
81168
81301
|
* @summary Retrieves the system default LLM endpoint (used when resetting to defaults)
|
|
81302
|
+
* @param {string} [qAnswerApiKey]
|
|
81169
81303
|
* @param {*} [options] Override http request option.
|
|
81170
81304
|
* @throws {RequiredError}
|
|
81171
81305
|
*/
|
|
81172
|
-
async getSystemDefaultLlmEndpoint(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LlmDetailedDto>> {
|
|
81173
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getSystemDefaultLlmEndpoint(options);
|
|
81306
|
+
async getSystemDefaultLlmEndpoint(qAnswerApiKey?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LlmDetailedDto>> {
|
|
81307
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getSystemDefaultLlmEndpoint(qAnswerApiKey, options);
|
|
81174
81308
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
81175
81309
|
const localVarOperationServerBasePath = operationServerMap['ToolLLMApi.getSystemDefaultLlmEndpoint']?.[localVarOperationServerIndex]?.url;
|
|
81176
81310
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -81180,11 +81314,12 @@ export const ToolLLMApiFp = function(configuration?: Configuration) {
|
|
|
81180
81314
|
* @summary Import LLM endpoints from a file
|
|
81181
81315
|
* @param {File} file
|
|
81182
81316
|
* @param {number} [organizationId]
|
|
81317
|
+
* @param {string} [qAnswerApiKey]
|
|
81183
81318
|
* @param {*} [options] Override http request option.
|
|
81184
81319
|
* @throws {RequiredError}
|
|
81185
81320
|
*/
|
|
81186
|
-
async importLlmEndpoints(file: File, organizationId?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LLMEndpointImportResponse>> {
|
|
81187
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.importLlmEndpoints(file, organizationId, options);
|
|
81321
|
+
async importLlmEndpoints(file: File, organizationId?: number, qAnswerApiKey?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LLMEndpointImportResponse>> {
|
|
81322
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.importLlmEndpoints(file, organizationId, qAnswerApiKey, options);
|
|
81188
81323
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
81189
81324
|
const localVarOperationServerBasePath = operationServerMap['ToolLLMApi.importLlmEndpoints']?.[localVarOperationServerIndex]?.url;
|
|
81190
81325
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -81193,11 +81328,12 @@ export const ToolLLMApiFp = function(configuration?: Configuration) {
|
|
|
81193
81328
|
*
|
|
81194
81329
|
* @summary Reset the logo of an LLM endpoint by id
|
|
81195
81330
|
* @param {number} id
|
|
81331
|
+
* @param {string} [qAnswerApiKey]
|
|
81196
81332
|
* @param {*} [options] Override http request option.
|
|
81197
81333
|
* @throws {RequiredError}
|
|
81198
81334
|
*/
|
|
81199
|
-
async resetLlmEndpointLogo(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
81200
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.resetLlmEndpointLogo(id, options);
|
|
81335
|
+
async resetLlmEndpointLogo(id: number, qAnswerApiKey?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
81336
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.resetLlmEndpointLogo(id, qAnswerApiKey, options);
|
|
81201
81337
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
81202
81338
|
const localVarOperationServerBasePath = operationServerMap['ToolLLMApi.resetLlmEndpointLogo']?.[localVarOperationServerIndex]?.url;
|
|
81203
81339
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -81206,11 +81342,12 @@ export const ToolLLMApiFp = function(configuration?: Configuration) {
|
|
|
81206
81342
|
*
|
|
81207
81343
|
* @summary Search over all LLM endpoints.
|
|
81208
81344
|
* @param {LlmFilterDto} filter
|
|
81345
|
+
* @param {string} [qAnswerApiKey]
|
|
81209
81346
|
* @param {*} [options] Override http request option.
|
|
81210
81347
|
* @throws {RequiredError}
|
|
81211
81348
|
*/
|
|
81212
|
-
async search2(filter: LlmFilterDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LlmListDto>> {
|
|
81213
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.search2(filter, options);
|
|
81349
|
+
async search2(filter: LlmFilterDto, qAnswerApiKey?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LlmListDto>> {
|
|
81350
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.search2(filter, qAnswerApiKey, options);
|
|
81214
81351
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
81215
81352
|
const localVarOperationServerBasePath = operationServerMap['ToolLLMApi.search2']?.[localVarOperationServerIndex]?.url;
|
|
81216
81353
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -81219,11 +81356,12 @@ export const ToolLLMApiFp = function(configuration?: Configuration) {
|
|
|
81219
81356
|
*
|
|
81220
81357
|
* @summary Search over the LLM endpoints.
|
|
81221
81358
|
* @param {LlmFilterDto} filter
|
|
81359
|
+
* @param {string} [qAnswerApiKey]
|
|
81222
81360
|
* @param {*} [options] Override http request option.
|
|
81223
81361
|
* @throws {RequiredError}
|
|
81224
81362
|
*/
|
|
81225
|
-
async searchDetailed(filter: LlmFilterDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LlmListDetailedDto>> {
|
|
81226
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.searchDetailed(filter, options);
|
|
81363
|
+
async searchDetailed(filter: LlmFilterDto, qAnswerApiKey?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LlmListDetailedDto>> {
|
|
81364
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.searchDetailed(filter, qAnswerApiKey, options);
|
|
81227
81365
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
81228
81366
|
const localVarOperationServerBasePath = operationServerMap['ToolLLMApi.searchDetailed']?.[localVarOperationServerIndex]?.url;
|
|
81229
81367
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -81233,11 +81371,12 @@ export const ToolLLMApiFp = function(configuration?: Configuration) {
|
|
|
81233
81371
|
* @summary Sets the default LLM endpoint
|
|
81234
81372
|
* @param {number} llmId
|
|
81235
81373
|
* @param {number} [organizationId]
|
|
81374
|
+
* @param {string} [qAnswerApiKey]
|
|
81236
81375
|
* @param {*} [options] Override http request option.
|
|
81237
81376
|
* @throws {RequiredError}
|
|
81238
81377
|
*/
|
|
81239
|
-
async setDefaultLlmEndpoint(llmId: number, organizationId?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
81240
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.setDefaultLlmEndpoint(llmId, organizationId, options);
|
|
81378
|
+
async setDefaultLlmEndpoint(llmId: number, organizationId?: number, qAnswerApiKey?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
81379
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.setDefaultLlmEndpoint(llmId, organizationId, qAnswerApiKey, options);
|
|
81241
81380
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
81242
81381
|
const localVarOperationServerBasePath = operationServerMap['ToolLLMApi.setDefaultLlmEndpoint']?.[localVarOperationServerIndex]?.url;
|
|
81243
81382
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -81248,11 +81387,12 @@ export const ToolLLMApiFp = function(configuration?: Configuration) {
|
|
|
81248
81387
|
* @param {number} id
|
|
81249
81388
|
* @param {boolean} active
|
|
81250
81389
|
* @param {number} [organizationId]
|
|
81390
|
+
* @param {string} [qAnswerApiKey]
|
|
81251
81391
|
* @param {*} [options] Override http request option.
|
|
81252
81392
|
* @throws {RequiredError}
|
|
81253
81393
|
*/
|
|
81254
|
-
async setIsActive(id: number, active: boolean, organizationId?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
81255
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.setIsActive(id, active, organizationId, options);
|
|
81394
|
+
async setIsActive(id: number, active: boolean, organizationId?: number, qAnswerApiKey?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
81395
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.setIsActive(id, active, organizationId, qAnswerApiKey, options);
|
|
81256
81396
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
81257
81397
|
const localVarOperationServerBasePath = operationServerMap['ToolLLMApi.setIsActive']?.[localVarOperationServerIndex]?.url;
|
|
81258
81398
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -81262,11 +81402,12 @@ export const ToolLLMApiFp = function(configuration?: Configuration) {
|
|
|
81262
81402
|
* @summary Set the logo of an LLM endpoint by id
|
|
81263
81403
|
* @param {number} id
|
|
81264
81404
|
* @param {File} file
|
|
81405
|
+
* @param {string} [qAnswerApiKey]
|
|
81265
81406
|
* @param {*} [options] Override http request option.
|
|
81266
81407
|
* @throws {RequiredError}
|
|
81267
81408
|
*/
|
|
81268
|
-
async setLlmEndpointLogo(id: number, file: File, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
81269
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.setLlmEndpointLogo(id, file, options);
|
|
81409
|
+
async setLlmEndpointLogo(id: number, file: File, qAnswerApiKey?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
81410
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.setLlmEndpointLogo(id, file, qAnswerApiKey, options);
|
|
81270
81411
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
81271
81412
|
const localVarOperationServerBasePath = operationServerMap['ToolLLMApi.setLlmEndpointLogo']?.[localVarOperationServerIndex]?.url;
|
|
81272
81413
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -81275,11 +81416,12 @@ export const ToolLLMApiFp = function(configuration?: Configuration) {
|
|
|
81275
81416
|
*
|
|
81276
81417
|
* @summary Sets the system default LLM endpoint (used when resetting to defaults)
|
|
81277
81418
|
* @param {number} llmId
|
|
81419
|
+
* @param {string} [qAnswerApiKey]
|
|
81278
81420
|
* @param {*} [options] Override http request option.
|
|
81279
81421
|
* @throws {RequiredError}
|
|
81280
81422
|
*/
|
|
81281
|
-
async setSystemDefaultLlmEndpoint(llmId: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
81282
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.setSystemDefaultLlmEndpoint(llmId, options);
|
|
81423
|
+
async setSystemDefaultLlmEndpoint(llmId: number, qAnswerApiKey?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
81424
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.setSystemDefaultLlmEndpoint(llmId, qAnswerApiKey, options);
|
|
81283
81425
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
81284
81426
|
const localVarOperationServerBasePath = operationServerMap['ToolLLMApi.setSystemDefaultLlmEndpoint']?.[localVarOperationServerIndex]?.url;
|
|
81285
81427
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -81290,11 +81432,12 @@ export const ToolLLMApiFp = function(configuration?: Configuration) {
|
|
|
81290
81432
|
* @param {number} id
|
|
81291
81433
|
* @param {LlmUpdateDto} llmUpdateDto
|
|
81292
81434
|
* @param {number} [organizationId]
|
|
81435
|
+
* @param {string} [qAnswerApiKey]
|
|
81293
81436
|
* @param {*} [options] Override http request option.
|
|
81294
81437
|
* @throws {RequiredError}
|
|
81295
81438
|
*/
|
|
81296
|
-
async updateLlmEndpoint(id: number, llmUpdateDto: LlmUpdateDto, organizationId?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LlmDetailedDto>> {
|
|
81297
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.updateLlmEndpoint(id, llmUpdateDto, organizationId, options);
|
|
81439
|
+
async updateLlmEndpoint(id: number, llmUpdateDto: LlmUpdateDto, organizationId?: number, qAnswerApiKey?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LlmDetailedDto>> {
|
|
81440
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateLlmEndpoint(id, llmUpdateDto, organizationId, qAnswerApiKey, options);
|
|
81298
81441
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
81299
81442
|
const localVarOperationServerBasePath = operationServerMap['ToolLLMApi.updateLlmEndpoint']?.[localVarOperationServerIndex]?.url;
|
|
81300
81443
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -81303,11 +81446,12 @@ export const ToolLLMApiFp = function(configuration?: Configuration) {
|
|
|
81303
81446
|
*
|
|
81304
81447
|
* @summary Validate an LLM endpoint by id
|
|
81305
81448
|
* @param {number} id
|
|
81449
|
+
* @param {string} [qAnswerApiKey]
|
|
81306
81450
|
* @param {*} [options] Override http request option.
|
|
81307
81451
|
* @throws {RequiredError}
|
|
81308
81452
|
*/
|
|
81309
|
-
async validateLlmEndpointById(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LLMEndpointValidationResponse>> {
|
|
81310
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.validateLlmEndpointById(id, options);
|
|
81453
|
+
async validateLlmEndpointById(id: number, qAnswerApiKey?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LLMEndpointValidationResponse>> {
|
|
81454
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.validateLlmEndpointById(id, qAnswerApiKey, options);
|
|
81311
81455
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
81312
81456
|
const localVarOperationServerBasePath = operationServerMap['ToolLLMApi.validateLlmEndpointById']?.[localVarOperationServerIndex]?.url;
|
|
81313
81457
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -81331,7 +81475,7 @@ export const ToolLLMApiFactory = function (configuration?: Configuration, basePa
|
|
|
81331
81475
|
* @throws {RequiredError}
|
|
81332
81476
|
*/
|
|
81333
81477
|
createLlmEndpoint(requestParameters: ToolLLMApiCreateLlmEndpointRequest, options?: RawAxiosRequestConfig): AxiosPromise<LlmDetailedDto> {
|
|
81334
|
-
return localVarFp.createLlmEndpoint(requestParameters.llmCreateDto, requestParameters.organizationId, options).then((request) => request(axios, basePath));
|
|
81478
|
+
return localVarFp.createLlmEndpoint(requestParameters.llmCreateDto, requestParameters.organizationId, requestParameters.qAnswerApiKey, options).then((request) => request(axios, basePath));
|
|
81335
81479
|
},
|
|
81336
81480
|
/**
|
|
81337
81481
|
*
|
|
@@ -81341,7 +81485,7 @@ export const ToolLLMApiFactory = function (configuration?: Configuration, basePa
|
|
|
81341
81485
|
* @throws {RequiredError}
|
|
81342
81486
|
*/
|
|
81343
81487
|
deleteLlmEndpoint(requestParameters: ToolLLMApiDeleteLlmEndpointRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
81344
|
-
return localVarFp.deleteLlmEndpoint(requestParameters.id, requestParameters.organizationId, options).then((request) => request(axios, basePath));
|
|
81488
|
+
return localVarFp.deleteLlmEndpoint(requestParameters.id, requestParameters.organizationId, requestParameters.qAnswerApiKey, options).then((request) => request(axios, basePath));
|
|
81345
81489
|
},
|
|
81346
81490
|
/**
|
|
81347
81491
|
*
|
|
@@ -81351,7 +81495,7 @@ export const ToolLLMApiFactory = function (configuration?: Configuration, basePa
|
|
|
81351
81495
|
* @throws {RequiredError}
|
|
81352
81496
|
*/
|
|
81353
81497
|
downloadCosts(requestParameters: ToolLLMApiDownloadCostsRequest, options?: RawAxiosRequestConfig): AxiosPromise<File> {
|
|
81354
|
-
return localVarFp.downloadCosts(requestParameters.llmCostFilter, options).then((request) => request(axios, basePath));
|
|
81498
|
+
return localVarFp.downloadCosts(requestParameters.llmCostFilter, requestParameters.qAnswerApiKey, options).then((request) => request(axios, basePath));
|
|
81355
81499
|
},
|
|
81356
81500
|
/**
|
|
81357
81501
|
*
|
|
@@ -81361,7 +81505,7 @@ export const ToolLLMApiFactory = function (configuration?: Configuration, basePa
|
|
|
81361
81505
|
* @throws {RequiredError}
|
|
81362
81506
|
*/
|
|
81363
81507
|
exportLlmEndpoints(requestParameters: ToolLLMApiExportLlmEndpointsRequest = {}, options?: RawAxiosRequestConfig): AxiosPromise<string> {
|
|
81364
|
-
return localVarFp.exportLlmEndpoints(requestParameters.organizationId, options).then((request) => request(axios, basePath));
|
|
81508
|
+
return localVarFp.exportLlmEndpoints(requestParameters.organizationId, requestParameters.qAnswerApiKey, options).then((request) => request(axios, basePath));
|
|
81365
81509
|
},
|
|
81366
81510
|
/**
|
|
81367
81511
|
*
|
|
@@ -81371,7 +81515,7 @@ export const ToolLLMApiFactory = function (configuration?: Configuration, basePa
|
|
|
81371
81515
|
* @throws {RequiredError}
|
|
81372
81516
|
*/
|
|
81373
81517
|
getById(requestParameters: ToolLLMApiGetByIdRequest, options?: RawAxiosRequestConfig): AxiosPromise<LLMEndpoint> {
|
|
81374
|
-
return localVarFp.getById(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
81518
|
+
return localVarFp.getById(requestParameters.id, requestParameters.qAnswerApiKey, options).then((request) => request(axios, basePath));
|
|
81375
81519
|
},
|
|
81376
81520
|
/**
|
|
81377
81521
|
*
|
|
@@ -81381,7 +81525,7 @@ export const ToolLLMApiFactory = function (configuration?: Configuration, basePa
|
|
|
81381
81525
|
* @throws {RequiredError}
|
|
81382
81526
|
*/
|
|
81383
81527
|
getCosts(requestParameters: ToolLLMApiGetCostsRequest, options?: RawAxiosRequestConfig): AxiosPromise<LlmCostList> {
|
|
81384
|
-
return localVarFp.getCosts(requestParameters.llmCostFilter, options).then((request) => request(axios, basePath));
|
|
81528
|
+
return localVarFp.getCosts(requestParameters.llmCostFilter, requestParameters.qAnswerApiKey, options).then((request) => request(axios, basePath));
|
|
81385
81529
|
},
|
|
81386
81530
|
/**
|
|
81387
81531
|
*
|
|
@@ -81391,7 +81535,7 @@ export const ToolLLMApiFactory = function (configuration?: Configuration, basePa
|
|
|
81391
81535
|
* @throws {RequiredError}
|
|
81392
81536
|
*/
|
|
81393
81537
|
getDefaultLlmEndpoint(requestParameters: ToolLLMApiGetDefaultLlmEndpointRequest = {}, options?: RawAxiosRequestConfig): AxiosPromise<LlmDetailedDto> {
|
|
81394
|
-
return localVarFp.getDefaultLlmEndpoint(requestParameters.organizationId, options).then((request) => request(axios, basePath));
|
|
81538
|
+
return localVarFp.getDefaultLlmEndpoint(requestParameters.organizationId, requestParameters.qAnswerApiKey, options).then((request) => request(axios, basePath));
|
|
81395
81539
|
},
|
|
81396
81540
|
/**
|
|
81397
81541
|
*
|
|
@@ -81401,7 +81545,7 @@ export const ToolLLMApiFactory = function (configuration?: Configuration, basePa
|
|
|
81401
81545
|
* @throws {RequiredError}
|
|
81402
81546
|
*/
|
|
81403
81547
|
getIsActive(requestParameters: ToolLLMApiGetIsActiveRequest, options?: RawAxiosRequestConfig): AxiosPromise<boolean> {
|
|
81404
|
-
return localVarFp.getIsActive(requestParameters.id, requestParameters.organizationId, options).then((request) => request(axios, basePath));
|
|
81548
|
+
return localVarFp.getIsActive(requestParameters.id, requestParameters.organizationId, requestParameters.qAnswerApiKey, options).then((request) => request(axios, basePath));
|
|
81405
81549
|
},
|
|
81406
81550
|
/**
|
|
81407
81551
|
* Fetches the info of a specific LLM endpoint by its name.
|
|
@@ -81411,7 +81555,7 @@ export const ToolLLMApiFactory = function (configuration?: Configuration, basePa
|
|
|
81411
81555
|
* @throws {RequiredError}
|
|
81412
81556
|
*/
|
|
81413
81557
|
getLlmEndpointByName(requestParameters: ToolLLMApiGetLlmEndpointByNameRequest, options?: RawAxiosRequestConfig): AxiosPromise<LlmDto> {
|
|
81414
|
-
return localVarFp.getLlmEndpointByName(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
81558
|
+
return localVarFp.getLlmEndpointByName(requestParameters.name, requestParameters.qAnswerApiKey, options).then((request) => request(axios, basePath));
|
|
81415
81559
|
},
|
|
81416
81560
|
/**
|
|
81417
81561
|
*
|
|
@@ -81421,16 +81565,17 @@ export const ToolLLMApiFactory = function (configuration?: Configuration, basePa
|
|
|
81421
81565
|
* @throws {RequiredError}
|
|
81422
81566
|
*/
|
|
81423
81567
|
getLlmEndpointByName1(requestParameters: ToolLLMApiGetLlmEndpointByName1Request, options?: RawAxiosRequestConfig): AxiosPromise<LLMEndpoint> {
|
|
81424
|
-
return localVarFp.getLlmEndpointByName1(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
81568
|
+
return localVarFp.getLlmEndpointByName1(requestParameters.name, requestParameters.qAnswerApiKey, options).then((request) => request(axios, basePath));
|
|
81425
81569
|
},
|
|
81426
81570
|
/**
|
|
81427
81571
|
*
|
|
81428
81572
|
* @summary Get the default prompts for an LLM endpoint
|
|
81573
|
+
* @param {ToolLLMApiGetLlmEndpointDefaultPromptsRequest} requestParameters Request parameters.
|
|
81429
81574
|
* @param {*} [options] Override http request option.
|
|
81430
81575
|
* @throws {RequiredError}
|
|
81431
81576
|
*/
|
|
81432
|
-
getLlmEndpointDefaultPrompts(options?: RawAxiosRequestConfig): AxiosPromise<LLMEndpointDefaultPrompts> {
|
|
81433
|
-
return localVarFp.getLlmEndpointDefaultPrompts(options).then((request) => request(axios, basePath));
|
|
81577
|
+
getLlmEndpointDefaultPrompts(requestParameters: ToolLLMApiGetLlmEndpointDefaultPromptsRequest = {}, options?: RawAxiosRequestConfig): AxiosPromise<LLMEndpointDefaultPrompts> {
|
|
81578
|
+
return localVarFp.getLlmEndpointDefaultPrompts(requestParameters.qAnswerApiKey, options).then((request) => request(axios, basePath));
|
|
81434
81579
|
},
|
|
81435
81580
|
/**
|
|
81436
81581
|
*
|
|
@@ -81440,7 +81585,7 @@ export const ToolLLMApiFactory = function (configuration?: Configuration, basePa
|
|
|
81440
81585
|
* @throws {RequiredError}
|
|
81441
81586
|
*/
|
|
81442
81587
|
getLlmEndpointLogo(requestParameters: ToolLLMApiGetLlmEndpointLogoRequest, options?: RawAxiosRequestConfig): AxiosPromise<string> {
|
|
81443
|
-
return localVarFp.getLlmEndpointLogo(requestParameters.id, requestParameters.conversationId, options).then((request) => request(axios, basePath));
|
|
81588
|
+
return localVarFp.getLlmEndpointLogo(requestParameters.id, requestParameters.conversationId, requestParameters.qAnswerApiKey, options).then((request) => request(axios, basePath));
|
|
81444
81589
|
},
|
|
81445
81590
|
/**
|
|
81446
81591
|
*
|
|
@@ -81450,16 +81595,17 @@ export const ToolLLMApiFactory = function (configuration?: Configuration, basePa
|
|
|
81450
81595
|
* @throws {RequiredError}
|
|
81451
81596
|
*/
|
|
81452
81597
|
getSensitivityLevels(requestParameters: ToolLLMApiGetSensitivityLevelsRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<string>> {
|
|
81453
|
-
return localVarFp.getSensitivityLevels(requestParameters.filter, options).then((request) => request(axios, basePath));
|
|
81598
|
+
return localVarFp.getSensitivityLevels(requestParameters.filter, requestParameters.qAnswerApiKey, options).then((request) => request(axios, basePath));
|
|
81454
81599
|
},
|
|
81455
81600
|
/**
|
|
81456
81601
|
*
|
|
81457
81602
|
* @summary Retrieves the system default LLM endpoint (used when resetting to defaults)
|
|
81603
|
+
* @param {ToolLLMApiGetSystemDefaultLlmEndpointRequest} requestParameters Request parameters.
|
|
81458
81604
|
* @param {*} [options] Override http request option.
|
|
81459
81605
|
* @throws {RequiredError}
|
|
81460
81606
|
*/
|
|
81461
|
-
getSystemDefaultLlmEndpoint(options?: RawAxiosRequestConfig): AxiosPromise<LlmDetailedDto> {
|
|
81462
|
-
return localVarFp.getSystemDefaultLlmEndpoint(options).then((request) => request(axios, basePath));
|
|
81607
|
+
getSystemDefaultLlmEndpoint(requestParameters: ToolLLMApiGetSystemDefaultLlmEndpointRequest = {}, options?: RawAxiosRequestConfig): AxiosPromise<LlmDetailedDto> {
|
|
81608
|
+
return localVarFp.getSystemDefaultLlmEndpoint(requestParameters.qAnswerApiKey, options).then((request) => request(axios, basePath));
|
|
81463
81609
|
},
|
|
81464
81610
|
/**
|
|
81465
81611
|
*
|
|
@@ -81469,7 +81615,7 @@ export const ToolLLMApiFactory = function (configuration?: Configuration, basePa
|
|
|
81469
81615
|
* @throws {RequiredError}
|
|
81470
81616
|
*/
|
|
81471
81617
|
importLlmEndpoints(requestParameters: ToolLLMApiImportLlmEndpointsRequest, options?: RawAxiosRequestConfig): AxiosPromise<LLMEndpointImportResponse> {
|
|
81472
|
-
return localVarFp.importLlmEndpoints(requestParameters.file, requestParameters.organizationId, options).then((request) => request(axios, basePath));
|
|
81618
|
+
return localVarFp.importLlmEndpoints(requestParameters.file, requestParameters.organizationId, requestParameters.qAnswerApiKey, options).then((request) => request(axios, basePath));
|
|
81473
81619
|
},
|
|
81474
81620
|
/**
|
|
81475
81621
|
*
|
|
@@ -81479,7 +81625,7 @@ export const ToolLLMApiFactory = function (configuration?: Configuration, basePa
|
|
|
81479
81625
|
* @throws {RequiredError}
|
|
81480
81626
|
*/
|
|
81481
81627
|
resetLlmEndpointLogo(requestParameters: ToolLLMApiResetLlmEndpointLogoRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
81482
|
-
return localVarFp.resetLlmEndpointLogo(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
81628
|
+
return localVarFp.resetLlmEndpointLogo(requestParameters.id, requestParameters.qAnswerApiKey, options).then((request) => request(axios, basePath));
|
|
81483
81629
|
},
|
|
81484
81630
|
/**
|
|
81485
81631
|
*
|
|
@@ -81489,7 +81635,7 @@ export const ToolLLMApiFactory = function (configuration?: Configuration, basePa
|
|
|
81489
81635
|
* @throws {RequiredError}
|
|
81490
81636
|
*/
|
|
81491
81637
|
search2(requestParameters: ToolLLMApiSearch2Request, options?: RawAxiosRequestConfig): AxiosPromise<LlmListDto> {
|
|
81492
|
-
return localVarFp.search2(requestParameters.filter, options).then((request) => request(axios, basePath));
|
|
81638
|
+
return localVarFp.search2(requestParameters.filter, requestParameters.qAnswerApiKey, options).then((request) => request(axios, basePath));
|
|
81493
81639
|
},
|
|
81494
81640
|
/**
|
|
81495
81641
|
*
|
|
@@ -81499,7 +81645,7 @@ export const ToolLLMApiFactory = function (configuration?: Configuration, basePa
|
|
|
81499
81645
|
* @throws {RequiredError}
|
|
81500
81646
|
*/
|
|
81501
81647
|
searchDetailed(requestParameters: ToolLLMApiSearchDetailedRequest, options?: RawAxiosRequestConfig): AxiosPromise<LlmListDetailedDto> {
|
|
81502
|
-
return localVarFp.searchDetailed(requestParameters.filter, options).then((request) => request(axios, basePath));
|
|
81648
|
+
return localVarFp.searchDetailed(requestParameters.filter, requestParameters.qAnswerApiKey, options).then((request) => request(axios, basePath));
|
|
81503
81649
|
},
|
|
81504
81650
|
/**
|
|
81505
81651
|
*
|
|
@@ -81509,7 +81655,7 @@ export const ToolLLMApiFactory = function (configuration?: Configuration, basePa
|
|
|
81509
81655
|
* @throws {RequiredError}
|
|
81510
81656
|
*/
|
|
81511
81657
|
setDefaultLlmEndpoint(requestParameters: ToolLLMApiSetDefaultLlmEndpointRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
81512
|
-
return localVarFp.setDefaultLlmEndpoint(requestParameters.llmId, requestParameters.organizationId, options).then((request) => request(axios, basePath));
|
|
81658
|
+
return localVarFp.setDefaultLlmEndpoint(requestParameters.llmId, requestParameters.organizationId, requestParameters.qAnswerApiKey, options).then((request) => request(axios, basePath));
|
|
81513
81659
|
},
|
|
81514
81660
|
/**
|
|
81515
81661
|
*
|
|
@@ -81519,7 +81665,7 @@ export const ToolLLMApiFactory = function (configuration?: Configuration, basePa
|
|
|
81519
81665
|
* @throws {RequiredError}
|
|
81520
81666
|
*/
|
|
81521
81667
|
setIsActive(requestParameters: ToolLLMApiSetIsActiveRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
81522
|
-
return localVarFp.setIsActive(requestParameters.id, requestParameters.active, requestParameters.organizationId, options).then((request) => request(axios, basePath));
|
|
81668
|
+
return localVarFp.setIsActive(requestParameters.id, requestParameters.active, requestParameters.organizationId, requestParameters.qAnswerApiKey, options).then((request) => request(axios, basePath));
|
|
81523
81669
|
},
|
|
81524
81670
|
/**
|
|
81525
81671
|
*
|
|
@@ -81529,7 +81675,7 @@ export const ToolLLMApiFactory = function (configuration?: Configuration, basePa
|
|
|
81529
81675
|
* @throws {RequiredError}
|
|
81530
81676
|
*/
|
|
81531
81677
|
setLlmEndpointLogo(requestParameters: ToolLLMApiSetLlmEndpointLogoRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
81532
|
-
return localVarFp.setLlmEndpointLogo(requestParameters.id, requestParameters.file, options).then((request) => request(axios, basePath));
|
|
81678
|
+
return localVarFp.setLlmEndpointLogo(requestParameters.id, requestParameters.file, requestParameters.qAnswerApiKey, options).then((request) => request(axios, basePath));
|
|
81533
81679
|
},
|
|
81534
81680
|
/**
|
|
81535
81681
|
*
|
|
@@ -81539,7 +81685,7 @@ export const ToolLLMApiFactory = function (configuration?: Configuration, basePa
|
|
|
81539
81685
|
* @throws {RequiredError}
|
|
81540
81686
|
*/
|
|
81541
81687
|
setSystemDefaultLlmEndpoint(requestParameters: ToolLLMApiSetSystemDefaultLlmEndpointRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
81542
|
-
return localVarFp.setSystemDefaultLlmEndpoint(requestParameters.llmId, options).then((request) => request(axios, basePath));
|
|
81688
|
+
return localVarFp.setSystemDefaultLlmEndpoint(requestParameters.llmId, requestParameters.qAnswerApiKey, options).then((request) => request(axios, basePath));
|
|
81543
81689
|
},
|
|
81544
81690
|
/**
|
|
81545
81691
|
*
|
|
@@ -81549,7 +81695,7 @@ export const ToolLLMApiFactory = function (configuration?: Configuration, basePa
|
|
|
81549
81695
|
* @throws {RequiredError}
|
|
81550
81696
|
*/
|
|
81551
81697
|
updateLlmEndpoint(requestParameters: ToolLLMApiUpdateLlmEndpointRequest, options?: RawAxiosRequestConfig): AxiosPromise<LlmDetailedDto> {
|
|
81552
|
-
return localVarFp.updateLlmEndpoint(requestParameters.id, requestParameters.llmUpdateDto, requestParameters.organizationId, options).then((request) => request(axios, basePath));
|
|
81698
|
+
return localVarFp.updateLlmEndpoint(requestParameters.id, requestParameters.llmUpdateDto, requestParameters.organizationId, requestParameters.qAnswerApiKey, options).then((request) => request(axios, basePath));
|
|
81553
81699
|
},
|
|
81554
81700
|
/**
|
|
81555
81701
|
*
|
|
@@ -81559,7 +81705,7 @@ export const ToolLLMApiFactory = function (configuration?: Configuration, basePa
|
|
|
81559
81705
|
* @throws {RequiredError}
|
|
81560
81706
|
*/
|
|
81561
81707
|
validateLlmEndpointById(requestParameters: ToolLLMApiValidateLlmEndpointByIdRequest, options?: RawAxiosRequestConfig): AxiosPromise<LLMEndpointValidationResponse> {
|
|
81562
|
-
return localVarFp.validateLlmEndpointById(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
81708
|
+
return localVarFp.validateLlmEndpointById(requestParameters.id, requestParameters.qAnswerApiKey, options).then((request) => request(axios, basePath));
|
|
81563
81709
|
},
|
|
81564
81710
|
};
|
|
81565
81711
|
};
|
|
@@ -81583,6 +81729,13 @@ export interface ToolLLMApiCreateLlmEndpointRequest {
|
|
|
81583
81729
|
* @memberof ToolLLMApiCreateLlmEndpoint
|
|
81584
81730
|
*/
|
|
81585
81731
|
readonly organizationId?: number
|
|
81732
|
+
|
|
81733
|
+
/**
|
|
81734
|
+
*
|
|
81735
|
+
* @type {string}
|
|
81736
|
+
* @memberof ToolLLMApiCreateLlmEndpoint
|
|
81737
|
+
*/
|
|
81738
|
+
readonly qAnswerApiKey?: string
|
|
81586
81739
|
}
|
|
81587
81740
|
|
|
81588
81741
|
/**
|
|
@@ -81604,6 +81757,13 @@ export interface ToolLLMApiDeleteLlmEndpointRequest {
|
|
|
81604
81757
|
* @memberof ToolLLMApiDeleteLlmEndpoint
|
|
81605
81758
|
*/
|
|
81606
81759
|
readonly organizationId?: number
|
|
81760
|
+
|
|
81761
|
+
/**
|
|
81762
|
+
*
|
|
81763
|
+
* @type {string}
|
|
81764
|
+
* @memberof ToolLLMApiDeleteLlmEndpoint
|
|
81765
|
+
*/
|
|
81766
|
+
readonly qAnswerApiKey?: string
|
|
81607
81767
|
}
|
|
81608
81768
|
|
|
81609
81769
|
/**
|
|
@@ -81618,6 +81778,13 @@ export interface ToolLLMApiDownloadCostsRequest {
|
|
|
81618
81778
|
* @memberof ToolLLMApiDownloadCosts
|
|
81619
81779
|
*/
|
|
81620
81780
|
readonly llmCostFilter: LlmCostFilter
|
|
81781
|
+
|
|
81782
|
+
/**
|
|
81783
|
+
*
|
|
81784
|
+
* @type {string}
|
|
81785
|
+
* @memberof ToolLLMApiDownloadCosts
|
|
81786
|
+
*/
|
|
81787
|
+
readonly qAnswerApiKey?: string
|
|
81621
81788
|
}
|
|
81622
81789
|
|
|
81623
81790
|
/**
|
|
@@ -81632,6 +81799,13 @@ export interface ToolLLMApiExportLlmEndpointsRequest {
|
|
|
81632
81799
|
* @memberof ToolLLMApiExportLlmEndpoints
|
|
81633
81800
|
*/
|
|
81634
81801
|
readonly organizationId?: number
|
|
81802
|
+
|
|
81803
|
+
/**
|
|
81804
|
+
*
|
|
81805
|
+
* @type {string}
|
|
81806
|
+
* @memberof ToolLLMApiExportLlmEndpoints
|
|
81807
|
+
*/
|
|
81808
|
+
readonly qAnswerApiKey?: string
|
|
81635
81809
|
}
|
|
81636
81810
|
|
|
81637
81811
|
/**
|
|
@@ -81646,6 +81820,13 @@ export interface ToolLLMApiGetByIdRequest {
|
|
|
81646
81820
|
* @memberof ToolLLMApiGetById
|
|
81647
81821
|
*/
|
|
81648
81822
|
readonly id: number
|
|
81823
|
+
|
|
81824
|
+
/**
|
|
81825
|
+
*
|
|
81826
|
+
* @type {string}
|
|
81827
|
+
* @memberof ToolLLMApiGetById
|
|
81828
|
+
*/
|
|
81829
|
+
readonly qAnswerApiKey?: string
|
|
81649
81830
|
}
|
|
81650
81831
|
|
|
81651
81832
|
/**
|
|
@@ -81660,6 +81841,13 @@ export interface ToolLLMApiGetCostsRequest {
|
|
|
81660
81841
|
* @memberof ToolLLMApiGetCosts
|
|
81661
81842
|
*/
|
|
81662
81843
|
readonly llmCostFilter: LlmCostFilter
|
|
81844
|
+
|
|
81845
|
+
/**
|
|
81846
|
+
*
|
|
81847
|
+
* @type {string}
|
|
81848
|
+
* @memberof ToolLLMApiGetCosts
|
|
81849
|
+
*/
|
|
81850
|
+
readonly qAnswerApiKey?: string
|
|
81663
81851
|
}
|
|
81664
81852
|
|
|
81665
81853
|
/**
|
|
@@ -81674,6 +81862,13 @@ export interface ToolLLMApiGetDefaultLlmEndpointRequest {
|
|
|
81674
81862
|
* @memberof ToolLLMApiGetDefaultLlmEndpoint
|
|
81675
81863
|
*/
|
|
81676
81864
|
readonly organizationId?: number
|
|
81865
|
+
|
|
81866
|
+
/**
|
|
81867
|
+
*
|
|
81868
|
+
* @type {string}
|
|
81869
|
+
* @memberof ToolLLMApiGetDefaultLlmEndpoint
|
|
81870
|
+
*/
|
|
81871
|
+
readonly qAnswerApiKey?: string
|
|
81677
81872
|
}
|
|
81678
81873
|
|
|
81679
81874
|
/**
|
|
@@ -81695,6 +81890,13 @@ export interface ToolLLMApiGetIsActiveRequest {
|
|
|
81695
81890
|
* @memberof ToolLLMApiGetIsActive
|
|
81696
81891
|
*/
|
|
81697
81892
|
readonly organizationId?: number
|
|
81893
|
+
|
|
81894
|
+
/**
|
|
81895
|
+
*
|
|
81896
|
+
* @type {string}
|
|
81897
|
+
* @memberof ToolLLMApiGetIsActive
|
|
81898
|
+
*/
|
|
81899
|
+
readonly qAnswerApiKey?: string
|
|
81698
81900
|
}
|
|
81699
81901
|
|
|
81700
81902
|
/**
|
|
@@ -81709,6 +81911,13 @@ export interface ToolLLMApiGetLlmEndpointByNameRequest {
|
|
|
81709
81911
|
* @memberof ToolLLMApiGetLlmEndpointByName
|
|
81710
81912
|
*/
|
|
81711
81913
|
readonly name: string
|
|
81914
|
+
|
|
81915
|
+
/**
|
|
81916
|
+
*
|
|
81917
|
+
* @type {string}
|
|
81918
|
+
* @memberof ToolLLMApiGetLlmEndpointByName
|
|
81919
|
+
*/
|
|
81920
|
+
readonly qAnswerApiKey?: string
|
|
81712
81921
|
}
|
|
81713
81922
|
|
|
81714
81923
|
/**
|
|
@@ -81723,6 +81932,27 @@ export interface ToolLLMApiGetLlmEndpointByName1Request {
|
|
|
81723
81932
|
* @memberof ToolLLMApiGetLlmEndpointByName1
|
|
81724
81933
|
*/
|
|
81725
81934
|
readonly name: string
|
|
81935
|
+
|
|
81936
|
+
/**
|
|
81937
|
+
*
|
|
81938
|
+
* @type {string}
|
|
81939
|
+
* @memberof ToolLLMApiGetLlmEndpointByName1
|
|
81940
|
+
*/
|
|
81941
|
+
readonly qAnswerApiKey?: string
|
|
81942
|
+
}
|
|
81943
|
+
|
|
81944
|
+
/**
|
|
81945
|
+
* Request parameters for getLlmEndpointDefaultPrompts operation in ToolLLMApi.
|
|
81946
|
+
* @export
|
|
81947
|
+
* @interface ToolLLMApiGetLlmEndpointDefaultPromptsRequest
|
|
81948
|
+
*/
|
|
81949
|
+
export interface ToolLLMApiGetLlmEndpointDefaultPromptsRequest {
|
|
81950
|
+
/**
|
|
81951
|
+
*
|
|
81952
|
+
* @type {string}
|
|
81953
|
+
* @memberof ToolLLMApiGetLlmEndpointDefaultPrompts
|
|
81954
|
+
*/
|
|
81955
|
+
readonly qAnswerApiKey?: string
|
|
81726
81956
|
}
|
|
81727
81957
|
|
|
81728
81958
|
/**
|
|
@@ -81744,6 +81974,13 @@ export interface ToolLLMApiGetLlmEndpointLogoRequest {
|
|
|
81744
81974
|
* @memberof ToolLLMApiGetLlmEndpointLogo
|
|
81745
81975
|
*/
|
|
81746
81976
|
readonly conversationId?: string
|
|
81977
|
+
|
|
81978
|
+
/**
|
|
81979
|
+
*
|
|
81980
|
+
* @type {string}
|
|
81981
|
+
* @memberof ToolLLMApiGetLlmEndpointLogo
|
|
81982
|
+
*/
|
|
81983
|
+
readonly qAnswerApiKey?: string
|
|
81747
81984
|
}
|
|
81748
81985
|
|
|
81749
81986
|
/**
|
|
@@ -81758,6 +81995,27 @@ export interface ToolLLMApiGetSensitivityLevelsRequest {
|
|
|
81758
81995
|
* @memberof ToolLLMApiGetSensitivityLevels
|
|
81759
81996
|
*/
|
|
81760
81997
|
readonly filter: LlmFilterDto
|
|
81998
|
+
|
|
81999
|
+
/**
|
|
82000
|
+
*
|
|
82001
|
+
* @type {string}
|
|
82002
|
+
* @memberof ToolLLMApiGetSensitivityLevels
|
|
82003
|
+
*/
|
|
82004
|
+
readonly qAnswerApiKey?: string
|
|
82005
|
+
}
|
|
82006
|
+
|
|
82007
|
+
/**
|
|
82008
|
+
* Request parameters for getSystemDefaultLlmEndpoint operation in ToolLLMApi.
|
|
82009
|
+
* @export
|
|
82010
|
+
* @interface ToolLLMApiGetSystemDefaultLlmEndpointRequest
|
|
82011
|
+
*/
|
|
82012
|
+
export interface ToolLLMApiGetSystemDefaultLlmEndpointRequest {
|
|
82013
|
+
/**
|
|
82014
|
+
*
|
|
82015
|
+
* @type {string}
|
|
82016
|
+
* @memberof ToolLLMApiGetSystemDefaultLlmEndpoint
|
|
82017
|
+
*/
|
|
82018
|
+
readonly qAnswerApiKey?: string
|
|
81761
82019
|
}
|
|
81762
82020
|
|
|
81763
82021
|
/**
|
|
@@ -81779,6 +82037,13 @@ export interface ToolLLMApiImportLlmEndpointsRequest {
|
|
|
81779
82037
|
* @memberof ToolLLMApiImportLlmEndpoints
|
|
81780
82038
|
*/
|
|
81781
82039
|
readonly organizationId?: number
|
|
82040
|
+
|
|
82041
|
+
/**
|
|
82042
|
+
*
|
|
82043
|
+
* @type {string}
|
|
82044
|
+
* @memberof ToolLLMApiImportLlmEndpoints
|
|
82045
|
+
*/
|
|
82046
|
+
readonly qAnswerApiKey?: string
|
|
81782
82047
|
}
|
|
81783
82048
|
|
|
81784
82049
|
/**
|
|
@@ -81793,6 +82058,13 @@ export interface ToolLLMApiResetLlmEndpointLogoRequest {
|
|
|
81793
82058
|
* @memberof ToolLLMApiResetLlmEndpointLogo
|
|
81794
82059
|
*/
|
|
81795
82060
|
readonly id: number
|
|
82061
|
+
|
|
82062
|
+
/**
|
|
82063
|
+
*
|
|
82064
|
+
* @type {string}
|
|
82065
|
+
* @memberof ToolLLMApiResetLlmEndpointLogo
|
|
82066
|
+
*/
|
|
82067
|
+
readonly qAnswerApiKey?: string
|
|
81796
82068
|
}
|
|
81797
82069
|
|
|
81798
82070
|
/**
|
|
@@ -81807,6 +82079,13 @@ export interface ToolLLMApiSearch2Request {
|
|
|
81807
82079
|
* @memberof ToolLLMApiSearch2
|
|
81808
82080
|
*/
|
|
81809
82081
|
readonly filter: LlmFilterDto
|
|
82082
|
+
|
|
82083
|
+
/**
|
|
82084
|
+
*
|
|
82085
|
+
* @type {string}
|
|
82086
|
+
* @memberof ToolLLMApiSearch2
|
|
82087
|
+
*/
|
|
82088
|
+
readonly qAnswerApiKey?: string
|
|
81810
82089
|
}
|
|
81811
82090
|
|
|
81812
82091
|
/**
|
|
@@ -81821,6 +82100,13 @@ export interface ToolLLMApiSearchDetailedRequest {
|
|
|
81821
82100
|
* @memberof ToolLLMApiSearchDetailed
|
|
81822
82101
|
*/
|
|
81823
82102
|
readonly filter: LlmFilterDto
|
|
82103
|
+
|
|
82104
|
+
/**
|
|
82105
|
+
*
|
|
82106
|
+
* @type {string}
|
|
82107
|
+
* @memberof ToolLLMApiSearchDetailed
|
|
82108
|
+
*/
|
|
82109
|
+
readonly qAnswerApiKey?: string
|
|
81824
82110
|
}
|
|
81825
82111
|
|
|
81826
82112
|
/**
|
|
@@ -81842,6 +82128,13 @@ export interface ToolLLMApiSetDefaultLlmEndpointRequest {
|
|
|
81842
82128
|
* @memberof ToolLLMApiSetDefaultLlmEndpoint
|
|
81843
82129
|
*/
|
|
81844
82130
|
readonly organizationId?: number
|
|
82131
|
+
|
|
82132
|
+
/**
|
|
82133
|
+
*
|
|
82134
|
+
* @type {string}
|
|
82135
|
+
* @memberof ToolLLMApiSetDefaultLlmEndpoint
|
|
82136
|
+
*/
|
|
82137
|
+
readonly qAnswerApiKey?: string
|
|
81845
82138
|
}
|
|
81846
82139
|
|
|
81847
82140
|
/**
|
|
@@ -81870,6 +82163,13 @@ export interface ToolLLMApiSetIsActiveRequest {
|
|
|
81870
82163
|
* @memberof ToolLLMApiSetIsActive
|
|
81871
82164
|
*/
|
|
81872
82165
|
readonly organizationId?: number
|
|
82166
|
+
|
|
82167
|
+
/**
|
|
82168
|
+
*
|
|
82169
|
+
* @type {string}
|
|
82170
|
+
* @memberof ToolLLMApiSetIsActive
|
|
82171
|
+
*/
|
|
82172
|
+
readonly qAnswerApiKey?: string
|
|
81873
82173
|
}
|
|
81874
82174
|
|
|
81875
82175
|
/**
|
|
@@ -81891,6 +82191,13 @@ export interface ToolLLMApiSetLlmEndpointLogoRequest {
|
|
|
81891
82191
|
* @memberof ToolLLMApiSetLlmEndpointLogo
|
|
81892
82192
|
*/
|
|
81893
82193
|
readonly file: File
|
|
82194
|
+
|
|
82195
|
+
/**
|
|
82196
|
+
*
|
|
82197
|
+
* @type {string}
|
|
82198
|
+
* @memberof ToolLLMApiSetLlmEndpointLogo
|
|
82199
|
+
*/
|
|
82200
|
+
readonly qAnswerApiKey?: string
|
|
81894
82201
|
}
|
|
81895
82202
|
|
|
81896
82203
|
/**
|
|
@@ -81905,6 +82212,13 @@ export interface ToolLLMApiSetSystemDefaultLlmEndpointRequest {
|
|
|
81905
82212
|
* @memberof ToolLLMApiSetSystemDefaultLlmEndpoint
|
|
81906
82213
|
*/
|
|
81907
82214
|
readonly llmId: number
|
|
82215
|
+
|
|
82216
|
+
/**
|
|
82217
|
+
*
|
|
82218
|
+
* @type {string}
|
|
82219
|
+
* @memberof ToolLLMApiSetSystemDefaultLlmEndpoint
|
|
82220
|
+
*/
|
|
82221
|
+
readonly qAnswerApiKey?: string
|
|
81908
82222
|
}
|
|
81909
82223
|
|
|
81910
82224
|
/**
|
|
@@ -81933,6 +82247,13 @@ export interface ToolLLMApiUpdateLlmEndpointRequest {
|
|
|
81933
82247
|
* @memberof ToolLLMApiUpdateLlmEndpoint
|
|
81934
82248
|
*/
|
|
81935
82249
|
readonly organizationId?: number
|
|
82250
|
+
|
|
82251
|
+
/**
|
|
82252
|
+
*
|
|
82253
|
+
* @type {string}
|
|
82254
|
+
* @memberof ToolLLMApiUpdateLlmEndpoint
|
|
82255
|
+
*/
|
|
82256
|
+
readonly qAnswerApiKey?: string
|
|
81936
82257
|
}
|
|
81937
82258
|
|
|
81938
82259
|
/**
|
|
@@ -81947,6 +82268,13 @@ export interface ToolLLMApiValidateLlmEndpointByIdRequest {
|
|
|
81947
82268
|
* @memberof ToolLLMApiValidateLlmEndpointById
|
|
81948
82269
|
*/
|
|
81949
82270
|
readonly id: number
|
|
82271
|
+
|
|
82272
|
+
/**
|
|
82273
|
+
*
|
|
82274
|
+
* @type {string}
|
|
82275
|
+
* @memberof ToolLLMApiValidateLlmEndpointById
|
|
82276
|
+
*/
|
|
82277
|
+
readonly qAnswerApiKey?: string
|
|
81950
82278
|
}
|
|
81951
82279
|
|
|
81952
82280
|
/**
|
|
@@ -81966,7 +82294,7 @@ export class ToolLLMApi extends BaseAPI {
|
|
|
81966
82294
|
* @memberof ToolLLMApi
|
|
81967
82295
|
*/
|
|
81968
82296
|
public createLlmEndpoint(requestParameters: ToolLLMApiCreateLlmEndpointRequest, options?: RawAxiosRequestConfig) {
|
|
81969
|
-
return ToolLLMApiFp(this.configuration).createLlmEndpoint(requestParameters.llmCreateDto, requestParameters.organizationId, options).then((request) => request(this.axios, this.basePath));
|
|
82297
|
+
return ToolLLMApiFp(this.configuration).createLlmEndpoint(requestParameters.llmCreateDto, requestParameters.organizationId, requestParameters.qAnswerApiKey, options).then((request) => request(this.axios, this.basePath));
|
|
81970
82298
|
}
|
|
81971
82299
|
|
|
81972
82300
|
/**
|
|
@@ -81978,7 +82306,7 @@ export class ToolLLMApi extends BaseAPI {
|
|
|
81978
82306
|
* @memberof ToolLLMApi
|
|
81979
82307
|
*/
|
|
81980
82308
|
public deleteLlmEndpoint(requestParameters: ToolLLMApiDeleteLlmEndpointRequest, options?: RawAxiosRequestConfig) {
|
|
81981
|
-
return ToolLLMApiFp(this.configuration).deleteLlmEndpoint(requestParameters.id, requestParameters.organizationId, options).then((request) => request(this.axios, this.basePath));
|
|
82309
|
+
return ToolLLMApiFp(this.configuration).deleteLlmEndpoint(requestParameters.id, requestParameters.organizationId, requestParameters.qAnswerApiKey, options).then((request) => request(this.axios, this.basePath));
|
|
81982
82310
|
}
|
|
81983
82311
|
|
|
81984
82312
|
/**
|
|
@@ -81990,7 +82318,7 @@ export class ToolLLMApi extends BaseAPI {
|
|
|
81990
82318
|
* @memberof ToolLLMApi
|
|
81991
82319
|
*/
|
|
81992
82320
|
public downloadCosts(requestParameters: ToolLLMApiDownloadCostsRequest, options?: RawAxiosRequestConfig) {
|
|
81993
|
-
return ToolLLMApiFp(this.configuration).downloadCosts(requestParameters.llmCostFilter, options).then((request) => request(this.axios, this.basePath));
|
|
82321
|
+
return ToolLLMApiFp(this.configuration).downloadCosts(requestParameters.llmCostFilter, requestParameters.qAnswerApiKey, options).then((request) => request(this.axios, this.basePath));
|
|
81994
82322
|
}
|
|
81995
82323
|
|
|
81996
82324
|
/**
|
|
@@ -82002,7 +82330,7 @@ export class ToolLLMApi extends BaseAPI {
|
|
|
82002
82330
|
* @memberof ToolLLMApi
|
|
82003
82331
|
*/
|
|
82004
82332
|
public exportLlmEndpoints(requestParameters: ToolLLMApiExportLlmEndpointsRequest = {}, options?: RawAxiosRequestConfig) {
|
|
82005
|
-
return ToolLLMApiFp(this.configuration).exportLlmEndpoints(requestParameters.organizationId, options).then((request) => request(this.axios, this.basePath));
|
|
82333
|
+
return ToolLLMApiFp(this.configuration).exportLlmEndpoints(requestParameters.organizationId, requestParameters.qAnswerApiKey, options).then((request) => request(this.axios, this.basePath));
|
|
82006
82334
|
}
|
|
82007
82335
|
|
|
82008
82336
|
/**
|
|
@@ -82014,7 +82342,7 @@ export class ToolLLMApi extends BaseAPI {
|
|
|
82014
82342
|
* @memberof ToolLLMApi
|
|
82015
82343
|
*/
|
|
82016
82344
|
public getById(requestParameters: ToolLLMApiGetByIdRequest, options?: RawAxiosRequestConfig) {
|
|
82017
|
-
return ToolLLMApiFp(this.configuration).getById(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
82345
|
+
return ToolLLMApiFp(this.configuration).getById(requestParameters.id, requestParameters.qAnswerApiKey, options).then((request) => request(this.axios, this.basePath));
|
|
82018
82346
|
}
|
|
82019
82347
|
|
|
82020
82348
|
/**
|
|
@@ -82026,7 +82354,7 @@ export class ToolLLMApi extends BaseAPI {
|
|
|
82026
82354
|
* @memberof ToolLLMApi
|
|
82027
82355
|
*/
|
|
82028
82356
|
public getCosts(requestParameters: ToolLLMApiGetCostsRequest, options?: RawAxiosRequestConfig) {
|
|
82029
|
-
return ToolLLMApiFp(this.configuration).getCosts(requestParameters.llmCostFilter, options).then((request) => request(this.axios, this.basePath));
|
|
82357
|
+
return ToolLLMApiFp(this.configuration).getCosts(requestParameters.llmCostFilter, requestParameters.qAnswerApiKey, options).then((request) => request(this.axios, this.basePath));
|
|
82030
82358
|
}
|
|
82031
82359
|
|
|
82032
82360
|
/**
|
|
@@ -82038,7 +82366,7 @@ export class ToolLLMApi extends BaseAPI {
|
|
|
82038
82366
|
* @memberof ToolLLMApi
|
|
82039
82367
|
*/
|
|
82040
82368
|
public getDefaultLlmEndpoint(requestParameters: ToolLLMApiGetDefaultLlmEndpointRequest = {}, options?: RawAxiosRequestConfig) {
|
|
82041
|
-
return ToolLLMApiFp(this.configuration).getDefaultLlmEndpoint(requestParameters.organizationId, options).then((request) => request(this.axios, this.basePath));
|
|
82369
|
+
return ToolLLMApiFp(this.configuration).getDefaultLlmEndpoint(requestParameters.organizationId, requestParameters.qAnswerApiKey, options).then((request) => request(this.axios, this.basePath));
|
|
82042
82370
|
}
|
|
82043
82371
|
|
|
82044
82372
|
/**
|
|
@@ -82050,7 +82378,7 @@ export class ToolLLMApi extends BaseAPI {
|
|
|
82050
82378
|
* @memberof ToolLLMApi
|
|
82051
82379
|
*/
|
|
82052
82380
|
public getIsActive(requestParameters: ToolLLMApiGetIsActiveRequest, options?: RawAxiosRequestConfig) {
|
|
82053
|
-
return ToolLLMApiFp(this.configuration).getIsActive(requestParameters.id, requestParameters.organizationId, options).then((request) => request(this.axios, this.basePath));
|
|
82381
|
+
return ToolLLMApiFp(this.configuration).getIsActive(requestParameters.id, requestParameters.organizationId, requestParameters.qAnswerApiKey, options).then((request) => request(this.axios, this.basePath));
|
|
82054
82382
|
}
|
|
82055
82383
|
|
|
82056
82384
|
/**
|
|
@@ -82062,7 +82390,7 @@ export class ToolLLMApi extends BaseAPI {
|
|
|
82062
82390
|
* @memberof ToolLLMApi
|
|
82063
82391
|
*/
|
|
82064
82392
|
public getLlmEndpointByName(requestParameters: ToolLLMApiGetLlmEndpointByNameRequest, options?: RawAxiosRequestConfig) {
|
|
82065
|
-
return ToolLLMApiFp(this.configuration).getLlmEndpointByName(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
82393
|
+
return ToolLLMApiFp(this.configuration).getLlmEndpointByName(requestParameters.name, requestParameters.qAnswerApiKey, options).then((request) => request(this.axios, this.basePath));
|
|
82066
82394
|
}
|
|
82067
82395
|
|
|
82068
82396
|
/**
|
|
@@ -82074,18 +82402,19 @@ export class ToolLLMApi extends BaseAPI {
|
|
|
82074
82402
|
* @memberof ToolLLMApi
|
|
82075
82403
|
*/
|
|
82076
82404
|
public getLlmEndpointByName1(requestParameters: ToolLLMApiGetLlmEndpointByName1Request, options?: RawAxiosRequestConfig) {
|
|
82077
|
-
return ToolLLMApiFp(this.configuration).getLlmEndpointByName1(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
82405
|
+
return ToolLLMApiFp(this.configuration).getLlmEndpointByName1(requestParameters.name, requestParameters.qAnswerApiKey, options).then((request) => request(this.axios, this.basePath));
|
|
82078
82406
|
}
|
|
82079
82407
|
|
|
82080
82408
|
/**
|
|
82081
82409
|
*
|
|
82082
82410
|
* @summary Get the default prompts for an LLM endpoint
|
|
82411
|
+
* @param {ToolLLMApiGetLlmEndpointDefaultPromptsRequest} requestParameters Request parameters.
|
|
82083
82412
|
* @param {*} [options] Override http request option.
|
|
82084
82413
|
* @throws {RequiredError}
|
|
82085
82414
|
* @memberof ToolLLMApi
|
|
82086
82415
|
*/
|
|
82087
|
-
public getLlmEndpointDefaultPrompts(options?: RawAxiosRequestConfig) {
|
|
82088
|
-
return ToolLLMApiFp(this.configuration).getLlmEndpointDefaultPrompts(options).then((request) => request(this.axios, this.basePath));
|
|
82416
|
+
public getLlmEndpointDefaultPrompts(requestParameters: ToolLLMApiGetLlmEndpointDefaultPromptsRequest = {}, options?: RawAxiosRequestConfig) {
|
|
82417
|
+
return ToolLLMApiFp(this.configuration).getLlmEndpointDefaultPrompts(requestParameters.qAnswerApiKey, options).then((request) => request(this.axios, this.basePath));
|
|
82089
82418
|
}
|
|
82090
82419
|
|
|
82091
82420
|
/**
|
|
@@ -82097,7 +82426,7 @@ export class ToolLLMApi extends BaseAPI {
|
|
|
82097
82426
|
* @memberof ToolLLMApi
|
|
82098
82427
|
*/
|
|
82099
82428
|
public getLlmEndpointLogo(requestParameters: ToolLLMApiGetLlmEndpointLogoRequest, options?: RawAxiosRequestConfig) {
|
|
82100
|
-
return ToolLLMApiFp(this.configuration).getLlmEndpointLogo(requestParameters.id, requestParameters.conversationId, options).then((request) => request(this.axios, this.basePath));
|
|
82429
|
+
return ToolLLMApiFp(this.configuration).getLlmEndpointLogo(requestParameters.id, requestParameters.conversationId, requestParameters.qAnswerApiKey, options).then((request) => request(this.axios, this.basePath));
|
|
82101
82430
|
}
|
|
82102
82431
|
|
|
82103
82432
|
/**
|
|
@@ -82109,18 +82438,19 @@ export class ToolLLMApi extends BaseAPI {
|
|
|
82109
82438
|
* @memberof ToolLLMApi
|
|
82110
82439
|
*/
|
|
82111
82440
|
public getSensitivityLevels(requestParameters: ToolLLMApiGetSensitivityLevelsRequest, options?: RawAxiosRequestConfig) {
|
|
82112
|
-
return ToolLLMApiFp(this.configuration).getSensitivityLevels(requestParameters.filter, options).then((request) => request(this.axios, this.basePath));
|
|
82441
|
+
return ToolLLMApiFp(this.configuration).getSensitivityLevels(requestParameters.filter, requestParameters.qAnswerApiKey, options).then((request) => request(this.axios, this.basePath));
|
|
82113
82442
|
}
|
|
82114
82443
|
|
|
82115
82444
|
/**
|
|
82116
82445
|
*
|
|
82117
82446
|
* @summary Retrieves the system default LLM endpoint (used when resetting to defaults)
|
|
82447
|
+
* @param {ToolLLMApiGetSystemDefaultLlmEndpointRequest} requestParameters Request parameters.
|
|
82118
82448
|
* @param {*} [options] Override http request option.
|
|
82119
82449
|
* @throws {RequiredError}
|
|
82120
82450
|
* @memberof ToolLLMApi
|
|
82121
82451
|
*/
|
|
82122
|
-
public getSystemDefaultLlmEndpoint(options?: RawAxiosRequestConfig) {
|
|
82123
|
-
return ToolLLMApiFp(this.configuration).getSystemDefaultLlmEndpoint(options).then((request) => request(this.axios, this.basePath));
|
|
82452
|
+
public getSystemDefaultLlmEndpoint(requestParameters: ToolLLMApiGetSystemDefaultLlmEndpointRequest = {}, options?: RawAxiosRequestConfig) {
|
|
82453
|
+
return ToolLLMApiFp(this.configuration).getSystemDefaultLlmEndpoint(requestParameters.qAnswerApiKey, options).then((request) => request(this.axios, this.basePath));
|
|
82124
82454
|
}
|
|
82125
82455
|
|
|
82126
82456
|
/**
|
|
@@ -82132,7 +82462,7 @@ export class ToolLLMApi extends BaseAPI {
|
|
|
82132
82462
|
* @memberof ToolLLMApi
|
|
82133
82463
|
*/
|
|
82134
82464
|
public importLlmEndpoints(requestParameters: ToolLLMApiImportLlmEndpointsRequest, options?: RawAxiosRequestConfig) {
|
|
82135
|
-
return ToolLLMApiFp(this.configuration).importLlmEndpoints(requestParameters.file, requestParameters.organizationId, options).then((request) => request(this.axios, this.basePath));
|
|
82465
|
+
return ToolLLMApiFp(this.configuration).importLlmEndpoints(requestParameters.file, requestParameters.organizationId, requestParameters.qAnswerApiKey, options).then((request) => request(this.axios, this.basePath));
|
|
82136
82466
|
}
|
|
82137
82467
|
|
|
82138
82468
|
/**
|
|
@@ -82144,7 +82474,7 @@ export class ToolLLMApi extends BaseAPI {
|
|
|
82144
82474
|
* @memberof ToolLLMApi
|
|
82145
82475
|
*/
|
|
82146
82476
|
public resetLlmEndpointLogo(requestParameters: ToolLLMApiResetLlmEndpointLogoRequest, options?: RawAxiosRequestConfig) {
|
|
82147
|
-
return ToolLLMApiFp(this.configuration).resetLlmEndpointLogo(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
82477
|
+
return ToolLLMApiFp(this.configuration).resetLlmEndpointLogo(requestParameters.id, requestParameters.qAnswerApiKey, options).then((request) => request(this.axios, this.basePath));
|
|
82148
82478
|
}
|
|
82149
82479
|
|
|
82150
82480
|
/**
|
|
@@ -82156,7 +82486,7 @@ export class ToolLLMApi extends BaseAPI {
|
|
|
82156
82486
|
* @memberof ToolLLMApi
|
|
82157
82487
|
*/
|
|
82158
82488
|
public search2(requestParameters: ToolLLMApiSearch2Request, options?: RawAxiosRequestConfig) {
|
|
82159
|
-
return ToolLLMApiFp(this.configuration).search2(requestParameters.filter, options).then((request) => request(this.axios, this.basePath));
|
|
82489
|
+
return ToolLLMApiFp(this.configuration).search2(requestParameters.filter, requestParameters.qAnswerApiKey, options).then((request) => request(this.axios, this.basePath));
|
|
82160
82490
|
}
|
|
82161
82491
|
|
|
82162
82492
|
/**
|
|
@@ -82168,7 +82498,7 @@ export class ToolLLMApi extends BaseAPI {
|
|
|
82168
82498
|
* @memberof ToolLLMApi
|
|
82169
82499
|
*/
|
|
82170
82500
|
public searchDetailed(requestParameters: ToolLLMApiSearchDetailedRequest, options?: RawAxiosRequestConfig) {
|
|
82171
|
-
return ToolLLMApiFp(this.configuration).searchDetailed(requestParameters.filter, options).then((request) => request(this.axios, this.basePath));
|
|
82501
|
+
return ToolLLMApiFp(this.configuration).searchDetailed(requestParameters.filter, requestParameters.qAnswerApiKey, options).then((request) => request(this.axios, this.basePath));
|
|
82172
82502
|
}
|
|
82173
82503
|
|
|
82174
82504
|
/**
|
|
@@ -82180,7 +82510,7 @@ export class ToolLLMApi extends BaseAPI {
|
|
|
82180
82510
|
* @memberof ToolLLMApi
|
|
82181
82511
|
*/
|
|
82182
82512
|
public setDefaultLlmEndpoint(requestParameters: ToolLLMApiSetDefaultLlmEndpointRequest, options?: RawAxiosRequestConfig) {
|
|
82183
|
-
return ToolLLMApiFp(this.configuration).setDefaultLlmEndpoint(requestParameters.llmId, requestParameters.organizationId, options).then((request) => request(this.axios, this.basePath));
|
|
82513
|
+
return ToolLLMApiFp(this.configuration).setDefaultLlmEndpoint(requestParameters.llmId, requestParameters.organizationId, requestParameters.qAnswerApiKey, options).then((request) => request(this.axios, this.basePath));
|
|
82184
82514
|
}
|
|
82185
82515
|
|
|
82186
82516
|
/**
|
|
@@ -82192,7 +82522,7 @@ export class ToolLLMApi extends BaseAPI {
|
|
|
82192
82522
|
* @memberof ToolLLMApi
|
|
82193
82523
|
*/
|
|
82194
82524
|
public setIsActive(requestParameters: ToolLLMApiSetIsActiveRequest, options?: RawAxiosRequestConfig) {
|
|
82195
|
-
return ToolLLMApiFp(this.configuration).setIsActive(requestParameters.id, requestParameters.active, requestParameters.organizationId, options).then((request) => request(this.axios, this.basePath));
|
|
82525
|
+
return ToolLLMApiFp(this.configuration).setIsActive(requestParameters.id, requestParameters.active, requestParameters.organizationId, requestParameters.qAnswerApiKey, options).then((request) => request(this.axios, this.basePath));
|
|
82196
82526
|
}
|
|
82197
82527
|
|
|
82198
82528
|
/**
|
|
@@ -82204,7 +82534,7 @@ export class ToolLLMApi extends BaseAPI {
|
|
|
82204
82534
|
* @memberof ToolLLMApi
|
|
82205
82535
|
*/
|
|
82206
82536
|
public setLlmEndpointLogo(requestParameters: ToolLLMApiSetLlmEndpointLogoRequest, options?: RawAxiosRequestConfig) {
|
|
82207
|
-
return ToolLLMApiFp(this.configuration).setLlmEndpointLogo(requestParameters.id, requestParameters.file, options).then((request) => request(this.axios, this.basePath));
|
|
82537
|
+
return ToolLLMApiFp(this.configuration).setLlmEndpointLogo(requestParameters.id, requestParameters.file, requestParameters.qAnswerApiKey, options).then((request) => request(this.axios, this.basePath));
|
|
82208
82538
|
}
|
|
82209
82539
|
|
|
82210
82540
|
/**
|
|
@@ -82216,7 +82546,7 @@ export class ToolLLMApi extends BaseAPI {
|
|
|
82216
82546
|
* @memberof ToolLLMApi
|
|
82217
82547
|
*/
|
|
82218
82548
|
public setSystemDefaultLlmEndpoint(requestParameters: ToolLLMApiSetSystemDefaultLlmEndpointRequest, options?: RawAxiosRequestConfig) {
|
|
82219
|
-
return ToolLLMApiFp(this.configuration).setSystemDefaultLlmEndpoint(requestParameters.llmId, options).then((request) => request(this.axios, this.basePath));
|
|
82549
|
+
return ToolLLMApiFp(this.configuration).setSystemDefaultLlmEndpoint(requestParameters.llmId, requestParameters.qAnswerApiKey, options).then((request) => request(this.axios, this.basePath));
|
|
82220
82550
|
}
|
|
82221
82551
|
|
|
82222
82552
|
/**
|
|
@@ -82228,7 +82558,7 @@ export class ToolLLMApi extends BaseAPI {
|
|
|
82228
82558
|
* @memberof ToolLLMApi
|
|
82229
82559
|
*/
|
|
82230
82560
|
public updateLlmEndpoint(requestParameters: ToolLLMApiUpdateLlmEndpointRequest, options?: RawAxiosRequestConfig) {
|
|
82231
|
-
return ToolLLMApiFp(this.configuration).updateLlmEndpoint(requestParameters.id, requestParameters.llmUpdateDto, requestParameters.organizationId, options).then((request) => request(this.axios, this.basePath));
|
|
82561
|
+
return ToolLLMApiFp(this.configuration).updateLlmEndpoint(requestParameters.id, requestParameters.llmUpdateDto, requestParameters.organizationId, requestParameters.qAnswerApiKey, options).then((request) => request(this.axios, this.basePath));
|
|
82232
82562
|
}
|
|
82233
82563
|
|
|
82234
82564
|
/**
|
|
@@ -82240,7 +82570,7 @@ export class ToolLLMApi extends BaseAPI {
|
|
|
82240
82570
|
* @memberof ToolLLMApi
|
|
82241
82571
|
*/
|
|
82242
82572
|
public validateLlmEndpointById(requestParameters: ToolLLMApiValidateLlmEndpointByIdRequest, options?: RawAxiosRequestConfig) {
|
|
82243
|
-
return ToolLLMApiFp(this.configuration).validateLlmEndpointById(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
82573
|
+
return ToolLLMApiFp(this.configuration).validateLlmEndpointById(requestParameters.id, requestParameters.qAnswerApiKey, options).then((request) => request(this.axios, this.basePath));
|
|
82244
82574
|
}
|
|
82245
82575
|
}
|
|
82246
82576
|
|