vellum-ai 0.0.22 → 0.0.24
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/Client.d.ts +2 -0
- package/Client.js +2 -0
- package/api/types/ExecuteWorkflowStreamErrorResponse.d.ts +7 -0
- package/api/types/ExecuteWorkflowStreamErrorResponse.js +5 -0
- package/api/types/index.d.ts +1 -0
- package/api/types/index.js +1 -0
- package/dist/Client.d.ts +2 -0
- package/dist/Client.js +2 -0
- package/dist/api/types/ExecuteWorkflowStreamErrorResponse.d.ts +7 -0
- package/dist/api/types/ExecuteWorkflowStreamErrorResponse.js +5 -0
- package/dist/api/types/index.d.ts +1 -0
- package/dist/api/types/index.js +1 -0
- package/dist/serialization/types/ExecuteWorkflowStreamErrorResponse.d.ts +12 -0
- package/dist/serialization/types/ExecuteWorkflowStreamErrorResponse.js +33 -0
- package/dist/serialization/types/index.d.ts +1 -0
- package/dist/serialization/types/index.js +1 -0
- package/package.json +1 -1
- package/serialization/types/ExecuteWorkflowStreamErrorResponse.d.ts +12 -0
- package/serialization/types/ExecuteWorkflowStreamErrorResponse.js +33 -0
- package/serialization/types/index.d.ts +1 -0
- package/serialization/types/index.js +1 -0
package/Client.d.ts
CHANGED
|
@@ -24,6 +24,8 @@ export declare class VellumClient {
|
|
|
24
24
|
* <strong style="background-color:#ffc107; color:white; padding:4px; border-radius:4px">Unstable</strong>
|
|
25
25
|
*
|
|
26
26
|
* Executes a deployed Workflow and streams back its results.
|
|
27
|
+
* @throws {Vellum.NotFoundError}
|
|
28
|
+
* @throws {Vellum.InternalServerError}
|
|
27
29
|
*/
|
|
28
30
|
executeWorkflowStream(request: Vellum.ExecuteWorkflowStreamRequest, cb: (data: Vellum.WorkflowStreamEvent) => void, opts?: Pick<core.StreamingFetcher.Args, "onError" | "onFinish" | "abortController" | "timeoutMs">): Promise<void>;
|
|
29
31
|
/**
|
package/Client.js
CHANGED
|
@@ -52,6 +52,8 @@ class VellumClient {
|
|
|
52
52
|
* <strong style="background-color:#ffc107; color:white; padding:4px; border-radius:4px">Unstable</strong>
|
|
53
53
|
*
|
|
54
54
|
* Executes a deployed Workflow and streams back its results.
|
|
55
|
+
* @throws {Vellum.NotFoundError}
|
|
56
|
+
* @throws {Vellum.InternalServerError}
|
|
55
57
|
*/
|
|
56
58
|
async executeWorkflowStream(request, cb, opts) {
|
|
57
59
|
const _queue = new core.CallbackQueue();
|
package/api/types/index.d.ts
CHANGED
|
@@ -17,6 +17,7 @@ export * from "./EnrichedNormalizedCompletion";
|
|
|
17
17
|
export * from "./EnvironmentEnum";
|
|
18
18
|
export * from "./EvaluationParams";
|
|
19
19
|
export * from "./EvaluationParamsRequest";
|
|
20
|
+
export * from "./ExecuteWorkflowStreamErrorResponse";
|
|
20
21
|
export * from "./FinishReasonEnum";
|
|
21
22
|
export * from "./GenerateErrorResponse";
|
|
22
23
|
export * from "./GenerateOptionsRequest";
|
package/api/types/index.js
CHANGED
|
@@ -33,6 +33,7 @@ __exportStar(require("./EnrichedNormalizedCompletion"), exports);
|
|
|
33
33
|
__exportStar(require("./EnvironmentEnum"), exports);
|
|
34
34
|
__exportStar(require("./EvaluationParams"), exports);
|
|
35
35
|
__exportStar(require("./EvaluationParamsRequest"), exports);
|
|
36
|
+
__exportStar(require("./ExecuteWorkflowStreamErrorResponse"), exports);
|
|
36
37
|
__exportStar(require("./FinishReasonEnum"), exports);
|
|
37
38
|
__exportStar(require("./GenerateErrorResponse"), exports);
|
|
38
39
|
__exportStar(require("./GenerateOptionsRequest"), exports);
|
package/dist/Client.d.ts
CHANGED
|
@@ -24,6 +24,8 @@ export declare class VellumClient {
|
|
|
24
24
|
* <strong style="background-color:#ffc107; color:white; padding:4px; border-radius:4px">Unstable</strong>
|
|
25
25
|
*
|
|
26
26
|
* Executes a deployed Workflow and streams back its results.
|
|
27
|
+
* @throws {Vellum.NotFoundError}
|
|
28
|
+
* @throws {Vellum.InternalServerError}
|
|
27
29
|
*/
|
|
28
30
|
executeWorkflowStream(request: Vellum.ExecuteWorkflowStreamRequest, cb: (data: Vellum.WorkflowStreamEvent) => void, opts?: Pick<core.StreamingFetcher.Args, "onError" | "onFinish" | "abortController" | "timeoutMs">): Promise<void>;
|
|
29
31
|
/**
|
package/dist/Client.js
CHANGED
|
@@ -52,6 +52,8 @@ class VellumClient {
|
|
|
52
52
|
* <strong style="background-color:#ffc107; color:white; padding:4px; border-radius:4px">Unstable</strong>
|
|
53
53
|
*
|
|
54
54
|
* Executes a deployed Workflow and streams back its results.
|
|
55
|
+
* @throws {Vellum.NotFoundError}
|
|
56
|
+
* @throws {Vellum.InternalServerError}
|
|
55
57
|
*/
|
|
56
58
|
async executeWorkflowStream(request, cb, opts) {
|
|
57
59
|
const _queue = new core.CallbackQueue();
|
|
@@ -17,6 +17,7 @@ export * from "./EnrichedNormalizedCompletion";
|
|
|
17
17
|
export * from "./EnvironmentEnum";
|
|
18
18
|
export * from "./EvaluationParams";
|
|
19
19
|
export * from "./EvaluationParamsRequest";
|
|
20
|
+
export * from "./ExecuteWorkflowStreamErrorResponse";
|
|
20
21
|
export * from "./FinishReasonEnum";
|
|
21
22
|
export * from "./GenerateErrorResponse";
|
|
22
23
|
export * from "./GenerateOptionsRequest";
|
package/dist/api/types/index.js
CHANGED
|
@@ -33,6 +33,7 @@ __exportStar(require("./EnrichedNormalizedCompletion"), exports);
|
|
|
33
33
|
__exportStar(require("./EnvironmentEnum"), exports);
|
|
34
34
|
__exportStar(require("./EvaluationParams"), exports);
|
|
35
35
|
__exportStar(require("./EvaluationParamsRequest"), exports);
|
|
36
|
+
__exportStar(require("./ExecuteWorkflowStreamErrorResponse"), exports);
|
|
36
37
|
__exportStar(require("./FinishReasonEnum"), exports);
|
|
37
38
|
__exportStar(require("./GenerateErrorResponse"), exports);
|
|
38
39
|
__exportStar(require("./GenerateOptionsRequest"), exports);
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "..";
|
|
5
|
+
import * as Vellum from "../../api";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
export declare const ExecuteWorkflowStreamErrorResponse: core.serialization.ObjectSchema<serializers.ExecuteWorkflowStreamErrorResponse.Raw, Vellum.ExecuteWorkflowStreamErrorResponse>;
|
|
8
|
+
export declare namespace ExecuteWorkflowStreamErrorResponse {
|
|
9
|
+
interface Raw {
|
|
10
|
+
detail: string;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.ExecuteWorkflowStreamErrorResponse = void 0;
|
|
30
|
+
const core = __importStar(require("../../core"));
|
|
31
|
+
exports.ExecuteWorkflowStreamErrorResponse = core.serialization.object({
|
|
32
|
+
detail: core.serialization.string(),
|
|
33
|
+
});
|
|
@@ -17,6 +17,7 @@ export * from "./EnrichedNormalizedCompletion";
|
|
|
17
17
|
export * from "./EnvironmentEnum";
|
|
18
18
|
export * from "./EvaluationParams";
|
|
19
19
|
export * from "./EvaluationParamsRequest";
|
|
20
|
+
export * from "./ExecuteWorkflowStreamErrorResponse";
|
|
20
21
|
export * from "./FinishReasonEnum";
|
|
21
22
|
export * from "./GenerateErrorResponse";
|
|
22
23
|
export * from "./GenerateOptionsRequest";
|
|
@@ -33,6 +33,7 @@ __exportStar(require("./EnrichedNormalizedCompletion"), exports);
|
|
|
33
33
|
__exportStar(require("./EnvironmentEnum"), exports);
|
|
34
34
|
__exportStar(require("./EvaluationParams"), exports);
|
|
35
35
|
__exportStar(require("./EvaluationParamsRequest"), exports);
|
|
36
|
+
__exportStar(require("./ExecuteWorkflowStreamErrorResponse"), exports);
|
|
36
37
|
__exportStar(require("./FinishReasonEnum"), exports);
|
|
37
38
|
__exportStar(require("./GenerateErrorResponse"), exports);
|
|
38
39
|
__exportStar(require("./GenerateOptionsRequest"), exports);
|
package/package.json
CHANGED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "..";
|
|
5
|
+
import * as Vellum from "../../api";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
export declare const ExecuteWorkflowStreamErrorResponse: core.serialization.ObjectSchema<serializers.ExecuteWorkflowStreamErrorResponse.Raw, Vellum.ExecuteWorkflowStreamErrorResponse>;
|
|
8
|
+
export declare namespace ExecuteWorkflowStreamErrorResponse {
|
|
9
|
+
interface Raw {
|
|
10
|
+
detail: string;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.ExecuteWorkflowStreamErrorResponse = void 0;
|
|
30
|
+
const core = __importStar(require("../../core"));
|
|
31
|
+
exports.ExecuteWorkflowStreamErrorResponse = core.serialization.object({
|
|
32
|
+
detail: core.serialization.string(),
|
|
33
|
+
});
|
|
@@ -17,6 +17,7 @@ export * from "./EnrichedNormalizedCompletion";
|
|
|
17
17
|
export * from "./EnvironmentEnum";
|
|
18
18
|
export * from "./EvaluationParams";
|
|
19
19
|
export * from "./EvaluationParamsRequest";
|
|
20
|
+
export * from "./ExecuteWorkflowStreamErrorResponse";
|
|
20
21
|
export * from "./FinishReasonEnum";
|
|
21
22
|
export * from "./GenerateErrorResponse";
|
|
22
23
|
export * from "./GenerateOptionsRequest";
|
|
@@ -33,6 +33,7 @@ __exportStar(require("./EnrichedNormalizedCompletion"), exports);
|
|
|
33
33
|
__exportStar(require("./EnvironmentEnum"), exports);
|
|
34
34
|
__exportStar(require("./EvaluationParams"), exports);
|
|
35
35
|
__exportStar(require("./EvaluationParamsRequest"), exports);
|
|
36
|
+
__exportStar(require("./ExecuteWorkflowStreamErrorResponse"), exports);
|
|
36
37
|
__exportStar(require("./FinishReasonEnum"), exports);
|
|
37
38
|
__exportStar(require("./GenerateErrorResponse"), exports);
|
|
38
39
|
__exportStar(require("./GenerateOptionsRequest"), exports);
|