vellum-ai 0.0.45 → 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Client.d.ts +23 -26
- package/Client.js +288 -242
- package/api/resources/deployments/client/Client.d.ts +8 -4
- package/api/resources/deployments/client/Client.js +52 -34
- package/api/resources/documentIndexes/client/Client.d.ts +9 -5
- package/api/resources/documentIndexes/client/Client.js +97 -69
- package/api/resources/documents/client/Client.d.ts +14 -10
- package/api/resources/documents/client/Client.js +222 -176
- package/api/resources/modelVersions/client/Client.d.ts +9 -5
- package/api/resources/modelVersions/client/Client.js +96 -68
- package/api/resources/registeredPrompts/client/Client.d.ts +11 -7
- package/api/resources/registeredPrompts/client/Client.js +72 -53
- package/api/resources/sandboxes/client/Client.d.ts +9 -5
- package/api/resources/sandboxes/client/Client.js +92 -65
- package/api/resources/testSuites/client/Client.d.ts +9 -5
- package/api/resources/testSuites/client/Client.js +90 -63
- package/core/fetcher/Fetcher.d.ts +5 -3
- package/core/fetcher/Fetcher.js +104 -62
- package/core/fetcher/Supplier.js +11 -2
- package/core/fetcher/index.d.ts +3 -2
- package/core/form-data-utils/getFormDataContentLength.d.ts +1 -1
- package/core/form-data-utils/getFormDataContentLength.js +20 -9
- package/core/index.d.ts +1 -2
- package/core/index.js +4 -5
- package/core/schemas/Schema.d.ts +19 -0
- package/core/schemas/Schema.js +1 -0
- package/core/schemas/builders/date/date.js +22 -14
- package/core/schemas/builders/enum/enum.js +17 -7
- package/core/schemas/builders/lazy/index.d.ts +2 -1
- package/core/schemas/builders/lazy/lazy.js +21 -13
- package/core/schemas/builders/lazy/lazyObject.js +11 -11
- package/core/schemas/builders/list/list.js +53 -38
- package/core/schemas/builders/literals/booleanLiteral.d.ts +2 -0
- package/core/schemas/builders/literals/booleanLiteral.js +29 -0
- package/core/schemas/builders/literals/index.d.ts +1 -0
- package/core/schemas/builders/literals/index.js +3 -1
- package/core/schemas/builders/literals/stringLiteral.js +4 -3
- package/core/schemas/builders/object/index.d.ts +5 -2
- package/core/schemas/builders/object/index.js +3 -1
- package/core/schemas/builders/object/object.js +150 -129
- package/core/schemas/builders/object/objectWithoutOptionalProperties.d.ts +6 -0
- package/core/schemas/builders/object/objectWithoutOptionalProperties.js +8 -0
- package/core/schemas/builders/object-like/getObjectLikeUtils.js +19 -18
- package/core/schemas/builders/object-like/index.d.ts +1 -1
- package/core/schemas/builders/primitives/boolean.js +4 -3
- package/core/schemas/builders/primitives/number.js +4 -3
- package/core/schemas/builders/primitives/string.js +4 -3
- package/core/schemas/builders/record/index.d.ts +1 -1
- package/core/schemas/builders/record/record.js +82 -67
- package/core/schemas/builders/schema-utils/JsonError.js +0 -1
- package/core/schemas/builders/schema-utils/ParseError.js +0 -1
- package/core/schemas/builders/schema-utils/getSchemaUtils.js +23 -20
- package/core/schemas/builders/schema-utils/index.d.ts +2 -1
- package/core/schemas/builders/set/set.js +21 -12
- package/core/schemas/builders/undiscriminated-union/index.d.ts +1 -1
- package/core/schemas/builders/undiscriminated-union/undiscriminatedUnion.js +38 -24
- package/core/schemas/builders/union/index.d.ts +3 -2
- package/core/schemas/builders/union/union.js +95 -74
- package/core/schemas/index.d.ts +1 -1
- package/core/schemas/utils/createIdentitySchemaCreator.js +2 -4
- package/core/schemas/utils/getErrorMessageForIncorrectType.d.ts +1 -0
- package/core/schemas/utils/getErrorMessageForIncorrectType.js +24 -0
- package/core/schemas/utils/isPlainObject.d.ts +0 -1
- package/core/schemas/utils/isPlainObject.js +1 -2
- package/core/schemas/utils/maybeSkipValidation.d.ts +2 -0
- package/core/schemas/utils/maybeSkipValidation.js +37 -0
- package/core/streaming-fetcher/Stream.d.ts +14 -0
- package/core/streaming-fetcher/Stream.js +75 -0
- package/core/streaming-fetcher/StreamingFetcher.d.ts +10 -8
- package/core/streaming-fetcher/StreamingFetcher.js +38 -44
- package/core/streaming-fetcher/getHeader.d.ts +2 -0
- package/core/streaming-fetcher/getHeader.js +12 -0
- package/core/streaming-fetcher/index.d.ts +4 -1
- package/core/streaming-fetcher/index.js +5 -1
- package/dist/Client.d.ts +23 -26
- package/dist/Client.js +288 -242
- package/dist/api/resources/deployments/client/Client.d.ts +8 -4
- package/dist/api/resources/deployments/client/Client.js +52 -34
- package/dist/api/resources/documentIndexes/client/Client.d.ts +9 -5
- package/dist/api/resources/documentIndexes/client/Client.js +97 -69
- package/dist/api/resources/documents/client/Client.d.ts +14 -10
- package/dist/api/resources/documents/client/Client.js +222 -176
- package/dist/api/resources/modelVersions/client/Client.d.ts +9 -5
- package/dist/api/resources/modelVersions/client/Client.js +96 -68
- package/dist/api/resources/registeredPrompts/client/Client.d.ts +11 -7
- package/dist/api/resources/registeredPrompts/client/Client.js +72 -53
- package/dist/api/resources/sandboxes/client/Client.d.ts +9 -5
- package/dist/api/resources/sandboxes/client/Client.js +92 -65
- package/dist/api/resources/testSuites/client/Client.d.ts +9 -5
- package/dist/api/resources/testSuites/client/Client.js +90 -63
- package/dist/core/fetcher/Fetcher.d.ts +5 -3
- package/dist/core/fetcher/Fetcher.js +104 -62
- package/dist/core/fetcher/Supplier.js +11 -2
- package/dist/core/fetcher/index.d.ts +3 -2
- package/dist/core/form-data-utils/getFormDataContentLength.d.ts +1 -1
- package/dist/core/form-data-utils/getFormDataContentLength.js +20 -9
- package/dist/core/index.d.ts +1 -2
- package/dist/core/index.js +4 -5
- package/dist/core/schemas/Schema.d.ts +19 -0
- package/dist/core/schemas/Schema.js +1 -0
- package/dist/core/schemas/builders/date/date.js +22 -14
- package/dist/core/schemas/builders/enum/enum.js +17 -7
- package/dist/core/schemas/builders/lazy/index.d.ts +2 -1
- package/dist/core/schemas/builders/lazy/lazy.js +21 -13
- package/dist/core/schemas/builders/lazy/lazyObject.js +11 -11
- package/dist/core/schemas/builders/list/list.js +53 -38
- package/dist/core/schemas/builders/literals/booleanLiteral.d.ts +2 -0
- package/dist/core/schemas/builders/literals/booleanLiteral.js +29 -0
- package/dist/core/schemas/builders/literals/index.d.ts +1 -0
- package/dist/core/schemas/builders/literals/index.js +3 -1
- package/dist/core/schemas/builders/literals/stringLiteral.js +4 -3
- package/dist/core/schemas/builders/object/index.d.ts +5 -2
- package/dist/core/schemas/builders/object/index.js +3 -1
- package/dist/core/schemas/builders/object/object.js +150 -129
- package/dist/core/schemas/builders/object/objectWithoutOptionalProperties.d.ts +6 -0
- package/dist/core/schemas/builders/object/objectWithoutOptionalProperties.js +8 -0
- package/dist/core/schemas/builders/object-like/getObjectLikeUtils.js +19 -18
- package/dist/core/schemas/builders/object-like/index.d.ts +1 -1
- package/dist/core/schemas/builders/primitives/boolean.js +4 -3
- package/dist/core/schemas/builders/primitives/number.js +4 -3
- package/dist/core/schemas/builders/primitives/string.js +4 -3
- package/dist/core/schemas/builders/record/index.d.ts +1 -1
- package/dist/core/schemas/builders/record/record.js +82 -67
- package/dist/core/schemas/builders/schema-utils/JsonError.js +0 -1
- package/dist/core/schemas/builders/schema-utils/ParseError.js +0 -1
- package/dist/core/schemas/builders/schema-utils/getSchemaUtils.js +23 -20
- package/dist/core/schemas/builders/schema-utils/index.d.ts +2 -1
- package/dist/core/schemas/builders/set/set.js +21 -12
- package/dist/core/schemas/builders/undiscriminated-union/index.d.ts +1 -1
- package/dist/core/schemas/builders/undiscriminated-union/undiscriminatedUnion.js +38 -24
- package/dist/core/schemas/builders/union/index.d.ts +3 -2
- package/dist/core/schemas/builders/union/union.js +95 -74
- package/dist/core/schemas/index.d.ts +1 -1
- package/dist/core/schemas/utils/createIdentitySchemaCreator.js +2 -4
- package/dist/core/schemas/utils/getErrorMessageForIncorrectType.d.ts +1 -0
- package/dist/core/schemas/utils/getErrorMessageForIncorrectType.js +24 -0
- package/dist/core/schemas/utils/isPlainObject.d.ts +0 -1
- package/dist/core/schemas/utils/isPlainObject.js +1 -2
- package/dist/core/schemas/utils/maybeSkipValidation.d.ts +2 -0
- package/dist/core/schemas/utils/maybeSkipValidation.js +37 -0
- package/dist/core/streaming-fetcher/Stream.d.ts +14 -0
- package/dist/core/streaming-fetcher/Stream.js +75 -0
- package/dist/core/streaming-fetcher/StreamingFetcher.d.ts +10 -8
- package/dist/core/streaming-fetcher/StreamingFetcher.js +38 -44
- package/dist/core/streaming-fetcher/getHeader.d.ts +2 -0
- package/dist/core/streaming-fetcher/getHeader.js +12 -0
- package/dist/core/streaming-fetcher/index.d.ts +4 -1
- package/dist/core/streaming-fetcher/index.js +5 -1
- package/dist/errors/VellumError.js +14 -3
- package/dist/serialization/client/requests/ExecuteWorkflowStreamRequest.js +11 -2
- package/dist/serialization/client/requests/GenerateBodyRequest.js +11 -2
- package/dist/serialization/client/requests/GenerateStreamBodyRequest.js +11 -2
- package/dist/serialization/client/requests/SearchRequestBodyRequest.js +10 -1
- package/dist/serialization/client/requests/SubmitCompletionActualsRequest.js +10 -1
- package/dist/serialization/client/requests/SubmitWorkflowExecutionActualsRequest.js +10 -1
- package/dist/serialization/resources/documentIndexes/client/requests/DocumentIndexCreateRequest.js +11 -2
- package/dist/serialization/resources/documents/client/requests/PatchedDocumentUpdateRequest.js +10 -1
- package/dist/serialization/resources/registeredPrompts/client/requests/RegisterPromptRequestRequest.js +12 -3
- package/dist/serialization/resources/sandboxes/client/requests/UpsertSandboxScenarioRequestRequest.js +11 -2
- package/dist/serialization/resources/testSuites/client/requests/TestSuiteTestCaseRequest.js +10 -1
- package/dist/serialization/types/ApiNodeResult.js +10 -1
- package/dist/serialization/types/ChatMessage.js +10 -1
- package/dist/serialization/types/ChatMessageRequest.js +10 -1
- package/dist/serialization/types/ConditionalNodeResult.js +10 -1
- package/dist/serialization/types/DeploymentRead.js +12 -3
- package/dist/serialization/types/DocumentDocumentToDocumentIndex.js +10 -1
- package/dist/serialization/types/DocumentIndexRead.js +11 -2
- package/dist/serialization/types/DocumentRead.js +12 -3
- package/dist/serialization/types/EnrichedNormalizedCompletion.js +12 -3
- package/dist/serialization/types/GenerateOptionsRequest.js +10 -1
- package/dist/serialization/types/GenerateRequest.js +10 -1
- package/dist/serialization/types/GenerateResponse.js +10 -1
- package/dist/serialization/types/GenerateResult.js +11 -2
- package/dist/serialization/types/GenerateResultData.js +10 -1
- package/dist/serialization/types/GenerateStreamResponse.js +10 -1
- package/dist/serialization/types/GenerateStreamResult.js +11 -2
- package/dist/serialization/types/GenerateStreamResultData.js +10 -1
- package/dist/serialization/types/MetadataFilterConfigRequest.js +12 -3
- package/dist/serialization/types/MetadataFilterRuleRequest.js +12 -3
- package/dist/serialization/types/ModelVersionBuildConfig.js +10 -1
- package/dist/serialization/types/ModelVersionCompilePromptResponse.js +10 -1
- package/dist/serialization/types/ModelVersionExecConfig.js +12 -3
- package/dist/serialization/types/ModelVersionRead.js +13 -4
- package/dist/serialization/types/NodeInputCompiledChatHistoryValue.js +10 -1
- package/dist/serialization/types/NodeInputCompiledErrorValue.js +10 -1
- package/dist/serialization/types/NodeInputCompiledSearchResultsValue.js +10 -1
- package/dist/serialization/types/NodeInputVariableCompiledValue.js +15 -6
- package/dist/serialization/types/NormalizedLogProbs.js +10 -1
- package/dist/serialization/types/PaginatedSlimDocumentList.js +10 -1
- package/dist/serialization/types/PromptNodeResult.js +10 -1
- package/dist/serialization/types/PromptTemplateBlock.js +11 -2
- package/dist/serialization/types/PromptTemplateBlockData.js +10 -1
- package/dist/serialization/types/PromptTemplateBlockDataRequest.js +10 -1
- package/dist/serialization/types/PromptTemplateBlockProperties.js +12 -3
- package/dist/serialization/types/PromptTemplateBlockPropertiesRequest.js +12 -3
- package/dist/serialization/types/PromptTemplateBlockRequest.js +11 -2
- package/dist/serialization/types/RegisterPromptPromptInfoRequest.js +11 -2
- package/dist/serialization/types/RegisterPromptResponse.js +14 -5
- package/dist/serialization/types/RegisteredPromptInputVariableRequest.js +10 -1
- package/dist/serialization/types/SandboxMetricInputParams.js +10 -1
- package/dist/serialization/types/SandboxMetricInputParamsRequest.js +10 -1
- package/dist/serialization/types/SandboxScenario.js +11 -2
- package/dist/serialization/types/ScenarioInput.js +11 -2
- package/dist/serialization/types/ScenarioInputRequest.js +11 -2
- package/dist/serialization/types/SearchFiltersRequest.js +10 -1
- package/dist/serialization/types/SearchNodeResult.js +10 -1
- package/dist/serialization/types/SearchNodeResultData.js +10 -1
- package/dist/serialization/types/SearchRequestOptionsRequest.js +12 -3
- package/dist/serialization/types/SearchResponse.js +10 -1
- package/dist/serialization/types/SearchResult.js +10 -1
- package/dist/serialization/types/SlimDocument.js +13 -4
- package/dist/serialization/types/SubmitWorkflowExecutionActualRequest.js +12 -3
- package/dist/serialization/types/TemplatingNodeChatHistoryResult.js +10 -1
- package/dist/serialization/types/TemplatingNodeErrorResult.js +10 -1
- package/dist/serialization/types/TemplatingNodeResult.js +10 -1
- package/dist/serialization/types/TemplatingNodeResultData.js +10 -1
- package/dist/serialization/types/TemplatingNodeResultOutput.js +15 -6
- package/dist/serialization/types/TemplatingNodeSearchResultsResult.js +10 -1
- package/dist/serialization/types/TerminalNodeChatHistoryResult.js +10 -1
- package/dist/serialization/types/TerminalNodeErrorResult.js +10 -1
- package/dist/serialization/types/TerminalNodeResult.js +10 -1
- package/dist/serialization/types/TerminalNodeResultData.js +10 -1
- package/dist/serialization/types/TerminalNodeResultOutput.js +15 -6
- package/dist/serialization/types/TerminalNodeSearchResultsResult.js +10 -1
- package/dist/serialization/types/TestSuiteTestCase.js +10 -1
- package/dist/serialization/types/VellumError.js +10 -1
- package/dist/serialization/types/VellumVariable.js +10 -1
- package/dist/serialization/types/WorkflowEventError.js +10 -1
- package/dist/serialization/types/WorkflowExecutionActualChatHistoryRequest.js +10 -1
- package/dist/serialization/types/WorkflowExecutionNodeResultEvent.js +10 -1
- package/dist/serialization/types/WorkflowExecutionWorkflowResultEvent.js +10 -1
- package/dist/serialization/types/WorkflowNodeResultData.js +15 -6
- package/dist/serialization/types/WorkflowNodeResultEvent.js +13 -4
- package/dist/serialization/types/WorkflowRequestChatHistoryInputRequest.js +10 -1
- package/dist/serialization/types/WorkflowRequestInputRequest.js +12 -3
- package/dist/serialization/types/WorkflowResultEvent.js +12 -3
- package/dist/serialization/types/WorkflowResultEventOutputData.js +15 -6
- package/dist/serialization/types/WorkflowResultEventOutputDataChatHistory.js +11 -2
- package/dist/serialization/types/WorkflowResultEventOutputDataError.js +11 -2
- package/dist/serialization/types/WorkflowResultEventOutputDataJson.js +10 -1
- package/dist/serialization/types/WorkflowResultEventOutputDataNumber.js +10 -1
- package/dist/serialization/types/WorkflowResultEventOutputDataSearchResults.js +11 -2
- package/dist/serialization/types/WorkflowResultEventOutputDataString.js +10 -1
- package/dist/serialization/types/WorkflowStreamEvent.js +11 -2
- package/errors/VellumError.js +14 -3
- package/package.json +4 -3
- package/serialization/client/requests/ExecuteWorkflowStreamRequest.js +11 -2
- package/serialization/client/requests/GenerateBodyRequest.js +11 -2
- package/serialization/client/requests/GenerateStreamBodyRequest.js +11 -2
- package/serialization/client/requests/SearchRequestBodyRequest.js +10 -1
- package/serialization/client/requests/SubmitCompletionActualsRequest.js +10 -1
- package/serialization/client/requests/SubmitWorkflowExecutionActualsRequest.js +10 -1
- package/serialization/resources/documentIndexes/client/requests/DocumentIndexCreateRequest.js +11 -2
- package/serialization/resources/documents/client/requests/PatchedDocumentUpdateRequest.js +10 -1
- package/serialization/resources/registeredPrompts/client/requests/RegisterPromptRequestRequest.js +12 -3
- package/serialization/resources/sandboxes/client/requests/UpsertSandboxScenarioRequestRequest.js +11 -2
- package/serialization/resources/testSuites/client/requests/TestSuiteTestCaseRequest.js +10 -1
- package/serialization/types/ApiNodeResult.js +10 -1
- package/serialization/types/ChatMessage.js +10 -1
- package/serialization/types/ChatMessageRequest.js +10 -1
- package/serialization/types/ConditionalNodeResult.js +10 -1
- package/serialization/types/DeploymentRead.js +12 -3
- package/serialization/types/DocumentDocumentToDocumentIndex.js +10 -1
- package/serialization/types/DocumentIndexRead.js +11 -2
- package/serialization/types/DocumentRead.js +12 -3
- package/serialization/types/EnrichedNormalizedCompletion.js +12 -3
- package/serialization/types/GenerateOptionsRequest.js +10 -1
- package/serialization/types/GenerateRequest.js +10 -1
- package/serialization/types/GenerateResponse.js +10 -1
- package/serialization/types/GenerateResult.js +11 -2
- package/serialization/types/GenerateResultData.js +10 -1
- package/serialization/types/GenerateStreamResponse.js +10 -1
- package/serialization/types/GenerateStreamResult.js +11 -2
- package/serialization/types/GenerateStreamResultData.js +10 -1
- package/serialization/types/MetadataFilterConfigRequest.js +12 -3
- package/serialization/types/MetadataFilterRuleRequest.js +12 -3
- package/serialization/types/ModelVersionBuildConfig.js +10 -1
- package/serialization/types/ModelVersionCompilePromptResponse.js +10 -1
- package/serialization/types/ModelVersionExecConfig.js +12 -3
- package/serialization/types/ModelVersionRead.js +13 -4
- package/serialization/types/NodeInputCompiledChatHistoryValue.js +10 -1
- package/serialization/types/NodeInputCompiledErrorValue.js +10 -1
- package/serialization/types/NodeInputCompiledSearchResultsValue.js +10 -1
- package/serialization/types/NodeInputVariableCompiledValue.js +15 -6
- package/serialization/types/NormalizedLogProbs.js +10 -1
- package/serialization/types/PaginatedSlimDocumentList.js +10 -1
- package/serialization/types/PromptNodeResult.js +10 -1
- package/serialization/types/PromptTemplateBlock.js +11 -2
- package/serialization/types/PromptTemplateBlockData.js +10 -1
- package/serialization/types/PromptTemplateBlockDataRequest.js +10 -1
- package/serialization/types/PromptTemplateBlockProperties.js +12 -3
- package/serialization/types/PromptTemplateBlockPropertiesRequest.js +12 -3
- package/serialization/types/PromptTemplateBlockRequest.js +11 -2
- package/serialization/types/RegisterPromptPromptInfoRequest.js +11 -2
- package/serialization/types/RegisterPromptResponse.js +14 -5
- package/serialization/types/RegisteredPromptInputVariableRequest.js +10 -1
- package/serialization/types/SandboxMetricInputParams.js +10 -1
- package/serialization/types/SandboxMetricInputParamsRequest.js +10 -1
- package/serialization/types/SandboxScenario.js +11 -2
- package/serialization/types/ScenarioInput.js +11 -2
- package/serialization/types/ScenarioInputRequest.js +11 -2
- package/serialization/types/SearchFiltersRequest.js +10 -1
- package/serialization/types/SearchNodeResult.js +10 -1
- package/serialization/types/SearchNodeResultData.js +10 -1
- package/serialization/types/SearchRequestOptionsRequest.js +12 -3
- package/serialization/types/SearchResponse.js +10 -1
- package/serialization/types/SearchResult.js +10 -1
- package/serialization/types/SlimDocument.js +13 -4
- package/serialization/types/SubmitWorkflowExecutionActualRequest.js +12 -3
- package/serialization/types/TemplatingNodeChatHistoryResult.js +10 -1
- package/serialization/types/TemplatingNodeErrorResult.js +10 -1
- package/serialization/types/TemplatingNodeResult.js +10 -1
- package/serialization/types/TemplatingNodeResultData.js +10 -1
- package/serialization/types/TemplatingNodeResultOutput.js +15 -6
- package/serialization/types/TemplatingNodeSearchResultsResult.js +10 -1
- package/serialization/types/TerminalNodeChatHistoryResult.js +10 -1
- package/serialization/types/TerminalNodeErrorResult.js +10 -1
- package/serialization/types/TerminalNodeResult.js +10 -1
- package/serialization/types/TerminalNodeResultData.js +10 -1
- package/serialization/types/TerminalNodeResultOutput.js +15 -6
- package/serialization/types/TerminalNodeSearchResultsResult.js +10 -1
- package/serialization/types/TestSuiteTestCase.js +10 -1
- package/serialization/types/VellumError.js +10 -1
- package/serialization/types/VellumVariable.js +10 -1
- package/serialization/types/WorkflowEventError.js +10 -1
- package/serialization/types/WorkflowExecutionActualChatHistoryRequest.js +10 -1
- package/serialization/types/WorkflowExecutionNodeResultEvent.js +10 -1
- package/serialization/types/WorkflowExecutionWorkflowResultEvent.js +10 -1
- package/serialization/types/WorkflowNodeResultData.js +15 -6
- package/serialization/types/WorkflowNodeResultEvent.js +13 -4
- package/serialization/types/WorkflowRequestChatHistoryInputRequest.js +10 -1
- package/serialization/types/WorkflowRequestInputRequest.js +12 -3
- package/serialization/types/WorkflowResultEvent.js +12 -3
- package/serialization/types/WorkflowResultEventOutputData.js +15 -6
- package/serialization/types/WorkflowResultEventOutputDataChatHistory.js +11 -2
- package/serialization/types/WorkflowResultEventOutputDataError.js +11 -2
- package/serialization/types/WorkflowResultEventOutputDataJson.js +10 -1
- package/serialization/types/WorkflowResultEventOutputDataNumber.js +10 -1
- package/serialization/types/WorkflowResultEventOutputDataSearchResults.js +11 -2
- package/serialization/types/WorkflowResultEventOutputDataString.js +10 -1
- package/serialization/types/WorkflowStreamEvent.js +11 -2
- package/core/callback-queue/CallbackQueue.d.ts +0 -6
- package/core/callback-queue/CallbackQueue.js +0 -20
- package/core/callback-queue/index.d.ts +0 -1
- package/core/callback-queue/index.js +0 -5
- package/dist/core/callback-queue/CallbackQueue.d.ts +0 -6
- package/dist/core/callback-queue/CallbackQueue.js +0 -20
- package/dist/core/callback-queue/index.d.ts +0 -1
- package/dist/core/callback-queue/index.js +0 -5
|
@@ -25,6 +25,15 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
25
25
|
__setModuleDefault(result, mod);
|
|
26
26
|
return result;
|
|
27
27
|
};
|
|
28
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
29
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
30
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
31
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
32
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
33
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
34
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
35
|
+
});
|
|
36
|
+
};
|
|
28
37
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
29
38
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
30
39
|
};
|
|
@@ -33,217 +42,254 @@ exports.Documents = void 0;
|
|
|
33
42
|
const environments = __importStar(require("../../../../environments"));
|
|
34
43
|
const core = __importStar(require("../../../../core"));
|
|
35
44
|
const Vellum = __importStar(require("../../.."));
|
|
36
|
-
const url_search_params_1 = __importDefault(require("@ungap/url-search-params"));
|
|
37
45
|
const url_join_1 = __importDefault(require("url-join"));
|
|
38
46
|
const serializers = __importStar(require("../../../../serialization"));
|
|
39
47
|
const errors = __importStar(require("../../../../errors"));
|
|
40
48
|
const form_data_1 = __importDefault(require("form-data"));
|
|
41
49
|
class Documents {
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
this.options = options;
|
|
50
|
+
constructor(_options) {
|
|
51
|
+
this._options = _options;
|
|
45
52
|
}
|
|
46
53
|
/**
|
|
47
54
|
* Used to list documents. Optionally filter on supported fields.
|
|
48
55
|
*/
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
_queryParams
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
if (_response.error.reason === "status-code") {
|
|
81
|
-
throw new errors.VellumError({
|
|
82
|
-
statusCode: _response.error.statusCode,
|
|
83
|
-
body: _response.error.body,
|
|
56
|
+
list(request = {}, requestOptions) {
|
|
57
|
+
var _a;
|
|
58
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
59
|
+
const { documentIndexId, limit, offset, ordering } = request;
|
|
60
|
+
const _queryParams = {};
|
|
61
|
+
if (documentIndexId != null) {
|
|
62
|
+
_queryParams["document_index_id"] = documentIndexId;
|
|
63
|
+
}
|
|
64
|
+
if (limit != null) {
|
|
65
|
+
_queryParams["limit"] = limit.toString();
|
|
66
|
+
}
|
|
67
|
+
if (offset != null) {
|
|
68
|
+
_queryParams["offset"] = offset.toString();
|
|
69
|
+
}
|
|
70
|
+
if (ordering != null) {
|
|
71
|
+
_queryParams["ordering"] = ordering;
|
|
72
|
+
}
|
|
73
|
+
const _response = yield core.fetcher({
|
|
74
|
+
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
75
|
+
.default, "v1/documents"),
|
|
76
|
+
method: "GET",
|
|
77
|
+
headers: {
|
|
78
|
+
X_API_KEY: yield core.Supplier.get(this._options.apiKey),
|
|
79
|
+
"X-Fern-Language": "JavaScript",
|
|
80
|
+
"X-Fern-SDK-Name": "vellum-ai",
|
|
81
|
+
"X-Fern-SDK-Version": "v0.1.0",
|
|
82
|
+
},
|
|
83
|
+
contentType: "application/json",
|
|
84
|
+
queryParameters: _queryParams,
|
|
85
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
86
|
+
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
84
87
|
});
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
+
if (_response.ok) {
|
|
89
|
+
return yield serializers.PaginatedSlimDocumentList.parseOrThrow(_response.body, {
|
|
90
|
+
unrecognizedObjectKeys: "passthrough",
|
|
91
|
+
allowUnrecognizedUnionMembers: true,
|
|
92
|
+
allowUnrecognizedEnumValues: true,
|
|
93
|
+
breadcrumbsPrefix: ["response"],
|
|
94
|
+
});
|
|
95
|
+
}
|
|
96
|
+
if (_response.error.reason === "status-code") {
|
|
88
97
|
throw new errors.VellumError({
|
|
89
98
|
statusCode: _response.error.statusCode,
|
|
90
|
-
body: _response.error.
|
|
99
|
+
body: _response.error.body,
|
|
91
100
|
});
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
101
|
+
}
|
|
102
|
+
switch (_response.error.reason) {
|
|
103
|
+
case "non-json":
|
|
104
|
+
throw new errors.VellumError({
|
|
105
|
+
statusCode: _response.error.statusCode,
|
|
106
|
+
body: _response.error.rawBody,
|
|
107
|
+
});
|
|
108
|
+
case "timeout":
|
|
109
|
+
throw new errors.VellumTimeoutError();
|
|
110
|
+
case "unknown":
|
|
111
|
+
throw new errors.VellumError({
|
|
112
|
+
message: _response.error.errorMessage,
|
|
113
|
+
});
|
|
114
|
+
}
|
|
115
|
+
});
|
|
116
|
+
}
|
|
117
|
+
destroy(id, requestOptions) {
|
|
118
|
+
var _a;
|
|
119
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
120
|
+
const _response = yield core.fetcher({
|
|
121
|
+
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
122
|
+
.default, `v1/documents/${id}`),
|
|
123
|
+
method: "DELETE",
|
|
124
|
+
headers: {
|
|
125
|
+
X_API_KEY: yield core.Supplier.get(this._options.apiKey),
|
|
126
|
+
"X-Fern-Language": "JavaScript",
|
|
127
|
+
"X-Fern-SDK-Name": "vellum-ai",
|
|
128
|
+
"X-Fern-SDK-Version": "v0.1.0",
|
|
129
|
+
},
|
|
130
|
+
contentType: "application/json",
|
|
131
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
132
|
+
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
133
|
+
});
|
|
134
|
+
if (_response.ok) {
|
|
135
|
+
return;
|
|
136
|
+
}
|
|
137
|
+
if (_response.error.reason === "status-code") {
|
|
95
138
|
throw new errors.VellumError({
|
|
96
|
-
|
|
139
|
+
statusCode: _response.error.statusCode,
|
|
140
|
+
body: _response.error.body,
|
|
97
141
|
});
|
|
98
|
-
|
|
142
|
+
}
|
|
143
|
+
switch (_response.error.reason) {
|
|
144
|
+
case "non-json":
|
|
145
|
+
throw new errors.VellumError({
|
|
146
|
+
statusCode: _response.error.statusCode,
|
|
147
|
+
body: _response.error.rawBody,
|
|
148
|
+
});
|
|
149
|
+
case "timeout":
|
|
150
|
+
throw new errors.VellumTimeoutError();
|
|
151
|
+
case "unknown":
|
|
152
|
+
throw new errors.VellumError({
|
|
153
|
+
message: _response.error.errorMessage,
|
|
154
|
+
});
|
|
155
|
+
}
|
|
156
|
+
});
|
|
99
157
|
}
|
|
100
158
|
/**
|
|
101
159
|
* Update a Document, keying off of its Vellum-generated ID. Particularly useful for updating its metadata.
|
|
102
160
|
*/
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
if (_response.error.reason === "status-code") {
|
|
123
|
-
throw new errors.VellumError({
|
|
124
|
-
statusCode: _response.error.statusCode,
|
|
125
|
-
body: _response.error.body,
|
|
161
|
+
partialUpdate(id, request = {}, requestOptions) {
|
|
162
|
+
var _a;
|
|
163
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
164
|
+
const _response = yield core.fetcher({
|
|
165
|
+
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
166
|
+
.default, `v1/documents/${id}`),
|
|
167
|
+
method: "PATCH",
|
|
168
|
+
headers: {
|
|
169
|
+
X_API_KEY: yield core.Supplier.get(this._options.apiKey),
|
|
170
|
+
"X-Fern-Language": "JavaScript",
|
|
171
|
+
"X-Fern-SDK-Name": "vellum-ai",
|
|
172
|
+
"X-Fern-SDK-Version": "v0.1.0",
|
|
173
|
+
},
|
|
174
|
+
contentType: "application/json",
|
|
175
|
+
body: yield serializers.PatchedDocumentUpdateRequest.jsonOrThrow(request, {
|
|
176
|
+
unrecognizedObjectKeys: "strip",
|
|
177
|
+
}),
|
|
178
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
179
|
+
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
126
180
|
});
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
181
|
+
if (_response.ok) {
|
|
182
|
+
return yield serializers.DocumentRead.parseOrThrow(_response.body, {
|
|
183
|
+
unrecognizedObjectKeys: "passthrough",
|
|
184
|
+
allowUnrecognizedUnionMembers: true,
|
|
185
|
+
allowUnrecognizedEnumValues: true,
|
|
186
|
+
breadcrumbsPrefix: ["response"],
|
|
133
187
|
});
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
case "unknown":
|
|
137
|
-
throw new errors.VellumError({
|
|
138
|
-
message: _response.error.errorMessage,
|
|
139
|
-
});
|
|
140
|
-
}
|
|
141
|
-
}
|
|
142
|
-
async destroy(id) {
|
|
143
|
-
const _response = await core.fetcher({
|
|
144
|
-
url: (0, url_join_1.default)((this.options.environment ?? environments.VellumEnvironment.Production).default, `v1/documents/${id}`),
|
|
145
|
-
method: "DELETE",
|
|
146
|
-
headers: {
|
|
147
|
-
X_API_KEY: await core.Supplier.get(this.options.apiKey),
|
|
148
|
-
},
|
|
149
|
-
contentType: "application/json",
|
|
150
|
-
});
|
|
151
|
-
if (_response.ok) {
|
|
152
|
-
return;
|
|
153
|
-
}
|
|
154
|
-
if (_response.error.reason === "status-code") {
|
|
155
|
-
throw new errors.VellumError({
|
|
156
|
-
statusCode: _response.error.statusCode,
|
|
157
|
-
body: _response.error.body,
|
|
158
|
-
});
|
|
159
|
-
}
|
|
160
|
-
switch (_response.error.reason) {
|
|
161
|
-
case "non-json":
|
|
188
|
+
}
|
|
189
|
+
if (_response.error.reason === "status-code") {
|
|
162
190
|
throw new errors.VellumError({
|
|
163
191
|
statusCode: _response.error.statusCode,
|
|
164
|
-
body: _response.error.
|
|
165
|
-
});
|
|
166
|
-
case "timeout":
|
|
167
|
-
throw new errors.VellumTimeoutError();
|
|
168
|
-
case "unknown":
|
|
169
|
-
throw new errors.VellumError({
|
|
170
|
-
message: _response.error.errorMessage,
|
|
192
|
+
body: _response.error.body,
|
|
171
193
|
});
|
|
172
|
-
|
|
194
|
+
}
|
|
195
|
+
switch (_response.error.reason) {
|
|
196
|
+
case "non-json":
|
|
197
|
+
throw new errors.VellumError({
|
|
198
|
+
statusCode: _response.error.statusCode,
|
|
199
|
+
body: _response.error.rawBody,
|
|
200
|
+
});
|
|
201
|
+
case "timeout":
|
|
202
|
+
throw new errors.VellumTimeoutError();
|
|
203
|
+
case "unknown":
|
|
204
|
+
throw new errors.VellumError({
|
|
205
|
+
message: _response.error.errorMessage,
|
|
206
|
+
});
|
|
207
|
+
}
|
|
208
|
+
});
|
|
173
209
|
}
|
|
174
210
|
/**
|
|
175
211
|
* Upload a document to be indexed and used for search.
|
|
176
212
|
*
|
|
177
213
|
* **Note:** Uses a base url of `https://documents.vellum.ai`.
|
|
178
|
-
* @throws {Vellum.BadRequestError}
|
|
179
|
-
* @throws {Vellum.NotFoundError}
|
|
180
|
-
* @throws {Vellum.InternalServerError}
|
|
214
|
+
* @throws {@link Vellum.BadRequestError}
|
|
215
|
+
* @throws {@link Vellum.NotFoundError}
|
|
216
|
+
* @throws {@link Vellum.InternalServerError}
|
|
181
217
|
*/
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
"
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
218
|
+
upload(contents, request, requestOptions) {
|
|
219
|
+
var _a;
|
|
220
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
221
|
+
const _request = new form_data_1.default();
|
|
222
|
+
if (request.addToIndexNames != null) {
|
|
223
|
+
for (const _item of request.addToIndexNames) {
|
|
224
|
+
_request.append("add_to_index_names", _item);
|
|
225
|
+
}
|
|
226
|
+
}
|
|
227
|
+
if (request.externalId != null) {
|
|
228
|
+
_request.append("external_id", request.externalId);
|
|
229
|
+
}
|
|
230
|
+
_request.append("label", request.label);
|
|
231
|
+
_request.append("contents", contents);
|
|
232
|
+
if (request.keywords != null) {
|
|
233
|
+
for (const _item of request.keywords) {
|
|
234
|
+
_request.append("keywords", _item);
|
|
235
|
+
}
|
|
236
|
+
}
|
|
237
|
+
if (request.metadata != null) {
|
|
238
|
+
_request.append("metadata", request.metadata);
|
|
239
|
+
}
|
|
240
|
+
const _response = yield core.fetcher({
|
|
241
|
+
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
242
|
+
.documents, "v1/upload-document"),
|
|
243
|
+
method: "POST",
|
|
244
|
+
headers: {
|
|
245
|
+
X_API_KEY: yield core.Supplier.get(this._options.apiKey),
|
|
246
|
+
"X-Fern-Language": "JavaScript",
|
|
247
|
+
"X-Fern-SDK-Name": "vellum-ai",
|
|
248
|
+
"X-Fern-SDK-Version": "v0.1.0",
|
|
249
|
+
"Content-Length": (yield core.getFormDataContentLength(_request)).toString(),
|
|
250
|
+
},
|
|
251
|
+
contentType: "multipart/form-data; boundary=" + _request.getBoundary(),
|
|
252
|
+
body: _request,
|
|
253
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
254
|
+
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
217
255
|
});
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
256
|
+
if (_response.ok) {
|
|
257
|
+
return yield serializers.UploadDocumentResponse.parseOrThrow(_response.body, {
|
|
258
|
+
unrecognizedObjectKeys: "passthrough",
|
|
259
|
+
allowUnrecognizedUnionMembers: true,
|
|
260
|
+
allowUnrecognizedEnumValues: true,
|
|
261
|
+
breadcrumbsPrefix: ["response"],
|
|
262
|
+
});
|
|
263
|
+
}
|
|
264
|
+
if (_response.error.reason === "status-code") {
|
|
265
|
+
switch (_response.error.statusCode) {
|
|
266
|
+
case 400:
|
|
267
|
+
throw new Vellum.BadRequestError(_response.error.body);
|
|
268
|
+
case 404:
|
|
269
|
+
throw new Vellum.NotFoundError(_response.error.body);
|
|
270
|
+
case 500:
|
|
271
|
+
throw new Vellum.InternalServerError(_response.error.body);
|
|
272
|
+
default:
|
|
273
|
+
throw new errors.VellumError({
|
|
274
|
+
statusCode: _response.error.statusCode,
|
|
275
|
+
body: _response.error.body,
|
|
276
|
+
});
|
|
277
|
+
}
|
|
278
|
+
}
|
|
279
|
+
switch (_response.error.reason) {
|
|
280
|
+
case "non-json":
|
|
228
281
|
throw new errors.VellumError({
|
|
229
282
|
statusCode: _response.error.statusCode,
|
|
230
|
-
body: _response.error.
|
|
283
|
+
body: _response.error.rawBody,
|
|
284
|
+
});
|
|
285
|
+
case "timeout":
|
|
286
|
+
throw new errors.VellumTimeoutError();
|
|
287
|
+
case "unknown":
|
|
288
|
+
throw new errors.VellumError({
|
|
289
|
+
message: _response.error.errorMessage,
|
|
231
290
|
});
|
|
232
291
|
}
|
|
233
|
-
}
|
|
234
|
-
switch (_response.error.reason) {
|
|
235
|
-
case "non-json":
|
|
236
|
-
throw new errors.VellumError({
|
|
237
|
-
statusCode: _response.error.statusCode,
|
|
238
|
-
body: _response.error.rawBody,
|
|
239
|
-
});
|
|
240
|
-
case "timeout":
|
|
241
|
-
throw new errors.VellumTimeoutError();
|
|
242
|
-
case "unknown":
|
|
243
|
-
throw new errors.VellumError({
|
|
244
|
-
message: _response.error.errorMessage,
|
|
245
|
-
});
|
|
246
|
-
}
|
|
292
|
+
});
|
|
247
293
|
}
|
|
248
294
|
}
|
|
249
295
|
exports.Documents = Documents;
|
|
@@ -6,19 +6,23 @@ import * as core from "../../../../core";
|
|
|
6
6
|
import * as Vellum from "../../..";
|
|
7
7
|
export declare namespace ModelVersions {
|
|
8
8
|
interface Options {
|
|
9
|
-
environment?: environments.VellumEnvironment | environments.VellumEnvironmentUrls
|
|
9
|
+
environment?: core.Supplier<environments.VellumEnvironment | environments.VellumEnvironmentUrls>;
|
|
10
10
|
apiKey: core.Supplier<string>;
|
|
11
11
|
}
|
|
12
|
+
interface RequestOptions {
|
|
13
|
+
timeoutInSeconds?: number;
|
|
14
|
+
maxRetries?: number;
|
|
15
|
+
}
|
|
12
16
|
}
|
|
13
17
|
export declare class ModelVersions {
|
|
14
|
-
protected readonly
|
|
15
|
-
constructor(
|
|
18
|
+
protected readonly _options: ModelVersions.Options;
|
|
19
|
+
constructor(_options: ModelVersions.Options);
|
|
16
20
|
/**
|
|
17
21
|
* Used to retrieve a model version given its ID.
|
|
18
22
|
*/
|
|
19
|
-
retrieve(id: string): Promise<Vellum.ModelVersionRead>;
|
|
23
|
+
retrieve(id: string, requestOptions?: ModelVersions.RequestOptions): Promise<Vellum.ModelVersionRead>;
|
|
20
24
|
/**
|
|
21
25
|
* Compiles the prompt backing the model version using the provided input values.
|
|
22
26
|
*/
|
|
23
|
-
modelVersionCompilePrompt(id: string, request: Vellum.ModelVersionCompilePromptRequestRequest): Promise<Vellum.ModelVersionCompilePromptResponse>;
|
|
27
|
+
modelVersionCompilePrompt(id: string, request: Vellum.ModelVersionCompilePromptRequestRequest, requestOptions?: ModelVersions.RequestOptions): Promise<Vellum.ModelVersionCompilePromptResponse>;
|
|
24
28
|
}
|