@vertesia/client 0.51.0 → 0.54.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +3 -3
- package/package.json +27 -12
- package/src/AccountApi.ts +14 -2
- package/src/AccountsApi.ts +4 -0
- package/src/ApiKeysApi.ts +1 -1
- package/src/EnvironmentsApi.ts +2 -2
- package/src/InteractionBase.ts +1 -1
- package/src/InteractionsApi.ts +29 -7
- package/src/PluginsApi.ts +28 -0
- package/src/ProjectsApi.ts +10 -2
- package/src/PromptsApi.ts +1 -1
- package/src/RunsApi.ts +67 -30
- package/src/client.test.ts +94 -0
- package/src/client.ts +86 -13
- package/src/execute.ts +14 -8
- package/src/index.ts +2 -3
- package/src/nodejs/NodeStreamSource.ts +43 -0
- package/src/nodejs/index.ts +1 -0
- package/src/store/AnalyzeDocApi.ts +29 -9
- package/src/store/CommandsApi.ts +6 -33
- package/src/store/EmbeddingsApi.ts +39 -0
- package/src/store/FilesApi.ts +4 -0
- package/src/store/ObjectsApi.ts +179 -86
- package/src/store/TypesApi.ts +2 -1
- package/src/store/WorkflowsApi.ts +127 -25
- package/src/store/client.ts +2 -0
- package/lib/cjs/AccountApi.js +0 -74
- package/lib/cjs/AccountApi.js.map +0 -1
- package/lib/cjs/AccountsApi.js +0 -13
- package/lib/cjs/AccountsApi.js.map +0 -1
- package/lib/cjs/AnalyticsApi.js +0 -13
- package/lib/cjs/AnalyticsApi.js.map +0 -1
- package/lib/cjs/ApiKeysApi.js +0 -63
- package/lib/cjs/ApiKeysApi.js.map +0 -1
- package/lib/cjs/CommandsApi.js +0 -19
- package/lib/cjs/CommandsApi.js.map +0 -1
- package/lib/cjs/EnvironmentsApi.js +0 -58
- package/lib/cjs/EnvironmentsApi.js.map +0 -1
- package/lib/cjs/IamApi.js +0 -51
- package/lib/cjs/IamApi.js.map +0 -1
- package/lib/cjs/InteractionBase.js +0 -44
- package/lib/cjs/InteractionBase.js.map +0 -1
- package/lib/cjs/InteractionsApi.js +0 -192
- package/lib/cjs/InteractionsApi.js.map +0 -1
- package/lib/cjs/ProjectsApi.js +0 -48
- package/lib/cjs/ProjectsApi.js.map +0 -1
- package/lib/cjs/PromptsApi.js +0 -133
- package/lib/cjs/PromptsApi.js.map +0 -1
- package/lib/cjs/RefsApi.js +0 -14
- package/lib/cjs/RefsApi.js.map +0 -1
- package/lib/cjs/RunsApi.js +0 -80
- package/lib/cjs/RunsApi.js.map +0 -1
- package/lib/cjs/StreamSource.js +0 -17
- package/lib/cjs/StreamSource.js.map +0 -1
- package/lib/cjs/TrainingApi.js +0 -54
- package/lib/cjs/TrainingApi.js.map +0 -1
- package/lib/cjs/UsersApi.js +0 -13
- package/lib/cjs/UsersApi.js.map +0 -1
- package/lib/cjs/client.js +0 -161
- package/lib/cjs/client.js.map +0 -1
- package/lib/cjs/execute.js +0 -146
- package/lib/cjs/execute.js.map +0 -1
- package/lib/cjs/index.js +0 -22
- package/lib/cjs/index.js.map +0 -1
- package/lib/cjs/package.json +0 -3
- package/lib/cjs/store/AgentsApi.js +0 -16
- package/lib/cjs/store/AgentsApi.js.map +0 -1
- package/lib/cjs/store/AnalyzeDocApi.js +0 -37
- package/lib/cjs/store/AnalyzeDocApi.js.map +0 -1
- package/lib/cjs/store/CollectionsApi.js +0 -77
- package/lib/cjs/store/CollectionsApi.js.map +0 -1
- package/lib/cjs/store/CommandsApi.js +0 -33
- package/lib/cjs/store/CommandsApi.js.map +0 -1
- package/lib/cjs/store/FilesApi.js +0 -122
- package/lib/cjs/store/FilesApi.js.map +0 -1
- package/lib/cjs/store/ObjectsApi.js +0 -189
- package/lib/cjs/store/ObjectsApi.js.map +0 -1
- package/lib/cjs/store/TypesApi.js +0 -56
- package/lib/cjs/store/TypesApi.js.map +0 -1
- package/lib/cjs/store/WorkflowsApi.js +0 -92
- package/lib/cjs/store/WorkflowsApi.js.map +0 -1
- package/lib/cjs/store/client.js +0 -53
- package/lib/cjs/store/client.js.map +0 -1
- package/lib/cjs/store/errors.js +0 -11
- package/lib/cjs/store/errors.js.map +0 -1
- package/lib/cjs/store/index.js +0 -22
- package/lib/cjs/store/index.js.map +0 -1
- package/lib/esm/AccountApi.js +0 -71
- package/lib/esm/AccountApi.js.map +0 -1
- package/lib/esm/AccountsApi.js +0 -10
- package/lib/esm/AccountsApi.js.map +0 -1
- package/lib/esm/AnalyticsApi.js +0 -10
- package/lib/esm/AnalyticsApi.js.map +0 -1
- package/lib/esm/ApiKeysApi.js +0 -59
- package/lib/esm/ApiKeysApi.js.map +0 -1
- package/lib/esm/CommandsApi.js +0 -16
- package/lib/esm/CommandsApi.js.map +0 -1
- package/lib/esm/EnvironmentsApi.js +0 -55
- package/lib/esm/EnvironmentsApi.js.map +0 -1
- package/lib/esm/IamApi.js +0 -45
- package/lib/esm/IamApi.js.map +0 -1
- package/lib/esm/InteractionBase.js +0 -40
- package/lib/esm/InteractionBase.js.map +0 -1
- package/lib/esm/InteractionsApi.js +0 -189
- package/lib/esm/InteractionsApi.js.map +0 -1
- package/lib/esm/ProjectsApi.js +0 -45
- package/lib/esm/ProjectsApi.js.map +0 -1
- package/lib/esm/PromptsApi.js +0 -130
- package/lib/esm/PromptsApi.js.map +0 -1
- package/lib/esm/RefsApi.js +0 -10
- package/lib/esm/RefsApi.js.map +0 -1
- package/lib/esm/RunsApi.js +0 -76
- package/lib/esm/RunsApi.js.map +0 -1
- package/lib/esm/StreamSource.js +0 -13
- package/lib/esm/StreamSource.js.map +0 -1
- package/lib/esm/TrainingApi.js +0 -51
- package/lib/esm/TrainingApi.js.map +0 -1
- package/lib/esm/UsersApi.js +0 -10
- package/lib/esm/UsersApi.js.map +0 -1
- package/lib/esm/client.js +0 -154
- package/lib/esm/client.js.map +0 -1
- package/lib/esm/execute.js +0 -108
- package/lib/esm/execute.js.map +0 -1
- package/lib/esm/index.js +0 -6
- package/lib/esm/index.js.map +0 -1
- package/lib/esm/store/AgentsApi.js +0 -12
- package/lib/esm/store/AgentsApi.js.map +0 -1
- package/lib/esm/store/AnalyzeDocApi.js +0 -33
- package/lib/esm/store/AnalyzeDocApi.js.map +0 -1
- package/lib/esm/store/CollectionsApi.js +0 -73
- package/lib/esm/store/CollectionsApi.js.map +0 -1
- package/lib/esm/store/CommandsApi.js +0 -28
- package/lib/esm/store/CommandsApi.js.map +0 -1
- package/lib/esm/store/FilesApi.js +0 -117
- package/lib/esm/store/FilesApi.js.map +0 -1
- package/lib/esm/store/ObjectsApi.js +0 -185
- package/lib/esm/store/ObjectsApi.js.map +0 -1
- package/lib/esm/store/TypesApi.js +0 -52
- package/lib/esm/store/TypesApi.js.map +0 -1
- package/lib/esm/store/WorkflowsApi.js +0 -86
- package/lib/esm/store/WorkflowsApi.js.map +0 -1
- package/lib/esm/store/client.js +0 -49
- package/lib/esm/store/client.js.map +0 -1
- package/lib/esm/store/errors.js +0 -7
- package/lib/esm/store/errors.js.map +0 -1
- package/lib/esm/store/index.js +0 -6
- package/lib/esm/store/index.js.map +0 -1
- package/lib/tsconfig.tsbuildinfo +0 -1
- package/lib/types/AccountApi.d.ts +0 -53
- package/lib/types/AccountApi.d.ts.map +0 -1
- package/lib/types/AccountsApi.d.ts +0 -7
- package/lib/types/AccountsApi.d.ts.map +0 -1
- package/lib/types/AnalyticsApi.d.ts +0 -7
- package/lib/types/AnalyticsApi.d.ts.map +0 -1
- package/lib/types/ApiKeysApi.d.ts +0 -43
- package/lib/types/ApiKeysApi.d.ts.map +0 -1
- package/lib/types/CommandsApi.d.ts +0 -11
- package/lib/types/CommandsApi.d.ts.map +0 -1
- package/lib/types/EnvironmentsApi.d.ts +0 -31
- package/lib/types/EnvironmentsApi.d.ts.map +0 -1
- package/lib/types/IamApi.d.ts +0 -40
- package/lib/types/IamApi.d.ts.map +0 -1
- package/lib/types/InteractionBase.d.ts +0 -23
- package/lib/types/InteractionBase.d.ts.map +0 -1
- package/lib/types/InteractionsApi.d.ts +0 -136
- package/lib/types/InteractionsApi.d.ts.map +0 -1
- package/lib/types/ProjectsApi.d.ts +0 -18
- package/lib/types/ProjectsApi.d.ts.map +0 -1
- package/lib/types/PromptsApi.d.ts +0 -107
- package/lib/types/PromptsApi.d.ts.map +0 -1
- package/lib/types/RefsApi.d.ts +0 -7
- package/lib/types/RefsApi.d.ts.map +0 -1
- package/lib/types/RunsApi.d.ts +0 -64
- package/lib/types/RunsApi.d.ts.map +0 -1
- package/lib/types/StreamSource.d.ts +0 -8
- package/lib/types/StreamSource.d.ts.map +0 -1
- package/lib/types/TrainingApi.d.ts +0 -28
- package/lib/types/TrainingApi.d.ts.map +0 -1
- package/lib/types/UsersApi.d.ts +0 -7
- package/lib/types/UsersApi.d.ts.map +0 -1
- package/lib/types/client.d.ts +0 -86
- package/lib/types/client.d.ts.map +0 -1
- package/lib/types/execute.d.ts +0 -33
- package/lib/types/execute.d.ts.map +0 -1
- package/lib/types/index.d.ts +0 -9
- package/lib/types/index.d.ts.map +0 -1
- package/lib/types/store/AgentsApi.d.ts +0 -7
- package/lib/types/store/AgentsApi.d.ts.map +0 -1
- package/lib/types/store/AnalyzeDocApi.d.ts +0 -17
- package/lib/types/store/AnalyzeDocApi.d.ts.map +0 -1
- package/lib/types/store/CollectionsApi.d.ts +0 -38
- package/lib/types/store/CollectionsApi.d.ts.map +0 -1
- package/lib/types/store/CommandsApi.d.ts +0 -14
- package/lib/types/store/CommandsApi.d.ts.map +0 -1
- package/lib/types/store/FilesApi.d.ts +0 -42
- package/lib/types/store/FilesApi.d.ts.map +0 -1
- package/lib/types/store/ObjectsApi.d.ts +0 -79
- package/lib/types/store/ObjectsApi.d.ts.map +0 -1
- package/lib/types/store/TypesApi.d.ts +0 -23
- package/lib/types/store/TypesApi.d.ts.map +0 -1
- package/lib/types/store/WorkflowsApi.d.ts +0 -40
- package/lib/types/store/WorkflowsApi.d.ts.map +0 -1
- package/lib/types/store/client.d.ts +0 -28
- package/lib/types/store/client.d.ts.map +0 -1
- package/lib/types/store/errors.d.ts +0 -5
- package/lib/types/store/errors.d.ts.map +0 -1
- package/lib/types/store/index.d.ts +0 -6
- package/lib/types/store/index.d.ts.map +0 -1
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
import { ApiTopic, ClientBase } from "@vertesia/api-fetch-client";
|
|
2
|
-
import { Account, InviteUserRequestPayload, InviteUserResponsePayload, OnboardingProgress, ProjectRef, TransientToken, UpdateAccountPayload, User, UserInviteTokenData } from "@vertesia/common";
|
|
3
|
-
export default class AccountApi extends ApiTopic {
|
|
4
|
-
constructor(parent: ClientBase);
|
|
5
|
-
/**
|
|
6
|
-
* Retrieve all account information for current account
|
|
7
|
-
* @returns Account[]
|
|
8
|
-
*/
|
|
9
|
-
info(): Promise<Account>;
|
|
10
|
-
/**
|
|
11
|
-
* Update account information
|
|
12
|
-
* @returns Account
|
|
13
|
-
*/
|
|
14
|
-
update(payload: UpdateAccountPayload): Promise<Account>;
|
|
15
|
-
/**
|
|
16
|
-
* Get all projects for account
|
|
17
|
-
*/
|
|
18
|
-
projects(): Promise<ProjectRef[]>;
|
|
19
|
-
members(): Promise<User[]>;
|
|
20
|
-
/**
|
|
21
|
-
* Invite User to account
|
|
22
|
-
*/
|
|
23
|
-
inviteUser(payload: InviteUserRequestPayload): Promise<InviteUserResponsePayload>;
|
|
24
|
-
/**
|
|
25
|
-
* Fetch Invites for account
|
|
26
|
-
* @returns UserInviteTokenData[]
|
|
27
|
-
* */
|
|
28
|
-
listInvites(): Promise<TransientToken<UserInviteTokenData>[]>;
|
|
29
|
-
/**
|
|
30
|
-
* Accept Invite for account
|
|
31
|
-
* @returns UserInviteTokenData
|
|
32
|
-
* */
|
|
33
|
-
acceptInvite(id: string): Promise<UserInviteTokenData>;
|
|
34
|
-
/**
|
|
35
|
-
* Delete Invite for account
|
|
36
|
-
* @returns UserInviteTokenData
|
|
37
|
-
* */
|
|
38
|
-
rejectInvite(id: string): Promise<UserInviteTokenData>;
|
|
39
|
-
/**
|
|
40
|
-
* Get Onboarding Progress for account
|
|
41
|
-
*/
|
|
42
|
-
onboardingProgress(): Promise<OnboardingProgress>;
|
|
43
|
-
/**
|
|
44
|
-
* Get a google auth token for the current project.
|
|
45
|
-
* This token can be used to access exposed google cloud services
|
|
46
|
-
* @returns
|
|
47
|
-
*/
|
|
48
|
-
getGoogleToken(): Promise<{
|
|
49
|
-
principal: string;
|
|
50
|
-
token: string;
|
|
51
|
-
}>;
|
|
52
|
-
}
|
|
53
|
-
//# sourceMappingURL=AccountApi.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"AccountApi.d.ts","sourceRoot":"","sources":["../../src/AccountApi.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,4BAA4B,CAAC;AAClE,OAAO,EAAE,OAAO,EAAE,wBAAwB,EAAE,yBAAyB,EAAE,kBAAkB,EAAE,UAAU,EAAE,cAAc,EAAE,oBAAoB,EAAE,IAAI,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAEjM,MAAM,CAAC,OAAO,OAAO,UAAW,SAAQ,QAAQ;gBAEhC,MAAM,EAAE,UAAU;IAI9B;;;OAGG;IACH,IAAI,IAAI,OAAO,CAAC,OAAO,CAAC;IAIxB;;;OAGG;IACH,MAAM,CAAC,OAAO,EAAE,oBAAoB,GAAG,OAAO,CAAC,OAAO,CAAC;IAIvD;;MAEE;IACF,QAAQ,IAAI,OAAO,CAAC,UAAU,EAAE,CAAC;IAIjC,OAAO,IAAI,OAAO,CAAC,IAAI,EAAE,CAAC;IAI1B;;OAEG;IACH,UAAU,CAAC,OAAO,EAAE,wBAAwB,GAAG,OAAO,CAAC,yBAAyB,CAAC;IAIjF;;;SAGK;IACL,WAAW,IAAI,OAAO,CAAC,cAAc,CAAC,mBAAmB,CAAC,EAAE,CAAC;IAI7D;;;SAGK;IACL,YAAY,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,mBAAmB,CAAC;IAItD;;;SAGK;IACL,YAAY,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,mBAAmB,CAAC;IAItD;;OAEG;IACH,kBAAkB,IAAI,OAAO,CAAC,kBAAkB,CAAC;IAIjD;;;;OAIG;IACH,cAAc,IAAI,OAAO,CAAC;QAAE,SAAS,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,CAAC;CAIlE"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { Account } from "@vertesia/common";
|
|
2
|
-
import { ApiTopic, ClientBase } from "@vertesia/api-fetch-client";
|
|
3
|
-
export default class AccountsApi extends ApiTopic {
|
|
4
|
-
constructor(parent: ClientBase);
|
|
5
|
-
create(name: string): Promise<Account>;
|
|
6
|
-
}
|
|
7
|
-
//# sourceMappingURL=AccountsApi.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"AccountsApi.d.ts","sourceRoot":"","sources":["../../src/AccountsApi.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAC3C,OAAO,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,4BAA4B,CAAC;AAElE,MAAM,CAAC,OAAO,OAAO,WAAY,SAAQ,QAAQ;gBAEjC,MAAM,EAAE,UAAU;IAI9B,MAAM,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC;CAQzC"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { RunAnalyticsQuery, RunAnalyticsResult } from "@vertesia/common";
|
|
2
|
-
import { ApiTopic, ClientBase } from "@vertesia/api-fetch-client";
|
|
3
|
-
export default class AnalyticsApi extends ApiTopic {
|
|
4
|
-
constructor(parent: ClientBase);
|
|
5
|
-
runs(params: RunAnalyticsQuery): Promise<RunAnalyticsResult[]>;
|
|
6
|
-
}
|
|
7
|
-
//# sourceMappingURL=AnalyticsApi.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"AnalyticsApi.d.ts","sourceRoot":"","sources":["../../src/AnalyticsApi.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AACzE,OAAO,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,4BAA4B,CAAC;AAKlE,MAAM,CAAC,OAAO,OAAO,YAAa,SAAQ,QAAQ;gBAElC,MAAM,EAAE,UAAU;IAI9B,IAAI,CAAC,MAAM,EAAE,iBAAiB,GAAG,OAAO,CAAC,kBAAkB,EAAE,CAAC;CAOjE"}
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import { ApiKey, ApiKeyWithValue, CreateOrUpdateApiKeyPayload, CreatePublicKeyPayload } from "@vertesia/common";
|
|
2
|
-
import { ApiTopic, ClientBase } from "@vertesia/api-fetch-client";
|
|
3
|
-
export declare class ApiKeysApi extends ApiTopic {
|
|
4
|
-
constructor(parent: ClientBase);
|
|
5
|
-
/**
|
|
6
|
-
* List all keys for account without values
|
|
7
|
-
* @returns ApiKey[]
|
|
8
|
-
*/
|
|
9
|
-
list(): Promise<ApiKey[]>;
|
|
10
|
-
/**
|
|
11
|
-
* Create an new ApiKey for account
|
|
12
|
-
* BE VERY CAREFUL USING THIS API
|
|
13
|
-
* ALL REQUESTS ARE LOGGED IN SECURITY AUDIT LOG
|
|
14
|
-
* @returns ApiKeyWithValue
|
|
15
|
-
*/
|
|
16
|
-
create(payload: CreateOrUpdateApiKeyPayload): Promise<ApiKeyWithValue>;
|
|
17
|
-
/**
|
|
18
|
-
* Update an existing ApiKey for account
|
|
19
|
-
* @returns ApiKey
|
|
20
|
-
*/
|
|
21
|
-
update(id: string, payload: CreateOrUpdateApiKeyPayload): Promise<ApiKey>;
|
|
22
|
-
/**
|
|
23
|
-
* Retrieve an ApiKey and its value
|
|
24
|
-
* BE VERY CAREFUL USING THIS API AS IT EXPOSE THE API KEY VALUE
|
|
25
|
-
* ALL REQUESTS ARE LOGGED IN SECURITY AUDIT LOG
|
|
26
|
-
* @returns ApiKeyWithValue
|
|
27
|
-
* */
|
|
28
|
-
retrieve(id: string, withValue?: boolean): Promise<ApiKey | ApiKeyWithValue>;
|
|
29
|
-
/**
|
|
30
|
-
* get or create a temporary public key which can be used from browser to browse and execute itneractions.
|
|
31
|
-
* If a public key already exists for the given project (or for the current organization) then it is returned, otherwise a new one is created.
|
|
32
|
-
* The payload object can contain the following properties:
|
|
33
|
-
* - name: the name of the public key. If not specified a random name is generated.
|
|
34
|
-
* - projectId: the id of the project to which the public key will be associated.
|
|
35
|
-
* If not specified the key is associated with the current organization. (i.e. account).
|
|
36
|
-
* - ttl: the time to live of the public key in seconds.
|
|
37
|
-
* The ttl defaults to 1h.
|
|
38
|
-
* @param opts
|
|
39
|
-
* @returns
|
|
40
|
-
*/
|
|
41
|
-
requestPublicKey(payload?: CreatePublicKeyPayload): Promise<string>;
|
|
42
|
-
}
|
|
43
|
-
//# sourceMappingURL=ApiKeysApi.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ApiKeysApi.d.ts","sourceRoot":"","sources":["../../src/ApiKeysApi.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,eAAe,EAAE,2BAA2B,EAAE,sBAAsB,EAAE,MAAM,kBAAkB,CAAC;AAChH,OAAO,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,4BAA4B,CAAC;AAElE,qBAAa,UAAW,SAAQ,QAAQ;gBAGxB,MAAM,EAAE,UAAU;IAK9B;;;OAGG;IACH,IAAI,IAAI,OAAO,CAAC,MAAM,EAAE,CAAC;IAIzB;;;;;OAKG;IACH,MAAM,CAAC,OAAO,EAAE,2BAA2B,GAAG,OAAO,CAAC,eAAe,CAAC;IAItE;;;OAGG;IACH,MAAM,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,2BAA2B,GAAG,OAAO,CAAC,MAAM,CAAC;IAIzE;;;;;SAKK;IACL,QAAQ,CAAC,EAAE,EAAE,MAAM,EAAE,SAAS,GAAE,OAAe,GAAG,OAAO,CAAC,MAAM,GAAG,eAAe,CAAC;IAQnF;;;;;;;;;;;OAWG;IACH,gBAAgB,CAAC,OAAO,GAAE,sBAA2B,GAAG,OAAO,CAAC,MAAM,CAAC;CAG1E"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { ApiTopic, ClientBase } from "@vertesia/api-fetch-client";
|
|
2
|
-
import { GenericCommandResponse } from "@vertesia/common";
|
|
3
|
-
/**
|
|
4
|
-
* Various utility commands
|
|
5
|
-
*/
|
|
6
|
-
export default class CommandsApi extends ApiTopic {
|
|
7
|
-
constructor(parent: ClientBase);
|
|
8
|
-
isNamespaceAvailable(name: string): Promise<boolean>;
|
|
9
|
-
initSamples(): Promise<GenericCommandResponse>;
|
|
10
|
-
}
|
|
11
|
-
//# sourceMappingURL=CommandsApi.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CommandsApi.d.ts","sourceRoot":"","sources":["../../src/CommandsApi.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,4BAA4B,CAAC;AAClE,OAAO,EAAE,sBAAsB,EAAE,MAAM,kBAAkB,CAAC;AAG1D;;GAEG;AAEH,MAAM,CAAC,OAAO,OAAO,WAAY,SAAQ,QAAQ;gBAEjC,MAAM,EAAE,UAAU;IAIxB,oBAAoB,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC;IAIpD,WAAW,IAAI,OAAO,CAAC,sBAAsB,CAAC;CAIvD"}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { ExecutionEnvironment, ExecutionEnvironmentCreatePayload, ExecutionEnvironmentRef, ExecutionEnvironmentUpdatePayload, LoadBalancingEnvConfig, MediatorEnvConfig } from "@vertesia/common";
|
|
2
|
-
import { AIModel, EmbeddingsOptions, EmbeddingsResult, ModelSearchPayload } from "@llumiverse/core";
|
|
3
|
-
import { ApiTopic, ClientBase } from "@vertesia/api-fetch-client";
|
|
4
|
-
export default class EnvironmentsApi extends ApiTopic {
|
|
5
|
-
constructor(parent: ClientBase);
|
|
6
|
-
/**
|
|
7
|
-
* List all environments for the current project
|
|
8
|
-
* @param all if true, list all environments, otherwise only the ones for the current project
|
|
9
|
-
*/
|
|
10
|
-
list(all?: boolean): Promise<ExecutionEnvironmentRef[]>;
|
|
11
|
-
create(payload: ExecutionEnvironmentCreatePayload): Promise<ExecutionEnvironment>;
|
|
12
|
-
retrieve(id: string): Promise<ExecutionEnvironment>;
|
|
13
|
-
update(id: string, payload: ExecutionEnvironmentUpdatePayload): Promise<ExecutionEnvironment>;
|
|
14
|
-
/**
|
|
15
|
-
* udpate enabled models and / or config. If enabled_models is not provided, the existing enabled models will not change.
|
|
16
|
-
* Same, if config is not provioded the exiting config is not changed.
|
|
17
|
-
* If the config is provided then it will be updated without removing fields that are not provided.
|
|
18
|
-
*
|
|
19
|
-
* @param id
|
|
20
|
-
* @param payload
|
|
21
|
-
* @returns
|
|
22
|
-
*/
|
|
23
|
-
updateConfig(id: string, payload: {
|
|
24
|
-
enabled_models?: AIModel[];
|
|
25
|
-
config?: MediatorEnvConfig | LoadBalancingEnvConfig;
|
|
26
|
-
}): Promise<ExecutionEnvironment>;
|
|
27
|
-
listModels(id: string, payload?: ModelSearchPayload): Promise<AIModel[]>;
|
|
28
|
-
listTrainableModels(id: string): Promise<AIModel[]>;
|
|
29
|
-
embeddings(id: string, payload?: EmbeddingsOptions): Promise<EmbeddingsResult>;
|
|
30
|
-
}
|
|
31
|
-
//# sourceMappingURL=EnvironmentsApi.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"EnvironmentsApi.d.ts","sourceRoot":"","sources":["../../src/EnvironmentsApi.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,iCAAiC,EAAE,uBAAuB,EAAE,iCAAiC,EAAE,sBAAsB,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AAClM,OAAO,EAAE,OAAO,EAAE,iBAAiB,EAAE,gBAAgB,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AACpG,OAAO,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,4BAA4B,CAAC;AAElE,MAAM,CAAC,OAAO,OAAO,eAAgB,SAAQ,QAAQ;gBACrC,MAAM,EAAE,UAAU;IAI9B;;;OAGG;IACH,IAAI,CAAC,GAAG,GAAE,OAAe,GAAG,OAAO,CAAC,uBAAuB,EAAE,CAAC;IAM9D,MAAM,CAAC,OAAO,EAAE,iCAAiC,GAAG,OAAO,CAAC,oBAAoB,CAAC;IAMjF,QAAQ,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,oBAAoB,CAAC;IAInD,MAAM,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,iCAAiC,GAAG,OAAO,CAAC,oBAAoB,CAAC;IAM7F;;;;;;;;OAQG;IACH,YAAY,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE;QAC9B,cAAc,CAAC,EAAE,OAAO,EAAE,CAAC;QAC3B,MAAM,CAAC,EAAE,iBAAiB,GAAG,sBAAsB,CAAA;KACtD,GAAG,OAAO,CAAC,oBAAoB,CAAC;IAMjC,UAAU,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,kBAAkB,GAAG,OAAO,CAAC,OAAO,EAAE,CAAC;IAMxE,mBAAmB,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,EAAE,CAAC;IAInD,UAAU,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,iBAAiB,GAAG,OAAO,CAAC,gBAAgB,CAAC;CAMjF"}
|
package/lib/types/IamApi.d.ts
DELETED
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import { AccessControlEntry, ACECreatePayload, AcesQueryOptions, Permission, ProjectRoles } from "@vertesia/common";
|
|
2
|
-
import { ApiTopic, ClientBase } from "@vertesia/api-fetch-client";
|
|
3
|
-
export interface FilterOption {
|
|
4
|
-
id: string;
|
|
5
|
-
name: string;
|
|
6
|
-
count: number;
|
|
7
|
-
}
|
|
8
|
-
export declare class IamApi extends ApiTopic {
|
|
9
|
-
constructor(parent: ClientBase);
|
|
10
|
-
aces: AcesApi;
|
|
11
|
-
roles: RolesApi;
|
|
12
|
-
}
|
|
13
|
-
export declare class RolesApi extends ApiTopic {
|
|
14
|
-
constructor(parent: ClientBase);
|
|
15
|
-
list(): Promise<{
|
|
16
|
-
name: ProjectRoles;
|
|
17
|
-
permissions: Permission[];
|
|
18
|
-
}[]>;
|
|
19
|
-
}
|
|
20
|
-
export declare class AcesApi extends ApiTopic {
|
|
21
|
-
constructor(parent: ClientBase);
|
|
22
|
-
/**
|
|
23
|
-
* Get the list of all runs
|
|
24
|
-
* @param project optional project id to filter by
|
|
25
|
-
* @param interaction optional interaction id to filter by
|
|
26
|
-
* @returns InteractionResult[]
|
|
27
|
-
**/
|
|
28
|
-
list(options: AcesQueryOptions): Promise<AccessControlEntry[]>;
|
|
29
|
-
/**
|
|
30
|
-
* Get an ACE by its Id
|
|
31
|
-
* @param id
|
|
32
|
-
* @returns InteractionResult
|
|
33
|
-
**/
|
|
34
|
-
retrieve(id: string): Promise<AccessControlEntry>;
|
|
35
|
-
create(payload: ACECreatePayload): Promise<AccessControlEntry>;
|
|
36
|
-
delete(id: string): Promise<{
|
|
37
|
-
id: string;
|
|
38
|
-
}>;
|
|
39
|
-
}
|
|
40
|
-
//# sourceMappingURL=IamApi.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"IamApi.d.ts","sourceRoot":"","sources":["../../src/IamApi.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AACpH,OAAO,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,4BAA4B,CAAC;AAGlE,MAAM,WAAW,YAAY;IACzB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAA;CAChB;AAGD,qBAAa,MAAO,SAAQ,QAAQ;gBAEpB,MAAM,EAAE,UAAU;IAI9B,IAAI,UAAoB;IACxB,KAAK,WAAqB;CAC7B;AAED,qBAAa,QAAS,SAAQ,QAAQ;gBAEtB,MAAM,EAAE,UAAU;IAI9B,IAAI,IAAI,OAAO,CAAC;QAAE,IAAI,EAAE,YAAY,CAAC;QAAC,WAAW,EAAE,UAAU,EAAE,CAAA;KAAE,EAAE,CAAC;CAIvE;AAGD,qBAAa,OAAQ,SAAQ,QAAQ;gBAErB,MAAM,EAAE,UAAU;IAI9B;;;;;QAKI;IACJ,IAAI,CAAC,OAAO,EAAE,gBAAgB,GAAG,OAAO,CAAC,kBAAkB,EAAE,CAAC;IAI9D;;;;QAII;IACJ,QAAQ,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,kBAAkB,CAAC;IAIjD,MAAM,CAAC,OAAO,EAAE,gBAAgB,GAAG,OAAO,CAAC,kBAAkB,CAAC;IAI9D,MAAM,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC;QAAE,EAAE,EAAE,MAAM,CAAA;KAAE,CAAC;CAI9C"}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { ExecutionRun, InteractionUpdatePayload, InteractionExecutionPayload } from "@vertesia/common";
|
|
2
|
-
import { VertesiaClient, VertesiaClientProps } from "./client.js";
|
|
3
|
-
export declare class InteractionBase<P = any, R = any> {
|
|
4
|
-
id: string;
|
|
5
|
-
client: VertesiaClient;
|
|
6
|
-
constructor(id: string, clientOrOpts: VertesiaClient | VertesiaClientProps);
|
|
7
|
-
retrieve(): Promise<import("@vertesia/common").Interaction>;
|
|
8
|
-
update(payload: InteractionUpdatePayload): Promise<import("@vertesia/common").Interaction>;
|
|
9
|
-
render(data: P): void;
|
|
10
|
-
/**
|
|
11
|
-
* Execute an interaction and return a promise which will be resolved with the executed run when
|
|
12
|
-
* the run completes or fails.
|
|
13
|
-
* If the onChunk callback is passed then the streaming of the result is enabled.
|
|
14
|
-
* The onChunk callback with be called with the next chunk of the result as soon as it is available.
|
|
15
|
-
* When all chunks are received the fucntion will return the resolved promise
|
|
16
|
-
* @param id of the interaction to execute
|
|
17
|
-
* @param payload InteractionExecutionPayload
|
|
18
|
-
* @param onChunk callback to be called when the next chunk of the response is available
|
|
19
|
-
* @returns the resolved execution run as Promise<ExecutionRun>
|
|
20
|
-
*/
|
|
21
|
-
execute(payload?: InteractionExecutionPayload, onChunk?: (chunk: string) => void): Promise<ExecutionRun<P, R>>;
|
|
22
|
-
}
|
|
23
|
-
//# sourceMappingURL=InteractionBase.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"InteractionBase.d.ts","sourceRoot":"","sources":["../../src/InteractionBase.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,wBAAwB,EAAE,2BAA2B,EAAE,MAAM,kBAAkB,CAAC;AACvG,OAAO,EAAE,cAAc,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAC;AAGlE,qBAAa,eAAe,CAAC,CAAC,GAAG,GAAG,EAAE,CAAC,GAAG,GAAG;IAGtB,EAAE,EAAE,MAAM;IAF7B,MAAM,EAAE,cAAc,CAAC;gBAEJ,EAAE,EAAE,MAAM,EAAE,YAAY,EAAE,cAAc,GAAG,mBAAmB;IAQjF,QAAQ;IAIR,MAAM,CAAC,OAAO,EAAE,wBAAwB;IAIxC,MAAM,CAAC,IAAI,EAAE,CAAC;IAKd;;;;;;;;;;OAUG;IACG,OAAO,CAAC,OAAO,GAAE,2BAAgC,EACnD,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,GAAG,OAAO,CAAC,YAAY,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;CAGtE"}
|
|
@@ -1,136 +0,0 @@
|
|
|
1
|
-
import { ComputeInteractionFacetPayload, ExecutionRun, GenerateInteractionPayload, GenerateTestDataPayload, ImprovePromptPayload, Interaction, InteractionCreatePayload, InteractionExecutionPayload, InteractionForkPayload, InteractionPublishPayload, InteractionRef, InteractionRefWithSchema, InteractionUpdatePayload, InteractionsExportPayload, InteractionSearchPayload } from "@vertesia/common";
|
|
2
|
-
import { ApiTopic, ClientBase } from "@vertesia/api-fetch-client";
|
|
3
|
-
export interface ComputeInteractionFacetsResponse {
|
|
4
|
-
tags?: {
|
|
5
|
-
_id: string;
|
|
6
|
-
count: number;
|
|
7
|
-
}[];
|
|
8
|
-
status?: {
|
|
9
|
-
_id: string;
|
|
10
|
-
count: number;
|
|
11
|
-
}[];
|
|
12
|
-
total?: {
|
|
13
|
-
count: number;
|
|
14
|
-
}[];
|
|
15
|
-
}
|
|
16
|
-
export default class InteractionsApi extends ApiTopic {
|
|
17
|
-
constructor(parent: ClientBase);
|
|
18
|
-
/**
|
|
19
|
-
* Get the list of all interactions in the current project
|
|
20
|
-
* @returns InteractionRef[]
|
|
21
|
-
**/
|
|
22
|
-
list(payload?: InteractionSearchPayload): Promise<InteractionRef[]>;
|
|
23
|
-
/**
|
|
24
|
-
* List all interaction versions in the project having the given endpoint name.
|
|
25
|
-
* This is useful to list orphaned versions
|
|
26
|
-
* @param name
|
|
27
|
-
*/
|
|
28
|
-
listVersionsByName(name: string): Promise<InteractionRef[]>;
|
|
29
|
-
/**
|
|
30
|
-
* Get the list of all interactions facets
|
|
31
|
-
* @param payload query payload to filter facet search
|
|
32
|
-
* @returns ComputeInteractionFacetsResponse[]
|
|
33
|
-
**/
|
|
34
|
-
computeFacets(query: ComputeInteractionFacetPayload): Promise<ComputeInteractionFacetsResponse>;
|
|
35
|
-
/**
|
|
36
|
-
* List interaction names in the current project
|
|
37
|
-
* @returns
|
|
38
|
-
*/
|
|
39
|
-
listNames(): Promise<{
|
|
40
|
-
id: string;
|
|
41
|
-
name: string;
|
|
42
|
-
}[]>;
|
|
43
|
-
/**
|
|
44
|
-
* Get the list of all interactions in the current project. Schemas will be returned too.
|
|
45
|
-
* @returns InteractionRefWithSchema[]
|
|
46
|
-
**/
|
|
47
|
-
export(payload: InteractionsExportPayload): Promise<InteractionRefWithSchema[]>;
|
|
48
|
-
/**
|
|
49
|
-
* Create a new interaction
|
|
50
|
-
* @param payload InteractionCreatePayload
|
|
51
|
-
* @returns Interaction
|
|
52
|
-
* @throws ApiError
|
|
53
|
-
* @throws 400 if payload is invalid
|
|
54
|
-
* @throws 500 if interaction creation fails
|
|
55
|
-
**/
|
|
56
|
-
create(payload: InteractionCreatePayload): Promise<Interaction>;
|
|
57
|
-
/**
|
|
58
|
-
* Retrieve an existing interaction definiton
|
|
59
|
-
* @param id of the interaction to retrieve
|
|
60
|
-
* @returns Interaction
|
|
61
|
-
**/
|
|
62
|
-
retrieve(id: string): Promise<Interaction>;
|
|
63
|
-
/**
|
|
64
|
-
* Update an existing interaction definiton
|
|
65
|
-
* @param id of the interaction to update
|
|
66
|
-
* @param payload InteractionUpdatePayload
|
|
67
|
-
* @returns Interaction
|
|
68
|
-
* @throws ApiError
|
|
69
|
-
* @throws 400 if payload is invalid
|
|
70
|
-
* @throws 500 if interaction update fails
|
|
71
|
-
* @throws 404 if interaction not found
|
|
72
|
-
**/
|
|
73
|
-
update(id: string, payload: InteractionUpdatePayload): Promise<Interaction>;
|
|
74
|
-
/**
|
|
75
|
-
* Execute an interaction and return a promise which will be resolved with the executed run when
|
|
76
|
-
* the run completes or fails.
|
|
77
|
-
* If the onChunk callback is passed then the streaming of the result is enabled.
|
|
78
|
-
* The onChunk callback with be called with the next chunk of the result as soon as it is available.
|
|
79
|
-
* When all chunks are received the fucntion will return the resolved promise
|
|
80
|
-
* @param id of the interaction to execute
|
|
81
|
-
* @param payload InteractionExecutionPayload
|
|
82
|
-
* @param onChunk callback to be called when the next chunk of the response is available
|
|
83
|
-
* @returns Promise<ExecutionRun>
|
|
84
|
-
* @throws ApiError
|
|
85
|
-
* @throws 404 if interaction not found
|
|
86
|
-
* @throws 400 if payload is invalid
|
|
87
|
-
* @throws 500 if interaction execution fails
|
|
88
|
-
* @throws 500 if interaction execution times out
|
|
89
|
-
**/
|
|
90
|
-
execute<P = any, R = any>(id: string, payload?: InteractionExecutionPayload, onChunk?: (chunk: string) => void): Promise<ExecutionRun<P, R>>;
|
|
91
|
-
/**
|
|
92
|
-
* Same as execute but uses the interaction name selector instead of the id.
|
|
93
|
-
*
|
|
94
|
-
* A name selector is the interaction endpoint name suffuxed with an optional tag or version wich is starting with a `@` character.
|
|
95
|
-
* The special `draft` tag is used to select the draft version of the interaction. If no tag or version is specified then the latest version is selected.
|
|
96
|
-
* Examples of selectors:
|
|
97
|
-
* - `ReviewContract` - select the latest version of the ReviewContract interaction
|
|
98
|
-
* - `ReviewContract@1` - select the version 1 of the ReviewContract interaction
|
|
99
|
-
* - `ReviewContract@draft` - select the draft version of the ReviewContract interaction
|
|
100
|
-
* - `ReviewContract@fixed` - select the ReviewContract interaction which is tagged with 'fixed' tag.
|
|
101
|
-
* @param nameWithTag
|
|
102
|
-
* @param payload
|
|
103
|
-
* @param onChunk
|
|
104
|
-
* @returns
|
|
105
|
-
*/
|
|
106
|
-
executeByName<P = any, R = any>(nameWithTag: string, payload?: InteractionExecutionPayload, onChunk?: (chunk: string) => void): Promise<ExecutionRun<P, R>>;
|
|
107
|
-
publish(id: string, payload: InteractionPublishPayload): Promise<Interaction>;
|
|
108
|
-
fork(id: string, payload: InteractionForkPayload): Promise<Interaction>;
|
|
109
|
-
/**
|
|
110
|
-
* Generate Composable definition of an interaction
|
|
111
|
-
**/
|
|
112
|
-
generateInteraction(id: string, payload: GenerateInteractionPayload): Promise<any[]>;
|
|
113
|
-
/**
|
|
114
|
-
* Generate Test Data for an interaction
|
|
115
|
-
**/
|
|
116
|
-
generateTestData(id: string, payload: GenerateTestDataPayload): Promise<any[]>;
|
|
117
|
-
/**
|
|
118
|
-
* Suggest Improvement for a prompt
|
|
119
|
-
*/
|
|
120
|
-
suggestImprovements(id: string, payload: ImprovePromptPayload): Promise<{
|
|
121
|
-
result: string;
|
|
122
|
-
}>;
|
|
123
|
-
/**
|
|
124
|
-
* List the versions of the interaction. Returns an empty array if no versions are found
|
|
125
|
-
* @param id
|
|
126
|
-
* @returns the versions list or an empty array if no versions are found
|
|
127
|
-
*/
|
|
128
|
-
listVersions(id: string): Promise<InteractionRef[]>;
|
|
129
|
-
/**
|
|
130
|
-
* List the forks of the interaction. Returns an empty array if no forks are found
|
|
131
|
-
* @param id
|
|
132
|
-
* @returns the versions list or an empty array if no forks are found
|
|
133
|
-
*/
|
|
134
|
-
listForks(id: string): Promise<InteractionRef[]>;
|
|
135
|
-
}
|
|
136
|
-
//# sourceMappingURL=InteractionsApi.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"InteractionsApi.d.ts","sourceRoot":"","sources":["../../src/InteractionsApi.ts"],"names":[],"mappings":"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"}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { ApiTopic, ClientBase } from "@vertesia/api-fetch-client";
|
|
2
|
-
import { AwsConfiguration, GithubConfiguration, GladiaConfiguration, ICreateProjectPayload, MacgicPdfConfiguration, Project, ProjectIntegrationListEntry, ProjectRef, SupportedIntegrations } from "@vertesia/common";
|
|
3
|
-
export default class ProjectsApi extends ApiTopic {
|
|
4
|
-
constructor(parent: ClientBase);
|
|
5
|
-
list(account?: string[]): Promise<ProjectRef[]>;
|
|
6
|
-
retrieve(projectId: string): Promise<Project>;
|
|
7
|
-
create(payload: ICreateProjectPayload): Promise<Project>;
|
|
8
|
-
update(projectId: string, payload: Partial<Project>): Promise<Project>;
|
|
9
|
-
integrations: IntegrationsConfigurationApi;
|
|
10
|
-
}
|
|
11
|
-
declare class IntegrationsConfigurationApi extends ApiTopic {
|
|
12
|
-
constructor(parent: ClientBase);
|
|
13
|
-
list(projectId: string): Promise<ProjectIntegrationListEntry[]>;
|
|
14
|
-
retrieve(projectId: string, integrationId: SupportedIntegrations): Promise<GladiaConfiguration | GithubConfiguration | AwsConfiguration | MacgicPdfConfiguration | undefined>;
|
|
15
|
-
update(projectId: string, integrationId: string, payload: any): Promise<GladiaConfiguration | GithubConfiguration>;
|
|
16
|
-
}
|
|
17
|
-
export {};
|
|
18
|
-
//# sourceMappingURL=ProjectsApi.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ProjectsApi.d.ts","sourceRoot":"","sources":["../../src/ProjectsApi.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,4BAA4B,CAAC;AAClE,OAAO,EAAE,gBAAgB,EAAE,mBAAmB,EAAE,mBAAmB,EAAE,qBAAqB,EAAE,sBAAsB,EAAE,OAAO,EAAE,2BAA2B,EAAE,UAAU,EAAE,qBAAqB,EAAE,MAAM,kBAAkB,CAAC;AAEtN,MAAM,CAAC,OAAO,OAAO,WAAY,SAAQ,QAAQ;gBACjC,MAAM,EAAE,UAAU;IAI9B,IAAI,CAAC,OAAO,CAAC,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC,UAAU,EAAE,CAAC;IAI/C,QAAQ,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC;IAI7C,MAAM,CAAC,OAAO,EAAE,qBAAqB,GAAG,OAAO,CAAC,OAAO,CAAC;IAMxD,MAAM,CAAC,SAAS,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,CAAC,OAAO,CAAC,GAAG,OAAO,CAAC,OAAO,CAAC;IAMtE,YAAY,EAAE,4BAA4B,CAA0C;CAEvF;AAED,cAAM,4BAA6B,SAAQ,QAAQ;gBAEnC,MAAM,EAAE,UAAU;IAI9B,IAAI,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,2BAA2B,EAAE,CAAC;IAI/D,QAAQ,CAAC,SAAS,EAAE,MAAM,EAAE,aAAa,EAAE,qBAAqB,GAAG,OAAO,CAAC,mBAAmB,GAAG,mBAAmB,GAAG,gBAAgB,GAAG,sBAAsB,GAAG,SAAS,CAAC;IAS7K,MAAM,CAAC,SAAS,EAAE,MAAM,EAAE,aAAa,EAAE,MAAM,EAAE,OAAO,EAAE,GAAG,GAAG,OAAO,CAAC,mBAAmB,GAAG,mBAAmB,CAAC;CAMrH"}
|
|
@@ -1,107 +0,0 @@
|
|
|
1
|
-
import { ComputePromptFacetPayload, PromptSearchPayload, PromptTemplate, PromptTemplateForkPayload, PromptTemplateCreatePayload, PromptTemplateRef, PromptTemplateUpdatePayload } from "@vertesia/common";
|
|
2
|
-
import { ApiTopic, ClientBase } from "@vertesia/api-fetch-client";
|
|
3
|
-
export interface ComputePromptFacetsResponse {
|
|
4
|
-
role?: {
|
|
5
|
-
_id: string;
|
|
6
|
-
count: number;
|
|
7
|
-
}[];
|
|
8
|
-
total?: {
|
|
9
|
-
count: number;
|
|
10
|
-
}[];
|
|
11
|
-
}
|
|
12
|
-
export default class PromptsApi extends ApiTopic {
|
|
13
|
-
constructor(parent: ClientBase);
|
|
14
|
-
/**
|
|
15
|
-
* Get the list of all prompt templates
|
|
16
|
-
* @param payload query payload to filter search
|
|
17
|
-
* @returns PromptTemplateRef[]
|
|
18
|
-
**/
|
|
19
|
-
list(payload?: PromptSearchPayload): Promise<PromptTemplateRef[]>;
|
|
20
|
-
/**
|
|
21
|
-
* Get the list of all prompt facets
|
|
22
|
-
* @param payload query payload to filter facet search
|
|
23
|
-
* @returns ComputePromptFacetsResponse[]
|
|
24
|
-
**/
|
|
25
|
-
computeFacets(query: ComputePromptFacetPayload): Promise<ComputePromptFacetsResponse>;
|
|
26
|
-
/**
|
|
27
|
-
* Create a new prompt template
|
|
28
|
-
* @param payload PromptTemplateCreatePayload
|
|
29
|
-
* @returns PromptTemplate
|
|
30
|
-
* @throws ApiError
|
|
31
|
-
* @throws 400 if payload is invalid
|
|
32
|
-
* @throws 500 if creation fails
|
|
33
|
-
**/
|
|
34
|
-
create(payload: PromptTemplateCreatePayload): Promise<PromptTemplate>;
|
|
35
|
-
/**
|
|
36
|
-
* Retrieve an existing prompt template
|
|
37
|
-
* @param id of the prompt template to retrieve
|
|
38
|
-
* @returns PromptTemplate
|
|
39
|
-
**/
|
|
40
|
-
retrieve(id: string): Promise<PromptTemplate>;
|
|
41
|
-
/**
|
|
42
|
-
* Update an existing prompt template
|
|
43
|
-
* @param id of the prompt template to update
|
|
44
|
-
* @param payload PromptTemplateCreatePayload
|
|
45
|
-
* @returns PromptTemplate
|
|
46
|
-
* @throws ApiError
|
|
47
|
-
* @throws 400 if payload is invalid
|
|
48
|
-
* @throws 500 if update fails
|
|
49
|
-
* @throws 404 if not found
|
|
50
|
-
**/
|
|
51
|
-
update(id: string, payload: PromptTemplateUpdatePayload): Promise<PromptTemplate>;
|
|
52
|
-
/**
|
|
53
|
-
* Delete an existing prompt template
|
|
54
|
-
* @param id of the prompt template to delete
|
|
55
|
-
* @returns void
|
|
56
|
-
*/
|
|
57
|
-
delete(id: string): Promise<void>;
|
|
58
|
-
/**
|
|
59
|
-
* Fork an existing prompt template
|
|
60
|
-
* @param id of the prompt template to fork
|
|
61
|
-
* @param payload PromptTemplateForkPayload
|
|
62
|
-
* @returns Forked PromptTemplate
|
|
63
|
-
*/
|
|
64
|
-
fork(id: string, payload: PromptTemplateForkPayload): Promise<PromptTemplate>;
|
|
65
|
-
/**
|
|
66
|
-
* Render a prompt template
|
|
67
|
-
* @param id of the prompt template to render
|
|
68
|
-
* @param payload that will be passed to the prompt template to generate the prompts
|
|
69
|
-
* @returns PromptTemplate
|
|
70
|
-
* @throws ApiError
|
|
71
|
-
* @throws 404 if not found
|
|
72
|
-
* @throws 400 if payload is invalid
|
|
73
|
-
* @throws 500 if render fails
|
|
74
|
-
**/
|
|
75
|
-
render(id: string, payload: {}): Promise<PromptTemplate>;
|
|
76
|
-
/**
|
|
77
|
-
* Get options for a field
|
|
78
|
-
* @param field name to get options for
|
|
79
|
-
* @returns string[]
|
|
80
|
-
*/
|
|
81
|
-
options(field: string): Promise<string[]>;
|
|
82
|
-
/**
|
|
83
|
-
* List the versions of the prompt template. Returens an empty array if no versions are found
|
|
84
|
-
* @param id
|
|
85
|
-
* @returns the versions list or an empty array if no versions are found
|
|
86
|
-
*/
|
|
87
|
-
listVersions(id: string): Promise<PromptTemplateRef[]>;
|
|
88
|
-
/**
|
|
89
|
-
* Retrieve list of interactions that use the prompt template
|
|
90
|
-
*/
|
|
91
|
-
listInteractions(id: string): Promise<ListInteractionsResponse>;
|
|
92
|
-
/**
|
|
93
|
-
* List the forks of the prompt. Returns an empty array if no forks are found
|
|
94
|
-
* @param id of the prompt to search forks
|
|
95
|
-
* @returns the versions list or an empty array if no forks are found
|
|
96
|
-
*/
|
|
97
|
-
listForks(id: string): Promise<PromptTemplateRef[]>;
|
|
98
|
-
}
|
|
99
|
-
export interface ListInteractionsResponse {
|
|
100
|
-
prompt: string;
|
|
101
|
-
interactions: {
|
|
102
|
-
id: string;
|
|
103
|
-
name: string;
|
|
104
|
-
versions: string[];
|
|
105
|
-
}[];
|
|
106
|
-
}
|
|
107
|
-
//# sourceMappingURL=PromptsApi.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PromptsApi.d.ts","sourceRoot":"","sources":["../../src/PromptsApi.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,yBAAyB,EAAE,mBAAmB,EAAqB,cAAc,EAAE,yBAAyB,EAAE,2BAA2B,EAAE,iBAAiB,EAAE,2BAA2B,EAAE,MAAM,kBAAkB,CAAC;AAC7N,OAAO,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,4BAA4B,CAAC;AAElE,MAAM,WAAW,2BAA2B;IACxC,IAAI,CAAC,EAAE;QAAE,GAAG,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,EAAE,CAAC;IACxC,KAAK,CAAC,EAAE;QAAE,KAAK,EAAE,MAAM,CAAA;KAAE,EAAE,CAAC;CAC/B;AAED,MAAM,CAAC,OAAO,OAAO,UAAW,SAAQ,QAAQ;gBAChC,MAAM,EAAE,UAAU;IAI9B;;;;QAII;IACJ,IAAI,CAAC,OAAO,GAAE,mBAAwB,GAAG,OAAO,CAAC,iBAAiB,EAAE,CAAC;IAUrE;;;;QAII;IACJ,aAAa,CAAC,KAAK,EAAE,yBAAyB,GAAG,OAAO,CAAC,2BAA2B,CAAC;IAMrF;;;;;;;QAOI;IACJ,MAAM,CAAC,OAAO,EAAE,2BAA2B,GAAG,OAAO,CAAC,cAAc,CAAC;IAMrE;;;;QAII;IACJ,QAAQ,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,cAAc,CAAC;IAI7C;;;;;;;;;QASI;IACJ,MAAM,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,2BAA2B,GAAG,OAAO,CAAC,cAAc,CAAC;IAMjF;;;;OAIG;IACH,MAAM,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAIjC;;;;;OAKG;IACH,IAAI,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,yBAAyB,GAAG,OAAO,CAAC,cAAc,CAAC;IAM7E;;;;;;;;;QASI;IACJ,MAAM,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,EAAE,GAAG,OAAO,CAAC,cAAc,CAAC;IAMxD;;;;OAIG;IACH,OAAO,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,EAAE,CAAC;IAIzC;;;;OAIG;IACH,YAAY,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,iBAAiB,EAAE,CAAC;IAKtD;;OAEG;IACH,gBAAgB,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,wBAAwB,CAAC;IAI/D;;;;OAIG;IACH,SAAS,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,iBAAiB,EAAE,CAAC;CAItD;AAED,MAAM,WAAW,wBAAwB;IACrC,MAAM,EAAE,MAAM,CAAC;IACf,YAAY,EAAE;QACV,EAAE,EAAE,MAAM,CAAC;QACX,IAAI,EAAE,MAAM,CAAC;QACb,QAAQ,EAAE,MAAM,EAAE,CAAC;KACtB,EAAE,CAAA;CACN"}
|
package/lib/types/RefsApi.d.ts
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { ResolvableRef, ResourceRef } from "@vertesia/common";
|
|
2
|
-
import { ApiTopic, ClientBase } from "@vertesia/api-fetch-client";
|
|
3
|
-
export declare class RefsApi extends ApiTopic {
|
|
4
|
-
constructor(parent: ClientBase);
|
|
5
|
-
resolve(refs: ResolvableRef[]): Promise<ResourceRef[]>;
|
|
6
|
-
}
|
|
7
|
-
//# sourceMappingURL=RefsApi.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"RefsApi.d.ts","sourceRoot":"","sources":["../../src/RefsApi.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAA;AAC7D,OAAO,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,4BAA4B,CAAA;AAGjE,qBAAa,OAAQ,SAAQ,QAAQ;gBAErB,MAAM,EAAE,UAAU;IAK9B,OAAO,CAAC,IAAI,EAAE,aAAa,EAAE,GAAG,OAAO,CAAC,WAAW,EAAE,CAAC;CAMzD"}
|
package/lib/types/RunsApi.d.ts
DELETED
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
import { ApiTopic, ClientBase } from "@vertesia/api-fetch-client";
|
|
2
|
-
import { ComputeRunFacetPayload, ExecutionRun, ExecutionRunRef, FindPayload, RunCreatePayload, RunListingFilters, RunListingQueryOptions, RunSearchPayload } from "@vertesia/common";
|
|
3
|
-
export interface FilterOption {
|
|
4
|
-
id: string;
|
|
5
|
-
name: string;
|
|
6
|
-
count: number;
|
|
7
|
-
}
|
|
8
|
-
export interface ComputeRunFacetsResponse {
|
|
9
|
-
environments?: {
|
|
10
|
-
_id: string;
|
|
11
|
-
count: number;
|
|
12
|
-
}[];
|
|
13
|
-
interactions?: {
|
|
14
|
-
_id: string;
|
|
15
|
-
count: number;
|
|
16
|
-
}[];
|
|
17
|
-
models?: {
|
|
18
|
-
_id: string;
|
|
19
|
-
count: number;
|
|
20
|
-
}[];
|
|
21
|
-
tags?: {
|
|
22
|
-
_id: string;
|
|
23
|
-
count: number;
|
|
24
|
-
}[];
|
|
25
|
-
status?: {
|
|
26
|
-
_id: string;
|
|
27
|
-
count: number;
|
|
28
|
-
}[];
|
|
29
|
-
total?: {
|
|
30
|
-
count: number;
|
|
31
|
-
}[];
|
|
32
|
-
}
|
|
33
|
-
export declare class RunsApi extends ApiTopic {
|
|
34
|
-
constructor(parent: ClientBase);
|
|
35
|
-
/**
|
|
36
|
-
* Get the list of all runs
|
|
37
|
-
* @param project optional project id to filter by
|
|
38
|
-
* @param interaction optional interaction id to filter by
|
|
39
|
-
* @returns InteractionResult[]
|
|
40
|
-
**/
|
|
41
|
-
list({ limit, offset, filters }: RunListingQueryOptions): Promise<ExecutionRunRef[]>;
|
|
42
|
-
find(payload: FindPayload): Promise<ExecutionRun[]>;
|
|
43
|
-
/**
|
|
44
|
-
* Get a run by id
|
|
45
|
-
*
|
|
46
|
-
* @param id
|
|
47
|
-
* @returns InteractionResult
|
|
48
|
-
**/
|
|
49
|
-
retrieve<P = any, R = any>(id: string): Promise<ExecutionRun<P, R>>;
|
|
50
|
-
/**
|
|
51
|
-
* Get filter options for a field
|
|
52
|
-
* return FilterOption[]
|
|
53
|
-
*/
|
|
54
|
-
filterOptions(field: string, filters: RunListingFilters): Promise<FilterOption[]>;
|
|
55
|
-
create(payload: RunCreatePayload): Promise<ExecutionRun>;
|
|
56
|
-
/**
|
|
57
|
-
* Get the list of all runs facets
|
|
58
|
-
* @param payload query payload to filter facet search
|
|
59
|
-
* @returns ComputeRunFacetsResponse[]
|
|
60
|
-
**/
|
|
61
|
-
computeFacets(query: ComputeRunFacetPayload): Promise<ComputeRunFacetsResponse>;
|
|
62
|
-
search(payload: RunSearchPayload): Promise<ExecutionRunRef[]>;
|
|
63
|
-
}
|
|
64
|
-
//# sourceMappingURL=RunsApi.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"RunsApi.d.ts","sourceRoot":"","sources":["../../src/RunsApi.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,4BAA4B,CAAC;AAClE,OAAO,EAAE,sBAAsB,EAAE,YAAY,EAAE,eAAe,EAAE,WAAW,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,sBAAsB,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AAGrL,MAAM,WAAW,YAAY;IACzB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAA;CAChB;AAED,MAAM,WAAW,wBAAwB;IACrC,YAAY,CAAC,EAAE;QAAE,GAAG,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,EAAE,CAAC;IAChD,YAAY,CAAC,EAAE;QAAE,GAAG,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,EAAE,CAAC;IAChD,MAAM,CAAC,EAAE;QAAE,GAAG,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,EAAE,CAAC;IAC1C,IAAI,CAAC,EAAE;QAAE,GAAG,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,EAAE,CAAC;IACxC,MAAM,CAAC,EAAE;QAAE,GAAG,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,EAAE,CAAC;IAC1C,KAAK,CAAC,EAAE;QAAE,KAAK,EAAE,MAAM,CAAA;KAAE,EAAE,CAAC;CAC/B;AAED,qBAAa,OAAQ,SAAQ,QAAQ;gBAErB,MAAM,EAAE,UAAU;IAI9B;;;;;QAKI;IACJ,IAAI,CAAC,EAAE,KAAK,EAAE,MAAM,EAAE,OAAO,EAAE,EAAE,sBAAsB,GAAG,OAAO,CAAC,eAAe,EAAE,CAAC;IAWpF,IAAI,CAAC,OAAO,EAAE,WAAW,GAAG,OAAO,CAAC,YAAY,EAAE,CAAC;IAMnD;;;;;QAKI;IACJ,QAAQ,CAAC,CAAC,GAAC,GAAG,EAAE,CAAC,GAAC,GAAG,EAAE,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,YAAY,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;IAI/D;;;OAGG;IACH,aAAa,CAAC,KAAK,EAAE,MAAM,EAAE,OAAO,EAAE,iBAAiB,GAAG,OAAO,CAAC,YAAY,EAAE,CAAC;IAQjF,MAAM,CAAC,OAAO,EAAE,gBAAgB,GAAG,OAAO,CAAC,YAAY,CAAC;IAgBxD;;;;QAII;IACJ,aAAa,CAAC,KAAK,EAAE,sBAAsB,GAAG,OAAO,CAAC,wBAAwB,CAAC;IAM/E,MAAM,CAAC,OAAO,EAAE,gBAAgB,GAAG,OAAO,CAAC,eAAe,EAAE,CAAC;CAMhE"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
export declare class StreamSource {
|
|
2
|
-
stream: ReadableStream;
|
|
3
|
-
name: string;
|
|
4
|
-
type?: string | undefined;
|
|
5
|
-
id?: string | undefined;
|
|
6
|
-
constructor(stream: ReadableStream, name: string, type?: string | undefined, id?: string | undefined);
|
|
7
|
-
}
|
|
8
|
-
//# sourceMappingURL=StreamSource.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"StreamSource.d.ts","sourceRoot":"","sources":["../../src/StreamSource.ts"],"names":[],"mappings":"AAAA,qBAAa,YAAY;IACF,MAAM,EAAE,cAAc;IAAS,IAAI,EAAE,MAAM;IAAS,IAAI,CAAC,EAAE,MAAM;IAAS,EAAE,CAAC,EAAE,MAAM;gBAArF,MAAM,EAAE,cAAc,EAAS,IAAI,EAAE,MAAM,EAAS,IAAI,CAAC,EAAE,MAAM,YAAA,EAAS,EAAE,CAAC,EAAE,MAAM,YAAA;CAC3G"}
|