vellum-ai 0.0.5 → 0.0.7
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 +4 -1
- package/Client.js +5 -0
- package/api/client/requests/GenerateBodyRequest.d.ts +1 -1
- package/api/client/requests/SearchRequestBodyRequest.d.ts +1 -1
- package/api/client/requests/SubmitCompletionActualsRequest.d.ts +1 -1
- package/api/resources/documents/client/Client.d.ts +2 -2
- package/api/resources/documents/client/Client.js +11 -5
- package/api/resources/documents/client/requests/{ListDocumentsRequest.d.ts → DocumentsListRequest.d.ts} +1 -1
- package/api/resources/documents/client/requests/UploadDocumentBodyRequest.d.ts +3 -3
- package/api/resources/documents/client/requests/index.d.ts +1 -1
- package/api/resources/index.d.ts +2 -0
- package/api/resources/index.js +3 -1
- package/api/resources/modelVersions/client/Client.d.ts +1 -1
- package/api/resources/sandboxes/client/Client.d.ts +17 -0
- package/api/resources/sandboxes/client/Client.js +83 -0
- package/api/resources/sandboxes/client/index.d.ts +1 -0
- package/api/resources/sandboxes/client/index.js +17 -0
- package/api/resources/sandboxes/client/requests/UpsertSandboxScenarioRequestRequest.d.ts +12 -0
- package/api/resources/sandboxes/client/requests/index.d.ts +1 -0
- package/api/resources/sandboxes/client/requests/index.js +2 -0
- package/api/resources/sandboxes/index.d.ts +1 -0
- package/api/resources/sandboxes/index.js +17 -0
- package/api/types/BlockTypeEnum.d.ts +2 -3
- package/api/types/BlockTypeEnum.js +1 -2
- package/api/types/ChatMessage.d.ts +8 -0
- package/api/types/ChatMessage.js +5 -0
- package/api/types/ChatMessageRequest.d.ts +8 -0
- package/api/types/ChatMessageRequest.js +5 -0
- package/{dist/api/types/ChatRoleEnum.d.ts → api/types/ChatMessageRole.d.ts} +2 -2
- package/{dist/api/types/ChatRoleEnum.js → api/types/ChatMessageRole.js} +2 -2
- package/api/types/DocumentDocumentToDocumentIndex.d.ts +1 -1
- package/api/types/EnrichedNormalizedCompletion.d.ts +2 -2
- package/api/types/GenerateOptionsRequest.d.ts +1 -1
- package/api/types/GenerateRequest.d.ts +3 -0
- package/api/types/GenerateResponse.d.ts +1 -1
- package/api/types/GenerateResult.d.ts +1 -1
- package/api/types/GenerateResultData.d.ts +1 -1
- package/api/types/ModelVersionBuildConfig.d.ts +1 -1
- package/api/types/ModelVersionExecConfigParameters.d.ts +1 -1
- package/api/types/ModelVersionExecConfigRead.d.ts +3 -2
- package/api/types/ModelVersionRead.d.ts +1 -1
- package/api/types/ModelVersionSandboxSnapshot.d.ts +2 -0
- package/api/types/NormalizedLogProbs.d.ts +2 -2
- package/api/types/NormalizedTokenLogProbs.d.ts +2 -2
- package/api/types/PaginatedSlimDocumentList.d.ts +1 -1
- package/api/types/PromptTemplateBlock.d.ts +2 -1
- package/api/types/PromptTemplateBlockData.d.ts +1 -1
- package/api/types/PromptTemplateBlockProperties.d.ts +2 -2
- package/api/types/SandboxInput.d.ts +10 -0
- package/api/types/SandboxInput.js +5 -0
- package/api/types/SandboxInputRequest.d.ts +10 -0
- package/api/types/SandboxInputRequest.js +5 -0
- package/api/types/SandboxMetricInputParams.d.ts +6 -0
- package/api/types/SandboxMetricInputParams.js +5 -0
- package/api/types/SandboxMetricInputParamsRequest.d.ts +6 -0
- package/api/types/SandboxMetricInputParamsRequest.js +5 -0
- package/api/types/SandboxScenario.d.ts +12 -0
- package/api/types/SandboxScenario.js +5 -0
- package/api/types/SearchRequestOptionsRequest.d.ts +1 -1
- package/api/types/SearchResponse.d.ts +1 -1
- package/api/types/SearchResult.d.ts +1 -1
- package/api/types/SlimDocument.d.ts +1 -1
- package/api/types/TypeEnum.d.ts +8 -0
- package/api/types/TypeEnum.js +10 -0
- package/api/types/index.d.ts +9 -1
- package/api/types/index.js +9 -1
- package/dist/Client.d.ts +4 -1
- package/dist/Client.js +5 -0
- package/dist/api/client/requests/GenerateBodyRequest.d.ts +1 -1
- package/dist/api/client/requests/SearchRequestBodyRequest.d.ts +1 -1
- package/dist/api/client/requests/SubmitCompletionActualsRequest.d.ts +1 -1
- package/dist/api/resources/documents/client/Client.d.ts +2 -2
- package/dist/api/resources/documents/client/Client.js +11 -5
- package/dist/api/resources/documents/client/requests/{ListDocumentsRequest.d.ts → DocumentsListRequest.d.ts} +1 -1
- package/dist/api/resources/documents/client/requests/DocumentsListRequest.js +5 -0
- package/dist/api/resources/documents/client/requests/UploadDocumentBodyRequest.d.ts +3 -3
- package/dist/api/resources/documents/client/requests/index.d.ts +1 -1
- package/dist/api/resources/index.d.ts +2 -0
- package/dist/api/resources/index.js +3 -1
- package/dist/api/resources/modelVersions/client/Client.d.ts +1 -1
- package/dist/api/resources/sandboxes/client/Client.d.ts +17 -0
- package/dist/api/resources/sandboxes/client/Client.js +83 -0
- package/dist/api/resources/sandboxes/client/index.d.ts +1 -0
- package/dist/api/resources/sandboxes/client/index.js +17 -0
- package/dist/api/resources/sandboxes/client/requests/UpsertSandboxScenarioRequestRequest.d.ts +12 -0
- package/dist/api/resources/sandboxes/client/requests/UpsertSandboxScenarioRequestRequest.js +5 -0
- package/dist/api/resources/sandboxes/client/requests/index.d.ts +1 -0
- package/dist/api/resources/sandboxes/client/requests/index.js +2 -0
- package/dist/api/resources/sandboxes/index.d.ts +1 -0
- package/dist/api/resources/sandboxes/index.js +17 -0
- package/dist/api/types/BlockTypeEnum.d.ts +2 -3
- package/dist/api/types/BlockTypeEnum.js +1 -2
- package/dist/api/types/ChatMessage.d.ts +8 -0
- package/dist/api/types/ChatMessage.js +5 -0
- package/dist/api/types/ChatMessageRequest.d.ts +8 -0
- package/dist/api/types/ChatMessageRequest.js +5 -0
- package/{api/types/ChatRoleEnum.d.ts → dist/api/types/ChatMessageRole.d.ts} +2 -2
- package/{api/types/ChatRoleEnum.js → dist/api/types/ChatMessageRole.js} +2 -2
- package/dist/api/types/DocumentDocumentToDocumentIndex.d.ts +1 -1
- package/dist/api/types/EnrichedNormalizedCompletion.d.ts +2 -2
- package/dist/api/types/GenerateOptionsRequest.d.ts +1 -1
- package/dist/api/types/GenerateRequest.d.ts +3 -0
- package/dist/api/types/GenerateResponse.d.ts +1 -1
- package/dist/api/types/GenerateResult.d.ts +1 -1
- package/dist/api/types/GenerateResultData.d.ts +1 -1
- package/dist/api/types/ModelVersionBuildConfig.d.ts +1 -1
- package/dist/api/types/ModelVersionExecConfigParameters.d.ts +1 -1
- package/dist/api/types/ModelVersionExecConfigRead.d.ts +3 -2
- package/dist/api/types/ModelVersionRead.d.ts +1 -1
- package/dist/api/types/ModelVersionSandboxSnapshot.d.ts +2 -0
- package/dist/api/types/NormalizedLogProbs.d.ts +2 -2
- package/dist/api/types/NormalizedTokenLogProbs.d.ts +2 -2
- package/dist/api/types/PaginatedSlimDocumentList.d.ts +1 -1
- package/dist/api/types/PromptTemplateBlock.d.ts +2 -1
- package/dist/api/types/PromptTemplateBlockData.d.ts +1 -1
- package/dist/api/types/PromptTemplateBlockProperties.d.ts +2 -2
- package/dist/api/types/SandboxInput.d.ts +10 -0
- package/dist/api/types/SandboxInput.js +5 -0
- package/dist/api/types/SandboxInputRequest.d.ts +10 -0
- package/dist/api/types/SandboxInputRequest.js +5 -0
- package/dist/api/types/SandboxMetricInputParams.d.ts +6 -0
- package/dist/api/types/SandboxMetricInputParams.js +5 -0
- package/dist/api/types/SandboxMetricInputParamsRequest.d.ts +6 -0
- package/dist/api/types/SandboxMetricInputParamsRequest.js +5 -0
- package/dist/api/types/SandboxScenario.d.ts +12 -0
- package/dist/api/types/SandboxScenario.js +5 -0
- package/dist/api/types/SearchRequestOptionsRequest.d.ts +1 -1
- package/dist/api/types/SearchResponse.d.ts +1 -1
- package/dist/api/types/SearchResult.d.ts +1 -1
- package/dist/api/types/SlimDocument.d.ts +1 -1
- package/dist/api/types/TypeEnum.d.ts +8 -0
- package/dist/api/types/TypeEnum.js +10 -0
- package/dist/api/types/index.d.ts +9 -1
- package/dist/api/types/index.js +9 -1
- package/dist/serialization/client/requests/GenerateBodyRequest.d.ts +1 -1
- package/dist/serialization/client/requests/SearchRequestBodyRequest.d.ts +1 -1
- package/dist/serialization/client/requests/SubmitCompletionActualsRequest.d.ts +1 -1
- package/dist/serialization/index.d.ts +1 -0
- package/dist/serialization/index.js +1 -0
- package/dist/serialization/resources/index.d.ts +2 -0
- package/dist/serialization/resources/index.js +31 -0
- package/dist/serialization/resources/sandboxes/client/index.d.ts +1 -0
- package/dist/serialization/resources/sandboxes/client/index.js +17 -0
- package/dist/serialization/resources/sandboxes/client/requests/UpsertSandboxScenarioRequestRequest.d.ts +15 -0
- package/dist/serialization/resources/sandboxes/client/requests/UpsertSandboxScenarioRequestRequest.js +38 -0
- package/dist/serialization/resources/sandboxes/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/sandboxes/client/requests/index.js +5 -0
- package/dist/serialization/resources/sandboxes/index.d.ts +1 -0
- package/dist/serialization/resources/sandboxes/index.js +17 -0
- package/dist/serialization/types/BlockTypeEnum.d.ts +2 -2
- package/dist/serialization/types/BlockTypeEnum.js +1 -1
- package/dist/serialization/types/ChatMessage.d.ts +13 -0
- package/dist/serialization/types/ChatMessage.js +34 -0
- package/dist/serialization/types/ChatMessageRequest.d.ts +13 -0
- package/dist/serialization/types/ChatMessageRequest.js +34 -0
- package/dist/serialization/types/ChatMessageRole.d.ts +10 -0
- package/dist/serialization/types/ChatMessageRole.js +31 -0
- package/dist/serialization/types/Document.d.ts +1 -1
- package/dist/serialization/types/DocumentDocumentToDocumentIndex.d.ts +1 -1
- package/dist/serialization/types/EnrichedNormalizedCompletion.d.ts +2 -2
- package/dist/serialization/types/EnrichedNormalizedCompletion.js +1 -1
- package/dist/serialization/types/FinishReasonEnum.d.ts +1 -1
- package/dist/serialization/types/GenerateErrorResponse.d.ts +1 -1
- package/dist/serialization/types/GenerateOptionsRequest.d.ts +1 -1
- package/dist/serialization/types/GenerateRequest.d.ts +2 -1
- package/dist/serialization/types/GenerateRequest.js +3 -0
- package/dist/serialization/types/GenerateResponse.d.ts +1 -1
- package/dist/serialization/types/GenerateResult.d.ts +1 -1
- package/dist/serialization/types/GenerateResultData.d.ts +1 -1
- package/dist/serialization/types/GenerateResultError.d.ts +1 -1
- package/dist/serialization/types/IndexingStateEnum.d.ts +1 -1
- package/dist/serialization/types/LogprobsEnum.d.ts +1 -1
- package/dist/serialization/types/ModelTypeEnum.d.ts +1 -1
- package/dist/serialization/types/ModelVersionBuildConfig.d.ts +1 -1
- package/dist/serialization/types/ModelVersionExecConfigParameters.d.ts +2 -2
- package/dist/serialization/types/ModelVersionExecConfigParameters.js +1 -1
- package/dist/serialization/types/ModelVersionExecConfigRead.d.ts +3 -2
- package/dist/serialization/types/ModelVersionExecConfigRead.js +2 -1
- package/dist/serialization/types/ModelVersionRead.d.ts +1 -1
- package/dist/serialization/types/ModelVersionReadStatusEnum.d.ts +1 -1
- package/dist/serialization/types/ModelVersionSandboxSnapshot.d.ts +2 -1
- package/dist/serialization/types/ModelVersionSandboxSnapshot.js +1 -0
- package/dist/serialization/types/NormalizedLogProbs.d.ts +2 -2
- package/dist/serialization/types/NormalizedLogProbs.js +1 -1
- package/dist/serialization/types/NormalizedTokenLogProbs.d.ts +3 -3
- package/dist/serialization/types/NormalizedTokenLogProbs.js +2 -2
- package/dist/serialization/types/PaginatedSlimDocumentList.d.ts +1 -1
- package/dist/serialization/types/ProcessingStateEnum.d.ts +1 -1
- package/dist/serialization/types/PromptTemplateBlock.d.ts +2 -1
- package/dist/serialization/types/PromptTemplateBlock.js +1 -0
- package/dist/serialization/types/PromptTemplateBlockData.d.ts +1 -1
- package/dist/serialization/types/PromptTemplateBlockProperties.d.ts +2 -2
- package/dist/serialization/types/PromptTemplateBlockProperties.js +1 -1
- package/dist/serialization/types/ProviderEnum.d.ts +1 -1
- package/dist/serialization/types/SandboxInput.d.ts +15 -0
- package/dist/serialization/types/SandboxInput.js +38 -0
- package/dist/serialization/types/SandboxInputRequest.d.ts +15 -0
- package/dist/serialization/types/SandboxInputRequest.js +38 -0
- package/dist/serialization/types/SandboxMetricInputParams.d.ts +12 -0
- package/dist/serialization/types/SandboxMetricInputParams.js +33 -0
- package/dist/serialization/types/SandboxMetricInputParamsRequest.d.ts +12 -0
- package/dist/serialization/types/SandboxMetricInputParamsRequest.js +33 -0
- package/dist/serialization/types/SandboxScenario.d.ts +15 -0
- package/dist/serialization/types/SandboxScenario.js +36 -0
- package/dist/serialization/types/SearchErrorResponse.d.ts +1 -1
- package/dist/serialization/types/SearchFiltersRequest.d.ts +1 -1
- package/dist/serialization/types/SearchRequestOptionsRequest.d.ts +1 -1
- package/dist/serialization/types/SearchResponse.d.ts +1 -1
- package/dist/serialization/types/SearchResult.d.ts +1 -1
- package/dist/serialization/types/SearchResultMergingRequest.d.ts +1 -1
- package/dist/serialization/types/SearchWeightsRequest.d.ts +1 -1
- package/dist/serialization/types/SlimDocument.d.ts +1 -1
- package/dist/serialization/types/SlimDocumentStatusEnum.d.ts +1 -1
- package/dist/serialization/types/SubmitCompletionActualRequest.d.ts +1 -1
- package/dist/serialization/types/SubmitCompletionActualsErrorResponse.d.ts +1 -1
- package/dist/serialization/types/TypeEnum.d.ts +10 -0
- package/dist/serialization/types/{ChatRoleEnum.js → TypeEnum.js} +5 -2
- package/dist/serialization/types/UploadDocumentErrorResponse.d.ts +1 -1
- package/dist/serialization/types/UploadDocumentResponse.d.ts +1 -1
- package/dist/serialization/types/index.d.ts +9 -1
- package/dist/serialization/types/index.js +9 -1
- package/package.json +2 -3
- package/serialization/client/requests/GenerateBodyRequest.d.ts +1 -1
- package/serialization/client/requests/SearchRequestBodyRequest.d.ts +1 -1
- package/serialization/client/requests/SubmitCompletionActualsRequest.d.ts +1 -1
- package/serialization/index.d.ts +1 -0
- package/serialization/index.js +1 -0
- package/serialization/resources/index.d.ts +2 -0
- package/serialization/resources/index.js +31 -0
- package/serialization/resources/sandboxes/client/index.d.ts +1 -0
- package/serialization/resources/sandboxes/client/index.js +17 -0
- package/serialization/resources/sandboxes/client/requests/UpsertSandboxScenarioRequestRequest.d.ts +15 -0
- package/serialization/resources/sandboxes/client/requests/UpsertSandboxScenarioRequestRequest.js +38 -0
- package/serialization/resources/sandboxes/client/requests/index.d.ts +1 -0
- package/serialization/resources/sandboxes/client/requests/index.js +5 -0
- package/serialization/resources/sandboxes/index.d.ts +1 -0
- package/serialization/resources/sandboxes/index.js +17 -0
- package/serialization/types/BlockTypeEnum.d.ts +2 -2
- package/serialization/types/BlockTypeEnum.js +1 -1
- package/serialization/types/ChatMessage.d.ts +13 -0
- package/serialization/types/ChatMessage.js +34 -0
- package/serialization/types/ChatMessageRequest.d.ts +13 -0
- package/serialization/types/ChatMessageRequest.js +34 -0
- package/serialization/types/ChatMessageRole.d.ts +10 -0
- package/serialization/types/ChatMessageRole.js +31 -0
- package/serialization/types/Document.d.ts +1 -1
- package/serialization/types/DocumentDocumentToDocumentIndex.d.ts +1 -1
- package/serialization/types/EnrichedNormalizedCompletion.d.ts +2 -2
- package/serialization/types/EnrichedNormalizedCompletion.js +1 -1
- package/serialization/types/FinishReasonEnum.d.ts +1 -1
- package/serialization/types/GenerateErrorResponse.d.ts +1 -1
- package/serialization/types/GenerateOptionsRequest.d.ts +1 -1
- package/serialization/types/GenerateRequest.d.ts +2 -1
- package/serialization/types/GenerateRequest.js +3 -0
- package/serialization/types/GenerateResponse.d.ts +1 -1
- package/serialization/types/GenerateResult.d.ts +1 -1
- package/serialization/types/GenerateResultData.d.ts +1 -1
- package/serialization/types/GenerateResultError.d.ts +1 -1
- package/serialization/types/IndexingStateEnum.d.ts +1 -1
- package/serialization/types/LogprobsEnum.d.ts +1 -1
- package/serialization/types/ModelTypeEnum.d.ts +1 -1
- package/serialization/types/ModelVersionBuildConfig.d.ts +1 -1
- package/serialization/types/ModelVersionExecConfigParameters.d.ts +2 -2
- package/serialization/types/ModelVersionExecConfigParameters.js +1 -1
- package/serialization/types/ModelVersionExecConfigRead.d.ts +3 -2
- package/serialization/types/ModelVersionExecConfigRead.js +2 -1
- package/serialization/types/ModelVersionRead.d.ts +1 -1
- package/serialization/types/ModelVersionReadStatusEnum.d.ts +1 -1
- package/serialization/types/ModelVersionSandboxSnapshot.d.ts +2 -1
- package/serialization/types/ModelVersionSandboxSnapshot.js +1 -0
- package/serialization/types/NormalizedLogProbs.d.ts +2 -2
- package/serialization/types/NormalizedLogProbs.js +1 -1
- package/serialization/types/NormalizedTokenLogProbs.d.ts +3 -3
- package/serialization/types/NormalizedTokenLogProbs.js +2 -2
- package/serialization/types/PaginatedSlimDocumentList.d.ts +1 -1
- package/serialization/types/ProcessingStateEnum.d.ts +1 -1
- package/serialization/types/PromptTemplateBlock.d.ts +2 -1
- package/serialization/types/PromptTemplateBlock.js +1 -0
- package/serialization/types/PromptTemplateBlockData.d.ts +1 -1
- package/serialization/types/PromptTemplateBlockProperties.d.ts +2 -2
- package/serialization/types/PromptTemplateBlockProperties.js +1 -1
- package/serialization/types/ProviderEnum.d.ts +1 -1
- package/serialization/types/SandboxInput.d.ts +15 -0
- package/serialization/types/SandboxInput.js +38 -0
- package/serialization/types/SandboxInputRequest.d.ts +15 -0
- package/serialization/types/SandboxInputRequest.js +38 -0
- package/serialization/types/SandboxMetricInputParams.d.ts +12 -0
- package/serialization/types/SandboxMetricInputParams.js +33 -0
- package/serialization/types/SandboxMetricInputParamsRequest.d.ts +12 -0
- package/serialization/types/SandboxMetricInputParamsRequest.js +33 -0
- package/serialization/types/SandboxScenario.d.ts +15 -0
- package/serialization/types/SandboxScenario.js +36 -0
- package/serialization/types/SearchErrorResponse.d.ts +1 -1
- package/serialization/types/SearchFiltersRequest.d.ts +1 -1
- package/serialization/types/SearchRequestOptionsRequest.d.ts +1 -1
- package/serialization/types/SearchResponse.d.ts +1 -1
- package/serialization/types/SearchResult.d.ts +1 -1
- package/serialization/types/SearchResultMergingRequest.d.ts +1 -1
- package/serialization/types/SearchWeightsRequest.d.ts +1 -1
- package/serialization/types/SlimDocument.d.ts +1 -1
- package/serialization/types/SlimDocumentStatusEnum.d.ts +1 -1
- package/serialization/types/SubmitCompletionActualRequest.d.ts +1 -1
- package/serialization/types/SubmitCompletionActualsErrorResponse.d.ts +1 -1
- package/serialization/types/TypeEnum.d.ts +10 -0
- package/serialization/types/{ChatRoleEnum.js → TypeEnum.js} +5 -2
- package/serialization/types/UploadDocumentErrorResponse.d.ts +1 -1
- package/serialization/types/UploadDocumentResponse.d.ts +1 -1
- package/serialization/types/index.d.ts +9 -1
- package/serialization/types/index.js +9 -1
- package/dist/serialization/types/ChatRoleEnum.d.ts +0 -10
- package/serialization/types/ChatRoleEnum.d.ts +0 -10
- /package/api/resources/documents/client/requests/{ListDocumentsRequest.js → DocumentsListRequest.js} +0 -0
- /package/{dist/api/resources/documents/client/requests/ListDocumentsRequest.js → api/resources/sandboxes/client/requests/UpsertSandboxScenarioRequestRequest.js} +0 -0
|
@@ -0,0 +1,38 @@
|
|
|
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.SandboxInput = void 0;
|
|
30
|
+
const core = __importStar(require("../../core"));
|
|
31
|
+
exports.SandboxInput = core.serialization.object({
|
|
32
|
+
key: core.serialization.string(),
|
|
33
|
+
type: core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("..")))).TypeEnum).optional(),
|
|
34
|
+
value: core.serialization.string().optional(),
|
|
35
|
+
chatHistory: core.serialization.property("chat_history", core.serialization
|
|
36
|
+
.list(core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("..")))).ChatMessage))
|
|
37
|
+
.optional()),
|
|
38
|
+
});
|
|
@@ -0,0 +1,15 @@
|
|
|
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 SandboxInputRequest: core.serialization.ObjectSchema<serializers.SandboxInputRequest.Raw, Vellum.SandboxInputRequest>;
|
|
8
|
+
export declare namespace SandboxInputRequest {
|
|
9
|
+
interface Raw {
|
|
10
|
+
key: string;
|
|
11
|
+
type?: serializers.TypeEnum.Raw | null;
|
|
12
|
+
value?: string | null;
|
|
13
|
+
chat_history?: serializers.ChatMessageRequest.Raw[] | null;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
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.SandboxInputRequest = void 0;
|
|
30
|
+
const core = __importStar(require("../../core"));
|
|
31
|
+
exports.SandboxInputRequest = core.serialization.object({
|
|
32
|
+
key: core.serialization.string(),
|
|
33
|
+
type: core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("..")))).TypeEnum).optional(),
|
|
34
|
+
value: core.serialization.string().optional(),
|
|
35
|
+
chatHistory: core.serialization.property("chat_history", core.serialization
|
|
36
|
+
.list(core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("..")))).ChatMessageRequest))
|
|
37
|
+
.optional()),
|
|
38
|
+
});
|
|
@@ -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 SandboxMetricInputParams: core.serialization.ObjectSchema<serializers.SandboxMetricInputParams.Raw, Vellum.SandboxMetricInputParams>;
|
|
8
|
+
export declare namespace SandboxMetricInputParams {
|
|
9
|
+
interface Raw {
|
|
10
|
+
params?: Record<string, unknown> | null;
|
|
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.SandboxMetricInputParams = void 0;
|
|
30
|
+
const core = __importStar(require("../../core"));
|
|
31
|
+
exports.SandboxMetricInputParams = core.serialization.object({
|
|
32
|
+
params: core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional(),
|
|
33
|
+
});
|
|
@@ -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 SandboxMetricInputParamsRequest: core.serialization.ObjectSchema<serializers.SandboxMetricInputParamsRequest.Raw, Vellum.SandboxMetricInputParamsRequest>;
|
|
8
|
+
export declare namespace SandboxMetricInputParamsRequest {
|
|
9
|
+
interface Raw {
|
|
10
|
+
params?: Record<string, unknown> | null;
|
|
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.SandboxMetricInputParamsRequest = void 0;
|
|
30
|
+
const core = __importStar(require("../../core"));
|
|
31
|
+
exports.SandboxMetricInputParamsRequest = core.serialization.object({
|
|
32
|
+
params: core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional(),
|
|
33
|
+
});
|
|
@@ -0,0 +1,15 @@
|
|
|
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 SandboxScenario: core.serialization.ObjectSchema<serializers.SandboxScenario.Raw, Vellum.SandboxScenario>;
|
|
8
|
+
export declare namespace SandboxScenario {
|
|
9
|
+
interface Raw {
|
|
10
|
+
label?: string | null;
|
|
11
|
+
inputs: serializers.SandboxInput.Raw[];
|
|
12
|
+
metric_input_params?: serializers.SandboxMetricInputParams.Raw | null;
|
|
13
|
+
id: string;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
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.SandboxScenario = void 0;
|
|
30
|
+
const core = __importStar(require("../../core"));
|
|
31
|
+
exports.SandboxScenario = core.serialization.object({
|
|
32
|
+
label: core.serialization.string().optional(),
|
|
33
|
+
inputs: core.serialization.list(core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("..")))).SandboxInput)),
|
|
34
|
+
metricInputParams: core.serialization.property("metric_input_params", core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("..")))).SandboxMetricInputParams).optional()),
|
|
35
|
+
id: core.serialization.string(),
|
|
36
|
+
});
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
4
|
import * as serializers from "..";
|
|
5
|
-
import
|
|
5
|
+
import * as Vellum from "../../api";
|
|
6
6
|
import * as core from "../../core";
|
|
7
7
|
export declare const SearchErrorResponse: core.serialization.ObjectSchema<serializers.SearchErrorResponse.Raw, Vellum.SearchErrorResponse>;
|
|
8
8
|
export declare namespace SearchErrorResponse {
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
4
|
import * as serializers from "..";
|
|
5
|
-
import
|
|
5
|
+
import * as Vellum from "../../api";
|
|
6
6
|
import * as core from "../../core";
|
|
7
7
|
export declare const SearchFiltersRequest: core.serialization.ObjectSchema<serializers.SearchFiltersRequest.Raw, Vellum.SearchFiltersRequest>;
|
|
8
8
|
export declare namespace SearchFiltersRequest {
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
4
|
import * as serializers from "..";
|
|
5
|
-
import
|
|
5
|
+
import * as Vellum from "../../api";
|
|
6
6
|
import * as core from "../../core";
|
|
7
7
|
export declare const SearchRequestOptionsRequest: core.serialization.ObjectSchema<serializers.SearchRequestOptionsRequest.Raw, Vellum.SearchRequestOptionsRequest>;
|
|
8
8
|
export declare namespace SearchRequestOptionsRequest {
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
4
|
import * as serializers from "..";
|
|
5
|
-
import
|
|
5
|
+
import * as Vellum from "../../api";
|
|
6
6
|
import * as core from "../../core";
|
|
7
7
|
export declare const SearchResponse: core.serialization.ObjectSchema<serializers.SearchResponse.Raw, Vellum.SearchResponse>;
|
|
8
8
|
export declare namespace SearchResponse {
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
4
|
import * as serializers from "..";
|
|
5
|
-
import
|
|
5
|
+
import * as Vellum from "../../api";
|
|
6
6
|
import * as core from "../../core";
|
|
7
7
|
export declare const SearchResult: core.serialization.ObjectSchema<serializers.SearchResult.Raw, Vellum.SearchResult>;
|
|
8
8
|
export declare namespace SearchResult {
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
4
|
import * as serializers from "..";
|
|
5
|
-
import
|
|
5
|
+
import * as Vellum from "../../api";
|
|
6
6
|
import * as core from "../../core";
|
|
7
7
|
export declare const SearchResultMergingRequest: core.serialization.ObjectSchema<serializers.SearchResultMergingRequest.Raw, Vellum.SearchResultMergingRequest>;
|
|
8
8
|
export declare namespace SearchResultMergingRequest {
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
4
|
import * as serializers from "..";
|
|
5
|
-
import
|
|
5
|
+
import * as Vellum from "../../api";
|
|
6
6
|
import * as core from "../../core";
|
|
7
7
|
export declare const SearchWeightsRequest: core.serialization.ObjectSchema<serializers.SearchWeightsRequest.Raw, Vellum.SearchWeightsRequest>;
|
|
8
8
|
export declare namespace SearchWeightsRequest {
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
4
|
import * as serializers from "..";
|
|
5
|
-
import
|
|
5
|
+
import * as Vellum from "../../api";
|
|
6
6
|
import * as core from "../../core";
|
|
7
7
|
export declare const SlimDocument: core.serialization.ObjectSchema<serializers.SlimDocument.Raw, Vellum.SlimDocument>;
|
|
8
8
|
export declare namespace SlimDocument {
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
4
|
import * as serializers from "..";
|
|
5
|
-
import
|
|
5
|
+
import * as Vellum from "../../api";
|
|
6
6
|
import * as core from "../../core";
|
|
7
7
|
export declare const SlimDocumentStatusEnum: core.serialization.Schema<serializers.SlimDocumentStatusEnum.Raw, Vellum.SlimDocumentStatusEnum>;
|
|
8
8
|
export declare namespace SlimDocumentStatusEnum {
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
4
|
import * as serializers from "..";
|
|
5
|
-
import
|
|
5
|
+
import * as Vellum from "../../api";
|
|
6
6
|
import * as core from "../../core";
|
|
7
7
|
export declare const SubmitCompletionActualRequest: core.serialization.ObjectSchema<serializers.SubmitCompletionActualRequest.Raw, Vellum.SubmitCompletionActualRequest>;
|
|
8
8
|
export declare namespace SubmitCompletionActualRequest {
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
4
|
import * as serializers from "..";
|
|
5
|
-
import
|
|
5
|
+
import * as Vellum from "../../api";
|
|
6
6
|
import * as core from "../../core";
|
|
7
7
|
export declare const SubmitCompletionActualsErrorResponse: core.serialization.ObjectSchema<serializers.SubmitCompletionActualsErrorResponse.Raw, Vellum.SubmitCompletionActualsErrorResponse>;
|
|
8
8
|
export declare namespace SubmitCompletionActualsErrorResponse {
|
|
@@ -0,0 +1,10 @@
|
|
|
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 TypeEnum: core.serialization.Schema<serializers.TypeEnum.Raw, Vellum.TypeEnum>;
|
|
8
|
+
export declare namespace TypeEnum {
|
|
9
|
+
type Raw = "TEXT" | "CHAT_HISTORY";
|
|
10
|
+
}
|
|
@@ -26,6 +26,9 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
26
26
|
return result;
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports.
|
|
29
|
+
exports.TypeEnum = void 0;
|
|
30
30
|
const core = __importStar(require("../../core"));
|
|
31
|
-
exports.
|
|
31
|
+
exports.TypeEnum = core.serialization.enum_([
|
|
32
|
+
"TEXT",
|
|
33
|
+
"CHAT_HISTORY",
|
|
34
|
+
]);
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
4
|
import * as serializers from "..";
|
|
5
|
-
import
|
|
5
|
+
import * as Vellum from "../../api";
|
|
6
6
|
import * as core from "../../core";
|
|
7
7
|
export declare const UploadDocumentErrorResponse: core.serialization.ObjectSchema<serializers.UploadDocumentErrorResponse.Raw, Vellum.UploadDocumentErrorResponse>;
|
|
8
8
|
export declare namespace UploadDocumentErrorResponse {
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
4
|
import * as serializers from "..";
|
|
5
|
-
import
|
|
5
|
+
import * as Vellum from "../../api";
|
|
6
6
|
import * as core from "../../core";
|
|
7
7
|
export declare const UploadDocumentResponse: core.serialization.ObjectSchema<serializers.UploadDocumentResponse.Raw, Vellum.UploadDocumentResponse>;
|
|
8
8
|
export declare namespace UploadDocumentResponse {
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
export * from "./BlockTypeEnum";
|
|
2
|
-
export * from "./
|
|
2
|
+
export * from "./ChatMessage";
|
|
3
|
+
export * from "./ChatMessageRequest";
|
|
4
|
+
export * from "./ChatMessageRole";
|
|
3
5
|
export * from "./Document";
|
|
4
6
|
export * from "./DocumentDocumentToDocumentIndex";
|
|
5
7
|
export * from "./EnrichedNormalizedCompletion";
|
|
@@ -28,6 +30,11 @@ export * from "./PromptTemplateBlock";
|
|
|
28
30
|
export * from "./PromptTemplateBlockData";
|
|
29
31
|
export * from "./PromptTemplateBlockProperties";
|
|
30
32
|
export * from "./ProviderEnum";
|
|
33
|
+
export * from "./SandboxInput";
|
|
34
|
+
export * from "./SandboxInputRequest";
|
|
35
|
+
export * from "./SandboxMetricInputParams";
|
|
36
|
+
export * from "./SandboxMetricInputParamsRequest";
|
|
37
|
+
export * from "./SandboxScenario";
|
|
31
38
|
export * from "./SearchErrorResponse";
|
|
32
39
|
export * from "./SearchFiltersRequest";
|
|
33
40
|
export * from "./SearchRequestOptionsRequest";
|
|
@@ -39,5 +46,6 @@ export * from "./SlimDocument";
|
|
|
39
46
|
export * from "./SlimDocumentStatusEnum";
|
|
40
47
|
export * from "./SubmitCompletionActualRequest";
|
|
41
48
|
export * from "./SubmitCompletionActualsErrorResponse";
|
|
49
|
+
export * from "./TypeEnum";
|
|
42
50
|
export * from "./UploadDocumentErrorResponse";
|
|
43
51
|
export * from "./UploadDocumentResponse";
|
|
@@ -15,7 +15,9 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./BlockTypeEnum"), exports);
|
|
18
|
-
__exportStar(require("./
|
|
18
|
+
__exportStar(require("./ChatMessage"), exports);
|
|
19
|
+
__exportStar(require("./ChatMessageRequest"), exports);
|
|
20
|
+
__exportStar(require("./ChatMessageRole"), exports);
|
|
19
21
|
__exportStar(require("./Document"), exports);
|
|
20
22
|
__exportStar(require("./DocumentDocumentToDocumentIndex"), exports);
|
|
21
23
|
__exportStar(require("./EnrichedNormalizedCompletion"), exports);
|
|
@@ -44,6 +46,11 @@ __exportStar(require("./PromptTemplateBlock"), exports);
|
|
|
44
46
|
__exportStar(require("./PromptTemplateBlockData"), exports);
|
|
45
47
|
__exportStar(require("./PromptTemplateBlockProperties"), exports);
|
|
46
48
|
__exportStar(require("./ProviderEnum"), exports);
|
|
49
|
+
__exportStar(require("./SandboxInput"), exports);
|
|
50
|
+
__exportStar(require("./SandboxInputRequest"), exports);
|
|
51
|
+
__exportStar(require("./SandboxMetricInputParams"), exports);
|
|
52
|
+
__exportStar(require("./SandboxMetricInputParamsRequest"), exports);
|
|
53
|
+
__exportStar(require("./SandboxScenario"), exports);
|
|
47
54
|
__exportStar(require("./SearchErrorResponse"), exports);
|
|
48
55
|
__exportStar(require("./SearchFiltersRequest"), exports);
|
|
49
56
|
__exportStar(require("./SearchRequestOptionsRequest"), exports);
|
|
@@ -55,5 +62,6 @@ __exportStar(require("./SlimDocument"), exports);
|
|
|
55
62
|
__exportStar(require("./SlimDocumentStatusEnum"), exports);
|
|
56
63
|
__exportStar(require("./SubmitCompletionActualRequest"), exports);
|
|
57
64
|
__exportStar(require("./SubmitCompletionActualsErrorResponse"), exports);
|
|
65
|
+
__exportStar(require("./TypeEnum"), exports);
|
|
58
66
|
__exportStar(require("./UploadDocumentErrorResponse"), exports);
|
|
59
67
|
__exportStar(require("./UploadDocumentResponse"), exports);
|
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vellum-ai",
|
|
3
|
-
"version": "v0.0.
|
|
3
|
+
"version": "v0.0.7",
|
|
4
4
|
"private": false,
|
|
5
5
|
"repository": "https://github.com/vellum-ai/vellum-client-node",
|
|
6
6
|
"main": "./index.js",
|
|
7
7
|
"types": "./index.d.ts",
|
|
8
8
|
"scripts": {
|
|
9
9
|
"format": "prettier --write 'src/**/*.ts'",
|
|
10
|
-
"build": "tsc
|
|
10
|
+
"build": "tsc",
|
|
11
11
|
"prepack": "cp -rv dist/. ."
|
|
12
12
|
},
|
|
13
13
|
"dependencies": {
|
|
@@ -20,7 +20,6 @@
|
|
|
20
20
|
"devDependencies": {
|
|
21
21
|
"@types/node": "17.0.33",
|
|
22
22
|
"prettier": "2.7.1",
|
|
23
|
-
"tsc-alias": "1.7.1",
|
|
24
23
|
"typescript": "4.6.4"
|
|
25
24
|
}
|
|
26
25
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
4
|
import * as serializers from "../..";
|
|
5
|
-
import
|
|
5
|
+
import * as Vellum from "../../../api";
|
|
6
6
|
import * as core from "../../../core";
|
|
7
7
|
export declare const GenerateBodyRequest: core.serialization.Schema<serializers.GenerateBodyRequest.Raw, Vellum.GenerateBodyRequest>;
|
|
8
8
|
export declare namespace GenerateBodyRequest {
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
4
|
import * as serializers from "../..";
|
|
5
|
-
import
|
|
5
|
+
import * as Vellum from "../../../api";
|
|
6
6
|
import * as core from "../../../core";
|
|
7
7
|
export declare const SearchRequestBodyRequest: core.serialization.Schema<serializers.SearchRequestBodyRequest.Raw, Vellum.SearchRequestBodyRequest>;
|
|
8
8
|
export declare namespace SearchRequestBodyRequest {
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
4
|
import * as serializers from "../..";
|
|
5
|
-
import
|
|
5
|
+
import * as Vellum from "../../../api";
|
|
6
6
|
import * as core from "../../../core";
|
|
7
7
|
export declare const SubmitCompletionActualsRequest: core.serialization.Schema<serializers.SubmitCompletionActualsRequest.Raw, Vellum.SubmitCompletionActualsRequest>;
|
|
8
8
|
export declare namespace SubmitCompletionActualsRequest {
|
package/serialization/index.d.ts
CHANGED
package/serialization/index.js
CHANGED
|
@@ -16,3 +16,4 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./types"), exports);
|
|
18
18
|
__exportStar(require("./client"), exports);
|
|
19
|
+
__exportStar(require("./resources"), exports);
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
+
if (mod && mod.__esModule) return mod;
|
|
20
|
+
var result = {};
|
|
21
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
+
__setModuleDefault(result, mod);
|
|
23
|
+
return result;
|
|
24
|
+
};
|
|
25
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
26
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.sandboxes = void 0;
|
|
30
|
+
exports.sandboxes = __importStar(require("./sandboxes"));
|
|
31
|
+
__exportStar(require("./sandboxes/client/requests"), exports);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./requests";
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./requests"), exports);
|
package/serialization/resources/sandboxes/client/requests/UpsertSandboxScenarioRequestRequest.d.ts
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
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 UpsertSandboxScenarioRequestRequest: core.serialization.Schema<serializers.UpsertSandboxScenarioRequestRequest.Raw, Vellum.UpsertSandboxScenarioRequestRequest>;
|
|
8
|
+
export declare namespace UpsertSandboxScenarioRequestRequest {
|
|
9
|
+
interface Raw {
|
|
10
|
+
label?: string | null;
|
|
11
|
+
inputs: serializers.SandboxInputRequest.Raw[];
|
|
12
|
+
metric_input_params?: serializers.SandboxMetricInputParamsRequest.Raw | null;
|
|
13
|
+
id?: string | null;
|
|
14
|
+
}
|
|
15
|
+
}
|