@gooddata/sdk-backend-spi 10.39.0-alpha.2 → 10.39.0-alpha.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ILlmEndpointOpenAI, LlmEndpointOpenAIPatch } from "@gooddata/sdk-model";
|
|
1
|
+
import { ILlmEndpointOpenAI, LlmEndpointOpenAIPatch, LlmEndpointTestResults } from "@gooddata/sdk-model";
|
|
2
2
|
/**
|
|
3
3
|
* This service provides access to organization llm endpoints configuration.
|
|
4
4
|
*
|
|
@@ -55,5 +55,13 @@ export interface IOrganizationLlmEndpointsService {
|
|
|
55
55
|
* @returns Promise resolved when the llm endpoint is patched.
|
|
56
56
|
*/
|
|
57
57
|
patchLlmEndpoint(endpoint: LlmEndpointOpenAIPatch, token?: string): Promise<ILlmEndpointOpenAI>;
|
|
58
|
+
/**
|
|
59
|
+
* Test existing llm endpoint
|
|
60
|
+
*
|
|
61
|
+
* @param endpoint - definition of the llm endpoint
|
|
62
|
+
* @param token - token for the llm endpoint, if applicable
|
|
63
|
+
* @returns Promise resolved with test results.
|
|
64
|
+
*/
|
|
65
|
+
testLlmEndpoint(endpoint: Partial<LlmEndpointOpenAIPatch>, token?: string): Promise<LlmEndpointTestResults>;
|
|
58
66
|
}
|
|
59
67
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/organization/llmEndpoints/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,kBAAkB,EAAE,sBAAsB,EAAE,MAAM,qBAAqB,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/organization/llmEndpoints/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,kBAAkB,EAAE,sBAAsB,EAAE,sBAAsB,EAAE,MAAM,qBAAqB,CAAC;AAEzG;;;;GAIG;AACH,MAAM,WAAW,gCAAgC;IAC7C;;;;OAIG;IACH,QAAQ,IAAI,OAAO,CAAC,MAAM,CAAC,CAAC;IAE5B;;;;OAIG;IACH,MAAM,IAAI,OAAO,CAAC,kBAAkB,EAAE,CAAC,CAAC;IAExC;;;;;OAKG;IACH,iBAAiB,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAE7C;;;;;OAKG;IACH,cAAc,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,kBAAkB,GAAG,SAAS,CAAC,CAAC;IAEpE;;;;;;OAMG;IACH,iBAAiB,CAAC,QAAQ,EAAE,kBAAkB,EAAE,KAAK,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,kBAAkB,CAAC,CAAC;IAE7F;;;;;;OAMG;IACH,iBAAiB,CAAC,QAAQ,EAAE,kBAAkB,EAAE,KAAK,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,kBAAkB,CAAC,CAAC;IAE7F;;;;;;OAMG;IACH,gBAAgB,CAAC,QAAQ,EAAE,sBAAsB,EAAE,KAAK,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,kBAAkB,CAAC,CAAC;IAEhG;;;;;;OAMG;IACH,eAAe,CACX,QAAQ,EAAE,OAAO,CAAC,sBAAsB,CAAC,EACzC,KAAK,CAAC,EAAE,MAAM,GACf,OAAO,CAAC,sBAAsB,CAAC,CAAC;CACtC"}
|
package/esm/sdk-backend-spi.d.ts
CHANGED
|
@@ -125,6 +125,7 @@ import { IWorkspacePermissions } from '@gooddata/sdk-model';
|
|
|
125
125
|
import { IWorkspaceUser } from '@gooddata/sdk-model';
|
|
126
126
|
import { IWorkspaceUserGroup } from '@gooddata/sdk-model';
|
|
127
127
|
import { LlmEndpointOpenAIPatch } from '@gooddata/sdk-model';
|
|
128
|
+
import { LlmEndpointTestResults } from '@gooddata/sdk-model';
|
|
128
129
|
import { NotificationChannelDestinationType } from '@gooddata/sdk-model';
|
|
129
130
|
import { ObjectType } from '@gooddata/sdk-model';
|
|
130
131
|
import { ObjRef } from '@gooddata/sdk-model';
|
|
@@ -3105,6 +3106,14 @@ export declare interface IOrganizationLlmEndpointsService {
|
|
|
3105
3106
|
* @returns Promise resolved when the llm endpoint is patched.
|
|
3106
3107
|
*/
|
|
3107
3108
|
patchLlmEndpoint(endpoint: LlmEndpointOpenAIPatch, token?: string): Promise<ILlmEndpointOpenAI>;
|
|
3109
|
+
/**
|
|
3110
|
+
* Test existing llm endpoint
|
|
3111
|
+
*
|
|
3112
|
+
* @param endpoint - definition of the llm endpoint
|
|
3113
|
+
* @param token - token for the llm endpoint, if applicable
|
|
3114
|
+
* @returns Promise resolved with test results.
|
|
3115
|
+
*/
|
|
3116
|
+
testLlmEndpoint(endpoint: Partial<LlmEndpointOpenAIPatch>, token?: string): Promise<LlmEndpointTestResults>;
|
|
3108
3117
|
}
|
|
3109
3118
|
|
|
3110
3119
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gooddata/sdk-backend-spi",
|
|
3
|
-
"version": "10.39.0-alpha.
|
|
3
|
+
"version": "10.39.0-alpha.4",
|
|
4
4
|
"author": "GoodData",
|
|
5
5
|
"description": "GoodData Backend SPI abstraction interfaces",
|
|
6
6
|
"repository": {
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"lodash": "^4.17.21",
|
|
25
25
|
"ts-invariant": "^0.7.5",
|
|
26
26
|
"tslib": "2.8.1",
|
|
27
|
-
"@gooddata/sdk-model": "10.39.0-alpha.
|
|
27
|
+
"@gooddata/sdk-model": "10.39.0-alpha.4"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
30
|
"@gooddata/eslint-config": "^4.1.1",
|