vellum-ai 0.3.25 → 0.4.1
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 +0 -3
- package/Client.js +17 -22
- package/api/errors/index.d.ts +0 -1
- package/api/errors/index.js +0 -1
- package/api/resources/deployments/client/Client.js +3 -3
- package/api/resources/documentIndexes/client/Client.js +6 -6
- package/api/resources/documents/client/Client.d.ts +7 -0
- package/api/resources/documents/client/Client.js +51 -4
- package/api/resources/folderEntities/client/Client.js +1 -1
- package/api/resources/index.d.ts +0 -2
- package/api/resources/index.js +1 -3
- package/api/resources/modelVersions/client/Client.js +1 -1
- package/api/resources/sandboxes/client/Client.d.ts +1 -9
- package/api/resources/sandboxes/client/Client.js +3 -11
- package/api/resources/sandboxes/client/requests/UpsertSandboxScenarioRequestRequest.d.ts +2 -10
- package/api/resources/testSuiteRuns/client/Client.js +3 -3
- package/api/resources/testSuites/client/Client.js +3 -3
- package/api/resources/workflowDeployments/client/Client.js +2 -2
- package/api/types/ChatHistoryPromptTemplateBlock.d.ts +12 -0
- package/api/types/ChatMessageEnum.d.ts +4 -0
- package/api/types/ChatMessagePromptTemplateBlock.d.ts +12 -0
- package/api/types/ChatMessagePromptTemplateBlockProperties.d.ts +13 -0
- package/api/types/FulfilledFunctionCallRequest.d.ts +13 -0
- package/api/types/FunctionDefinitionEnum.d.ts +4 -0
- package/api/types/FunctionDefinitionPromptTemplateBlock.d.ts +12 -0
- package/api/types/FunctionDefinitionPromptTemplateBlockProperties.d.ts +13 -0
- package/api/types/JinjaEnum.d.ts +4 -0
- package/api/types/JinjaPromptTemplateBlock.d.ts +12 -0
- package/api/types/JinjaPromptTemplateBlockProperties.d.ts +8 -0
- package/api/types/NamedScenarioInputChatHistoryVariableValueRequest.d.ts +11 -0
- package/api/types/NamedScenarioInputRequest.d.ts +13 -0
- package/api/types/NamedScenarioInputStringVariableValueRequest.d.ts +10 -0
- package/api/types/NamedTestCaseFunctionCallVariableValue.d.ts +11 -0
- package/api/types/NamedTestCaseFunctionCallVariableValueRequest.d.ts +11 -0
- package/api/types/NamedTestCaseVariableValue.d.ts +4 -1
- package/api/types/NamedTestCaseVariableValueRequest.d.ts +4 -1
- package/api/types/PromptTemplateBlock.d.ts +14 -5
- package/api/types/PromptTemplateBlockData.d.ts +1 -1
- package/api/types/ScenarioInput.d.ts +8 -5
- package/api/types/ScenarioInputChatHistoryVariableValue.d.ts +11 -0
- package/api/types/ScenarioInputStringVariableValue.d.ts +10 -0
- package/api/types/TestCaseFunctionCallVariableValue.d.ts +12 -0
- package/api/types/TestCaseVariableValue.d.ts +4 -1
- package/api/types/TestSuiteRunExecutionFunctionCallOutput.d.ts +12 -0
- package/api/types/TestSuiteRunExecutionOutput.d.ts +4 -1
- package/api/types/VellumVariableType.d.ts +3 -1
- package/api/types/VellumVariableType.js +1 -0
- package/api/types/index.d.ts +20 -17
- package/api/types/index.js +20 -17
- package/dist/Client.d.ts +0 -3
- package/dist/Client.js +17 -22
- package/dist/api/errors/index.d.ts +0 -1
- package/dist/api/errors/index.js +0 -1
- package/dist/api/resources/deployments/client/Client.js +3 -3
- package/dist/api/resources/documentIndexes/client/Client.js +6 -6
- package/dist/api/resources/documents/client/Client.d.ts +7 -0
- package/dist/api/resources/documents/client/Client.js +51 -4
- package/dist/api/resources/folderEntities/client/Client.js +1 -1
- package/dist/api/resources/index.d.ts +0 -2
- package/dist/api/resources/index.js +1 -3
- package/dist/api/resources/modelVersions/client/Client.js +1 -1
- package/dist/api/resources/sandboxes/client/Client.d.ts +1 -9
- package/dist/api/resources/sandboxes/client/Client.js +3 -11
- package/dist/api/resources/sandboxes/client/requests/UpsertSandboxScenarioRequestRequest.d.ts +2 -10
- package/dist/api/resources/testSuiteRuns/client/Client.js +3 -3
- package/dist/api/resources/testSuites/client/Client.js +3 -3
- package/dist/api/resources/workflowDeployments/client/Client.js +2 -2
- package/dist/api/types/ChatHistoryPromptTemplateBlock.d.ts +12 -0
- package/dist/api/types/ChatMessageEnum.d.ts +4 -0
- package/dist/api/types/ChatMessagePromptTemplateBlock.d.ts +12 -0
- package/dist/api/types/ChatMessagePromptTemplateBlockProperties.d.ts +13 -0
- package/dist/api/types/FulfilledFunctionCallRequest.d.ts +13 -0
- package/dist/api/types/FunctionDefinitionEnum.d.ts +4 -0
- package/dist/api/types/FunctionDefinitionPromptTemplateBlock.d.ts +12 -0
- package/dist/api/types/FunctionDefinitionPromptTemplateBlockProperties.d.ts +13 -0
- package/dist/api/types/JinjaEnum.d.ts +4 -0
- package/dist/api/types/JinjaPromptTemplateBlock.d.ts +12 -0
- package/dist/api/types/JinjaPromptTemplateBlockProperties.d.ts +8 -0
- package/dist/api/types/NamedScenarioInputChatHistoryVariableValueRequest.d.ts +11 -0
- package/dist/api/types/NamedScenarioInputRequest.d.ts +13 -0
- package/dist/api/types/NamedScenarioInputRequest.js +5 -0
- package/dist/api/types/NamedScenarioInputStringVariableValueRequest.d.ts +10 -0
- package/dist/api/types/NamedScenarioInputStringVariableValueRequest.js +5 -0
- package/dist/api/types/NamedTestCaseFunctionCallVariableValue.d.ts +11 -0
- package/dist/api/types/NamedTestCaseFunctionCallVariableValue.js +5 -0
- package/dist/api/types/NamedTestCaseFunctionCallVariableValueRequest.d.ts +11 -0
- package/dist/api/types/NamedTestCaseFunctionCallVariableValueRequest.js +5 -0
- package/dist/api/types/NamedTestCaseVariableValue.d.ts +4 -1
- package/dist/api/types/NamedTestCaseVariableValueRequest.d.ts +4 -1
- package/dist/api/types/PromptTemplateBlock.d.ts +14 -5
- package/dist/api/types/PromptTemplateBlockData.d.ts +1 -1
- package/dist/api/types/ScenarioInput.d.ts +8 -5
- package/dist/api/types/ScenarioInputChatHistoryVariableValue.d.ts +11 -0
- package/dist/api/types/ScenarioInputChatHistoryVariableValue.js +5 -0
- package/dist/api/types/ScenarioInputStringVariableValue.d.ts +10 -0
- package/dist/api/types/ScenarioInputStringVariableValue.js +5 -0
- package/dist/api/types/TestCaseFunctionCallVariableValue.d.ts +12 -0
- package/dist/api/types/TestCaseFunctionCallVariableValue.js +5 -0
- package/dist/api/types/TestCaseVariableValue.d.ts +4 -1
- package/dist/api/types/TestSuiteRunExecutionFunctionCallOutput.d.ts +12 -0
- package/dist/api/types/TestSuiteRunExecutionFunctionCallOutput.js +5 -0
- package/dist/api/types/TestSuiteRunExecutionOutput.d.ts +4 -1
- package/dist/api/types/VellumVariableType.d.ts +3 -1
- package/dist/api/types/VellumVariableType.js +1 -0
- package/dist/api/types/index.d.ts +20 -17
- package/dist/api/types/index.js +20 -17
- package/dist/serialization/resources/index.d.ts +0 -2
- package/dist/serialization/resources/index.js +1 -3
- package/dist/serialization/resources/sandboxes/client/requests/UpsertSandboxScenarioRequestRequest.d.ts +2 -2
- package/dist/serialization/resources/sandboxes/client/requests/UpsertSandboxScenarioRequestRequest.js +2 -2
- package/dist/serialization/types/ChatHistoryPromptTemplateBlock.d.ts +15 -0
- package/dist/serialization/types/{RegisteredPromptSandbox.js → ChatHistoryPromptTemplateBlock.js} +5 -3
- package/dist/serialization/types/ChatMessageEnum.d.ts +10 -0
- package/{serialization/types/ScenarioInputTypeEnum.js → dist/serialization/types/ChatMessageEnum.js} +2 -2
- package/dist/serialization/types/ChatMessagePromptTemplateBlock.d.ts +15 -0
- package/dist/serialization/types/{PromptTemplateBlockRequest.js → ChatMessagePromptTemplateBlock.js} +3 -5
- package/dist/serialization/types/ChatMessagePromptTemplateBlockProperties.d.ts +16 -0
- package/{serialization/types/PromptTemplateBlockDataRequest.js → dist/serialization/types/ChatMessagePromptTemplateBlockProperties.js} +7 -4
- package/dist/serialization/types/FulfilledFunctionCallRequest.d.ts +16 -0
- package/dist/serialization/types/FulfilledFunctionCallRequest.js +37 -0
- package/dist/serialization/types/FunctionDefinitionEnum.d.ts +10 -0
- package/dist/serialization/types/{BlockTypeEnum.js → FunctionDefinitionEnum.js} +2 -2
- package/dist/serialization/types/FunctionDefinitionPromptTemplateBlock.d.ts +16 -0
- package/dist/serialization/types/FunctionDefinitionPromptTemplateBlock.js +37 -0
- package/dist/serialization/types/FunctionDefinitionPromptTemplateBlockProperties.d.ts +15 -0
- package/dist/serialization/types/{RegisterPromptPromptInfoRequest.js → FunctionDefinitionPromptTemplateBlockProperties.js} +6 -6
- package/dist/serialization/types/JinjaEnum.d.ts +10 -0
- package/dist/serialization/types/{ScenarioInputTypeEnum.js → JinjaEnum.js} +2 -2
- package/dist/serialization/types/JinjaPromptTemplateBlock.d.ts +16 -0
- package/dist/serialization/types/JinjaPromptTemplateBlock.js +37 -0
- package/dist/serialization/types/JinjaPromptTemplateBlockProperties.d.ts +14 -0
- package/{serialization/types/RegisteredPromptInputVariableRequest.js → dist/serialization/types/JinjaPromptTemplateBlockProperties.js} +4 -5
- package/dist/serialization/types/NamedScenarioInputChatHistoryVariableValueRequest.d.ts +14 -0
- package/dist/serialization/types/NamedScenarioInputChatHistoryVariableValueRequest.js +35 -0
- package/dist/serialization/types/NamedScenarioInputRequest.d.ts +18 -0
- package/dist/serialization/types/NamedScenarioInputRequest.js +41 -0
- package/dist/serialization/types/NamedScenarioInputStringVariableValueRequest.d.ts +13 -0
- package/{serialization/types/RegisteredPromptDeployment.js → dist/serialization/types/NamedScenarioInputStringVariableValueRequest.js} +3 -4
- package/dist/serialization/types/NamedTestCaseFunctionCallVariableValue.d.ts +14 -0
- package/dist/serialization/types/{RegisteredPromptModelVersion.js → NamedTestCaseFunctionCallVariableValue.js} +5 -4
- package/dist/serialization/types/NamedTestCaseFunctionCallVariableValueRequest.d.ts +14 -0
- package/dist/serialization/types/NamedTestCaseFunctionCallVariableValueRequest.js +35 -0
- package/dist/serialization/types/NamedTestCaseVariableValue.d.ts +5 -1
- package/dist/serialization/types/NamedTestCaseVariableValue.js +2 -0
- package/dist/serialization/types/NamedTestCaseVariableValueRequest.d.ts +5 -1
- package/dist/serialization/types/NamedTestCaseVariableValueRequest.js +2 -0
- package/dist/serialization/types/PromptTemplateBlock.d.ts +16 -8
- package/dist/serialization/types/PromptTemplateBlock.js +13 -7
- package/dist/serialization/types/PromptTemplateBlockData.d.ts +1 -1
- package/dist/serialization/types/PromptTemplateBlockData.js +1 -1
- package/dist/serialization/types/ScenarioInput.d.ts +9 -8
- package/dist/serialization/types/ScenarioInput.js +10 -7
- package/dist/serialization/types/ScenarioInputChatHistoryVariableValue.d.ts +14 -0
- package/dist/serialization/types/ScenarioInputChatHistoryVariableValue.js +35 -0
- package/dist/serialization/types/ScenarioInputStringVariableValue.d.ts +13 -0
- package/dist/serialization/types/{RegisterPromptErrorResponse.js → ScenarioInputStringVariableValue.js} +4 -3
- package/dist/serialization/types/TestCaseFunctionCallVariableValue.d.ts +15 -0
- package/dist/serialization/types/TestCaseFunctionCallVariableValue.js +36 -0
- package/dist/serialization/types/TestCaseVariableValue.d.ts +5 -1
- package/dist/serialization/types/TestCaseVariableValue.js +2 -0
- package/dist/serialization/types/TestSuiteRunExecutionFunctionCallOutput.d.ts +15 -0
- package/dist/serialization/types/TestSuiteRunExecutionFunctionCallOutput.js +36 -0
- package/dist/serialization/types/TestSuiteRunExecutionOutput.d.ts +5 -1
- package/dist/serialization/types/TestSuiteRunExecutionOutput.js +2 -0
- package/dist/serialization/types/VellumVariableType.d.ts +1 -1
- package/dist/serialization/types/VellumVariableType.js +1 -0
- package/dist/serialization/types/index.d.ts +20 -17
- package/dist/serialization/types/index.js +20 -17
- package/package.json +1 -1
- package/serialization/resources/index.d.ts +0 -2
- package/serialization/resources/index.js +1 -3
- package/serialization/resources/sandboxes/client/requests/UpsertSandboxScenarioRequestRequest.d.ts +2 -2
- package/serialization/resources/sandboxes/client/requests/UpsertSandboxScenarioRequestRequest.js +2 -2
- package/serialization/types/ChatHistoryPromptTemplateBlock.d.ts +15 -0
- package/serialization/types/ChatHistoryPromptTemplateBlock.js +36 -0
- package/serialization/types/ChatMessageEnum.d.ts +10 -0
- package/serialization/types/{BlockTypeEnum.js → ChatMessageEnum.js} +2 -2
- package/serialization/types/ChatMessagePromptTemplateBlock.d.ts +15 -0
- package/serialization/types/{PromptTemplateBlockRequest.js → ChatMessagePromptTemplateBlock.js} +3 -5
- package/serialization/types/ChatMessagePromptTemplateBlockProperties.d.ts +16 -0
- package/{dist/serialization/types/PromptTemplateBlockDataRequest.js → serialization/types/ChatMessagePromptTemplateBlockProperties.js} +7 -4
- package/serialization/types/FulfilledFunctionCallRequest.d.ts +16 -0
- package/serialization/types/FulfilledFunctionCallRequest.js +37 -0
- package/serialization/types/FunctionDefinitionEnum.d.ts +10 -0
- package/serialization/types/FunctionDefinitionEnum.js +31 -0
- package/serialization/types/FunctionDefinitionPromptTemplateBlock.d.ts +16 -0
- package/serialization/types/FunctionDefinitionPromptTemplateBlock.js +37 -0
- package/serialization/types/FunctionDefinitionPromptTemplateBlockProperties.d.ts +15 -0
- package/serialization/types/FunctionDefinitionPromptTemplateBlockProperties.js +36 -0
- package/serialization/types/JinjaEnum.d.ts +10 -0
- package/serialization/types/JinjaEnum.js +31 -0
- package/serialization/types/JinjaPromptTemplateBlock.d.ts +16 -0
- package/serialization/types/JinjaPromptTemplateBlock.js +37 -0
- package/serialization/types/JinjaPromptTemplateBlockProperties.d.ts +14 -0
- package/{dist/serialization/types/RegisteredPromptInputVariableRequest.js → serialization/types/JinjaPromptTemplateBlockProperties.js} +4 -5
- package/serialization/types/NamedScenarioInputChatHistoryVariableValueRequest.d.ts +14 -0
- package/serialization/types/NamedScenarioInputChatHistoryVariableValueRequest.js +35 -0
- package/serialization/types/NamedScenarioInputRequest.d.ts +18 -0
- package/serialization/types/NamedScenarioInputRequest.js +41 -0
- package/serialization/types/NamedScenarioInputStringVariableValueRequest.d.ts +13 -0
- package/{dist/serialization/types/RegisteredPromptDeployment.js → serialization/types/NamedScenarioInputStringVariableValueRequest.js} +3 -4
- package/serialization/types/NamedTestCaseFunctionCallVariableValue.d.ts +14 -0
- package/serialization/types/NamedTestCaseFunctionCallVariableValue.js +35 -0
- package/serialization/types/NamedTestCaseFunctionCallVariableValueRequest.d.ts +14 -0
- package/serialization/types/NamedTestCaseFunctionCallVariableValueRequest.js +35 -0
- package/serialization/types/NamedTestCaseVariableValue.d.ts +5 -1
- package/serialization/types/NamedTestCaseVariableValue.js +2 -0
- package/serialization/types/NamedTestCaseVariableValueRequest.d.ts +5 -1
- package/serialization/types/NamedTestCaseVariableValueRequest.js +2 -0
- package/serialization/types/PromptTemplateBlock.d.ts +16 -8
- package/serialization/types/PromptTemplateBlock.js +13 -7
- package/serialization/types/PromptTemplateBlockData.d.ts +1 -1
- package/serialization/types/PromptTemplateBlockData.js +1 -1
- package/serialization/types/ScenarioInput.d.ts +9 -8
- package/serialization/types/ScenarioInput.js +10 -7
- package/serialization/types/ScenarioInputChatHistoryVariableValue.d.ts +14 -0
- package/serialization/types/ScenarioInputChatHistoryVariableValue.js +35 -0
- package/serialization/types/ScenarioInputStringVariableValue.d.ts +13 -0
- package/{dist/serialization/types/RegisterPromptPrompt.js → serialization/types/ScenarioInputStringVariableValue.js} +4 -4
- package/serialization/types/TestCaseFunctionCallVariableValue.d.ts +15 -0
- package/serialization/types/TestCaseFunctionCallVariableValue.js +36 -0
- package/serialization/types/TestCaseVariableValue.d.ts +5 -1
- package/serialization/types/TestCaseVariableValue.js +2 -0
- package/serialization/types/TestSuiteRunExecutionFunctionCallOutput.d.ts +15 -0
- package/serialization/types/TestSuiteRunExecutionFunctionCallOutput.js +36 -0
- package/serialization/types/TestSuiteRunExecutionOutput.d.ts +5 -1
- package/serialization/types/TestSuiteRunExecutionOutput.js +2 -0
- package/serialization/types/VellumVariableType.d.ts +1 -1
- package/serialization/types/VellumVariableType.js +1 -0
- package/serialization/types/index.d.ts +20 -17
- package/serialization/types/index.js +20 -17
- package/api/errors/ConflictError.d.ts +0 -8
- package/api/errors/ConflictError.js +0 -41
- package/api/resources/registeredPrompts/client/Client.d.ts +0 -60
- package/api/resources/registeredPrompts/client/Client.js +0 -153
- package/api/resources/registeredPrompts/client/index.d.ts +0 -1
- package/api/resources/registeredPrompts/client/index.js +0 -17
- package/api/resources/registeredPrompts/client/requests/RegisterPromptRequestRequest.d.ts +0 -64
- package/api/resources/registeredPrompts/client/requests/index.d.ts +0 -1
- package/api/resources/registeredPrompts/client/requests/index.js +0 -2
- package/api/resources/registeredPrompts/index.d.ts +0 -1
- package/api/resources/registeredPrompts/index.js +0 -17
- package/api/types/BlockTypeEnum.d.ts +0 -16
- package/api/types/BlockTypeEnum.js +0 -12
- package/api/types/PromptTemplateBlockDataRequest.d.ts +0 -8
- package/api/types/PromptTemplateBlockProperties.d.ts +0 -16
- package/api/types/PromptTemplateBlockPropertiesRequest.d.ts +0 -16
- package/api/types/PromptTemplateBlockRequest.d.ts +0 -10
- package/api/types/RegisterPromptErrorResponse.d.ts +0 -7
- package/api/types/RegisterPromptModelParametersRequest.d.ts +0 -14
- package/api/types/RegisterPromptPrompt.d.ts +0 -9
- package/api/types/RegisterPromptPromptInfoRequest.d.ts +0 -9
- package/api/types/RegisterPromptResponse.d.ts +0 -18
- package/api/types/RegisteredPromptDeployment.d.ts +0 -11
- package/api/types/RegisteredPromptInputVariableRequest.d.ts +0 -9
- package/api/types/RegisteredPromptModelVersion.d.ts +0 -9
- package/api/types/RegisteredPromptSandbox.d.ts +0 -9
- package/api/types/RegisteredPromptSandboxSnapshot.d.ts +0 -7
- package/api/types/ScenarioInputRequest.d.ts +0 -10
- package/api/types/ScenarioInputTypeEnum.d.ts +0 -12
- package/api/types/ScenarioInputTypeEnum.js +0 -10
- package/dist/api/errors/ConflictError.d.ts +0 -8
- package/dist/api/errors/ConflictError.js +0 -41
- package/dist/api/resources/registeredPrompts/client/Client.d.ts +0 -60
- package/dist/api/resources/registeredPrompts/client/Client.js +0 -153
- package/dist/api/resources/registeredPrompts/client/index.d.ts +0 -1
- package/dist/api/resources/registeredPrompts/client/index.js +0 -17
- package/dist/api/resources/registeredPrompts/client/requests/RegisterPromptRequestRequest.d.ts +0 -64
- package/dist/api/resources/registeredPrompts/client/requests/index.d.ts +0 -1
- package/dist/api/resources/registeredPrompts/client/requests/index.js +0 -2
- package/dist/api/resources/registeredPrompts/index.d.ts +0 -1
- package/dist/api/resources/registeredPrompts/index.js +0 -17
- package/dist/api/types/BlockTypeEnum.d.ts +0 -16
- package/dist/api/types/BlockTypeEnum.js +0 -12
- package/dist/api/types/PromptTemplateBlockDataRequest.d.ts +0 -8
- package/dist/api/types/PromptTemplateBlockProperties.d.ts +0 -16
- package/dist/api/types/PromptTemplateBlockPropertiesRequest.d.ts +0 -16
- package/dist/api/types/PromptTemplateBlockRequest.d.ts +0 -10
- package/dist/api/types/RegisterPromptErrorResponse.d.ts +0 -7
- package/dist/api/types/RegisterPromptModelParametersRequest.d.ts +0 -14
- package/dist/api/types/RegisterPromptPrompt.d.ts +0 -9
- package/dist/api/types/RegisterPromptPromptInfoRequest.d.ts +0 -9
- package/dist/api/types/RegisterPromptResponse.d.ts +0 -18
- package/dist/api/types/RegisteredPromptDeployment.d.ts +0 -11
- package/dist/api/types/RegisteredPromptInputVariableRequest.d.ts +0 -9
- package/dist/api/types/RegisteredPromptModelVersion.d.ts +0 -9
- package/dist/api/types/RegisteredPromptSandbox.d.ts +0 -9
- package/dist/api/types/RegisteredPromptSandboxSnapshot.d.ts +0 -7
- package/dist/api/types/ScenarioInputRequest.d.ts +0 -10
- package/dist/api/types/ScenarioInputTypeEnum.d.ts +0 -12
- package/dist/api/types/ScenarioInputTypeEnum.js +0 -10
- package/dist/serialization/resources/registeredPrompts/client/index.d.ts +0 -1
- package/dist/serialization/resources/registeredPrompts/client/index.js +0 -17
- package/dist/serialization/resources/registeredPrompts/client/requests/RegisterPromptRequestRequest.d.ts +0 -21
- package/dist/serialization/resources/registeredPrompts/client/requests/RegisterPromptRequestRequest.js +0 -42
- package/dist/serialization/resources/registeredPrompts/client/requests/index.d.ts +0 -1
- package/dist/serialization/resources/registeredPrompts/client/requests/index.js +0 -5
- package/dist/serialization/resources/registeredPrompts/index.d.ts +0 -1
- package/dist/serialization/resources/registeredPrompts/index.js +0 -17
- package/dist/serialization/types/BlockTypeEnum.d.ts +0 -10
- package/dist/serialization/types/PromptTemplateBlockDataRequest.d.ts +0 -13
- package/dist/serialization/types/PromptTemplateBlockProperties.d.ts +0 -23
- package/dist/serialization/types/PromptTemplateBlockProperties.js +0 -55
- package/dist/serialization/types/PromptTemplateBlockPropertiesRequest.d.ts +0 -23
- package/dist/serialization/types/PromptTemplateBlockPropertiesRequest.js +0 -55
- package/dist/serialization/types/PromptTemplateBlockRequest.d.ts +0 -17
- package/dist/serialization/types/RegisterPromptErrorResponse.d.ts +0 -12
- package/dist/serialization/types/RegisterPromptModelParametersRequest.d.ts +0 -20
- package/dist/serialization/types/RegisterPromptModelParametersRequest.js +0 -41
- package/dist/serialization/types/RegisterPromptPrompt.d.ts +0 -13
- package/dist/serialization/types/RegisterPromptPromptInfoRequest.d.ts +0 -15
- package/dist/serialization/types/RegisterPromptResponse.d.ts +0 -22
- package/dist/serialization/types/RegisterPromptResponse.js +0 -43
- package/dist/serialization/types/RegisteredPromptDeployment.d.ts +0 -14
- package/dist/serialization/types/RegisteredPromptInputVariableRequest.d.ts +0 -15
- package/dist/serialization/types/RegisteredPromptModelVersion.d.ts +0 -13
- package/dist/serialization/types/RegisteredPromptSandbox.d.ts +0 -13
- package/dist/serialization/types/RegisteredPromptSandboxSnapshot.d.ts +0 -12
- package/dist/serialization/types/RegisteredPromptSandboxSnapshot.js +0 -33
- package/dist/serialization/types/ScenarioInputRequest.d.ts +0 -17
- package/dist/serialization/types/ScenarioInputRequest.js +0 -38
- package/dist/serialization/types/ScenarioInputTypeEnum.d.ts +0 -10
- package/serialization/resources/registeredPrompts/client/index.d.ts +0 -1
- package/serialization/resources/registeredPrompts/client/index.js +0 -17
- package/serialization/resources/registeredPrompts/client/requests/RegisterPromptRequestRequest.d.ts +0 -21
- package/serialization/resources/registeredPrompts/client/requests/RegisterPromptRequestRequest.js +0 -42
- package/serialization/resources/registeredPrompts/client/requests/index.d.ts +0 -1
- package/serialization/resources/registeredPrompts/client/requests/index.js +0 -5
- package/serialization/resources/registeredPrompts/index.d.ts +0 -1
- package/serialization/resources/registeredPrompts/index.js +0 -17
- package/serialization/types/BlockTypeEnum.d.ts +0 -10
- package/serialization/types/PromptTemplateBlockDataRequest.d.ts +0 -13
- package/serialization/types/PromptTemplateBlockProperties.d.ts +0 -23
- package/serialization/types/PromptTemplateBlockProperties.js +0 -55
- package/serialization/types/PromptTemplateBlockPropertiesRequest.d.ts +0 -23
- package/serialization/types/PromptTemplateBlockPropertiesRequest.js +0 -55
- package/serialization/types/PromptTemplateBlockRequest.d.ts +0 -17
- package/serialization/types/RegisterPromptErrorResponse.d.ts +0 -12
- package/serialization/types/RegisterPromptErrorResponse.js +0 -33
- package/serialization/types/RegisterPromptModelParametersRequest.d.ts +0 -20
- package/serialization/types/RegisterPromptModelParametersRequest.js +0 -41
- package/serialization/types/RegisterPromptPrompt.d.ts +0 -13
- package/serialization/types/RegisterPromptPrompt.js +0 -34
- package/serialization/types/RegisterPromptPromptInfoRequest.d.ts +0 -15
- package/serialization/types/RegisterPromptPromptInfoRequest.js +0 -36
- package/serialization/types/RegisterPromptResponse.d.ts +0 -22
- package/serialization/types/RegisterPromptResponse.js +0 -43
- package/serialization/types/RegisteredPromptDeployment.d.ts +0 -14
- package/serialization/types/RegisteredPromptInputVariableRequest.d.ts +0 -15
- package/serialization/types/RegisteredPromptModelVersion.d.ts +0 -13
- package/serialization/types/RegisteredPromptModelVersion.js +0 -34
- package/serialization/types/RegisteredPromptSandbox.d.ts +0 -13
- package/serialization/types/RegisteredPromptSandbox.js +0 -34
- package/serialization/types/RegisteredPromptSandboxSnapshot.d.ts +0 -12
- package/serialization/types/RegisteredPromptSandboxSnapshot.js +0 -33
- package/serialization/types/ScenarioInputRequest.d.ts +0 -17
- package/serialization/types/ScenarioInputRequest.js +0 -38
- package/serialization/types/ScenarioInputTypeEnum.d.ts +0 -10
- /package/api/{resources/registeredPrompts/client/requests/RegisterPromptRequestRequest.js → types/ChatHistoryPromptTemplateBlock.js} +0 -0
- /package/api/types/{PromptTemplateBlockDataRequest.js → ChatMessageEnum.js} +0 -0
- /package/api/types/{PromptTemplateBlockProperties.js → ChatMessagePromptTemplateBlock.js} +0 -0
- /package/api/types/{PromptTemplateBlockPropertiesRequest.js → ChatMessagePromptTemplateBlockProperties.js} +0 -0
- /package/api/types/{PromptTemplateBlockRequest.js → FulfilledFunctionCallRequest.js} +0 -0
- /package/api/types/{RegisterPromptErrorResponse.js → FunctionDefinitionEnum.js} +0 -0
- /package/api/types/{RegisterPromptModelParametersRequest.js → FunctionDefinitionPromptTemplateBlock.js} +0 -0
- /package/api/types/{RegisterPromptPrompt.js → FunctionDefinitionPromptTemplateBlockProperties.js} +0 -0
- /package/api/types/{RegisterPromptPromptInfoRequest.js → JinjaEnum.js} +0 -0
- /package/api/types/{RegisterPromptResponse.js → JinjaPromptTemplateBlock.js} +0 -0
- /package/api/types/{RegisteredPromptDeployment.js → JinjaPromptTemplateBlockProperties.js} +0 -0
- /package/api/types/{RegisteredPromptInputVariableRequest.js → NamedScenarioInputChatHistoryVariableValueRequest.js} +0 -0
- /package/api/types/{RegisteredPromptModelVersion.js → NamedScenarioInputRequest.js} +0 -0
- /package/api/types/{RegisteredPromptSandbox.js → NamedScenarioInputStringVariableValueRequest.js} +0 -0
- /package/api/types/{RegisteredPromptSandboxSnapshot.js → NamedTestCaseFunctionCallVariableValue.js} +0 -0
- /package/api/types/{ScenarioInputRequest.js → NamedTestCaseFunctionCallVariableValueRequest.js} +0 -0
- /package/{dist/api/resources/registeredPrompts/client/requests/RegisterPromptRequestRequest.js → api/types/ScenarioInputChatHistoryVariableValue.js} +0 -0
- /package/{dist/api/types/PromptTemplateBlockDataRequest.js → api/types/ScenarioInputStringVariableValue.js} +0 -0
- /package/{dist/api/types/PromptTemplateBlockProperties.js → api/types/TestCaseFunctionCallVariableValue.js} +0 -0
- /package/{dist/api/types/PromptTemplateBlockPropertiesRequest.js → api/types/TestSuiteRunExecutionFunctionCallOutput.js} +0 -0
- /package/dist/api/types/{PromptTemplateBlockRequest.js → ChatHistoryPromptTemplateBlock.js} +0 -0
- /package/dist/api/types/{RegisterPromptErrorResponse.js → ChatMessageEnum.js} +0 -0
- /package/dist/api/types/{RegisterPromptModelParametersRequest.js → ChatMessagePromptTemplateBlock.js} +0 -0
- /package/dist/api/types/{RegisterPromptPrompt.js → ChatMessagePromptTemplateBlockProperties.js} +0 -0
- /package/dist/api/types/{RegisterPromptPromptInfoRequest.js → FulfilledFunctionCallRequest.js} +0 -0
- /package/dist/api/types/{RegisterPromptResponse.js → FunctionDefinitionEnum.js} +0 -0
- /package/dist/api/types/{RegisteredPromptDeployment.js → FunctionDefinitionPromptTemplateBlock.js} +0 -0
- /package/dist/api/types/{RegisteredPromptInputVariableRequest.js → FunctionDefinitionPromptTemplateBlockProperties.js} +0 -0
- /package/dist/api/types/{RegisteredPromptModelVersion.js → JinjaEnum.js} +0 -0
- /package/dist/api/types/{RegisteredPromptSandbox.js → JinjaPromptTemplateBlock.js} +0 -0
- /package/dist/api/types/{RegisteredPromptSandboxSnapshot.js → JinjaPromptTemplateBlockProperties.js} +0 -0
- /package/dist/api/types/{ScenarioInputRequest.js → NamedScenarioInputChatHistoryVariableValueRequest.js} +0 -0
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.RegisterPromptRequestRequest = void 0;
|
|
4
|
-
var RegisterPromptRequestRequest_1 = require("./RegisterPromptRequestRequest");
|
|
5
|
-
Object.defineProperty(exports, "RegisterPromptRequestRequest", { enumerable: true, get: function () { return RegisterPromptRequestRequest_1.RegisterPromptRequestRequest; } });
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./client";
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./client"), exports);
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
import * as serializers from "..";
|
|
5
|
-
import * as Vellum from "../../api";
|
|
6
|
-
import * as core from "../../core";
|
|
7
|
-
export declare const BlockTypeEnum: core.serialization.Schema<serializers.BlockTypeEnum.Raw, Vellum.BlockTypeEnum>;
|
|
8
|
-
export declare namespace BlockTypeEnum {
|
|
9
|
-
type Raw = "CHAT_MESSAGE" | "CHAT_HISTORY" | "JINJA" | "FUNCTION_DEFINITION";
|
|
10
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
import * as serializers from "..";
|
|
5
|
-
import * as Vellum from "../../api";
|
|
6
|
-
import * as core from "../../core";
|
|
7
|
-
export declare const PromptTemplateBlockDataRequest: core.serialization.ObjectSchema<serializers.PromptTemplateBlockDataRequest.Raw, Vellum.PromptTemplateBlockDataRequest>;
|
|
8
|
-
export declare namespace PromptTemplateBlockDataRequest {
|
|
9
|
-
interface Raw {
|
|
10
|
-
version: number;
|
|
11
|
-
blocks: serializers.PromptTemplateBlockRequest.Raw[];
|
|
12
|
-
}
|
|
13
|
-
}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
import * as serializers from "..";
|
|
5
|
-
import * as Vellum from "../../api";
|
|
6
|
-
import * as core from "../../core";
|
|
7
|
-
import { ChatMessageRole } from "./ChatMessageRole";
|
|
8
|
-
import { VellumVariableType } from "./VellumVariableType";
|
|
9
|
-
export declare const PromptTemplateBlockProperties: core.serialization.ObjectSchema<serializers.PromptTemplateBlockProperties.Raw, Vellum.PromptTemplateBlockProperties>;
|
|
10
|
-
export declare namespace PromptTemplateBlockProperties {
|
|
11
|
-
interface Raw {
|
|
12
|
-
chat_role?: ChatMessageRole.Raw | null;
|
|
13
|
-
chat_message_unterminated?: boolean | null;
|
|
14
|
-
chat_source?: string | null;
|
|
15
|
-
template?: string | null;
|
|
16
|
-
template_type?: VellumVariableType.Raw | null;
|
|
17
|
-
function_name?: string | null;
|
|
18
|
-
function_description?: string | null;
|
|
19
|
-
function_parameters?: Record<string, unknown> | null;
|
|
20
|
-
function_forced?: boolean | null;
|
|
21
|
-
blocks?: serializers.PromptTemplateBlock.Raw[] | null;
|
|
22
|
-
}
|
|
23
|
-
}
|
|
@@ -1,55 +0,0 @@
|
|
|
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
|
-
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
|
-
};
|
|
37
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
38
|
-
exports.PromptTemplateBlockProperties = void 0;
|
|
39
|
-
const core = __importStar(require("../../core"));
|
|
40
|
-
const ChatMessageRole_1 = require("./ChatMessageRole");
|
|
41
|
-
const VellumVariableType_1 = require("./VellumVariableType");
|
|
42
|
-
exports.PromptTemplateBlockProperties = core.serialization.object({
|
|
43
|
-
chatRole: core.serialization.property("chat_role", ChatMessageRole_1.ChatMessageRole.optional()),
|
|
44
|
-
chatMessageUnterminated: core.serialization.property("chat_message_unterminated", core.serialization.boolean().optional()),
|
|
45
|
-
chatSource: core.serialization.property("chat_source", core.serialization.string().optional()),
|
|
46
|
-
template: core.serialization.string().optional(),
|
|
47
|
-
templateType: core.serialization.property("template_type", VellumVariableType_1.VellumVariableType.optional()),
|
|
48
|
-
functionName: core.serialization.property("function_name", core.serialization.string().optional()),
|
|
49
|
-
functionDescription: core.serialization.property("function_description", core.serialization.string().optional()),
|
|
50
|
-
functionParameters: core.serialization.property("function_parameters", core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional()),
|
|
51
|
-
functionForced: core.serialization.property("function_forced", core.serialization.boolean().optional()),
|
|
52
|
-
blocks: core.serialization
|
|
53
|
-
.list(core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).PromptTemplateBlock; })))
|
|
54
|
-
.optional(),
|
|
55
|
-
});
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
import * as serializers from "..";
|
|
5
|
-
import * as Vellum from "../../api";
|
|
6
|
-
import * as core from "../../core";
|
|
7
|
-
import { ChatMessageRole } from "./ChatMessageRole";
|
|
8
|
-
import { VellumVariableType } from "./VellumVariableType";
|
|
9
|
-
export declare const PromptTemplateBlockPropertiesRequest: core.serialization.ObjectSchema<serializers.PromptTemplateBlockPropertiesRequest.Raw, Vellum.PromptTemplateBlockPropertiesRequest>;
|
|
10
|
-
export declare namespace PromptTemplateBlockPropertiesRequest {
|
|
11
|
-
interface Raw {
|
|
12
|
-
chat_role?: ChatMessageRole.Raw | null;
|
|
13
|
-
chat_message_unterminated?: boolean | null;
|
|
14
|
-
chat_source?: string | null;
|
|
15
|
-
template?: string | null;
|
|
16
|
-
template_type?: VellumVariableType.Raw | null;
|
|
17
|
-
function_name?: string | null;
|
|
18
|
-
function_description?: string | null;
|
|
19
|
-
function_parameters?: Record<string, unknown> | null;
|
|
20
|
-
function_forced?: boolean | null;
|
|
21
|
-
blocks?: serializers.PromptTemplateBlockRequest.Raw[] | null;
|
|
22
|
-
}
|
|
23
|
-
}
|
|
@@ -1,55 +0,0 @@
|
|
|
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
|
-
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
|
-
};
|
|
37
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
38
|
-
exports.PromptTemplateBlockPropertiesRequest = void 0;
|
|
39
|
-
const core = __importStar(require("../../core"));
|
|
40
|
-
const ChatMessageRole_1 = require("./ChatMessageRole");
|
|
41
|
-
const VellumVariableType_1 = require("./VellumVariableType");
|
|
42
|
-
exports.PromptTemplateBlockPropertiesRequest = core.serialization.object({
|
|
43
|
-
chatRole: core.serialization.property("chat_role", ChatMessageRole_1.ChatMessageRole.optional()),
|
|
44
|
-
chatMessageUnterminated: core.serialization.property("chat_message_unterminated", core.serialization.boolean().optional()),
|
|
45
|
-
chatSource: core.serialization.property("chat_source", core.serialization.string().optional()),
|
|
46
|
-
template: core.serialization.string().optional(),
|
|
47
|
-
templateType: core.serialization.property("template_type", VellumVariableType_1.VellumVariableType.optional()),
|
|
48
|
-
functionName: core.serialization.property("function_name", core.serialization.string().optional()),
|
|
49
|
-
functionDescription: core.serialization.property("function_description", core.serialization.string().optional()),
|
|
50
|
-
functionParameters: core.serialization.property("function_parameters", core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional()),
|
|
51
|
-
functionForced: core.serialization.property("function_forced", core.serialization.boolean().optional()),
|
|
52
|
-
blocks: core.serialization
|
|
53
|
-
.list(core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).PromptTemplateBlockRequest; })))
|
|
54
|
-
.optional(),
|
|
55
|
-
});
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
import * as serializers from "..";
|
|
5
|
-
import * as Vellum from "../../api";
|
|
6
|
-
import * as core from "../../core";
|
|
7
|
-
import { BlockTypeEnum } from "./BlockTypeEnum";
|
|
8
|
-
import { PromptTemplateBlockState } from "./PromptTemplateBlockState";
|
|
9
|
-
export declare const PromptTemplateBlockRequest: core.serialization.ObjectSchema<serializers.PromptTemplateBlockRequest.Raw, Vellum.PromptTemplateBlockRequest>;
|
|
10
|
-
export declare namespace PromptTemplateBlockRequest {
|
|
11
|
-
interface Raw {
|
|
12
|
-
id: string;
|
|
13
|
-
block_type: BlockTypeEnum.Raw;
|
|
14
|
-
properties: serializers.PromptTemplateBlockPropertiesRequest.Raw;
|
|
15
|
-
state?: PromptTemplateBlockState.Raw | null;
|
|
16
|
-
}
|
|
17
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
import * as serializers from "..";
|
|
5
|
-
import * as Vellum from "../../api";
|
|
6
|
-
import * as core from "../../core";
|
|
7
|
-
export declare const RegisterPromptErrorResponse: core.serialization.ObjectSchema<serializers.RegisterPromptErrorResponse.Raw, Vellum.RegisterPromptErrorResponse>;
|
|
8
|
-
export declare namespace RegisterPromptErrorResponse {
|
|
9
|
-
interface Raw {
|
|
10
|
-
detail: string;
|
|
11
|
-
}
|
|
12
|
-
}
|
|
@@ -1,33 +0,0 @@
|
|
|
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.RegisterPromptErrorResponse = void 0;
|
|
30
|
-
const core = __importStar(require("../../core"));
|
|
31
|
-
exports.RegisterPromptErrorResponse = core.serialization.object({
|
|
32
|
-
detail: core.serialization.string(),
|
|
33
|
-
});
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
import * as serializers from "..";
|
|
5
|
-
import * as Vellum from "../../api";
|
|
6
|
-
import * as core from "../../core";
|
|
7
|
-
export declare const RegisterPromptModelParametersRequest: core.serialization.ObjectSchema<serializers.RegisterPromptModelParametersRequest.Raw, Vellum.RegisterPromptModelParametersRequest>;
|
|
8
|
-
export declare namespace RegisterPromptModelParametersRequest {
|
|
9
|
-
interface Raw {
|
|
10
|
-
temperature: number;
|
|
11
|
-
max_tokens: number;
|
|
12
|
-
stop?: string[] | null;
|
|
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
|
-
custom_parameters?: Record<string, unknown> | null;
|
|
19
|
-
}
|
|
20
|
-
}
|
|
@@ -1,41 +0,0 @@
|
|
|
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.RegisterPromptModelParametersRequest = void 0;
|
|
30
|
-
const core = __importStar(require("../../core"));
|
|
31
|
-
exports.RegisterPromptModelParametersRequest = 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()).optional(),
|
|
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
|
-
customParameters: core.serialization.property("custom_parameters", core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional()),
|
|
41
|
-
});
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
import * as serializers from "..";
|
|
5
|
-
import * as Vellum from "../../api";
|
|
6
|
-
import * as core from "../../core";
|
|
7
|
-
export declare const RegisterPromptPrompt: core.serialization.ObjectSchema<serializers.RegisterPromptPrompt.Raw, Vellum.RegisterPromptPrompt>;
|
|
8
|
-
export declare namespace RegisterPromptPrompt {
|
|
9
|
-
interface Raw {
|
|
10
|
-
id: string;
|
|
11
|
-
label: string;
|
|
12
|
-
}
|
|
13
|
-
}
|
|
@@ -1,34 +0,0 @@
|
|
|
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.RegisterPromptPrompt = void 0;
|
|
30
|
-
const core = __importStar(require("../../core"));
|
|
31
|
-
exports.RegisterPromptPrompt = core.serialization.object({
|
|
32
|
-
id: core.serialization.string(),
|
|
33
|
-
label: core.serialization.string(),
|
|
34
|
-
});
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
import * as serializers from "..";
|
|
5
|
-
import * as Vellum from "../../api";
|
|
6
|
-
import * as core from "../../core";
|
|
7
|
-
import { PromptTemplateBlockDataRequest } from "./PromptTemplateBlockDataRequest";
|
|
8
|
-
import { RegisteredPromptInputVariableRequest } from "./RegisteredPromptInputVariableRequest";
|
|
9
|
-
export declare const RegisterPromptPromptInfoRequest: core.serialization.ObjectSchema<serializers.RegisterPromptPromptInfoRequest.Raw, Vellum.RegisterPromptPromptInfoRequest>;
|
|
10
|
-
export declare namespace RegisterPromptPromptInfoRequest {
|
|
11
|
-
interface Raw {
|
|
12
|
-
prompt_block_data: PromptTemplateBlockDataRequest.Raw;
|
|
13
|
-
input_variables: RegisteredPromptInputVariableRequest.Raw[];
|
|
14
|
-
}
|
|
15
|
-
}
|
|
@@ -1,36 +0,0 @@
|
|
|
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.RegisterPromptPromptInfoRequest = void 0;
|
|
30
|
-
const core = __importStar(require("../../core"));
|
|
31
|
-
const PromptTemplateBlockDataRequest_1 = require("./PromptTemplateBlockDataRequest");
|
|
32
|
-
const RegisteredPromptInputVariableRequest_1 = require("./RegisteredPromptInputVariableRequest");
|
|
33
|
-
exports.RegisterPromptPromptInfoRequest = core.serialization.object({
|
|
34
|
-
promptBlockData: core.serialization.property("prompt_block_data", PromptTemplateBlockDataRequest_1.PromptTemplateBlockDataRequest),
|
|
35
|
-
inputVariables: core.serialization.property("input_variables", core.serialization.list(RegisteredPromptInputVariableRequest_1.RegisteredPromptInputVariableRequest)),
|
|
36
|
-
});
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
import * as serializers from "..";
|
|
5
|
-
import * as Vellum from "../../api";
|
|
6
|
-
import * as core from "../../core";
|
|
7
|
-
import { RegisterPromptPrompt } from "./RegisterPromptPrompt";
|
|
8
|
-
import { RegisteredPromptSandboxSnapshot } from "./RegisteredPromptSandboxSnapshot";
|
|
9
|
-
import { RegisteredPromptSandbox } from "./RegisteredPromptSandbox";
|
|
10
|
-
import { RegisteredPromptModelVersion } from "./RegisteredPromptModelVersion";
|
|
11
|
-
import { RegisteredPromptDeployment } from "./RegisteredPromptDeployment";
|
|
12
|
-
export declare const RegisterPromptResponse: core.serialization.ObjectSchema<serializers.RegisterPromptResponse.Raw, Vellum.RegisterPromptResponse>;
|
|
13
|
-
export declare namespace RegisterPromptResponse {
|
|
14
|
-
interface Raw {
|
|
15
|
-
prompt: RegisterPromptPrompt.Raw;
|
|
16
|
-
sandbox_snapshot: RegisteredPromptSandboxSnapshot.Raw;
|
|
17
|
-
sandbox: RegisteredPromptSandbox.Raw;
|
|
18
|
-
model_version: RegisteredPromptModelVersion.Raw;
|
|
19
|
-
prompt_version_id: string;
|
|
20
|
-
deployment: RegisteredPromptDeployment.Raw;
|
|
21
|
-
}
|
|
22
|
-
}
|
|
@@ -1,43 +0,0 @@
|
|
|
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.RegisterPromptResponse = void 0;
|
|
30
|
-
const core = __importStar(require("../../core"));
|
|
31
|
-
const RegisterPromptPrompt_1 = require("./RegisterPromptPrompt");
|
|
32
|
-
const RegisteredPromptSandboxSnapshot_1 = require("./RegisteredPromptSandboxSnapshot");
|
|
33
|
-
const RegisteredPromptSandbox_1 = require("./RegisteredPromptSandbox");
|
|
34
|
-
const RegisteredPromptModelVersion_1 = require("./RegisteredPromptModelVersion");
|
|
35
|
-
const RegisteredPromptDeployment_1 = require("./RegisteredPromptDeployment");
|
|
36
|
-
exports.RegisterPromptResponse = core.serialization.object({
|
|
37
|
-
prompt: RegisterPromptPrompt_1.RegisterPromptPrompt,
|
|
38
|
-
sandboxSnapshot: core.serialization.property("sandbox_snapshot", RegisteredPromptSandboxSnapshot_1.RegisteredPromptSandboxSnapshot),
|
|
39
|
-
sandbox: RegisteredPromptSandbox_1.RegisteredPromptSandbox,
|
|
40
|
-
modelVersion: core.serialization.property("model_version", RegisteredPromptModelVersion_1.RegisteredPromptModelVersion),
|
|
41
|
-
promptVersionId: core.serialization.property("prompt_version_id", core.serialization.string()),
|
|
42
|
-
deployment: RegisteredPromptDeployment_1.RegisteredPromptDeployment,
|
|
43
|
-
});
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
import * as serializers from "..";
|
|
5
|
-
import * as Vellum from "../../api";
|
|
6
|
-
import * as core from "../../core";
|
|
7
|
-
export declare const RegisteredPromptDeployment: core.serialization.ObjectSchema<serializers.RegisteredPromptDeployment.Raw, Vellum.RegisteredPromptDeployment>;
|
|
8
|
-
export declare namespace RegisteredPromptDeployment {
|
|
9
|
-
interface Raw {
|
|
10
|
-
id: string;
|
|
11
|
-
name: string;
|
|
12
|
-
label: string;
|
|
13
|
-
}
|
|
14
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
import * as serializers from "..";
|
|
5
|
-
import * as Vellum from "../../api";
|
|
6
|
-
import * as core from "../../core";
|
|
7
|
-
import { VellumVariableType } from "./VellumVariableType";
|
|
8
|
-
export declare const RegisteredPromptInputVariableRequest: core.serialization.ObjectSchema<serializers.RegisteredPromptInputVariableRequest.Raw, Vellum.RegisteredPromptInputVariableRequest>;
|
|
9
|
-
export declare namespace RegisteredPromptInputVariableRequest {
|
|
10
|
-
interface Raw {
|
|
11
|
-
key: string;
|
|
12
|
-
id?: string | null;
|
|
13
|
-
type?: VellumVariableType.Raw | null;
|
|
14
|
-
}
|
|
15
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
import * as serializers from "..";
|
|
5
|
-
import * as Vellum from "../../api";
|
|
6
|
-
import * as core from "../../core";
|
|
7
|
-
export declare const RegisteredPromptModelVersion: core.serialization.ObjectSchema<serializers.RegisteredPromptModelVersion.Raw, Vellum.RegisteredPromptModelVersion>;
|
|
8
|
-
export declare namespace RegisteredPromptModelVersion {
|
|
9
|
-
interface Raw {
|
|
10
|
-
id: string;
|
|
11
|
-
label: string;
|
|
12
|
-
}
|
|
13
|
-
}
|
|
@@ -1,34 +0,0 @@
|
|
|
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.RegisteredPromptModelVersion = void 0;
|
|
30
|
-
const core = __importStar(require("../../core"));
|
|
31
|
-
exports.RegisteredPromptModelVersion = core.serialization.object({
|
|
32
|
-
id: core.serialization.string(),
|
|
33
|
-
label: core.serialization.string(),
|
|
34
|
-
});
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
import * as serializers from "..";
|
|
5
|
-
import * as Vellum from "../../api";
|
|
6
|
-
import * as core from "../../core";
|
|
7
|
-
export declare const RegisteredPromptSandbox: core.serialization.ObjectSchema<serializers.RegisteredPromptSandbox.Raw, Vellum.RegisteredPromptSandbox>;
|
|
8
|
-
export declare namespace RegisteredPromptSandbox {
|
|
9
|
-
interface Raw {
|
|
10
|
-
id: string;
|
|
11
|
-
label: string;
|
|
12
|
-
}
|
|
13
|
-
}
|
|
@@ -1,34 +0,0 @@
|
|
|
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.RegisteredPromptSandbox = void 0;
|
|
30
|
-
const core = __importStar(require("../../core"));
|
|
31
|
-
exports.RegisteredPromptSandbox = core.serialization.object({
|
|
32
|
-
id: core.serialization.string(),
|
|
33
|
-
label: core.serialization.string(),
|
|
34
|
-
});
|