qanswer-sdk 3.2017.0-main → 3.2020.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 +454 -124
- package/dist/api.d.ts +262 -52
- package/dist/api.js +324 -196
- package/package.json +1 -1
- package/qanswer-sdk-3.2020.0-main.tgz +0 -0
- package/qanswer-sdk-3.2017.0-main.tgz +0 -0
package/dist/api.d.ts
CHANGED
|
@@ -52831,202 +52831,226 @@ export declare const ToolLLMApiAxiosParamCreator: (configuration?: Configuration
|
|
|
52831
52831
|
* @summary Create a new LLM endpoint
|
|
52832
52832
|
* @param {LlmCreateDto} llmCreateDto
|
|
52833
52833
|
* @param {number} [organizationId]
|
|
52834
|
+
* @param {string} [qAnswerApiKey]
|
|
52834
52835
|
* @param {*} [options] Override http request option.
|
|
52835
52836
|
* @throws {RequiredError}
|
|
52836
52837
|
*/
|
|
52837
|
-
createLlmEndpoint: (llmCreateDto: LlmCreateDto, organizationId?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
52838
|
+
createLlmEndpoint: (llmCreateDto: LlmCreateDto, organizationId?: number, qAnswerApiKey?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
52838
52839
|
/**
|
|
52839
52840
|
*
|
|
52840
52841
|
* @summary Delete an LLM endpoint
|
|
52841
52842
|
* @param {number} id
|
|
52842
52843
|
* @param {number} [organizationId]
|
|
52844
|
+
* @param {string} [qAnswerApiKey]
|
|
52843
52845
|
* @param {*} [options] Override http request option.
|
|
52844
52846
|
* @throws {RequiredError}
|
|
52845
52847
|
*/
|
|
52846
|
-
deleteLlmEndpoint: (id: number, organizationId?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
52848
|
+
deleteLlmEndpoint: (id: number, organizationId?: number, qAnswerApiKey?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
52847
52849
|
/**
|
|
52848
52850
|
*
|
|
52849
52851
|
* @summary Download LLM consumption costs
|
|
52850
52852
|
* @param {LlmCostFilter} llmCostFilter
|
|
52853
|
+
* @param {string} [qAnswerApiKey]
|
|
52851
52854
|
* @param {*} [options] Override http request option.
|
|
52852
52855
|
* @throws {RequiredError}
|
|
52853
52856
|
*/
|
|
52854
|
-
downloadCosts: (llmCostFilter: LlmCostFilter, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
52857
|
+
downloadCosts: (llmCostFilter: LlmCostFilter, qAnswerApiKey?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
52855
52858
|
/**
|
|
52856
52859
|
*
|
|
52857
52860
|
* @summary Export LLM endpoints as a ZIP file
|
|
52858
52861
|
* @param {number} [organizationId]
|
|
52862
|
+
* @param {string} [qAnswerApiKey]
|
|
52859
52863
|
* @param {*} [options] Override http request option.
|
|
52860
52864
|
* @throws {RequiredError}
|
|
52861
52865
|
*/
|
|
52862
|
-
exportLlmEndpoints: (organizationId?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
52866
|
+
exportLlmEndpoints: (organizationId?: number, qAnswerApiKey?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
52863
52867
|
/**
|
|
52864
52868
|
*
|
|
52865
52869
|
* @summary Get an LLM endpoint by id
|
|
52866
52870
|
* @param {number} id
|
|
52871
|
+
* @param {string} [qAnswerApiKey]
|
|
52867
52872
|
* @param {*} [options] Override http request option.
|
|
52868
52873
|
* @throws {RequiredError}
|
|
52869
52874
|
*/
|
|
52870
|
-
getById: (id: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
52875
|
+
getById: (id: number, qAnswerApiKey?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
52871
52876
|
/**
|
|
52872
52877
|
*
|
|
52873
52878
|
* @summary API to get analytics of LLM consumption costs
|
|
52874
52879
|
* @param {LlmCostFilter} llmCostFilter
|
|
52880
|
+
* @param {string} [qAnswerApiKey]
|
|
52875
52881
|
* @param {*} [options] Override http request option.
|
|
52876
52882
|
* @throws {RequiredError}
|
|
52877
52883
|
*/
|
|
52878
|
-
getCosts: (llmCostFilter: LlmCostFilter, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
52884
|
+
getCosts: (llmCostFilter: LlmCostFilter, qAnswerApiKey?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
52879
52885
|
/**
|
|
52880
52886
|
*
|
|
52881
52887
|
* @summary Retrieves the default LLM endpoint
|
|
52882
52888
|
* @param {number} [organizationId]
|
|
52889
|
+
* @param {string} [qAnswerApiKey]
|
|
52883
52890
|
* @param {*} [options] Override http request option.
|
|
52884
52891
|
* @throws {RequiredError}
|
|
52885
52892
|
*/
|
|
52886
|
-
getDefaultLlmEndpoint: (organizationId?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
52893
|
+
getDefaultLlmEndpoint: (organizationId?: number, qAnswerApiKey?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
52887
52894
|
/**
|
|
52888
52895
|
*
|
|
52889
52896
|
* @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.
|
|
52890
52897
|
* @param {number} id
|
|
52891
52898
|
* @param {number} [organizationId]
|
|
52899
|
+
* @param {string} [qAnswerApiKey]
|
|
52892
52900
|
* @param {*} [options] Override http request option.
|
|
52893
52901
|
* @throws {RequiredError}
|
|
52894
52902
|
*/
|
|
52895
|
-
getIsActive: (id: number, organizationId?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
52903
|
+
getIsActive: (id: number, organizationId?: number, qAnswerApiKey?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
52896
52904
|
/**
|
|
52897
52905
|
* Fetches the info of a specific LLM endpoint by its name.
|
|
52898
52906
|
* @summary Get LLM info by name
|
|
52899
52907
|
* @param {string} name
|
|
52908
|
+
* @param {string} [qAnswerApiKey]
|
|
52900
52909
|
* @param {*} [options] Override http request option.
|
|
52901
52910
|
* @throws {RequiredError}
|
|
52902
52911
|
*/
|
|
52903
|
-
getLlmEndpointByName: (name: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
52912
|
+
getLlmEndpointByName: (name: string, qAnswerApiKey?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
52904
52913
|
/**
|
|
52905
52914
|
*
|
|
52906
52915
|
* @summary Get an LLM endpoint by name
|
|
52907
52916
|
* @param {string} name
|
|
52917
|
+
* @param {string} [qAnswerApiKey]
|
|
52908
52918
|
* @param {*} [options] Override http request option.
|
|
52909
52919
|
* @throws {RequiredError}
|
|
52910
52920
|
*/
|
|
52911
|
-
getLlmEndpointByName1: (name: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
52921
|
+
getLlmEndpointByName1: (name: string, qAnswerApiKey?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
52912
52922
|
/**
|
|
52913
52923
|
*
|
|
52914
52924
|
* @summary Get the default prompts for an LLM endpoint
|
|
52925
|
+
* @param {string} [qAnswerApiKey]
|
|
52915
52926
|
* @param {*} [options] Override http request option.
|
|
52916
52927
|
* @throws {RequiredError}
|
|
52917
52928
|
*/
|
|
52918
|
-
getLlmEndpointDefaultPrompts: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
52929
|
+
getLlmEndpointDefaultPrompts: (qAnswerApiKey?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
52919
52930
|
/**
|
|
52920
52931
|
*
|
|
52921
52932
|
* @summary Get the logo of an LLM endpoint by id
|
|
52922
52933
|
* @param {number} id
|
|
52923
52934
|
* @param {string} [conversationId]
|
|
52935
|
+
* @param {string} [qAnswerApiKey]
|
|
52924
52936
|
* @param {*} [options] Override http request option.
|
|
52925
52937
|
* @throws {RequiredError}
|
|
52926
52938
|
*/
|
|
52927
|
-
getLlmEndpointLogo: (id: number, conversationId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
52939
|
+
getLlmEndpointLogo: (id: number, conversationId?: string, qAnswerApiKey?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
52928
52940
|
/**
|
|
52929
52941
|
*
|
|
52930
52942
|
* @summary Get all sensitivity levels of LLM endpoints.
|
|
52931
52943
|
* @param {LlmFilterDto} filter
|
|
52944
|
+
* @param {string} [qAnswerApiKey]
|
|
52932
52945
|
* @param {*} [options] Override http request option.
|
|
52933
52946
|
* @throws {RequiredError}
|
|
52934
52947
|
*/
|
|
52935
|
-
getSensitivityLevels: (filter: LlmFilterDto, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
52948
|
+
getSensitivityLevels: (filter: LlmFilterDto, qAnswerApiKey?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
52936
52949
|
/**
|
|
52937
52950
|
*
|
|
52938
52951
|
* @summary Retrieves the system default LLM endpoint (used when resetting to defaults)
|
|
52952
|
+
* @param {string} [qAnswerApiKey]
|
|
52939
52953
|
* @param {*} [options] Override http request option.
|
|
52940
52954
|
* @throws {RequiredError}
|
|
52941
52955
|
*/
|
|
52942
|
-
getSystemDefaultLlmEndpoint: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
52956
|
+
getSystemDefaultLlmEndpoint: (qAnswerApiKey?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
52943
52957
|
/**
|
|
52944
52958
|
*
|
|
52945
52959
|
* @summary Import LLM endpoints from a file
|
|
52946
52960
|
* @param {File} file
|
|
52947
52961
|
* @param {number} [organizationId]
|
|
52962
|
+
* @param {string} [qAnswerApiKey]
|
|
52948
52963
|
* @param {*} [options] Override http request option.
|
|
52949
52964
|
* @throws {RequiredError}
|
|
52950
52965
|
*/
|
|
52951
|
-
importLlmEndpoints: (file: File, organizationId?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
52966
|
+
importLlmEndpoints: (file: File, organizationId?: number, qAnswerApiKey?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
52952
52967
|
/**
|
|
52953
52968
|
*
|
|
52954
52969
|
* @summary Reset the logo of an LLM endpoint by id
|
|
52955
52970
|
* @param {number} id
|
|
52971
|
+
* @param {string} [qAnswerApiKey]
|
|
52956
52972
|
* @param {*} [options] Override http request option.
|
|
52957
52973
|
* @throws {RequiredError}
|
|
52958
52974
|
*/
|
|
52959
|
-
resetLlmEndpointLogo: (id: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
52975
|
+
resetLlmEndpointLogo: (id: number, qAnswerApiKey?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
52960
52976
|
/**
|
|
52961
52977
|
*
|
|
52962
52978
|
* @summary Search over all LLM endpoints.
|
|
52963
52979
|
* @param {LlmFilterDto} filter
|
|
52980
|
+
* @param {string} [qAnswerApiKey]
|
|
52964
52981
|
* @param {*} [options] Override http request option.
|
|
52965
52982
|
* @throws {RequiredError}
|
|
52966
52983
|
*/
|
|
52967
|
-
search2: (filter: LlmFilterDto, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
52984
|
+
search2: (filter: LlmFilterDto, qAnswerApiKey?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
52968
52985
|
/**
|
|
52969
52986
|
*
|
|
52970
52987
|
* @summary Search over the LLM endpoints.
|
|
52971
52988
|
* @param {LlmFilterDto} filter
|
|
52989
|
+
* @param {string} [qAnswerApiKey]
|
|
52972
52990
|
* @param {*} [options] Override http request option.
|
|
52973
52991
|
* @throws {RequiredError}
|
|
52974
52992
|
*/
|
|
52975
|
-
searchDetailed: (filter: LlmFilterDto, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
52993
|
+
searchDetailed: (filter: LlmFilterDto, qAnswerApiKey?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
52976
52994
|
/**
|
|
52977
52995
|
*
|
|
52978
52996
|
* @summary Sets the default LLM endpoint
|
|
52979
52997
|
* @param {number} llmId
|
|
52980
52998
|
* @param {number} [organizationId]
|
|
52999
|
+
* @param {string} [qAnswerApiKey]
|
|
52981
53000
|
* @param {*} [options] Override http request option.
|
|
52982
53001
|
* @throws {RequiredError}
|
|
52983
53002
|
*/
|
|
52984
|
-
setDefaultLlmEndpoint: (llmId: number, organizationId?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
53003
|
+
setDefaultLlmEndpoint: (llmId: number, organizationId?: number, qAnswerApiKey?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
52985
53004
|
/**
|
|
52986
53005
|
*
|
|
52987
53006
|
* @summary Sets if the LLM endpoint is active. If the organization ID is provided, it sets if the endpoint is active for that organization otherwise for the whole application.
|
|
52988
53007
|
* @param {number} id
|
|
52989
53008
|
* @param {boolean} active
|
|
52990
53009
|
* @param {number} [organizationId]
|
|
53010
|
+
* @param {string} [qAnswerApiKey]
|
|
52991
53011
|
* @param {*} [options] Override http request option.
|
|
52992
53012
|
* @throws {RequiredError}
|
|
52993
53013
|
*/
|
|
52994
|
-
setIsActive: (id: number, active: boolean, organizationId?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
53014
|
+
setIsActive: (id: number, active: boolean, organizationId?: number, qAnswerApiKey?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
52995
53015
|
/**
|
|
52996
53016
|
*
|
|
52997
53017
|
* @summary Set the logo of an LLM endpoint by id
|
|
52998
53018
|
* @param {number} id
|
|
52999
53019
|
* @param {File} file
|
|
53020
|
+
* @param {string} [qAnswerApiKey]
|
|
53000
53021
|
* @param {*} [options] Override http request option.
|
|
53001
53022
|
* @throws {RequiredError}
|
|
53002
53023
|
*/
|
|
53003
|
-
setLlmEndpointLogo: (id: number, file: File, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
53024
|
+
setLlmEndpointLogo: (id: number, file: File, qAnswerApiKey?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
53004
53025
|
/**
|
|
53005
53026
|
*
|
|
53006
53027
|
* @summary Sets the system default LLM endpoint (used when resetting to defaults)
|
|
53007
53028
|
* @param {number} llmId
|
|
53029
|
+
* @param {string} [qAnswerApiKey]
|
|
53008
53030
|
* @param {*} [options] Override http request option.
|
|
53009
53031
|
* @throws {RequiredError}
|
|
53010
53032
|
*/
|
|
53011
|
-
setSystemDefaultLlmEndpoint: (llmId: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
53033
|
+
setSystemDefaultLlmEndpoint: (llmId: number, qAnswerApiKey?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
53012
53034
|
/**
|
|
53013
53035
|
*
|
|
53014
53036
|
* @summary Update an LLM endpoint
|
|
53015
53037
|
* @param {number} id
|
|
53016
53038
|
* @param {LlmUpdateDto} llmUpdateDto
|
|
53017
53039
|
* @param {number} [organizationId]
|
|
53040
|
+
* @param {string} [qAnswerApiKey]
|
|
53018
53041
|
* @param {*} [options] Override http request option.
|
|
53019
53042
|
* @throws {RequiredError}
|
|
53020
53043
|
*/
|
|
53021
|
-
updateLlmEndpoint: (id: number, llmUpdateDto: LlmUpdateDto, organizationId?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
53044
|
+
updateLlmEndpoint: (id: number, llmUpdateDto: LlmUpdateDto, organizationId?: number, qAnswerApiKey?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
53022
53045
|
/**
|
|
53023
53046
|
*
|
|
53024
53047
|
* @summary Validate an LLM endpoint by id
|
|
53025
53048
|
* @param {number} id
|
|
53049
|
+
* @param {string} [qAnswerApiKey]
|
|
53026
53050
|
* @param {*} [options] Override http request option.
|
|
53027
53051
|
* @throws {RequiredError}
|
|
53028
53052
|
*/
|
|
53029
|
-
validateLlmEndpointById: (id: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
53053
|
+
validateLlmEndpointById: (id: number, qAnswerApiKey?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
53030
53054
|
};
|
|
53031
53055
|
/**
|
|
53032
53056
|
* ToolLLMApi - functional programming interface
|
|
@@ -53039,202 +53063,226 @@ export declare const ToolLLMApiFp: (configuration?: Configuration) => {
|
|
|
53039
53063
|
* @summary Create a new LLM endpoint
|
|
53040
53064
|
* @param {LlmCreateDto} llmCreateDto
|
|
53041
53065
|
* @param {number} [organizationId]
|
|
53066
|
+
* @param {string} [qAnswerApiKey]
|
|
53042
53067
|
* @param {*} [options] Override http request option.
|
|
53043
53068
|
* @throws {RequiredError}
|
|
53044
53069
|
*/
|
|
53045
|
-
createLlmEndpoint(llmCreateDto: LlmCreateDto, organizationId?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LlmDetailedDto>>;
|
|
53070
|
+
createLlmEndpoint(llmCreateDto: LlmCreateDto, organizationId?: number, qAnswerApiKey?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LlmDetailedDto>>;
|
|
53046
53071
|
/**
|
|
53047
53072
|
*
|
|
53048
53073
|
* @summary Delete an LLM endpoint
|
|
53049
53074
|
* @param {number} id
|
|
53050
53075
|
* @param {number} [organizationId]
|
|
53076
|
+
* @param {string} [qAnswerApiKey]
|
|
53051
53077
|
* @param {*} [options] Override http request option.
|
|
53052
53078
|
* @throws {RequiredError}
|
|
53053
53079
|
*/
|
|
53054
|
-
deleteLlmEndpoint(id: number, organizationId?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
53080
|
+
deleteLlmEndpoint(id: number, organizationId?: number, qAnswerApiKey?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
53055
53081
|
/**
|
|
53056
53082
|
*
|
|
53057
53083
|
* @summary Download LLM consumption costs
|
|
53058
53084
|
* @param {LlmCostFilter} llmCostFilter
|
|
53085
|
+
* @param {string} [qAnswerApiKey]
|
|
53059
53086
|
* @param {*} [options] Override http request option.
|
|
53060
53087
|
* @throws {RequiredError}
|
|
53061
53088
|
*/
|
|
53062
|
-
downloadCosts(llmCostFilter: LlmCostFilter, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>>;
|
|
53089
|
+
downloadCosts(llmCostFilter: LlmCostFilter, qAnswerApiKey?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>>;
|
|
53063
53090
|
/**
|
|
53064
53091
|
*
|
|
53065
53092
|
* @summary Export LLM endpoints as a ZIP file
|
|
53066
53093
|
* @param {number} [organizationId]
|
|
53094
|
+
* @param {string} [qAnswerApiKey]
|
|
53067
53095
|
* @param {*} [options] Override http request option.
|
|
53068
53096
|
* @throws {RequiredError}
|
|
53069
53097
|
*/
|
|
53070
|
-
exportLlmEndpoints(organizationId?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>>;
|
|
53098
|
+
exportLlmEndpoints(organizationId?: number, qAnswerApiKey?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>>;
|
|
53071
53099
|
/**
|
|
53072
53100
|
*
|
|
53073
53101
|
* @summary Get an LLM endpoint by id
|
|
53074
53102
|
* @param {number} id
|
|
53103
|
+
* @param {string} [qAnswerApiKey]
|
|
53075
53104
|
* @param {*} [options] Override http request option.
|
|
53076
53105
|
* @throws {RequiredError}
|
|
53077
53106
|
*/
|
|
53078
|
-
getById(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LLMEndpoint>>;
|
|
53107
|
+
getById(id: number, qAnswerApiKey?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LLMEndpoint>>;
|
|
53079
53108
|
/**
|
|
53080
53109
|
*
|
|
53081
53110
|
* @summary API to get analytics of LLM consumption costs
|
|
53082
53111
|
* @param {LlmCostFilter} llmCostFilter
|
|
53112
|
+
* @param {string} [qAnswerApiKey]
|
|
53083
53113
|
* @param {*} [options] Override http request option.
|
|
53084
53114
|
* @throws {RequiredError}
|
|
53085
53115
|
*/
|
|
53086
|
-
getCosts(llmCostFilter: LlmCostFilter, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LlmCostList>>;
|
|
53116
|
+
getCosts(llmCostFilter: LlmCostFilter, qAnswerApiKey?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LlmCostList>>;
|
|
53087
53117
|
/**
|
|
53088
53118
|
*
|
|
53089
53119
|
* @summary Retrieves the default LLM endpoint
|
|
53090
53120
|
* @param {number} [organizationId]
|
|
53121
|
+
* @param {string} [qAnswerApiKey]
|
|
53091
53122
|
* @param {*} [options] Override http request option.
|
|
53092
53123
|
* @throws {RequiredError}
|
|
53093
53124
|
*/
|
|
53094
|
-
getDefaultLlmEndpoint(organizationId?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LlmDetailedDto>>;
|
|
53125
|
+
getDefaultLlmEndpoint(organizationId?: number, qAnswerApiKey?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LlmDetailedDto>>;
|
|
53095
53126
|
/**
|
|
53096
53127
|
*
|
|
53097
53128
|
* @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.
|
|
53098
53129
|
* @param {number} id
|
|
53099
53130
|
* @param {number} [organizationId]
|
|
53131
|
+
* @param {string} [qAnswerApiKey]
|
|
53100
53132
|
* @param {*} [options] Override http request option.
|
|
53101
53133
|
* @throws {RequiredError}
|
|
53102
53134
|
*/
|
|
53103
|
-
getIsActive(id: number, organizationId?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>>;
|
|
53135
|
+
getIsActive(id: number, organizationId?: number, qAnswerApiKey?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>>;
|
|
53104
53136
|
/**
|
|
53105
53137
|
* Fetches the info of a specific LLM endpoint by its name.
|
|
53106
53138
|
* @summary Get LLM info by name
|
|
53107
53139
|
* @param {string} name
|
|
53140
|
+
* @param {string} [qAnswerApiKey]
|
|
53108
53141
|
* @param {*} [options] Override http request option.
|
|
53109
53142
|
* @throws {RequiredError}
|
|
53110
53143
|
*/
|
|
53111
|
-
getLlmEndpointByName(name: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LlmDto>>;
|
|
53144
|
+
getLlmEndpointByName(name: string, qAnswerApiKey?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LlmDto>>;
|
|
53112
53145
|
/**
|
|
53113
53146
|
*
|
|
53114
53147
|
* @summary Get an LLM endpoint by name
|
|
53115
53148
|
* @param {string} name
|
|
53149
|
+
* @param {string} [qAnswerApiKey]
|
|
53116
53150
|
* @param {*} [options] Override http request option.
|
|
53117
53151
|
* @throws {RequiredError}
|
|
53118
53152
|
*/
|
|
53119
|
-
getLlmEndpointByName1(name: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LLMEndpoint>>;
|
|
53153
|
+
getLlmEndpointByName1(name: string, qAnswerApiKey?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LLMEndpoint>>;
|
|
53120
53154
|
/**
|
|
53121
53155
|
*
|
|
53122
53156
|
* @summary Get the default prompts for an LLM endpoint
|
|
53157
|
+
* @param {string} [qAnswerApiKey]
|
|
53123
53158
|
* @param {*} [options] Override http request option.
|
|
53124
53159
|
* @throws {RequiredError}
|
|
53125
53160
|
*/
|
|
53126
|
-
getLlmEndpointDefaultPrompts(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LLMEndpointDefaultPrompts>>;
|
|
53161
|
+
getLlmEndpointDefaultPrompts(qAnswerApiKey?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LLMEndpointDefaultPrompts>>;
|
|
53127
53162
|
/**
|
|
53128
53163
|
*
|
|
53129
53164
|
* @summary Get the logo of an LLM endpoint by id
|
|
53130
53165
|
* @param {number} id
|
|
53131
53166
|
* @param {string} [conversationId]
|
|
53167
|
+
* @param {string} [qAnswerApiKey]
|
|
53132
53168
|
* @param {*} [options] Override http request option.
|
|
53133
53169
|
* @throws {RequiredError}
|
|
53134
53170
|
*/
|
|
53135
|
-
getLlmEndpointLogo(id: number, conversationId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>>;
|
|
53171
|
+
getLlmEndpointLogo(id: number, conversationId?: string, qAnswerApiKey?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>>;
|
|
53136
53172
|
/**
|
|
53137
53173
|
*
|
|
53138
53174
|
* @summary Get all sensitivity levels of LLM endpoints.
|
|
53139
53175
|
* @param {LlmFilterDto} filter
|
|
53176
|
+
* @param {string} [qAnswerApiKey]
|
|
53140
53177
|
* @param {*} [options] Override http request option.
|
|
53141
53178
|
* @throws {RequiredError}
|
|
53142
53179
|
*/
|
|
53143
|
-
getSensitivityLevels(filter: LlmFilterDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<string>>>;
|
|
53180
|
+
getSensitivityLevels(filter: LlmFilterDto, qAnswerApiKey?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<string>>>;
|
|
53144
53181
|
/**
|
|
53145
53182
|
*
|
|
53146
53183
|
* @summary Retrieves the system default LLM endpoint (used when resetting to defaults)
|
|
53184
|
+
* @param {string} [qAnswerApiKey]
|
|
53147
53185
|
* @param {*} [options] Override http request option.
|
|
53148
53186
|
* @throws {RequiredError}
|
|
53149
53187
|
*/
|
|
53150
|
-
getSystemDefaultLlmEndpoint(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LlmDetailedDto>>;
|
|
53188
|
+
getSystemDefaultLlmEndpoint(qAnswerApiKey?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LlmDetailedDto>>;
|
|
53151
53189
|
/**
|
|
53152
53190
|
*
|
|
53153
53191
|
* @summary Import LLM endpoints from a file
|
|
53154
53192
|
* @param {File} file
|
|
53155
53193
|
* @param {number} [organizationId]
|
|
53194
|
+
* @param {string} [qAnswerApiKey]
|
|
53156
53195
|
* @param {*} [options] Override http request option.
|
|
53157
53196
|
* @throws {RequiredError}
|
|
53158
53197
|
*/
|
|
53159
|
-
importLlmEndpoints(file: File, organizationId?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LLMEndpointImportResponse>>;
|
|
53198
|
+
importLlmEndpoints(file: File, organizationId?: number, qAnswerApiKey?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LLMEndpointImportResponse>>;
|
|
53160
53199
|
/**
|
|
53161
53200
|
*
|
|
53162
53201
|
* @summary Reset the logo of an LLM endpoint by id
|
|
53163
53202
|
* @param {number} id
|
|
53203
|
+
* @param {string} [qAnswerApiKey]
|
|
53164
53204
|
* @param {*} [options] Override http request option.
|
|
53165
53205
|
* @throws {RequiredError}
|
|
53166
53206
|
*/
|
|
53167
|
-
resetLlmEndpointLogo(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
53207
|
+
resetLlmEndpointLogo(id: number, qAnswerApiKey?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
53168
53208
|
/**
|
|
53169
53209
|
*
|
|
53170
53210
|
* @summary Search over all LLM endpoints.
|
|
53171
53211
|
* @param {LlmFilterDto} filter
|
|
53212
|
+
* @param {string} [qAnswerApiKey]
|
|
53172
53213
|
* @param {*} [options] Override http request option.
|
|
53173
53214
|
* @throws {RequiredError}
|
|
53174
53215
|
*/
|
|
53175
|
-
search2(filter: LlmFilterDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LlmListDto>>;
|
|
53216
|
+
search2(filter: LlmFilterDto, qAnswerApiKey?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LlmListDto>>;
|
|
53176
53217
|
/**
|
|
53177
53218
|
*
|
|
53178
53219
|
* @summary Search over the LLM endpoints.
|
|
53179
53220
|
* @param {LlmFilterDto} filter
|
|
53221
|
+
* @param {string} [qAnswerApiKey]
|
|
53180
53222
|
* @param {*} [options] Override http request option.
|
|
53181
53223
|
* @throws {RequiredError}
|
|
53182
53224
|
*/
|
|
53183
|
-
searchDetailed(filter: LlmFilterDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LlmListDetailedDto>>;
|
|
53225
|
+
searchDetailed(filter: LlmFilterDto, qAnswerApiKey?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LlmListDetailedDto>>;
|
|
53184
53226
|
/**
|
|
53185
53227
|
*
|
|
53186
53228
|
* @summary Sets the default LLM endpoint
|
|
53187
53229
|
* @param {number} llmId
|
|
53188
53230
|
* @param {number} [organizationId]
|
|
53231
|
+
* @param {string} [qAnswerApiKey]
|
|
53189
53232
|
* @param {*} [options] Override http request option.
|
|
53190
53233
|
* @throws {RequiredError}
|
|
53191
53234
|
*/
|
|
53192
|
-
setDefaultLlmEndpoint(llmId: number, organizationId?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
53235
|
+
setDefaultLlmEndpoint(llmId: number, organizationId?: number, qAnswerApiKey?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
53193
53236
|
/**
|
|
53194
53237
|
*
|
|
53195
53238
|
* @summary Sets if the LLM endpoint is active. If the organization ID is provided, it sets if the endpoint is active for that organization otherwise for the whole application.
|
|
53196
53239
|
* @param {number} id
|
|
53197
53240
|
* @param {boolean} active
|
|
53198
53241
|
* @param {number} [organizationId]
|
|
53242
|
+
* @param {string} [qAnswerApiKey]
|
|
53199
53243
|
* @param {*} [options] Override http request option.
|
|
53200
53244
|
* @throws {RequiredError}
|
|
53201
53245
|
*/
|
|
53202
|
-
setIsActive(id: number, active: boolean, organizationId?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
53246
|
+
setIsActive(id: number, active: boolean, organizationId?: number, qAnswerApiKey?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
53203
53247
|
/**
|
|
53204
53248
|
*
|
|
53205
53249
|
* @summary Set the logo of an LLM endpoint by id
|
|
53206
53250
|
* @param {number} id
|
|
53207
53251
|
* @param {File} file
|
|
53252
|
+
* @param {string} [qAnswerApiKey]
|
|
53208
53253
|
* @param {*} [options] Override http request option.
|
|
53209
53254
|
* @throws {RequiredError}
|
|
53210
53255
|
*/
|
|
53211
|
-
setLlmEndpointLogo(id: number, file: File, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
53256
|
+
setLlmEndpointLogo(id: number, file: File, qAnswerApiKey?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
53212
53257
|
/**
|
|
53213
53258
|
*
|
|
53214
53259
|
* @summary Sets the system default LLM endpoint (used when resetting to defaults)
|
|
53215
53260
|
* @param {number} llmId
|
|
53261
|
+
* @param {string} [qAnswerApiKey]
|
|
53216
53262
|
* @param {*} [options] Override http request option.
|
|
53217
53263
|
* @throws {RequiredError}
|
|
53218
53264
|
*/
|
|
53219
|
-
setSystemDefaultLlmEndpoint(llmId: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
53265
|
+
setSystemDefaultLlmEndpoint(llmId: number, qAnswerApiKey?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
53220
53266
|
/**
|
|
53221
53267
|
*
|
|
53222
53268
|
* @summary Update an LLM endpoint
|
|
53223
53269
|
* @param {number} id
|
|
53224
53270
|
* @param {LlmUpdateDto} llmUpdateDto
|
|
53225
53271
|
* @param {number} [organizationId]
|
|
53272
|
+
* @param {string} [qAnswerApiKey]
|
|
53226
53273
|
* @param {*} [options] Override http request option.
|
|
53227
53274
|
* @throws {RequiredError}
|
|
53228
53275
|
*/
|
|
53229
|
-
updateLlmEndpoint(id: number, llmUpdateDto: LlmUpdateDto, organizationId?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LlmDetailedDto>>;
|
|
53276
|
+
updateLlmEndpoint(id: number, llmUpdateDto: LlmUpdateDto, organizationId?: number, qAnswerApiKey?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LlmDetailedDto>>;
|
|
53230
53277
|
/**
|
|
53231
53278
|
*
|
|
53232
53279
|
* @summary Validate an LLM endpoint by id
|
|
53233
53280
|
* @param {number} id
|
|
53281
|
+
* @param {string} [qAnswerApiKey]
|
|
53234
53282
|
* @param {*} [options] Override http request option.
|
|
53235
53283
|
* @throws {RequiredError}
|
|
53236
53284
|
*/
|
|
53237
|
-
validateLlmEndpointById(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LLMEndpointValidationResponse>>;
|
|
53285
|
+
validateLlmEndpointById(id: number, qAnswerApiKey?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LLMEndpointValidationResponse>>;
|
|
53238
53286
|
};
|
|
53239
53287
|
/**
|
|
53240
53288
|
* ToolLLMApi - factory interface
|
|
@@ -53325,10 +53373,11 @@ export declare const ToolLLMApiFactory: (configuration?: Configuration, basePath
|
|
|
53325
53373
|
/**
|
|
53326
53374
|
*
|
|
53327
53375
|
* @summary Get the default prompts for an LLM endpoint
|
|
53376
|
+
* @param {ToolLLMApiGetLlmEndpointDefaultPromptsRequest} requestParameters Request parameters.
|
|
53328
53377
|
* @param {*} [options] Override http request option.
|
|
53329
53378
|
* @throws {RequiredError}
|
|
53330
53379
|
*/
|
|
53331
|
-
getLlmEndpointDefaultPrompts(options?: RawAxiosRequestConfig): AxiosPromise<LLMEndpointDefaultPrompts>;
|
|
53380
|
+
getLlmEndpointDefaultPrompts(requestParameters?: ToolLLMApiGetLlmEndpointDefaultPromptsRequest, options?: RawAxiosRequestConfig): AxiosPromise<LLMEndpointDefaultPrompts>;
|
|
53332
53381
|
/**
|
|
53333
53382
|
*
|
|
53334
53383
|
* @summary Get the logo of an LLM endpoint by id
|
|
@@ -53348,10 +53397,11 @@ export declare const ToolLLMApiFactory: (configuration?: Configuration, basePath
|
|
|
53348
53397
|
/**
|
|
53349
53398
|
*
|
|
53350
53399
|
* @summary Retrieves the system default LLM endpoint (used when resetting to defaults)
|
|
53400
|
+
* @param {ToolLLMApiGetSystemDefaultLlmEndpointRequest} requestParameters Request parameters.
|
|
53351
53401
|
* @param {*} [options] Override http request option.
|
|
53352
53402
|
* @throws {RequiredError}
|
|
53353
53403
|
*/
|
|
53354
|
-
getSystemDefaultLlmEndpoint(options?: RawAxiosRequestConfig): AxiosPromise<LlmDetailedDto>;
|
|
53404
|
+
getSystemDefaultLlmEndpoint(requestParameters?: ToolLLMApiGetSystemDefaultLlmEndpointRequest, options?: RawAxiosRequestConfig): AxiosPromise<LlmDetailedDto>;
|
|
53355
53405
|
/**
|
|
53356
53406
|
*
|
|
53357
53407
|
* @summary Import LLM endpoints from a file
|
|
@@ -53451,6 +53501,12 @@ export interface ToolLLMApiCreateLlmEndpointRequest {
|
|
|
53451
53501
|
* @memberof ToolLLMApiCreateLlmEndpoint
|
|
53452
53502
|
*/
|
|
53453
53503
|
readonly organizationId?: number;
|
|
53504
|
+
/**
|
|
53505
|
+
*
|
|
53506
|
+
* @type {string}
|
|
53507
|
+
* @memberof ToolLLMApiCreateLlmEndpoint
|
|
53508
|
+
*/
|
|
53509
|
+
readonly qAnswerApiKey?: string;
|
|
53454
53510
|
}
|
|
53455
53511
|
/**
|
|
53456
53512
|
* Request parameters for deleteLlmEndpoint operation in ToolLLMApi.
|
|
@@ -53470,6 +53526,12 @@ export interface ToolLLMApiDeleteLlmEndpointRequest {
|
|
|
53470
53526
|
* @memberof ToolLLMApiDeleteLlmEndpoint
|
|
53471
53527
|
*/
|
|
53472
53528
|
readonly organizationId?: number;
|
|
53529
|
+
/**
|
|
53530
|
+
*
|
|
53531
|
+
* @type {string}
|
|
53532
|
+
* @memberof ToolLLMApiDeleteLlmEndpoint
|
|
53533
|
+
*/
|
|
53534
|
+
readonly qAnswerApiKey?: string;
|
|
53473
53535
|
}
|
|
53474
53536
|
/**
|
|
53475
53537
|
* Request parameters for downloadCosts operation in ToolLLMApi.
|
|
@@ -53483,6 +53545,12 @@ export interface ToolLLMApiDownloadCostsRequest {
|
|
|
53483
53545
|
* @memberof ToolLLMApiDownloadCosts
|
|
53484
53546
|
*/
|
|
53485
53547
|
readonly llmCostFilter: LlmCostFilter;
|
|
53548
|
+
/**
|
|
53549
|
+
*
|
|
53550
|
+
* @type {string}
|
|
53551
|
+
* @memberof ToolLLMApiDownloadCosts
|
|
53552
|
+
*/
|
|
53553
|
+
readonly qAnswerApiKey?: string;
|
|
53486
53554
|
}
|
|
53487
53555
|
/**
|
|
53488
53556
|
* Request parameters for exportLlmEndpoints operation in ToolLLMApi.
|
|
@@ -53496,6 +53564,12 @@ export interface ToolLLMApiExportLlmEndpointsRequest {
|
|
|
53496
53564
|
* @memberof ToolLLMApiExportLlmEndpoints
|
|
53497
53565
|
*/
|
|
53498
53566
|
readonly organizationId?: number;
|
|
53567
|
+
/**
|
|
53568
|
+
*
|
|
53569
|
+
* @type {string}
|
|
53570
|
+
* @memberof ToolLLMApiExportLlmEndpoints
|
|
53571
|
+
*/
|
|
53572
|
+
readonly qAnswerApiKey?: string;
|
|
53499
53573
|
}
|
|
53500
53574
|
/**
|
|
53501
53575
|
* Request parameters for getById operation in ToolLLMApi.
|
|
@@ -53509,6 +53583,12 @@ export interface ToolLLMApiGetByIdRequest {
|
|
|
53509
53583
|
* @memberof ToolLLMApiGetById
|
|
53510
53584
|
*/
|
|
53511
53585
|
readonly id: number;
|
|
53586
|
+
/**
|
|
53587
|
+
*
|
|
53588
|
+
* @type {string}
|
|
53589
|
+
* @memberof ToolLLMApiGetById
|
|
53590
|
+
*/
|
|
53591
|
+
readonly qAnswerApiKey?: string;
|
|
53512
53592
|
}
|
|
53513
53593
|
/**
|
|
53514
53594
|
* Request parameters for getCosts operation in ToolLLMApi.
|
|
@@ -53522,6 +53602,12 @@ export interface ToolLLMApiGetCostsRequest {
|
|
|
53522
53602
|
* @memberof ToolLLMApiGetCosts
|
|
53523
53603
|
*/
|
|
53524
53604
|
readonly llmCostFilter: LlmCostFilter;
|
|
53605
|
+
/**
|
|
53606
|
+
*
|
|
53607
|
+
* @type {string}
|
|
53608
|
+
* @memberof ToolLLMApiGetCosts
|
|
53609
|
+
*/
|
|
53610
|
+
readonly qAnswerApiKey?: string;
|
|
53525
53611
|
}
|
|
53526
53612
|
/**
|
|
53527
53613
|
* Request parameters for getDefaultLlmEndpoint operation in ToolLLMApi.
|
|
@@ -53535,6 +53621,12 @@ export interface ToolLLMApiGetDefaultLlmEndpointRequest {
|
|
|
53535
53621
|
* @memberof ToolLLMApiGetDefaultLlmEndpoint
|
|
53536
53622
|
*/
|
|
53537
53623
|
readonly organizationId?: number;
|
|
53624
|
+
/**
|
|
53625
|
+
*
|
|
53626
|
+
* @type {string}
|
|
53627
|
+
* @memberof ToolLLMApiGetDefaultLlmEndpoint
|
|
53628
|
+
*/
|
|
53629
|
+
readonly qAnswerApiKey?: string;
|
|
53538
53630
|
}
|
|
53539
53631
|
/**
|
|
53540
53632
|
* Request parameters for getIsActive operation in ToolLLMApi.
|
|
@@ -53554,6 +53646,12 @@ export interface ToolLLMApiGetIsActiveRequest {
|
|
|
53554
53646
|
* @memberof ToolLLMApiGetIsActive
|
|
53555
53647
|
*/
|
|
53556
53648
|
readonly organizationId?: number;
|
|
53649
|
+
/**
|
|
53650
|
+
*
|
|
53651
|
+
* @type {string}
|
|
53652
|
+
* @memberof ToolLLMApiGetIsActive
|
|
53653
|
+
*/
|
|
53654
|
+
readonly qAnswerApiKey?: string;
|
|
53557
53655
|
}
|
|
53558
53656
|
/**
|
|
53559
53657
|
* Request parameters for getLlmEndpointByName operation in ToolLLMApi.
|
|
@@ -53567,6 +53665,12 @@ export interface ToolLLMApiGetLlmEndpointByNameRequest {
|
|
|
53567
53665
|
* @memberof ToolLLMApiGetLlmEndpointByName
|
|
53568
53666
|
*/
|
|
53569
53667
|
readonly name: string;
|
|
53668
|
+
/**
|
|
53669
|
+
*
|
|
53670
|
+
* @type {string}
|
|
53671
|
+
* @memberof ToolLLMApiGetLlmEndpointByName
|
|
53672
|
+
*/
|
|
53673
|
+
readonly qAnswerApiKey?: string;
|
|
53570
53674
|
}
|
|
53571
53675
|
/**
|
|
53572
53676
|
* Request parameters for getLlmEndpointByName1 operation in ToolLLMApi.
|
|
@@ -53580,6 +53684,25 @@ export interface ToolLLMApiGetLlmEndpointByName1Request {
|
|
|
53580
53684
|
* @memberof ToolLLMApiGetLlmEndpointByName1
|
|
53581
53685
|
*/
|
|
53582
53686
|
readonly name: string;
|
|
53687
|
+
/**
|
|
53688
|
+
*
|
|
53689
|
+
* @type {string}
|
|
53690
|
+
* @memberof ToolLLMApiGetLlmEndpointByName1
|
|
53691
|
+
*/
|
|
53692
|
+
readonly qAnswerApiKey?: string;
|
|
53693
|
+
}
|
|
53694
|
+
/**
|
|
53695
|
+
* Request parameters for getLlmEndpointDefaultPrompts operation in ToolLLMApi.
|
|
53696
|
+
* @export
|
|
53697
|
+
* @interface ToolLLMApiGetLlmEndpointDefaultPromptsRequest
|
|
53698
|
+
*/
|
|
53699
|
+
export interface ToolLLMApiGetLlmEndpointDefaultPromptsRequest {
|
|
53700
|
+
/**
|
|
53701
|
+
*
|
|
53702
|
+
* @type {string}
|
|
53703
|
+
* @memberof ToolLLMApiGetLlmEndpointDefaultPrompts
|
|
53704
|
+
*/
|
|
53705
|
+
readonly qAnswerApiKey?: string;
|
|
53583
53706
|
}
|
|
53584
53707
|
/**
|
|
53585
53708
|
* Request parameters for getLlmEndpointLogo operation in ToolLLMApi.
|
|
@@ -53599,6 +53722,12 @@ export interface ToolLLMApiGetLlmEndpointLogoRequest {
|
|
|
53599
53722
|
* @memberof ToolLLMApiGetLlmEndpointLogo
|
|
53600
53723
|
*/
|
|
53601
53724
|
readonly conversationId?: string;
|
|
53725
|
+
/**
|
|
53726
|
+
*
|
|
53727
|
+
* @type {string}
|
|
53728
|
+
* @memberof ToolLLMApiGetLlmEndpointLogo
|
|
53729
|
+
*/
|
|
53730
|
+
readonly qAnswerApiKey?: string;
|
|
53602
53731
|
}
|
|
53603
53732
|
/**
|
|
53604
53733
|
* Request parameters for getSensitivityLevels operation in ToolLLMApi.
|
|
@@ -53612,6 +53741,25 @@ export interface ToolLLMApiGetSensitivityLevelsRequest {
|
|
|
53612
53741
|
* @memberof ToolLLMApiGetSensitivityLevels
|
|
53613
53742
|
*/
|
|
53614
53743
|
readonly filter: LlmFilterDto;
|
|
53744
|
+
/**
|
|
53745
|
+
*
|
|
53746
|
+
* @type {string}
|
|
53747
|
+
* @memberof ToolLLMApiGetSensitivityLevels
|
|
53748
|
+
*/
|
|
53749
|
+
readonly qAnswerApiKey?: string;
|
|
53750
|
+
}
|
|
53751
|
+
/**
|
|
53752
|
+
* Request parameters for getSystemDefaultLlmEndpoint operation in ToolLLMApi.
|
|
53753
|
+
* @export
|
|
53754
|
+
* @interface ToolLLMApiGetSystemDefaultLlmEndpointRequest
|
|
53755
|
+
*/
|
|
53756
|
+
export interface ToolLLMApiGetSystemDefaultLlmEndpointRequest {
|
|
53757
|
+
/**
|
|
53758
|
+
*
|
|
53759
|
+
* @type {string}
|
|
53760
|
+
* @memberof ToolLLMApiGetSystemDefaultLlmEndpoint
|
|
53761
|
+
*/
|
|
53762
|
+
readonly qAnswerApiKey?: string;
|
|
53615
53763
|
}
|
|
53616
53764
|
/**
|
|
53617
53765
|
* Request parameters for importLlmEndpoints operation in ToolLLMApi.
|
|
@@ -53631,6 +53779,12 @@ export interface ToolLLMApiImportLlmEndpointsRequest {
|
|
|
53631
53779
|
* @memberof ToolLLMApiImportLlmEndpoints
|
|
53632
53780
|
*/
|
|
53633
53781
|
readonly organizationId?: number;
|
|
53782
|
+
/**
|
|
53783
|
+
*
|
|
53784
|
+
* @type {string}
|
|
53785
|
+
* @memberof ToolLLMApiImportLlmEndpoints
|
|
53786
|
+
*/
|
|
53787
|
+
readonly qAnswerApiKey?: string;
|
|
53634
53788
|
}
|
|
53635
53789
|
/**
|
|
53636
53790
|
* Request parameters for resetLlmEndpointLogo operation in ToolLLMApi.
|
|
@@ -53644,6 +53798,12 @@ export interface ToolLLMApiResetLlmEndpointLogoRequest {
|
|
|
53644
53798
|
* @memberof ToolLLMApiResetLlmEndpointLogo
|
|
53645
53799
|
*/
|
|
53646
53800
|
readonly id: number;
|
|
53801
|
+
/**
|
|
53802
|
+
*
|
|
53803
|
+
* @type {string}
|
|
53804
|
+
* @memberof ToolLLMApiResetLlmEndpointLogo
|
|
53805
|
+
*/
|
|
53806
|
+
readonly qAnswerApiKey?: string;
|
|
53647
53807
|
}
|
|
53648
53808
|
/**
|
|
53649
53809
|
* Request parameters for search2 operation in ToolLLMApi.
|
|
@@ -53657,6 +53817,12 @@ export interface ToolLLMApiSearch2Request {
|
|
|
53657
53817
|
* @memberof ToolLLMApiSearch2
|
|
53658
53818
|
*/
|
|
53659
53819
|
readonly filter: LlmFilterDto;
|
|
53820
|
+
/**
|
|
53821
|
+
*
|
|
53822
|
+
* @type {string}
|
|
53823
|
+
* @memberof ToolLLMApiSearch2
|
|
53824
|
+
*/
|
|
53825
|
+
readonly qAnswerApiKey?: string;
|
|
53660
53826
|
}
|
|
53661
53827
|
/**
|
|
53662
53828
|
* Request parameters for searchDetailed operation in ToolLLMApi.
|
|
@@ -53670,6 +53836,12 @@ export interface ToolLLMApiSearchDetailedRequest {
|
|
|
53670
53836
|
* @memberof ToolLLMApiSearchDetailed
|
|
53671
53837
|
*/
|
|
53672
53838
|
readonly filter: LlmFilterDto;
|
|
53839
|
+
/**
|
|
53840
|
+
*
|
|
53841
|
+
* @type {string}
|
|
53842
|
+
* @memberof ToolLLMApiSearchDetailed
|
|
53843
|
+
*/
|
|
53844
|
+
readonly qAnswerApiKey?: string;
|
|
53673
53845
|
}
|
|
53674
53846
|
/**
|
|
53675
53847
|
* Request parameters for setDefaultLlmEndpoint operation in ToolLLMApi.
|
|
@@ -53689,6 +53861,12 @@ export interface ToolLLMApiSetDefaultLlmEndpointRequest {
|
|
|
53689
53861
|
* @memberof ToolLLMApiSetDefaultLlmEndpoint
|
|
53690
53862
|
*/
|
|
53691
53863
|
readonly organizationId?: number;
|
|
53864
|
+
/**
|
|
53865
|
+
*
|
|
53866
|
+
* @type {string}
|
|
53867
|
+
* @memberof ToolLLMApiSetDefaultLlmEndpoint
|
|
53868
|
+
*/
|
|
53869
|
+
readonly qAnswerApiKey?: string;
|
|
53692
53870
|
}
|
|
53693
53871
|
/**
|
|
53694
53872
|
* Request parameters for setIsActive operation in ToolLLMApi.
|
|
@@ -53714,6 +53892,12 @@ export interface ToolLLMApiSetIsActiveRequest {
|
|
|
53714
53892
|
* @memberof ToolLLMApiSetIsActive
|
|
53715
53893
|
*/
|
|
53716
53894
|
readonly organizationId?: number;
|
|
53895
|
+
/**
|
|
53896
|
+
*
|
|
53897
|
+
* @type {string}
|
|
53898
|
+
* @memberof ToolLLMApiSetIsActive
|
|
53899
|
+
*/
|
|
53900
|
+
readonly qAnswerApiKey?: string;
|
|
53717
53901
|
}
|
|
53718
53902
|
/**
|
|
53719
53903
|
* Request parameters for setLlmEndpointLogo operation in ToolLLMApi.
|
|
@@ -53733,6 +53917,12 @@ export interface ToolLLMApiSetLlmEndpointLogoRequest {
|
|
|
53733
53917
|
* @memberof ToolLLMApiSetLlmEndpointLogo
|
|
53734
53918
|
*/
|
|
53735
53919
|
readonly file: File;
|
|
53920
|
+
/**
|
|
53921
|
+
*
|
|
53922
|
+
* @type {string}
|
|
53923
|
+
* @memberof ToolLLMApiSetLlmEndpointLogo
|
|
53924
|
+
*/
|
|
53925
|
+
readonly qAnswerApiKey?: string;
|
|
53736
53926
|
}
|
|
53737
53927
|
/**
|
|
53738
53928
|
* Request parameters for setSystemDefaultLlmEndpoint operation in ToolLLMApi.
|
|
@@ -53746,6 +53936,12 @@ export interface ToolLLMApiSetSystemDefaultLlmEndpointRequest {
|
|
|
53746
53936
|
* @memberof ToolLLMApiSetSystemDefaultLlmEndpoint
|
|
53747
53937
|
*/
|
|
53748
53938
|
readonly llmId: number;
|
|
53939
|
+
/**
|
|
53940
|
+
*
|
|
53941
|
+
* @type {string}
|
|
53942
|
+
* @memberof ToolLLMApiSetSystemDefaultLlmEndpoint
|
|
53943
|
+
*/
|
|
53944
|
+
readonly qAnswerApiKey?: string;
|
|
53749
53945
|
}
|
|
53750
53946
|
/**
|
|
53751
53947
|
* Request parameters for updateLlmEndpoint operation in ToolLLMApi.
|
|
@@ -53771,6 +53967,12 @@ export interface ToolLLMApiUpdateLlmEndpointRequest {
|
|
|
53771
53967
|
* @memberof ToolLLMApiUpdateLlmEndpoint
|
|
53772
53968
|
*/
|
|
53773
53969
|
readonly organizationId?: number;
|
|
53970
|
+
/**
|
|
53971
|
+
*
|
|
53972
|
+
* @type {string}
|
|
53973
|
+
* @memberof ToolLLMApiUpdateLlmEndpoint
|
|
53974
|
+
*/
|
|
53975
|
+
readonly qAnswerApiKey?: string;
|
|
53774
53976
|
}
|
|
53775
53977
|
/**
|
|
53776
53978
|
* Request parameters for validateLlmEndpointById operation in ToolLLMApi.
|
|
@@ -53784,6 +53986,12 @@ export interface ToolLLMApiValidateLlmEndpointByIdRequest {
|
|
|
53784
53986
|
* @memberof ToolLLMApiValidateLlmEndpointById
|
|
53785
53987
|
*/
|
|
53786
53988
|
readonly id: number;
|
|
53989
|
+
/**
|
|
53990
|
+
*
|
|
53991
|
+
* @type {string}
|
|
53992
|
+
* @memberof ToolLLMApiValidateLlmEndpointById
|
|
53993
|
+
*/
|
|
53994
|
+
readonly qAnswerApiKey?: string;
|
|
53787
53995
|
}
|
|
53788
53996
|
/**
|
|
53789
53997
|
* ToolLLMApi - object-oriented interface
|
|
@@ -53886,11 +54094,12 @@ export declare class ToolLLMApi extends BaseAPI {
|
|
|
53886
54094
|
/**
|
|
53887
54095
|
*
|
|
53888
54096
|
* @summary Get the default prompts for an LLM endpoint
|
|
54097
|
+
* @param {ToolLLMApiGetLlmEndpointDefaultPromptsRequest} requestParameters Request parameters.
|
|
53889
54098
|
* @param {*} [options] Override http request option.
|
|
53890
54099
|
* @throws {RequiredError}
|
|
53891
54100
|
* @memberof ToolLLMApi
|
|
53892
54101
|
*/
|
|
53893
|
-
getLlmEndpointDefaultPrompts(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<LLMEndpointDefaultPrompts, any, {}>>;
|
|
54102
|
+
getLlmEndpointDefaultPrompts(requestParameters?: ToolLLMApiGetLlmEndpointDefaultPromptsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<LLMEndpointDefaultPrompts, any, {}>>;
|
|
53894
54103
|
/**
|
|
53895
54104
|
*
|
|
53896
54105
|
* @summary Get the logo of an LLM endpoint by id
|
|
@@ -53912,11 +54121,12 @@ export declare class ToolLLMApi extends BaseAPI {
|
|
|
53912
54121
|
/**
|
|
53913
54122
|
*
|
|
53914
54123
|
* @summary Retrieves the system default LLM endpoint (used when resetting to defaults)
|
|
54124
|
+
* @param {ToolLLMApiGetSystemDefaultLlmEndpointRequest} requestParameters Request parameters.
|
|
53915
54125
|
* @param {*} [options] Override http request option.
|
|
53916
54126
|
* @throws {RequiredError}
|
|
53917
54127
|
* @memberof ToolLLMApi
|
|
53918
54128
|
*/
|
|
53919
|
-
getSystemDefaultLlmEndpoint(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<LlmDetailedDto, any, {}>>;
|
|
54129
|
+
getSystemDefaultLlmEndpoint(requestParameters?: ToolLLMApiGetSystemDefaultLlmEndpointRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<LlmDetailedDto, any, {}>>;
|
|
53920
54130
|
/**
|
|
53921
54131
|
*
|
|
53922
54132
|
* @summary Import LLM endpoints from a file
|