vellum-ai 0.0.2
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 +25 -0
- package/Client.js +165 -0
- package/README.md +58 -0
- package/api/client/index.d.ts +1 -0
- package/api/client/index.js +17 -0
- package/api/client/requests/GenerateRequestBodyRequest.d.ts +14 -0
- package/api/client/requests/GenerateRequestBodyRequest.js +5 -0
- package/api/client/requests/SearchRequestBodyRequest.d.ts +14 -0
- package/api/client/requests/SearchRequestBodyRequest.js +5 -0
- package/api/client/requests/SubmitCompletionActualsRequestRequest.d.ts +12 -0
- package/api/client/requests/SubmitCompletionActualsRequestRequest.js +5 -0
- package/api/client/requests/index.d.ts +3 -0
- package/api/client/requests/index.js +2 -0
- package/api/index.d.ts +3 -0
- package/api/index.js +19 -0
- package/api/resources/documents/client/Client.d.ts +20 -0
- package/api/resources/documents/client/Client.js +145 -0
- package/api/resources/documents/client/index.d.ts +1 -0
- package/api/resources/documents/client/index.js +17 -0
- package/api/resources/documents/client/requests/ListDocumentsRequest.d.ts +9 -0
- package/api/resources/documents/client/requests/ListDocumentsRequest.js +5 -0
- package/api/resources/documents/client/requests/UploadDocumentRequestBodyRequest.d.ts +13 -0
- package/api/resources/documents/client/requests/UploadDocumentRequestBodyRequest.js +5 -0
- package/api/resources/documents/client/requests/index.d.ts +2 -0
- package/api/resources/documents/client/requests/index.js +2 -0
- package/api/resources/documents/index.d.ts +1 -0
- package/api/resources/documents/index.js +17 -0
- package/api/resources/index.d.ts +3 -0
- package/api/resources/index.js +32 -0
- package/api/resources/modelVersions/client/Client.d.ts +17 -0
- package/api/resources/modelVersions/client/Client.js +80 -0
- package/api/resources/modelVersions/client/index.d.ts +1 -0
- package/api/resources/modelVersions/client/index.js +2 -0
- package/api/resources/modelVersions/index.d.ts +1 -0
- package/api/resources/modelVersions/index.js +17 -0
- package/api/types/BlockTypeEnum.d.ts +10 -0
- package/api/types/BlockTypeEnum.js +12 -0
- package/api/types/ChatRoleEnum.d.ts +9 -0
- package/api/types/ChatRoleEnum.js +11 -0
- package/api/types/Document.d.ts +11 -0
- package/api/types/Document.js +5 -0
- package/api/types/DocumentDocumentToDocumentIndex.d.ts +12 -0
- package/api/types/DocumentDocumentToDocumentIndex.js +5 -0
- package/api/types/EnrichedNormalizedCompletion.d.ts +18 -0
- package/api/types/EnrichedNormalizedCompletion.js +5 -0
- package/api/types/FinishReasonEnum.d.ts +9 -0
- package/api/types/FinishReasonEnum.js +11 -0
- package/api/types/GenerateErrorResponse.d.ts +7 -0
- package/api/types/GenerateErrorResponse.js +5 -0
- package/api/types/GenerateOptionsRequest.d.ts +8 -0
- package/api/types/GenerateOptionsRequest.js +5 -0
- package/api/types/GenerateRequestRequest.d.ts +9 -0
- package/api/types/GenerateRequestRequest.js +5 -0
- package/api/types/GenerateResponse.d.ts +8 -0
- package/api/types/GenerateResponse.js +5 -0
- package/api/types/GenerateResult.d.ts +10 -0
- package/api/types/GenerateResult.js +5 -0
- package/api/types/GenerateResultData.d.ts +8 -0
- package/api/types/GenerateResultData.js +5 -0
- package/api/types/GenerateResultError.d.ts +7 -0
- package/api/types/GenerateResultError.js +5 -0
- package/api/types/IndexingStateEnum.d.ts +11 -0
- package/api/types/IndexingStateEnum.js +13 -0
- package/api/types/LogprobsEnum.d.ts +8 -0
- package/api/types/LogprobsEnum.js +10 -0
- package/api/types/ModelTypeEnum.d.ts +8 -0
- package/api/types/ModelTypeEnum.js +10 -0
- package/api/types/ModelVersionBuildConfig.d.ts +10 -0
- package/api/types/ModelVersionBuildConfig.js +5 -0
- package/api/types/ModelVersionExecConfigParameters.d.ts +13 -0
- package/api/types/ModelVersionExecConfigParameters.js +5 -0
- package/api/types/ModelVersionExecConfigRead.d.ts +13 -0
- package/api/types/ModelVersionExecConfigRead.js +5 -0
- package/api/types/ModelVersionRead.d.ts +23 -0
- package/api/types/ModelVersionRead.js +5 -0
- package/api/types/ModelVersionReadStatusEnum.d.ts +10 -0
- package/api/types/ModelVersionReadStatusEnum.js +12 -0
- package/api/types/ModelVersionSandboxSnapshot.d.ts +9 -0
- package/api/types/ModelVersionSandboxSnapshot.js +5 -0
- package/api/types/NormalizedLogProbs.d.ts +8 -0
- package/api/types/NormalizedLogProbs.js +5 -0
- package/api/types/NormalizedTokenLogProbs.d.ts +9 -0
- package/api/types/NormalizedTokenLogProbs.js +5 -0
- package/api/types/PaginatedSlimDocumentList.d.ts +10 -0
- package/api/types/PaginatedSlimDocumentList.js +5 -0
- package/api/types/ProcessingStateEnum.d.ts +10 -0
- package/api/types/ProcessingStateEnum.js +12 -0
- package/api/types/PromptTemplateBlock.d.ts +8 -0
- package/api/types/PromptTemplateBlock.js +5 -0
- package/api/types/PromptTemplateBlockData.d.ts +8 -0
- package/api/types/PromptTemplateBlockData.js +5 -0
- package/api/types/PromptTemplateBlockProperties.d.ts +10 -0
- package/api/types/PromptTemplateBlockProperties.js +5 -0
- package/api/types/ProviderEnum.d.ts +12 -0
- package/api/types/ProviderEnum.js +14 -0
- package/api/types/SearchErrorResponse.d.ts +7 -0
- package/api/types/SearchErrorResponse.js +5 -0
- package/api/types/SearchFiltersRequest.d.ts +7 -0
- package/api/types/SearchFiltersRequest.js +5 -0
- package/api/types/SearchRequestOptionsRequest.d.ts +14 -0
- package/api/types/SearchRequestOptionsRequest.js +5 -0
- package/api/types/SearchResponse.d.ts +8 -0
- package/api/types/SearchResponse.js +5 -0
- package/api/types/SearchResult.d.ts +13 -0
- package/api/types/SearchResult.js +5 -0
- package/api/types/SearchResultMergingRequest.d.ts +7 -0
- package/api/types/SearchResultMergingRequest.js +5 -0
- package/api/types/SearchWeightsRequest.d.ts +9 -0
- package/api/types/SearchWeightsRequest.js +5 -0
- package/api/types/SlimDocument.d.ts +21 -0
- package/api/types/SlimDocument.js +5 -0
- package/api/types/SlimDocumentStatusEnum.d.ts +7 -0
- package/api/types/SlimDocumentStatusEnum.js +9 -0
- package/api/types/SubmitCompletionActualRequest.d.ts +15 -0
- package/api/types/SubmitCompletionActualRequest.js +5 -0
- package/api/types/SubmitCompletionActualsErrorResponse.d.ts +6 -0
- package/api/types/SubmitCompletionActualsErrorResponse.js +5 -0
- package/api/types/UploadDocumentErrorResponse.d.ts +6 -0
- package/api/types/UploadDocumentErrorResponse.js +5 -0
- package/api/types/UploadDocumentResponse.d.ts +7 -0
- package/api/types/UploadDocumentResponse.js +5 -0
- package/api/types/index.d.ts +43 -0
- package/api/types/index.js +59 -0
- package/core/fetcher/APIResponse.d.ts +9 -0
- package/core/fetcher/APIResponse.js +2 -0
- package/core/fetcher/Fetcher.d.ts +36 -0
- package/core/fetcher/Fetcher.js +87 -0
- package/core/fetcher/Supplier.d.ts +4 -0
- package/core/fetcher/Supplier.js +13 -0
- package/core/fetcher/index.d.ts +3 -0
- package/core/fetcher/index.js +7 -0
- package/core/form-data-utils/getFormDataContentLength.d.ts +2 -0
- package/core/form-data-utils/getFormDataContentLength.js +16 -0
- package/core/form-data-utils/index.d.ts +1 -0
- package/core/form-data-utils/index.js +5 -0
- package/core/index.d.ts +3 -0
- package/core/index.js +32 -0
- package/core/schemas/Schema.d.ts +62 -0
- package/core/schemas/Schema.js +20 -0
- package/core/schemas/builders/date/date.d.ts +2 -0
- package/core/schemas/builders/date/date.js +55 -0
- package/core/schemas/builders/date/index.d.ts +1 -0
- package/core/schemas/builders/date/index.js +5 -0
- package/core/schemas/builders/enum/enum.d.ts +2 -0
- package/core/schemas/builders/enum/enum.js +29 -0
- package/core/schemas/builders/enum/index.d.ts +1 -0
- package/core/schemas/builders/enum/index.js +5 -0
- package/core/schemas/builders/index.d.ts +13 -0
- package/core/schemas/builders/index.js +29 -0
- package/core/schemas/builders/lazy/index.d.ts +2 -0
- package/core/schemas/builders/lazy/index.js +7 -0
- package/core/schemas/builders/lazy/lazy.d.ts +5 -0
- package/core/schemas/builders/lazy/lazy.js +28 -0
- package/core/schemas/builders/lazy/lazyObject.d.ts +3 -0
- package/core/schemas/builders/lazy/lazyObject.js +21 -0
- package/core/schemas/builders/list/index.d.ts +1 -0
- package/core/schemas/builders/list/index.js +5 -0
- package/core/schemas/builders/list/list.d.ts +2 -0
- package/core/schemas/builders/list/list.js +53 -0
- package/core/schemas/builders/literals/index.d.ts +1 -0
- package/core/schemas/builders/literals/index.js +5 -0
- package/core/schemas/builders/literals/stringLiteral.d.ts +2 -0
- package/core/schemas/builders/literals/stringLiteral.js +28 -0
- package/core/schemas/builders/object/index.d.ts +3 -0
- package/core/schemas/builders/object/index.js +9 -0
- package/core/schemas/builders/object/object.d.ts +3 -0
- package/core/schemas/builders/object/object.js +237 -0
- package/core/schemas/builders/object/property.d.ts +8 -0
- package/core/schemas/builders/object/property.js +16 -0
- package/core/schemas/builders/object/types.d.ts +26 -0
- package/core/schemas/builders/object/types.js +2 -0
- package/core/schemas/builders/object-like/getObjectLikeUtils.d.ts +9 -0
- package/core/schemas/builders/object-like/getObjectLikeUtils.js +62 -0
- package/core/schemas/builders/object-like/index.d.ts +2 -0
- package/core/schemas/builders/object-like/index.js +6 -0
- package/core/schemas/builders/object-like/types.d.ts +7 -0
- package/core/schemas/builders/object-like/types.js +2 -0
- package/core/schemas/builders/primitives/any.d.ts +1 -0
- package/core/schemas/builders/primitives/any.js +6 -0
- package/core/schemas/builders/primitives/boolean.d.ts +1 -0
- package/core/schemas/builders/primitives/boolean.js +24 -0
- package/core/schemas/builders/primitives/index.d.ts +5 -0
- package/core/schemas/builders/primitives/index.js +13 -0
- package/core/schemas/builders/primitives/number.d.ts +1 -0
- package/core/schemas/builders/primitives/number.js +24 -0
- package/core/schemas/builders/primitives/string.d.ts +1 -0
- package/core/schemas/builders/primitives/string.js +24 -0
- package/core/schemas/builders/primitives/unknown.d.ts +1 -0
- package/core/schemas/builders/primitives/unknown.js +6 -0
- package/core/schemas/builders/record/index.d.ts +2 -0
- package/core/schemas/builders/record/index.js +5 -0
- package/core/schemas/builders/record/record.d.ts +3 -0
- package/core/schemas/builders/record/record.js +91 -0
- package/core/schemas/builders/record/types.d.ts +4 -0
- package/core/schemas/builders/record/types.js +2 -0
- package/core/schemas/builders/schema-utils/JsonError.d.ts +5 -0
- package/core/schemas/builders/schema-utils/JsonError.js +13 -0
- package/core/schemas/builders/schema-utils/ParseError.d.ts +5 -0
- package/core/schemas/builders/schema-utils/ParseError.js +13 -0
- package/core/schemas/builders/schema-utils/getSchemaUtils.d.ts +17 -0
- package/core/schemas/builders/schema-utils/getSchemaUtils.js +82 -0
- package/core/schemas/builders/schema-utils/index.d.ts +3 -0
- package/core/schemas/builders/schema-utils/index.js +11 -0
- package/core/schemas/builders/schema-utils/stringifyValidationErrors.d.ts +2 -0
- package/core/schemas/builders/schema-utils/stringifyValidationErrors.js +10 -0
- package/core/schemas/builders/set/index.d.ts +1 -0
- package/core/schemas/builders/set/index.js +5 -0
- package/core/schemas/builders/set/set.d.ts +2 -0
- package/core/schemas/builders/set/set.js +44 -0
- package/core/schemas/builders/undiscriminated-union/index.d.ts +2 -0
- package/core/schemas/builders/undiscriminated-union/index.js +5 -0
- package/core/schemas/builders/undiscriminated-union/types.d.ts +4 -0
- package/core/schemas/builders/undiscriminated-union/types.js +2 -0
- package/core/schemas/builders/undiscriminated-union/undiscriminatedUnion.d.ts +3 -0
- package/core/schemas/builders/undiscriminated-union/undiscriminatedUnion.js +37 -0
- package/core/schemas/builders/union/discriminant.d.ts +5 -0
- package/core/schemas/builders/union/discriminant.js +10 -0
- package/core/schemas/builders/union/index.d.ts +3 -0
- package/core/schemas/builders/union/index.js +7 -0
- package/core/schemas/builders/union/types.d.ts +13 -0
- package/core/schemas/builders/union/types.js +2 -0
- package/core/schemas/builders/union/union.d.ts +4 -0
- package/core/schemas/builders/union/union.js +120 -0
- package/core/schemas/index.d.ts +2 -0
- package/core/schemas/index.js +17 -0
- package/core/schemas/utils/MaybePromise.d.ts +1 -0
- package/core/schemas/utils/MaybePromise.js +2 -0
- package/core/schemas/utils/addQuestionMarksToNullableProperties.d.ts +7 -0
- package/core/schemas/utils/addQuestionMarksToNullableProperties.js +2 -0
- package/core/schemas/utils/createIdentitySchemaCreator.d.ts +2 -0
- package/core/schemas/utils/createIdentitySchemaCreator.js +18 -0
- package/core/schemas/utils/entries.d.ts +1 -0
- package/core/schemas/utils/entries.js +7 -0
- package/core/schemas/utils/filterObject.d.ts +1 -0
- package/core/schemas/utils/filterObject.js +14 -0
- package/core/schemas/utils/isPlainObject.d.ts +2 -0
- package/core/schemas/utils/isPlainObject.js +19 -0
- package/core/schemas/utils/keys.d.ts +1 -0
- package/core/schemas/utils/keys.js +7 -0
- package/core/schemas/utils/partition.d.ts +1 -0
- package/core/schemas/utils/partition.js +16 -0
- package/dist/Client.d.ts +25 -0
- package/dist/Client.js +165 -0
- package/dist/api/client/index.d.ts +1 -0
- package/dist/api/client/index.js +17 -0
- package/dist/api/client/requests/GenerateRequestBodyRequest.d.ts +14 -0
- package/dist/api/client/requests/GenerateRequestBodyRequest.js +5 -0
- package/dist/api/client/requests/SearchRequestBodyRequest.d.ts +14 -0
- package/dist/api/client/requests/SearchRequestBodyRequest.js +5 -0
- package/dist/api/client/requests/SubmitCompletionActualsRequestRequest.d.ts +12 -0
- package/dist/api/client/requests/SubmitCompletionActualsRequestRequest.js +5 -0
- package/dist/api/client/requests/index.d.ts +3 -0
- package/dist/api/client/requests/index.js +2 -0
- package/dist/api/index.d.ts +3 -0
- package/dist/api/index.js +19 -0
- package/dist/api/resources/documents/client/Client.d.ts +20 -0
- package/dist/api/resources/documents/client/Client.js +145 -0
- package/dist/api/resources/documents/client/index.d.ts +1 -0
- package/dist/api/resources/documents/client/index.js +17 -0
- package/dist/api/resources/documents/client/requests/ListDocumentsRequest.d.ts +9 -0
- package/dist/api/resources/documents/client/requests/ListDocumentsRequest.js +5 -0
- package/dist/api/resources/documents/client/requests/UploadDocumentRequestBodyRequest.d.ts +13 -0
- package/dist/api/resources/documents/client/requests/UploadDocumentRequestBodyRequest.js +5 -0
- package/dist/api/resources/documents/client/requests/index.d.ts +2 -0
- package/dist/api/resources/documents/client/requests/index.js +2 -0
- package/dist/api/resources/documents/index.d.ts +1 -0
- package/dist/api/resources/documents/index.js +17 -0
- package/dist/api/resources/index.d.ts +3 -0
- package/dist/api/resources/index.js +32 -0
- package/dist/api/resources/modelVersions/client/Client.d.ts +17 -0
- package/dist/api/resources/modelVersions/client/Client.js +80 -0
- package/dist/api/resources/modelVersions/client/index.d.ts +1 -0
- package/dist/api/resources/modelVersions/client/index.js +2 -0
- package/dist/api/resources/modelVersions/index.d.ts +1 -0
- package/dist/api/resources/modelVersions/index.js +17 -0
- package/dist/api/types/BlockTypeEnum.d.ts +10 -0
- package/dist/api/types/BlockTypeEnum.js +12 -0
- package/dist/api/types/ChatRoleEnum.d.ts +9 -0
- package/dist/api/types/ChatRoleEnum.js +11 -0
- package/dist/api/types/Document.d.ts +11 -0
- package/dist/api/types/Document.js +5 -0
- package/dist/api/types/DocumentDocumentToDocumentIndex.d.ts +12 -0
- package/dist/api/types/DocumentDocumentToDocumentIndex.js +5 -0
- package/dist/api/types/EnrichedNormalizedCompletion.d.ts +18 -0
- package/dist/api/types/EnrichedNormalizedCompletion.js +5 -0
- package/dist/api/types/FinishReasonEnum.d.ts +9 -0
- package/dist/api/types/FinishReasonEnum.js +11 -0
- package/dist/api/types/GenerateErrorResponse.d.ts +7 -0
- package/dist/api/types/GenerateErrorResponse.js +5 -0
- package/dist/api/types/GenerateOptionsRequest.d.ts +8 -0
- package/dist/api/types/GenerateOptionsRequest.js +5 -0
- package/dist/api/types/GenerateRequestRequest.d.ts +9 -0
- package/dist/api/types/GenerateRequestRequest.js +5 -0
- package/dist/api/types/GenerateResponse.d.ts +8 -0
- package/dist/api/types/GenerateResponse.js +5 -0
- package/dist/api/types/GenerateResult.d.ts +10 -0
- package/dist/api/types/GenerateResult.js +5 -0
- package/dist/api/types/GenerateResultData.d.ts +8 -0
- package/dist/api/types/GenerateResultData.js +5 -0
- package/dist/api/types/GenerateResultError.d.ts +7 -0
- package/dist/api/types/GenerateResultError.js +5 -0
- package/dist/api/types/IndexingStateEnum.d.ts +11 -0
- package/dist/api/types/IndexingStateEnum.js +13 -0
- package/dist/api/types/LogprobsEnum.d.ts +8 -0
- package/dist/api/types/LogprobsEnum.js +10 -0
- package/dist/api/types/ModelTypeEnum.d.ts +8 -0
- package/dist/api/types/ModelTypeEnum.js +10 -0
- package/dist/api/types/ModelVersionBuildConfig.d.ts +10 -0
- package/dist/api/types/ModelVersionBuildConfig.js +5 -0
- package/dist/api/types/ModelVersionExecConfigParameters.d.ts +13 -0
- package/dist/api/types/ModelVersionExecConfigParameters.js +5 -0
- package/dist/api/types/ModelVersionExecConfigRead.d.ts +13 -0
- package/dist/api/types/ModelVersionExecConfigRead.js +5 -0
- package/dist/api/types/ModelVersionRead.d.ts +23 -0
- package/dist/api/types/ModelVersionRead.js +5 -0
- package/dist/api/types/ModelVersionReadStatusEnum.d.ts +10 -0
- package/dist/api/types/ModelVersionReadStatusEnum.js +12 -0
- package/dist/api/types/ModelVersionSandboxSnapshot.d.ts +9 -0
- package/dist/api/types/ModelVersionSandboxSnapshot.js +5 -0
- package/dist/api/types/NormalizedLogProbs.d.ts +8 -0
- package/dist/api/types/NormalizedLogProbs.js +5 -0
- package/dist/api/types/NormalizedTokenLogProbs.d.ts +9 -0
- package/dist/api/types/NormalizedTokenLogProbs.js +5 -0
- package/dist/api/types/PaginatedSlimDocumentList.d.ts +10 -0
- package/dist/api/types/PaginatedSlimDocumentList.js +5 -0
- package/dist/api/types/ProcessingStateEnum.d.ts +10 -0
- package/dist/api/types/ProcessingStateEnum.js +12 -0
- package/dist/api/types/PromptTemplateBlock.d.ts +8 -0
- package/dist/api/types/PromptTemplateBlock.js +5 -0
- package/dist/api/types/PromptTemplateBlockData.d.ts +8 -0
- package/dist/api/types/PromptTemplateBlockData.js +5 -0
- package/dist/api/types/PromptTemplateBlockProperties.d.ts +10 -0
- package/dist/api/types/PromptTemplateBlockProperties.js +5 -0
- package/dist/api/types/ProviderEnum.d.ts +12 -0
- package/dist/api/types/ProviderEnum.js +14 -0
- package/dist/api/types/SearchErrorResponse.d.ts +7 -0
- package/dist/api/types/SearchErrorResponse.js +5 -0
- package/dist/api/types/SearchFiltersRequest.d.ts +7 -0
- package/dist/api/types/SearchFiltersRequest.js +5 -0
- package/dist/api/types/SearchRequestOptionsRequest.d.ts +14 -0
- package/dist/api/types/SearchRequestOptionsRequest.js +5 -0
- package/dist/api/types/SearchResponse.d.ts +8 -0
- package/dist/api/types/SearchResponse.js +5 -0
- package/dist/api/types/SearchResult.d.ts +13 -0
- package/dist/api/types/SearchResult.js +5 -0
- package/dist/api/types/SearchResultMergingRequest.d.ts +7 -0
- package/dist/api/types/SearchResultMergingRequest.js +5 -0
- package/dist/api/types/SearchWeightsRequest.d.ts +9 -0
- package/dist/api/types/SearchWeightsRequest.js +5 -0
- package/dist/api/types/SlimDocument.d.ts +21 -0
- package/dist/api/types/SlimDocument.js +5 -0
- package/dist/api/types/SlimDocumentStatusEnum.d.ts +7 -0
- package/dist/api/types/SlimDocumentStatusEnum.js +9 -0
- package/dist/api/types/SubmitCompletionActualRequest.d.ts +15 -0
- package/dist/api/types/SubmitCompletionActualRequest.js +5 -0
- package/dist/api/types/SubmitCompletionActualsErrorResponse.d.ts +6 -0
- package/dist/api/types/SubmitCompletionActualsErrorResponse.js +5 -0
- package/dist/api/types/UploadDocumentErrorResponse.d.ts +6 -0
- package/dist/api/types/UploadDocumentErrorResponse.js +5 -0
- package/dist/api/types/UploadDocumentResponse.d.ts +7 -0
- package/dist/api/types/UploadDocumentResponse.js +5 -0
- package/dist/api/types/index.d.ts +43 -0
- package/dist/api/types/index.js +59 -0
- package/dist/core/fetcher/APIResponse.d.ts +9 -0
- package/dist/core/fetcher/APIResponse.js +2 -0
- package/dist/core/fetcher/Fetcher.d.ts +36 -0
- package/dist/core/fetcher/Fetcher.js +87 -0
- package/dist/core/fetcher/Supplier.d.ts +4 -0
- package/dist/core/fetcher/Supplier.js +13 -0
- package/dist/core/fetcher/index.d.ts +3 -0
- package/dist/core/fetcher/index.js +7 -0
- package/dist/core/form-data-utils/getFormDataContentLength.d.ts +2 -0
- package/dist/core/form-data-utils/getFormDataContentLength.js +16 -0
- package/dist/core/form-data-utils/index.d.ts +1 -0
- package/dist/core/form-data-utils/index.js +5 -0
- package/dist/core/index.d.ts +3 -0
- package/dist/core/index.js +32 -0
- package/dist/core/schemas/Schema.d.ts +62 -0
- package/dist/core/schemas/Schema.js +20 -0
- package/dist/core/schemas/builders/date/date.d.ts +2 -0
- package/dist/core/schemas/builders/date/date.js +55 -0
- package/dist/core/schemas/builders/date/index.d.ts +1 -0
- package/dist/core/schemas/builders/date/index.js +5 -0
- package/dist/core/schemas/builders/enum/enum.d.ts +2 -0
- package/dist/core/schemas/builders/enum/enum.js +29 -0
- package/dist/core/schemas/builders/enum/index.d.ts +1 -0
- package/dist/core/schemas/builders/enum/index.js +5 -0
- package/dist/core/schemas/builders/index.d.ts +13 -0
- package/dist/core/schemas/builders/index.js +29 -0
- package/dist/core/schemas/builders/lazy/index.d.ts +2 -0
- package/dist/core/schemas/builders/lazy/index.js +7 -0
- package/dist/core/schemas/builders/lazy/lazy.d.ts +5 -0
- package/dist/core/schemas/builders/lazy/lazy.js +28 -0
- package/dist/core/schemas/builders/lazy/lazyObject.d.ts +3 -0
- package/dist/core/schemas/builders/lazy/lazyObject.js +21 -0
- package/dist/core/schemas/builders/list/index.d.ts +1 -0
- package/dist/core/schemas/builders/list/index.js +5 -0
- package/dist/core/schemas/builders/list/list.d.ts +2 -0
- package/dist/core/schemas/builders/list/list.js +53 -0
- package/dist/core/schemas/builders/literals/index.d.ts +1 -0
- package/dist/core/schemas/builders/literals/index.js +5 -0
- package/dist/core/schemas/builders/literals/stringLiteral.d.ts +2 -0
- package/dist/core/schemas/builders/literals/stringLiteral.js +28 -0
- package/dist/core/schemas/builders/object/index.d.ts +3 -0
- package/dist/core/schemas/builders/object/index.js +9 -0
- package/dist/core/schemas/builders/object/object.d.ts +3 -0
- package/dist/core/schemas/builders/object/object.js +237 -0
- package/dist/core/schemas/builders/object/property.d.ts +8 -0
- package/dist/core/schemas/builders/object/property.js +16 -0
- package/dist/core/schemas/builders/object/types.d.ts +26 -0
- package/dist/core/schemas/builders/object/types.js +2 -0
- package/dist/core/schemas/builders/object-like/getObjectLikeUtils.d.ts +9 -0
- package/dist/core/schemas/builders/object-like/getObjectLikeUtils.js +62 -0
- package/dist/core/schemas/builders/object-like/index.d.ts +2 -0
- package/dist/core/schemas/builders/object-like/index.js +6 -0
- package/dist/core/schemas/builders/object-like/types.d.ts +7 -0
- package/dist/core/schemas/builders/object-like/types.js +2 -0
- package/dist/core/schemas/builders/primitives/any.d.ts +1 -0
- package/dist/core/schemas/builders/primitives/any.js +6 -0
- package/dist/core/schemas/builders/primitives/boolean.d.ts +1 -0
- package/dist/core/schemas/builders/primitives/boolean.js +24 -0
- package/dist/core/schemas/builders/primitives/index.d.ts +5 -0
- package/dist/core/schemas/builders/primitives/index.js +13 -0
- package/dist/core/schemas/builders/primitives/number.d.ts +1 -0
- package/dist/core/schemas/builders/primitives/number.js +24 -0
- package/dist/core/schemas/builders/primitives/string.d.ts +1 -0
- package/dist/core/schemas/builders/primitives/string.js +24 -0
- package/dist/core/schemas/builders/primitives/unknown.d.ts +1 -0
- package/dist/core/schemas/builders/primitives/unknown.js +6 -0
- package/dist/core/schemas/builders/record/index.d.ts +2 -0
- package/dist/core/schemas/builders/record/index.js +5 -0
- package/dist/core/schemas/builders/record/record.d.ts +3 -0
- package/dist/core/schemas/builders/record/record.js +91 -0
- package/dist/core/schemas/builders/record/types.d.ts +4 -0
- package/dist/core/schemas/builders/record/types.js +2 -0
- package/dist/core/schemas/builders/schema-utils/JsonError.d.ts +5 -0
- package/dist/core/schemas/builders/schema-utils/JsonError.js +13 -0
- package/dist/core/schemas/builders/schema-utils/ParseError.d.ts +5 -0
- package/dist/core/schemas/builders/schema-utils/ParseError.js +13 -0
- package/dist/core/schemas/builders/schema-utils/getSchemaUtils.d.ts +17 -0
- package/dist/core/schemas/builders/schema-utils/getSchemaUtils.js +82 -0
- package/dist/core/schemas/builders/schema-utils/index.d.ts +3 -0
- package/dist/core/schemas/builders/schema-utils/index.js +11 -0
- package/dist/core/schemas/builders/schema-utils/stringifyValidationErrors.d.ts +2 -0
- package/dist/core/schemas/builders/schema-utils/stringifyValidationErrors.js +10 -0
- package/dist/core/schemas/builders/set/index.d.ts +1 -0
- package/dist/core/schemas/builders/set/index.js +5 -0
- package/dist/core/schemas/builders/set/set.d.ts +2 -0
- package/dist/core/schemas/builders/set/set.js +44 -0
- package/dist/core/schemas/builders/undiscriminated-union/index.d.ts +2 -0
- package/dist/core/schemas/builders/undiscriminated-union/index.js +5 -0
- package/dist/core/schemas/builders/undiscriminated-union/types.d.ts +4 -0
- package/dist/core/schemas/builders/undiscriminated-union/types.js +2 -0
- package/dist/core/schemas/builders/undiscriminated-union/undiscriminatedUnion.d.ts +3 -0
- package/dist/core/schemas/builders/undiscriminated-union/undiscriminatedUnion.js +37 -0
- package/dist/core/schemas/builders/union/discriminant.d.ts +5 -0
- package/dist/core/schemas/builders/union/discriminant.js +10 -0
- package/dist/core/schemas/builders/union/index.d.ts +3 -0
- package/dist/core/schemas/builders/union/index.js +7 -0
- package/dist/core/schemas/builders/union/types.d.ts +13 -0
- package/dist/core/schemas/builders/union/types.js +2 -0
- package/dist/core/schemas/builders/union/union.d.ts +4 -0
- package/dist/core/schemas/builders/union/union.js +120 -0
- package/dist/core/schemas/index.d.ts +2 -0
- package/dist/core/schemas/index.js +17 -0
- package/dist/core/schemas/utils/MaybePromise.d.ts +1 -0
- package/dist/core/schemas/utils/MaybePromise.js +2 -0
- package/dist/core/schemas/utils/addQuestionMarksToNullableProperties.d.ts +7 -0
- package/dist/core/schemas/utils/addQuestionMarksToNullableProperties.js +2 -0
- package/dist/core/schemas/utils/createIdentitySchemaCreator.d.ts +2 -0
- package/dist/core/schemas/utils/createIdentitySchemaCreator.js +18 -0
- package/dist/core/schemas/utils/entries.d.ts +1 -0
- package/dist/core/schemas/utils/entries.js +7 -0
- package/dist/core/schemas/utils/filterObject.d.ts +1 -0
- package/dist/core/schemas/utils/filterObject.js +14 -0
- package/dist/core/schemas/utils/isPlainObject.d.ts +2 -0
- package/dist/core/schemas/utils/isPlainObject.js +19 -0
- package/dist/core/schemas/utils/keys.d.ts +1 -0
- package/dist/core/schemas/utils/keys.js +7 -0
- package/dist/core/schemas/utils/partition.d.ts +1 -0
- package/dist/core/schemas/utils/partition.js +16 -0
- package/dist/environments.d.ts +16 -0
- package/dist/environments.js +13 -0
- package/dist/errors/VellumError.d.ts +12 -0
- package/dist/errors/VellumError.js +21 -0
- package/dist/errors/VellumTimeoutError.d.ts +6 -0
- package/dist/errors/VellumTimeoutError.js +13 -0
- package/dist/errors/index.d.ts +2 -0
- package/dist/errors/index.js +7 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.js +34 -0
- package/dist/serialization/client/index.d.ts +1 -0
- package/dist/serialization/client/index.js +17 -0
- package/dist/serialization/client/requests/GenerateRequestBodyRequest.d.ts +15 -0
- package/dist/serialization/client/requests/GenerateRequestBodyRequest.js +36 -0
- package/dist/serialization/client/requests/SearchRequestBodyRequest.d.ts +15 -0
- package/dist/serialization/client/requests/SearchRequestBodyRequest.js +36 -0
- package/dist/serialization/client/requests/SubmitCompletionActualsRequestRequest.d.ts +14 -0
- package/dist/serialization/client/requests/SubmitCompletionActualsRequestRequest.js +35 -0
- package/dist/serialization/client/requests/index.d.ts +3 -0
- package/dist/serialization/client/requests/index.js +9 -0
- package/dist/serialization/index.d.ts +2 -0
- package/dist/serialization/index.js +18 -0
- package/dist/serialization/types/BlockTypeEnum.d.ts +10 -0
- package/dist/serialization/types/BlockTypeEnum.js +31 -0
- package/dist/serialization/types/ChatRoleEnum.d.ts +10 -0
- package/dist/serialization/types/ChatRoleEnum.js +31 -0
- package/dist/serialization/types/Document.d.ts +14 -0
- package/dist/serialization/types/Document.js +35 -0
- package/dist/serialization/types/DocumentDocumentToDocumentIndex.d.ts +14 -0
- package/dist/serialization/types/DocumentDocumentToDocumentIndex.js +35 -0
- package/dist/serialization/types/EnrichedNormalizedCompletion.d.ts +17 -0
- package/dist/serialization/types/EnrichedNormalizedCompletion.js +38 -0
- package/dist/serialization/types/FinishReasonEnum.d.ts +10 -0
- package/dist/serialization/types/FinishReasonEnum.js +31 -0
- package/dist/serialization/types/GenerateErrorResponse.d.ts +12 -0
- package/dist/serialization/types/GenerateErrorResponse.js +33 -0
- package/dist/serialization/types/GenerateOptionsRequest.d.ts +12 -0
- package/dist/serialization/types/GenerateOptionsRequest.js +33 -0
- package/dist/serialization/types/GenerateRequestRequest.d.ts +13 -0
- package/dist/serialization/types/GenerateRequestRequest.js +34 -0
- package/dist/serialization/types/GenerateResponse.d.ts +12 -0
- package/dist/serialization/types/GenerateResponse.js +33 -0
- package/dist/serialization/types/GenerateResult.d.ts +13 -0
- package/dist/serialization/types/GenerateResult.js +34 -0
- package/dist/serialization/types/GenerateResultData.d.ts +12 -0
- package/dist/serialization/types/GenerateResultData.js +33 -0
- package/dist/serialization/types/GenerateResultError.d.ts +12 -0
- package/dist/serialization/types/GenerateResultError.js +33 -0
- package/dist/serialization/types/IndexingStateEnum.d.ts +10 -0
- package/dist/serialization/types/IndexingStateEnum.js +31 -0
- package/dist/serialization/types/LogprobsEnum.d.ts +10 -0
- package/dist/serialization/types/LogprobsEnum.js +31 -0
- package/dist/serialization/types/ModelTypeEnum.d.ts +10 -0
- package/dist/serialization/types/ModelTypeEnum.js +31 -0
- package/dist/serialization/types/ModelVersionBuildConfig.d.ts +13 -0
- package/dist/serialization/types/ModelVersionBuildConfig.js +34 -0
- package/dist/serialization/types/ModelVersionExecConfigParameters.d.ts +19 -0
- package/dist/serialization/types/ModelVersionExecConfigParameters.js +40 -0
- package/dist/serialization/types/ModelVersionExecConfigRead.d.ts +15 -0
- package/dist/serialization/types/ModelVersionExecConfigRead.js +36 -0
- package/dist/serialization/types/ModelVersionRead.d.ts +20 -0
- package/dist/serialization/types/ModelVersionRead.js +41 -0
- package/dist/serialization/types/ModelVersionReadStatusEnum.d.ts +10 -0
- package/dist/serialization/types/ModelVersionReadStatusEnum.js +31 -0
- package/dist/serialization/types/ModelVersionSandboxSnapshot.d.ts +13 -0
- package/dist/serialization/types/ModelVersionSandboxSnapshot.js +34 -0
- package/dist/serialization/types/NormalizedLogProbs.d.ts +13 -0
- package/dist/serialization/types/NormalizedLogProbs.js +34 -0
- package/dist/serialization/types/NormalizedTokenLogProbs.d.ts +15 -0
- package/dist/serialization/types/NormalizedTokenLogProbs.js +36 -0
- package/dist/serialization/types/PaginatedSlimDocumentList.d.ts +15 -0
- package/dist/serialization/types/PaginatedSlimDocumentList.js +38 -0
- package/dist/serialization/types/ProcessingStateEnum.d.ts +10 -0
- package/dist/serialization/types/ProcessingStateEnum.js +31 -0
- package/dist/serialization/types/PromptTemplateBlock.d.ts +13 -0
- package/dist/serialization/types/PromptTemplateBlock.js +34 -0
- package/dist/serialization/types/PromptTemplateBlockData.d.ts +13 -0
- package/dist/serialization/types/PromptTemplateBlockData.js +34 -0
- package/dist/serialization/types/PromptTemplateBlockProperties.d.ts +15 -0
- package/dist/serialization/types/PromptTemplateBlockProperties.js +38 -0
- package/dist/serialization/types/ProviderEnum.d.ts +10 -0
- package/dist/serialization/types/ProviderEnum.js +31 -0
- package/dist/serialization/types/SearchErrorResponse.d.ts +12 -0
- package/dist/serialization/types/SearchErrorResponse.js +33 -0
- package/dist/serialization/types/SearchFiltersRequest.d.ts +12 -0
- package/dist/serialization/types/SearchFiltersRequest.js +33 -0
- package/dist/serialization/types/SearchRequestOptionsRequest.d.ts +15 -0
- package/dist/serialization/types/SearchRequestOptionsRequest.js +36 -0
- package/dist/serialization/types/SearchResponse.d.ts +12 -0
- package/dist/serialization/types/SearchResponse.js +33 -0
- package/dist/serialization/types/SearchResult.d.ts +15 -0
- package/dist/serialization/types/SearchResult.js +36 -0
- package/dist/serialization/types/SearchResultMergingRequest.d.ts +12 -0
- package/dist/serialization/types/SearchResultMergingRequest.js +33 -0
- package/dist/serialization/types/SearchWeightsRequest.d.ts +13 -0
- package/dist/serialization/types/SearchWeightsRequest.js +34 -0
- package/dist/serialization/types/SlimDocument.d.ts +19 -0
- package/dist/serialization/types/SlimDocument.js +40 -0
- package/dist/serialization/types/SlimDocumentStatusEnum.d.ts +10 -0
- package/dist/serialization/types/SlimDocumentStatusEnum.js +31 -0
- package/dist/serialization/types/SubmitCompletionActualRequest.d.ts +16 -0
- package/dist/serialization/types/SubmitCompletionActualRequest.js +37 -0
- package/dist/serialization/types/SubmitCompletionActualsErrorResponse.d.ts +12 -0
- package/dist/serialization/types/SubmitCompletionActualsErrorResponse.js +33 -0
- package/dist/serialization/types/UploadDocumentErrorResponse.d.ts +12 -0
- package/dist/serialization/types/UploadDocumentErrorResponse.js +33 -0
- package/dist/serialization/types/UploadDocumentResponse.d.ts +12 -0
- package/dist/serialization/types/UploadDocumentResponse.js +33 -0
- package/dist/serialization/types/index.d.ts +43 -0
- package/dist/serialization/types/index.js +59 -0
- package/environments.d.ts +16 -0
- package/environments.js +13 -0
- package/errors/VellumError.d.ts +12 -0
- package/errors/VellumError.js +21 -0
- package/errors/VellumTimeoutError.d.ts +6 -0
- package/errors/VellumTimeoutError.js +13 -0
- package/errors/index.d.ts +2 -0
- package/errors/index.js +7 -0
- package/index.d.ts +4 -0
- package/index.js +34 -0
- package/package.json +26 -0
- package/serialization/client/index.d.ts +1 -0
- package/serialization/client/index.js +17 -0
- package/serialization/client/requests/GenerateRequestBodyRequest.d.ts +15 -0
- package/serialization/client/requests/GenerateRequestBodyRequest.js +36 -0
- package/serialization/client/requests/SearchRequestBodyRequest.d.ts +15 -0
- package/serialization/client/requests/SearchRequestBodyRequest.js +36 -0
- package/serialization/client/requests/SubmitCompletionActualsRequestRequest.d.ts +14 -0
- package/serialization/client/requests/SubmitCompletionActualsRequestRequest.js +35 -0
- package/serialization/client/requests/index.d.ts +3 -0
- package/serialization/client/requests/index.js +9 -0
- package/serialization/index.d.ts +2 -0
- package/serialization/index.js +18 -0
- package/serialization/types/BlockTypeEnum.d.ts +10 -0
- package/serialization/types/BlockTypeEnum.js +31 -0
- package/serialization/types/ChatRoleEnum.d.ts +10 -0
- package/serialization/types/ChatRoleEnum.js +31 -0
- package/serialization/types/Document.d.ts +14 -0
- package/serialization/types/Document.js +35 -0
- package/serialization/types/DocumentDocumentToDocumentIndex.d.ts +14 -0
- package/serialization/types/DocumentDocumentToDocumentIndex.js +35 -0
- package/serialization/types/EnrichedNormalizedCompletion.d.ts +17 -0
- package/serialization/types/EnrichedNormalizedCompletion.js +38 -0
- package/serialization/types/FinishReasonEnum.d.ts +10 -0
- package/serialization/types/FinishReasonEnum.js +31 -0
- package/serialization/types/GenerateErrorResponse.d.ts +12 -0
- package/serialization/types/GenerateErrorResponse.js +33 -0
- package/serialization/types/GenerateOptionsRequest.d.ts +12 -0
- package/serialization/types/GenerateOptionsRequest.js +33 -0
- package/serialization/types/GenerateRequestRequest.d.ts +13 -0
- package/serialization/types/GenerateRequestRequest.js +34 -0
- package/serialization/types/GenerateResponse.d.ts +12 -0
- package/serialization/types/GenerateResponse.js +33 -0
- package/serialization/types/GenerateResult.d.ts +13 -0
- package/serialization/types/GenerateResult.js +34 -0
- package/serialization/types/GenerateResultData.d.ts +12 -0
- package/serialization/types/GenerateResultData.js +33 -0
- package/serialization/types/GenerateResultError.d.ts +12 -0
- package/serialization/types/GenerateResultError.js +33 -0
- package/serialization/types/IndexingStateEnum.d.ts +10 -0
- package/serialization/types/IndexingStateEnum.js +31 -0
- package/serialization/types/LogprobsEnum.d.ts +10 -0
- package/serialization/types/LogprobsEnum.js +31 -0
- package/serialization/types/ModelTypeEnum.d.ts +10 -0
- package/serialization/types/ModelTypeEnum.js +31 -0
- package/serialization/types/ModelVersionBuildConfig.d.ts +13 -0
- package/serialization/types/ModelVersionBuildConfig.js +34 -0
- package/serialization/types/ModelVersionExecConfigParameters.d.ts +19 -0
- package/serialization/types/ModelVersionExecConfigParameters.js +40 -0
- package/serialization/types/ModelVersionExecConfigRead.d.ts +15 -0
- package/serialization/types/ModelVersionExecConfigRead.js +36 -0
- package/serialization/types/ModelVersionRead.d.ts +20 -0
- package/serialization/types/ModelVersionRead.js +41 -0
- package/serialization/types/ModelVersionReadStatusEnum.d.ts +10 -0
- package/serialization/types/ModelVersionReadStatusEnum.js +31 -0
- package/serialization/types/ModelVersionSandboxSnapshot.d.ts +13 -0
- package/serialization/types/ModelVersionSandboxSnapshot.js +34 -0
- package/serialization/types/NormalizedLogProbs.d.ts +13 -0
- package/serialization/types/NormalizedLogProbs.js +34 -0
- package/serialization/types/NormalizedTokenLogProbs.d.ts +15 -0
- package/serialization/types/NormalizedTokenLogProbs.js +36 -0
- package/serialization/types/PaginatedSlimDocumentList.d.ts +15 -0
- package/serialization/types/PaginatedSlimDocumentList.js +38 -0
- package/serialization/types/ProcessingStateEnum.d.ts +10 -0
- package/serialization/types/ProcessingStateEnum.js +31 -0
- package/serialization/types/PromptTemplateBlock.d.ts +13 -0
- package/serialization/types/PromptTemplateBlock.js +34 -0
- package/serialization/types/PromptTemplateBlockData.d.ts +13 -0
- package/serialization/types/PromptTemplateBlockData.js +34 -0
- package/serialization/types/PromptTemplateBlockProperties.d.ts +15 -0
- package/serialization/types/PromptTemplateBlockProperties.js +38 -0
- package/serialization/types/ProviderEnum.d.ts +10 -0
- package/serialization/types/ProviderEnum.js +31 -0
- package/serialization/types/SearchErrorResponse.d.ts +12 -0
- package/serialization/types/SearchErrorResponse.js +33 -0
- package/serialization/types/SearchFiltersRequest.d.ts +12 -0
- package/serialization/types/SearchFiltersRequest.js +33 -0
- package/serialization/types/SearchRequestOptionsRequest.d.ts +15 -0
- package/serialization/types/SearchRequestOptionsRequest.js +36 -0
- package/serialization/types/SearchResponse.d.ts +12 -0
- package/serialization/types/SearchResponse.js +33 -0
- package/serialization/types/SearchResult.d.ts +15 -0
- package/serialization/types/SearchResult.js +36 -0
- package/serialization/types/SearchResultMergingRequest.d.ts +12 -0
- package/serialization/types/SearchResultMergingRequest.js +33 -0
- package/serialization/types/SearchWeightsRequest.d.ts +13 -0
- package/serialization/types/SearchWeightsRequest.js +34 -0
- package/serialization/types/SlimDocument.d.ts +19 -0
- package/serialization/types/SlimDocument.js +40 -0
- package/serialization/types/SlimDocumentStatusEnum.d.ts +10 -0
- package/serialization/types/SlimDocumentStatusEnum.js +31 -0
- package/serialization/types/SubmitCompletionActualRequest.d.ts +16 -0
- package/serialization/types/SubmitCompletionActualRequest.js +37 -0
- package/serialization/types/SubmitCompletionActualsErrorResponse.d.ts +12 -0
- package/serialization/types/SubmitCompletionActualsErrorResponse.js +33 -0
- package/serialization/types/UploadDocumentErrorResponse.d.ts +12 -0
- package/serialization/types/UploadDocumentErrorResponse.js +33 -0
- package/serialization/types/UploadDocumentResponse.d.ts +12 -0
- package/serialization/types/UploadDocumentResponse.js +33 -0
- package/serialization/types/index.d.ts +43 -0
- package/serialization/types/index.js +59 -0
|
@@ -0,0 +1,31 @@
|
|
|
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.FinishReasonEnum = void 0;
|
|
30
|
+
const core = __importStar(require("../../core"));
|
|
31
|
+
exports.FinishReasonEnum = core.serialization.enum_(["LENGTH", "STOP", "UNKNOWN"]);
|
|
@@ -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 { Vellum } from "../..";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
export declare const GenerateErrorResponse: core.serialization.ObjectSchema<serializers.GenerateErrorResponse.Raw, Vellum.GenerateErrorResponse>;
|
|
8
|
+
export declare namespace GenerateErrorResponse {
|
|
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.GenerateErrorResponse = void 0;
|
|
30
|
+
const core = __importStar(require("../../core"));
|
|
31
|
+
exports.GenerateErrorResponse = core.serialization.object({
|
|
32
|
+
detail: core.serialization.string(),
|
|
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 { Vellum } from "../..";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
export declare const GenerateOptionsRequest: core.serialization.ObjectSchema<serializers.GenerateOptionsRequest.Raw, Vellum.GenerateOptionsRequest>;
|
|
8
|
+
export declare namespace GenerateOptionsRequest {
|
|
9
|
+
interface Raw {
|
|
10
|
+
logprobs?: serializers.LogprobsEnum.Raw | 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.GenerateOptionsRequest = void 0;
|
|
30
|
+
const core = __importStar(require("../../core"));
|
|
31
|
+
exports.GenerateOptionsRequest = core.serialization.object({
|
|
32
|
+
logprobs: core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("..")))).LogprobsEnum).optional(),
|
|
33
|
+
});
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "..";
|
|
5
|
+
import { Vellum } from "../..";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
export declare const GenerateRequestRequest: core.serialization.ObjectSchema<serializers.GenerateRequestRequest.Raw, Vellum.GenerateRequestRequest>;
|
|
8
|
+
export declare namespace GenerateRequestRequest {
|
|
9
|
+
interface Raw {
|
|
10
|
+
input_values: Record<string, unknown>;
|
|
11
|
+
external_ids?: string[] | null;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
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.GenerateRequestRequest = void 0;
|
|
30
|
+
const core = __importStar(require("../../core"));
|
|
31
|
+
exports.GenerateRequestRequest = core.serialization.object({
|
|
32
|
+
inputValues: core.serialization.property("input_values", core.serialization.record(core.serialization.string(), core.serialization.unknown())),
|
|
33
|
+
externalIds: core.serialization.property("external_ids", core.serialization.list(core.serialization.string()).optional()),
|
|
34
|
+
});
|
|
@@ -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 { Vellum } from "../..";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
export declare const GenerateResponse: core.serialization.ObjectSchema<serializers.GenerateResponse.Raw, Vellum.GenerateResponse>;
|
|
8
|
+
export declare namespace GenerateResponse {
|
|
9
|
+
interface Raw {
|
|
10
|
+
results: serializers.GenerateResult.Raw[];
|
|
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.GenerateResponse = void 0;
|
|
30
|
+
const core = __importStar(require("../../core"));
|
|
31
|
+
exports.GenerateResponse = core.serialization.object({
|
|
32
|
+
results: core.serialization.list(core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("..")))).GenerateResult)),
|
|
33
|
+
});
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "..";
|
|
5
|
+
import { Vellum } from "../..";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
export declare const GenerateResult: core.serialization.ObjectSchema<serializers.GenerateResult.Raw, Vellum.GenerateResult>;
|
|
8
|
+
export declare namespace GenerateResult {
|
|
9
|
+
interface Raw {
|
|
10
|
+
data?: serializers.GenerateResultData.Raw | null;
|
|
11
|
+
error?: serializers.GenerateResultError.Raw | null;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
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.GenerateResult = void 0;
|
|
30
|
+
const core = __importStar(require("../../core"));
|
|
31
|
+
exports.GenerateResult = core.serialization.object({
|
|
32
|
+
data: core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("..")))).GenerateResultData).optional(),
|
|
33
|
+
error: core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("..")))).GenerateResultError).optional(),
|
|
34
|
+
});
|
|
@@ -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 { Vellum } from "../..";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
export declare const GenerateResultData: core.serialization.ObjectSchema<serializers.GenerateResultData.Raw, Vellum.GenerateResultData>;
|
|
8
|
+
export declare namespace GenerateResultData {
|
|
9
|
+
interface Raw {
|
|
10
|
+
completions: serializers.EnrichedNormalizedCompletion.Raw[];
|
|
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.GenerateResultData = void 0;
|
|
30
|
+
const core = __importStar(require("../../core"));
|
|
31
|
+
exports.GenerateResultData = core.serialization.object({
|
|
32
|
+
completions: core.serialization.list(core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("..")))).EnrichedNormalizedCompletion)),
|
|
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 { Vellum } from "../..";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
export declare const GenerateResultError: core.serialization.ObjectSchema<serializers.GenerateResultError.Raw, Vellum.GenerateResultError>;
|
|
8
|
+
export declare namespace GenerateResultError {
|
|
9
|
+
interface Raw {
|
|
10
|
+
message: 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.GenerateResultError = void 0;
|
|
30
|
+
const core = __importStar(require("../../core"));
|
|
31
|
+
exports.GenerateResultError = core.serialization.object({
|
|
32
|
+
message: core.serialization.string(),
|
|
33
|
+
});
|
|
@@ -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 { Vellum } from "../..";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
export declare const IndexingStateEnum: core.serialization.Schema<serializers.IndexingStateEnum.Raw, Vellum.IndexingStateEnum>;
|
|
8
|
+
export declare namespace IndexingStateEnum {
|
|
9
|
+
type Raw = "AWAITING_PROCESSING" | "QUEUED" | "INDEXING" | "INDEXED" | "FAILED";
|
|
10
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
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.IndexingStateEnum = void 0;
|
|
30
|
+
const core = __importStar(require("../../core"));
|
|
31
|
+
exports.IndexingStateEnum = core.serialization.enum_(["AWAITING_PROCESSING", "QUEUED", "INDEXING", "INDEXED", "FAILED"]);
|
|
@@ -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 { Vellum } from "../..";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
export declare const LogprobsEnum: core.serialization.Schema<serializers.LogprobsEnum.Raw, Vellum.LogprobsEnum>;
|
|
8
|
+
export declare namespace LogprobsEnum {
|
|
9
|
+
type Raw = "ALL" | "NONE";
|
|
10
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
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.LogprobsEnum = void 0;
|
|
30
|
+
const core = __importStar(require("../../core"));
|
|
31
|
+
exports.LogprobsEnum = core.serialization.enum_(["ALL", "NONE"]);
|
|
@@ -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 { Vellum } from "../..";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
export declare const ModelTypeEnum: core.serialization.Schema<serializers.ModelTypeEnum.Raw, Vellum.ModelTypeEnum>;
|
|
8
|
+
export declare namespace ModelTypeEnum {
|
|
9
|
+
type Raw = "GENERATE" | "CLASSIFY";
|
|
10
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
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.ModelTypeEnum = void 0;
|
|
30
|
+
const core = __importStar(require("../../core"));
|
|
31
|
+
exports.ModelTypeEnum = core.serialization.enum_(["GENERATE", "CLASSIFY"]);
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "..";
|
|
5
|
+
import { Vellum } from "../..";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
export declare const ModelVersionBuildConfig: core.serialization.ObjectSchema<serializers.ModelVersionBuildConfig.Raw, Vellum.ModelVersionBuildConfig>;
|
|
8
|
+
export declare namespace ModelVersionBuildConfig {
|
|
9
|
+
interface Raw {
|
|
10
|
+
base_model: string;
|
|
11
|
+
sandbox_snapshot?: serializers.ModelVersionSandboxSnapshot.Raw | null;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
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.ModelVersionBuildConfig = void 0;
|
|
30
|
+
const core = __importStar(require("../../core"));
|
|
31
|
+
exports.ModelVersionBuildConfig = core.serialization.object({
|
|
32
|
+
baseModel: core.serialization.property("base_model", core.serialization.string()),
|
|
33
|
+
sandboxSnapshot: core.serialization.property("sandbox_snapshot", core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("..")))).ModelVersionSandboxSnapshot).optional()),
|
|
34
|
+
});
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "..";
|
|
5
|
+
import { Vellum } from "../..";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
export declare const ModelVersionExecConfigParameters: core.serialization.ObjectSchema<serializers.ModelVersionExecConfigParameters.Raw, Vellum.ModelVersionExecConfigParameters>;
|
|
8
|
+
export declare namespace ModelVersionExecConfigParameters {
|
|
9
|
+
interface Raw {
|
|
10
|
+
temperature: number;
|
|
11
|
+
max_tokens: number;
|
|
12
|
+
stop: string[];
|
|
13
|
+
top_p: number;
|
|
14
|
+
top_k?: number | null;
|
|
15
|
+
frequency_penalty: number;
|
|
16
|
+
presence_penalty: number;
|
|
17
|
+
logit_bias?: Record<string, number | null | undefined> | null;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
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.ModelVersionExecConfigParameters = void 0;
|
|
30
|
+
const core = __importStar(require("../../core"));
|
|
31
|
+
exports.ModelVersionExecConfigParameters = core.serialization.object({
|
|
32
|
+
temperature: core.serialization.number(),
|
|
33
|
+
maxTokens: core.serialization.property("max_tokens", core.serialization.number()),
|
|
34
|
+
stop: core.serialization.list(core.serialization.string()),
|
|
35
|
+
topP: core.serialization.property("top_p", core.serialization.number()),
|
|
36
|
+
topK: core.serialization.property("top_k", core.serialization.number().optional()),
|
|
37
|
+
frequencyPenalty: core.serialization.property("frequency_penalty", core.serialization.number()),
|
|
38
|
+
presencePenalty: core.serialization.property("presence_penalty", core.serialization.number()),
|
|
39
|
+
logitBias: core.serialization.property("logit_bias", core.serialization.record(core.serialization.string(), core.serialization.number().optional()).optional()),
|
|
40
|
+
});
|
|
@@ -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 { Vellum } from "../..";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
export declare const ModelVersionExecConfigRead: core.serialization.ObjectSchema<serializers.ModelVersionExecConfigRead.Raw, Vellum.ModelVersionExecConfigRead>;
|
|
8
|
+
export declare namespace ModelVersionExecConfigRead {
|
|
9
|
+
interface Raw {
|
|
10
|
+
parameters: serializers.ModelVersionExecConfigParameters.Raw;
|
|
11
|
+
input_variables: string[];
|
|
12
|
+
prompt_template: string;
|
|
13
|
+
prompt_block_data?: serializers.PromptTemplateBlockData.Raw | null;
|
|
14
|
+
}
|
|
15
|
+
}
|