vellum-ai 0.3.25 → 0.4.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.js +9 -9
- 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/modelVersions/client/Client.js +1 -1
- package/api/resources/registeredPrompts/client/Client.d.ts +2 -6
- package/api/resources/registeredPrompts/client/Client.js +3 -7
- package/api/resources/registeredPrompts/client/requests/RegisterPromptRequestRequest.d.ts +2 -6
- 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/ChatHistoryPromptTemplateBlockRequest.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/ChatMessagePromptTemplateBlockPropertiesRequest.d.ts +13 -0
- package/api/types/ChatMessagePromptTemplateBlockRequest.d.ts +12 -0
- package/api/types/ChatMessagePromptTemplateBlockRequest.js +5 -0
- package/api/types/FulfilledFunctionCallRequest.d.ts +13 -0
- package/api/types/FulfilledFunctionCallRequest.js +5 -0
- package/api/types/FunctionDefinitionEnum.d.ts +4 -0
- package/api/types/FunctionDefinitionEnum.js +5 -0
- package/api/types/FunctionDefinitionPromptTemplateBlock.d.ts +12 -0
- package/api/types/FunctionDefinitionPromptTemplateBlock.js +5 -0
- package/api/types/FunctionDefinitionPromptTemplateBlockProperties.d.ts +13 -0
- package/api/types/FunctionDefinitionPromptTemplateBlockProperties.js +5 -0
- package/api/types/FunctionDefinitionPromptTemplateBlockPropertiesRequest.d.ts +13 -0
- package/api/types/FunctionDefinitionPromptTemplateBlockPropertiesRequest.js +5 -0
- package/api/types/FunctionDefinitionPromptTemplateBlockRequest.d.ts +12 -0
- package/api/types/FunctionDefinitionPromptTemplateBlockRequest.js +5 -0
- package/api/types/JinjaEnum.d.ts +4 -0
- package/api/types/JinjaEnum.js +5 -0
- package/api/types/JinjaPromptTemplateBlock.d.ts +12 -0
- package/api/types/JinjaPromptTemplateBlock.js +5 -0
- package/api/types/JinjaPromptTemplateBlockProperties.d.ts +8 -0
- package/api/types/JinjaPromptTemplateBlockProperties.js +5 -0
- package/api/types/JinjaPromptTemplateBlockPropertiesRequest.d.ts +8 -0
- package/api/types/JinjaPromptTemplateBlockPropertiesRequest.js +5 -0
- package/api/types/JinjaPromptTemplateBlockRequest.d.ts +12 -0
- package/api/types/JinjaPromptTemplateBlockRequest.js +5 -0
- package/api/types/NamedScenarioInputChatHistoryVariableValueRequest.d.ts +11 -0
- package/api/types/NamedScenarioInputChatHistoryVariableValueRequest.js +5 -0
- package/api/types/NamedScenarioInputRequest.d.ts +13 -0
- package/api/types/NamedScenarioInputRequest.js +5 -0
- package/api/types/NamedScenarioInputStringVariableValueRequest.d.ts +10 -0
- package/api/types/NamedScenarioInputStringVariableValueRequest.js +5 -0
- package/api/types/NamedTestCaseFunctionCallVariableValue.d.ts +11 -0
- package/api/types/NamedTestCaseFunctionCallVariableValue.js +5 -0
- package/api/types/NamedTestCaseFunctionCallVariableValueRequest.d.ts +11 -0
- package/api/types/NamedTestCaseFunctionCallVariableValueRequest.js +5 -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/PromptTemplateBlockDataRequest.d.ts +1 -1
- package/api/types/PromptTemplateBlockRequest.d.ts +14 -5
- package/api/types/ScenarioInput.d.ts +8 -5
- package/api/types/ScenarioInputChatHistoryVariableValue.d.ts +11 -0
- package/api/types/ScenarioInputChatHistoryVariableValue.js +5 -0
- package/api/types/ScenarioInputStringVariableValue.d.ts +10 -0
- package/api/types/ScenarioInputStringVariableValue.js +5 -0
- package/api/types/TestCaseFunctionCallVariableValue.d.ts +12 -0
- package/api/types/TestCaseFunctionCallVariableValue.js +5 -0
- package/api/types/TestCaseVariableValue.d.ts +4 -1
- package/api/types/TestSuiteRunExecutionFunctionCallOutput.d.ts +12 -0
- package/api/types/TestSuiteRunExecutionFunctionCallOutput.js +5 -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 +27 -5
- package/api/types/index.js +27 -5
- package/dist/Client.js +9 -9
- 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/modelVersions/client/Client.js +1 -1
- package/dist/api/resources/registeredPrompts/client/Client.d.ts +2 -6
- package/dist/api/resources/registeredPrompts/client/Client.js +3 -7
- package/dist/api/resources/registeredPrompts/client/requests/RegisterPromptRequestRequest.d.ts +2 -6
- 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/ChatHistoryPromptTemplateBlock.js +5 -0
- package/dist/api/types/ChatHistoryPromptTemplateBlockRequest.d.ts +12 -0
- package/dist/api/types/ChatHistoryPromptTemplateBlockRequest.js +5 -0
- package/dist/api/types/ChatMessageEnum.d.ts +4 -0
- package/dist/api/types/ChatMessageEnum.js +5 -0
- package/dist/api/types/ChatMessagePromptTemplateBlock.d.ts +12 -0
- package/dist/api/types/ChatMessagePromptTemplateBlock.js +5 -0
- package/dist/api/types/ChatMessagePromptTemplateBlockProperties.d.ts +13 -0
- package/dist/api/types/ChatMessagePromptTemplateBlockProperties.js +5 -0
- package/dist/api/types/ChatMessagePromptTemplateBlockPropertiesRequest.d.ts +13 -0
- package/dist/api/types/ChatMessagePromptTemplateBlockPropertiesRequest.js +5 -0
- package/dist/api/types/ChatMessagePromptTemplateBlockRequest.d.ts +12 -0
- package/dist/api/types/ChatMessagePromptTemplateBlockRequest.js +5 -0
- package/dist/api/types/FulfilledFunctionCallRequest.d.ts +13 -0
- package/dist/api/types/FulfilledFunctionCallRequest.js +5 -0
- package/dist/api/types/FunctionDefinitionEnum.d.ts +4 -0
- package/dist/api/types/FunctionDefinitionEnum.js +5 -0
- package/dist/api/types/FunctionDefinitionPromptTemplateBlock.d.ts +12 -0
- package/dist/api/types/FunctionDefinitionPromptTemplateBlock.js +5 -0
- package/dist/api/types/FunctionDefinitionPromptTemplateBlockProperties.d.ts +13 -0
- package/dist/api/types/FunctionDefinitionPromptTemplateBlockProperties.js +5 -0
- package/dist/api/types/FunctionDefinitionPromptTemplateBlockPropertiesRequest.d.ts +13 -0
- package/dist/api/types/FunctionDefinitionPromptTemplateBlockPropertiesRequest.js +5 -0
- package/dist/api/types/FunctionDefinitionPromptTemplateBlockRequest.d.ts +12 -0
- package/dist/api/types/FunctionDefinitionPromptTemplateBlockRequest.js +5 -0
- package/dist/api/types/JinjaEnum.d.ts +4 -0
- package/dist/api/types/JinjaEnum.js +5 -0
- package/dist/api/types/JinjaPromptTemplateBlock.d.ts +12 -0
- package/dist/api/types/JinjaPromptTemplateBlock.js +5 -0
- package/dist/api/types/JinjaPromptTemplateBlockProperties.d.ts +8 -0
- package/dist/api/types/JinjaPromptTemplateBlockProperties.js +5 -0
- package/dist/api/types/JinjaPromptTemplateBlockPropertiesRequest.d.ts +8 -0
- package/dist/api/types/JinjaPromptTemplateBlockPropertiesRequest.js +5 -0
- package/dist/api/types/JinjaPromptTemplateBlockRequest.d.ts +12 -0
- package/dist/api/types/JinjaPromptTemplateBlockRequest.js +5 -0
- package/dist/api/types/NamedScenarioInputChatHistoryVariableValueRequest.d.ts +11 -0
- package/dist/api/types/NamedScenarioInputChatHistoryVariableValueRequest.js +5 -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/PromptTemplateBlockDataRequest.d.ts +1 -1
- package/dist/api/types/PromptTemplateBlockRequest.d.ts +14 -5
- 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 +27 -5
- package/dist/api/types/index.js +27 -5
- 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/ChatHistoryPromptTemplateBlock.js +36 -0
- package/dist/serialization/types/ChatHistoryPromptTemplateBlockRequest.d.ts +15 -0
- package/dist/serialization/types/ChatHistoryPromptTemplateBlockRequest.js +36 -0
- 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/ChatMessagePromptTemplateBlock.js +45 -0
- package/dist/serialization/types/ChatMessagePromptTemplateBlockProperties.d.ts +16 -0
- package/{serialization/types/PromptTemplateBlockProperties.js → dist/serialization/types/ChatMessagePromptTemplateBlockProperties.js} +4 -13
- package/dist/serialization/types/ChatMessagePromptTemplateBlockPropertiesRequest.d.ts +16 -0
- package/dist/serialization/types/{PromptTemplateBlockProperties.js → ChatMessagePromptTemplateBlockPropertiesRequest.js} +4 -13
- package/dist/serialization/types/ChatMessagePromptTemplateBlockRequest.d.ts +15 -0
- package/dist/serialization/types/ChatMessagePromptTemplateBlockRequest.js +45 -0
- 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/{serialization/types/ScenarioInputRequest.js → dist/serialization/types/FunctionDefinitionPromptTemplateBlock.js} +7 -8
- package/dist/serialization/types/FunctionDefinitionPromptTemplateBlockProperties.d.ts +15 -0
- package/dist/serialization/types/FunctionDefinitionPromptTemplateBlockProperties.js +36 -0
- package/dist/serialization/types/FunctionDefinitionPromptTemplateBlockPropertiesRequest.d.ts +15 -0
- package/dist/serialization/types/FunctionDefinitionPromptTemplateBlockPropertiesRequest.js +36 -0
- package/dist/serialization/types/FunctionDefinitionPromptTemplateBlockRequest.d.ts +16 -0
- package/dist/serialization/types/FunctionDefinitionPromptTemplateBlockRequest.js +37 -0
- 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/dist/serialization/types/JinjaPromptTemplateBlockProperties.js +35 -0
- package/dist/serialization/types/JinjaPromptTemplateBlockPropertiesRequest.d.ts +14 -0
- package/dist/serialization/types/JinjaPromptTemplateBlockPropertiesRequest.js +35 -0
- package/dist/serialization/types/JinjaPromptTemplateBlockRequest.d.ts +16 -0
- package/dist/serialization/types/JinjaPromptTemplateBlockRequest.js +37 -0
- 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/dist/serialization/types/NamedScenarioInputStringVariableValueRequest.js +34 -0
- package/dist/serialization/types/NamedTestCaseFunctionCallVariableValue.d.ts +14 -0
- package/dist/serialization/types/NamedTestCaseFunctionCallVariableValue.js +35 -0
- 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/PromptTemplateBlockDataRequest.d.ts +1 -1
- package/dist/serialization/types/PromptTemplateBlockDataRequest.js +1 -1
- package/dist/serialization/types/PromptTemplateBlockRequest.d.ts +16 -8
- package/dist/serialization/types/PromptTemplateBlockRequest.js +13 -7
- 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/ScenarioInputStringVariableValue.js +34 -0
- 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 +27 -5
- package/dist/serialization/types/index.js +27 -5
- package/package.json +1 -1
- 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/ChatHistoryPromptTemplateBlockRequest.d.ts +15 -0
- package/serialization/types/ChatHistoryPromptTemplateBlockRequest.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/ChatMessagePromptTemplateBlock.js +45 -0
- package/serialization/types/ChatMessagePromptTemplateBlockProperties.d.ts +16 -0
- package/{dist/serialization/types/PromptTemplateBlockPropertiesRequest.js → serialization/types/ChatMessagePromptTemplateBlockProperties.js} +4 -13
- package/serialization/types/ChatMessagePromptTemplateBlockPropertiesRequest.d.ts +16 -0
- package/serialization/types/{PromptTemplateBlockPropertiesRequest.js → ChatMessagePromptTemplateBlockPropertiesRequest.js} +4 -13
- package/serialization/types/ChatMessagePromptTemplateBlockRequest.d.ts +15 -0
- package/serialization/types/ChatMessagePromptTemplateBlockRequest.js +45 -0
- 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/{dist/serialization/types/ScenarioInputRequest.js → serialization/types/FunctionDefinitionPromptTemplateBlock.js} +7 -8
- package/serialization/types/FunctionDefinitionPromptTemplateBlockProperties.d.ts +15 -0
- package/serialization/types/FunctionDefinitionPromptTemplateBlockProperties.js +36 -0
- package/serialization/types/FunctionDefinitionPromptTemplateBlockPropertiesRequest.d.ts +15 -0
- package/serialization/types/FunctionDefinitionPromptTemplateBlockPropertiesRequest.js +36 -0
- package/serialization/types/FunctionDefinitionPromptTemplateBlockRequest.d.ts +16 -0
- package/serialization/types/FunctionDefinitionPromptTemplateBlockRequest.js +37 -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/serialization/types/JinjaPromptTemplateBlockProperties.js +35 -0
- package/serialization/types/JinjaPromptTemplateBlockPropertiesRequest.d.ts +14 -0
- package/serialization/types/JinjaPromptTemplateBlockPropertiesRequest.js +35 -0
- package/serialization/types/JinjaPromptTemplateBlockRequest.d.ts +16 -0
- package/serialization/types/JinjaPromptTemplateBlockRequest.js +37 -0
- 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/serialization/types/NamedScenarioInputStringVariableValueRequest.js +34 -0
- 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/PromptTemplateBlockDataRequest.d.ts +1 -1
- package/serialization/types/PromptTemplateBlockDataRequest.js +1 -1
- package/serialization/types/PromptTemplateBlockRequest.d.ts +16 -8
- package/serialization/types/PromptTemplateBlockRequest.js +13 -7
- 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/serialization/types/ScenarioInputStringVariableValue.js +34 -0
- 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 +27 -5
- package/serialization/types/index.js +27 -5
- package/api/types/BlockTypeEnum.d.ts +0 -16
- package/api/types/BlockTypeEnum.js +0 -12
- package/api/types/PromptTemplateBlockProperties.d.ts +0 -16
- package/api/types/PromptTemplateBlockPropertiesRequest.d.ts +0 -16
- 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/types/BlockTypeEnum.d.ts +0 -16
- package/dist/api/types/BlockTypeEnum.js +0 -12
- package/dist/api/types/PromptTemplateBlockProperties.d.ts +0 -16
- package/dist/api/types/PromptTemplateBlockPropertiesRequest.d.ts +0 -16
- 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/types/BlockTypeEnum.d.ts +0 -10
- package/dist/serialization/types/PromptTemplateBlockProperties.d.ts +0 -23
- package/dist/serialization/types/PromptTemplateBlockPropertiesRequest.d.ts +0 -23
- package/dist/serialization/types/ScenarioInputRequest.d.ts +0 -17
- package/dist/serialization/types/ScenarioInputTypeEnum.d.ts +0 -10
- package/serialization/types/BlockTypeEnum.d.ts +0 -10
- package/serialization/types/PromptTemplateBlockProperties.d.ts +0 -23
- package/serialization/types/PromptTemplateBlockPropertiesRequest.d.ts +0 -23
- package/serialization/types/ScenarioInputRequest.d.ts +0 -17
- package/serialization/types/ScenarioInputTypeEnum.d.ts +0 -10
- /package/api/types/{PromptTemplateBlockProperties.js → ChatHistoryPromptTemplateBlock.js} +0 -0
- /package/api/types/{PromptTemplateBlockPropertiesRequest.js → ChatHistoryPromptTemplateBlockRequest.js} +0 -0
- /package/api/types/{ScenarioInputRequest.js → ChatMessageEnum.js} +0 -0
- /package/{dist/api/types/PromptTemplateBlockProperties.js → api/types/ChatMessagePromptTemplateBlock.js} +0 -0
- /package/{dist/api/types/PromptTemplateBlockPropertiesRequest.js → api/types/ChatMessagePromptTemplateBlockProperties.js} +0 -0
- /package/{dist/api/types/ScenarioInputRequest.js → api/types/ChatMessagePromptTemplateBlockPropertiesRequest.js} +0 -0
|
@@ -4,14 +4,22 @@
|
|
|
4
4
|
import * as serializers from "..";
|
|
5
5
|
import * as Vellum from "../../api";
|
|
6
6
|
import * as core from "../../core";
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
|
|
7
|
+
import { JinjaPromptTemplateBlockRequest } from "./JinjaPromptTemplateBlockRequest";
|
|
8
|
+
import { ChatHistoryPromptTemplateBlockRequest } from "./ChatHistoryPromptTemplateBlockRequest";
|
|
9
|
+
import { FunctionDefinitionPromptTemplateBlockRequest } from "./FunctionDefinitionPromptTemplateBlockRequest";
|
|
10
|
+
export declare const PromptTemplateBlockRequest: core.serialization.Schema<serializers.PromptTemplateBlockRequest.Raw, Vellum.PromptTemplateBlockRequest>;
|
|
10
11
|
export declare namespace PromptTemplateBlockRequest {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
block_type:
|
|
14
|
-
|
|
15
|
-
|
|
12
|
+
type Raw = PromptTemplateBlockRequest.Jinja | PromptTemplateBlockRequest.ChatHistory | PromptTemplateBlockRequest.ChatMessage | PromptTemplateBlockRequest.FunctionDefinition;
|
|
13
|
+
interface Jinja extends JinjaPromptTemplateBlockRequest.Raw {
|
|
14
|
+
block_type: "JINJA";
|
|
15
|
+
}
|
|
16
|
+
interface ChatHistory extends ChatHistoryPromptTemplateBlockRequest.Raw {
|
|
17
|
+
block_type: "CHAT_HISTORY";
|
|
18
|
+
}
|
|
19
|
+
interface ChatMessage extends serializers.ChatMessagePromptTemplateBlockRequest.Raw {
|
|
20
|
+
block_type: "CHAT_MESSAGE";
|
|
21
|
+
}
|
|
22
|
+
interface FunctionDefinition extends FunctionDefinitionPromptTemplateBlockRequest.Raw {
|
|
23
|
+
block_type: "FUNCTION_DEFINITION";
|
|
16
24
|
}
|
|
17
25
|
}
|
|
@@ -37,11 +37,17 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
37
37
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
38
38
|
exports.PromptTemplateBlockRequest = void 0;
|
|
39
39
|
const core = __importStar(require("../../core"));
|
|
40
|
-
const
|
|
41
|
-
const
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
40
|
+
const JinjaPromptTemplateBlockRequest_1 = require("./JinjaPromptTemplateBlockRequest");
|
|
41
|
+
const ChatHistoryPromptTemplateBlockRequest_1 = require("./ChatHistoryPromptTemplateBlockRequest");
|
|
42
|
+
const FunctionDefinitionPromptTemplateBlockRequest_1 = require("./FunctionDefinitionPromptTemplateBlockRequest");
|
|
43
|
+
exports.PromptTemplateBlockRequest = core.serialization
|
|
44
|
+
.union(core.serialization.discriminant("blockType", "block_type"), {
|
|
45
|
+
JINJA: JinjaPromptTemplateBlockRequest_1.JinjaPromptTemplateBlockRequest,
|
|
46
|
+
CHAT_HISTORY: ChatHistoryPromptTemplateBlockRequest_1.ChatHistoryPromptTemplateBlockRequest,
|
|
47
|
+
CHAT_MESSAGE: core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).ChatMessagePromptTemplateBlockRequest; })),
|
|
48
|
+
FUNCTION_DEFINITION: FunctionDefinitionPromptTemplateBlockRequest_1.FunctionDefinitionPromptTemplateBlockRequest,
|
|
49
|
+
})
|
|
50
|
+
.transform({
|
|
51
|
+
transform: (value) => value,
|
|
52
|
+
untransform: (value) => value,
|
|
47
53
|
});
|
|
@@ -4,14 +4,15 @@
|
|
|
4
4
|
import * as serializers from "..";
|
|
5
5
|
import * as Vellum from "../../api";
|
|
6
6
|
import * as core from "../../core";
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
export declare const ScenarioInput: core.serialization.
|
|
7
|
+
import { ScenarioInputStringVariableValue } from "./ScenarioInputStringVariableValue";
|
|
8
|
+
import { ScenarioInputChatHistoryVariableValue } from "./ScenarioInputChatHistoryVariableValue";
|
|
9
|
+
export declare const ScenarioInput: core.serialization.Schema<serializers.ScenarioInput.Raw, Vellum.ScenarioInput>;
|
|
10
10
|
export declare namespace ScenarioInput {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
type
|
|
14
|
-
|
|
15
|
-
|
|
11
|
+
type Raw = ScenarioInput.String | ScenarioInput.ChatHistory;
|
|
12
|
+
interface String extends ScenarioInputStringVariableValue.Raw {
|
|
13
|
+
type: "STRING";
|
|
14
|
+
}
|
|
15
|
+
interface ChatHistory extends ScenarioInputChatHistoryVariableValue.Raw {
|
|
16
|
+
type: "CHAT_HISTORY";
|
|
16
17
|
}
|
|
17
18
|
}
|
|
@@ -28,11 +28,14 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
29
|
exports.ScenarioInput = void 0;
|
|
30
30
|
const core = __importStar(require("../../core"));
|
|
31
|
-
const
|
|
32
|
-
const
|
|
33
|
-
exports.ScenarioInput = core.serialization
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
31
|
+
const ScenarioInputStringVariableValue_1 = require("./ScenarioInputStringVariableValue");
|
|
32
|
+
const ScenarioInputChatHistoryVariableValue_1 = require("./ScenarioInputChatHistoryVariableValue");
|
|
33
|
+
exports.ScenarioInput = core.serialization
|
|
34
|
+
.union("type", {
|
|
35
|
+
STRING: ScenarioInputStringVariableValue_1.ScenarioInputStringVariableValue,
|
|
36
|
+
CHAT_HISTORY: ScenarioInputChatHistoryVariableValue_1.ScenarioInputChatHistoryVariableValue,
|
|
37
|
+
})
|
|
38
|
+
.transform({
|
|
39
|
+
transform: (value) => value,
|
|
40
|
+
untransform: (value) => value,
|
|
38
41
|
});
|
|
@@ -0,0 +1,14 @@
|
|
|
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 { ChatMessage } from "./ChatMessage";
|
|
8
|
+
export declare const ScenarioInputChatHistoryVariableValue: core.serialization.ObjectSchema<serializers.ScenarioInputChatHistoryVariableValue.Raw, Vellum.ScenarioInputChatHistoryVariableValue>;
|
|
9
|
+
export declare namespace ScenarioInputChatHistoryVariableValue {
|
|
10
|
+
interface Raw {
|
|
11
|
+
value?: ChatMessage.Raw[] | null;
|
|
12
|
+
input_variable_id: string;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
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.ScenarioInputChatHistoryVariableValue = void 0;
|
|
30
|
+
const core = __importStar(require("../../core"));
|
|
31
|
+
const ChatMessage_1 = require("./ChatMessage");
|
|
32
|
+
exports.ScenarioInputChatHistoryVariableValue = core.serialization.object({
|
|
33
|
+
value: core.serialization.list(ChatMessage_1.ChatMessage).optional(),
|
|
34
|
+
inputVariableId: core.serialization.property("input_variable_id", core.serialization.string()),
|
|
35
|
+
});
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "..";
|
|
5
|
+
import * as Vellum from "../../api";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
export declare const ScenarioInputStringVariableValue: core.serialization.ObjectSchema<serializers.ScenarioInputStringVariableValue.Raw, Vellum.ScenarioInputStringVariableValue>;
|
|
8
|
+
export declare namespace ScenarioInputStringVariableValue {
|
|
9
|
+
interface Raw {
|
|
10
|
+
value?: string | null;
|
|
11
|
+
input_variable_id: string;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.ScenarioInputStringVariableValue = void 0;
|
|
30
|
+
const core = __importStar(require("../../core"));
|
|
31
|
+
exports.ScenarioInputStringVariableValue = core.serialization.object({
|
|
32
|
+
value: core.serialization.string().optional(),
|
|
33
|
+
inputVariableId: core.serialization.property("input_variable_id", core.serialization.string()),
|
|
34
|
+
});
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "..";
|
|
5
|
+
import * as Vellum from "../../api";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
import { FulfilledFunctionCall } from "./FulfilledFunctionCall";
|
|
8
|
+
export declare const TestCaseFunctionCallVariableValue: core.serialization.ObjectSchema<serializers.TestCaseFunctionCallVariableValue.Raw, Vellum.TestCaseFunctionCallVariableValue>;
|
|
9
|
+
export declare namespace TestCaseFunctionCallVariableValue {
|
|
10
|
+
interface Raw {
|
|
11
|
+
variable_id: string;
|
|
12
|
+
name: string;
|
|
13
|
+
value?: FulfilledFunctionCall.Raw | null;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.TestCaseFunctionCallVariableValue = void 0;
|
|
30
|
+
const core = __importStar(require("../../core"));
|
|
31
|
+
const FulfilledFunctionCall_1 = require("./FulfilledFunctionCall");
|
|
32
|
+
exports.TestCaseFunctionCallVariableValue = core.serialization.object({
|
|
33
|
+
variableId: core.serialization.property("variable_id", core.serialization.string()),
|
|
34
|
+
name: core.serialization.string(),
|
|
35
|
+
value: FulfilledFunctionCall_1.FulfilledFunctionCall.optional(),
|
|
36
|
+
});
|
|
@@ -10,9 +10,10 @@ import { TestCaseJsonVariableValue } from "./TestCaseJsonVariableValue";
|
|
|
10
10
|
import { TestCaseChatHistoryVariableValue } from "./TestCaseChatHistoryVariableValue";
|
|
11
11
|
import { TestCaseSearchResultsVariableValue } from "./TestCaseSearchResultsVariableValue";
|
|
12
12
|
import { TestCaseErrorVariableValue } from "./TestCaseErrorVariableValue";
|
|
13
|
+
import { TestCaseFunctionCallVariableValue } from "./TestCaseFunctionCallVariableValue";
|
|
13
14
|
export declare const TestCaseVariableValue: core.serialization.Schema<serializers.TestCaseVariableValue.Raw, Vellum.TestCaseVariableValue>;
|
|
14
15
|
export declare namespace TestCaseVariableValue {
|
|
15
|
-
type Raw = TestCaseVariableValue.String | TestCaseVariableValue.Number | TestCaseVariableValue.Json | TestCaseVariableValue.ChatHistory | TestCaseVariableValue.SearchResults | TestCaseVariableValue.Error;
|
|
16
|
+
type Raw = TestCaseVariableValue.String | TestCaseVariableValue.Number | TestCaseVariableValue.Json | TestCaseVariableValue.ChatHistory | TestCaseVariableValue.SearchResults | TestCaseVariableValue.Error | TestCaseVariableValue.FunctionCall;
|
|
16
17
|
interface String extends TestCaseStringVariableValue.Raw {
|
|
17
18
|
type: "STRING";
|
|
18
19
|
}
|
|
@@ -31,4 +32,7 @@ export declare namespace TestCaseVariableValue {
|
|
|
31
32
|
interface Error extends TestCaseErrorVariableValue.Raw {
|
|
32
33
|
type: "ERROR";
|
|
33
34
|
}
|
|
35
|
+
interface FunctionCall extends TestCaseFunctionCallVariableValue.Raw {
|
|
36
|
+
type: "FUNCTION_CALL";
|
|
37
|
+
}
|
|
34
38
|
}
|
|
@@ -34,6 +34,7 @@ const TestCaseJsonVariableValue_1 = require("./TestCaseJsonVariableValue");
|
|
|
34
34
|
const TestCaseChatHistoryVariableValue_1 = require("./TestCaseChatHistoryVariableValue");
|
|
35
35
|
const TestCaseSearchResultsVariableValue_1 = require("./TestCaseSearchResultsVariableValue");
|
|
36
36
|
const TestCaseErrorVariableValue_1 = require("./TestCaseErrorVariableValue");
|
|
37
|
+
const TestCaseFunctionCallVariableValue_1 = require("./TestCaseFunctionCallVariableValue");
|
|
37
38
|
exports.TestCaseVariableValue = core.serialization
|
|
38
39
|
.union("type", {
|
|
39
40
|
STRING: TestCaseStringVariableValue_1.TestCaseStringVariableValue,
|
|
@@ -42,6 +43,7 @@ exports.TestCaseVariableValue = core.serialization
|
|
|
42
43
|
CHAT_HISTORY: TestCaseChatHistoryVariableValue_1.TestCaseChatHistoryVariableValue,
|
|
43
44
|
SEARCH_RESULTS: TestCaseSearchResultsVariableValue_1.TestCaseSearchResultsVariableValue,
|
|
44
45
|
ERROR: TestCaseErrorVariableValue_1.TestCaseErrorVariableValue,
|
|
46
|
+
FUNCTION_CALL: TestCaseFunctionCallVariableValue_1.TestCaseFunctionCallVariableValue,
|
|
45
47
|
})
|
|
46
48
|
.transform({
|
|
47
49
|
transform: (value) => value,
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "..";
|
|
5
|
+
import * as Vellum from "../../api";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
import { FulfilledFunctionCall } from "./FulfilledFunctionCall";
|
|
8
|
+
export declare const TestSuiteRunExecutionFunctionCallOutput: core.serialization.ObjectSchema<serializers.TestSuiteRunExecutionFunctionCallOutput.Raw, Vellum.TestSuiteRunExecutionFunctionCallOutput>;
|
|
9
|
+
export declare namespace TestSuiteRunExecutionFunctionCallOutput {
|
|
10
|
+
interface Raw {
|
|
11
|
+
name: string;
|
|
12
|
+
value?: FulfilledFunctionCall.Raw | null;
|
|
13
|
+
output_variable_id: string;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.TestSuiteRunExecutionFunctionCallOutput = void 0;
|
|
30
|
+
const core = __importStar(require("../../core"));
|
|
31
|
+
const FulfilledFunctionCall_1 = require("./FulfilledFunctionCall");
|
|
32
|
+
exports.TestSuiteRunExecutionFunctionCallOutput = core.serialization.object({
|
|
33
|
+
name: core.serialization.string(),
|
|
34
|
+
value: FulfilledFunctionCall_1.FulfilledFunctionCall.optional(),
|
|
35
|
+
outputVariableId: core.serialization.property("output_variable_id", core.serialization.string()),
|
|
36
|
+
});
|
|
@@ -10,9 +10,10 @@ import { TestSuiteRunExecutionJsonOutput } from "./TestSuiteRunExecutionJsonOutp
|
|
|
10
10
|
import { TestSuiteRunExecutionChatHistoryOutput } from "./TestSuiteRunExecutionChatHistoryOutput";
|
|
11
11
|
import { TestSuiteRunExecutionSearchResultsOutput } from "./TestSuiteRunExecutionSearchResultsOutput";
|
|
12
12
|
import { TestSuiteRunExecutionErrorOutput } from "./TestSuiteRunExecutionErrorOutput";
|
|
13
|
+
import { TestSuiteRunExecutionFunctionCallOutput } from "./TestSuiteRunExecutionFunctionCallOutput";
|
|
13
14
|
export declare const TestSuiteRunExecutionOutput: core.serialization.Schema<serializers.TestSuiteRunExecutionOutput.Raw, Vellum.TestSuiteRunExecutionOutput>;
|
|
14
15
|
export declare namespace TestSuiteRunExecutionOutput {
|
|
15
|
-
type Raw = TestSuiteRunExecutionOutput.String | TestSuiteRunExecutionOutput.Number | TestSuiteRunExecutionOutput.Json | TestSuiteRunExecutionOutput.ChatHistory | TestSuiteRunExecutionOutput.SearchResults | TestSuiteRunExecutionOutput.Error;
|
|
16
|
+
type Raw = TestSuiteRunExecutionOutput.String | TestSuiteRunExecutionOutput.Number | TestSuiteRunExecutionOutput.Json | TestSuiteRunExecutionOutput.ChatHistory | TestSuiteRunExecutionOutput.SearchResults | TestSuiteRunExecutionOutput.Error | TestSuiteRunExecutionOutput.FunctionCall;
|
|
16
17
|
interface String extends TestSuiteRunExecutionStringOutput.Raw {
|
|
17
18
|
type: "STRING";
|
|
18
19
|
}
|
|
@@ -31,4 +32,7 @@ export declare namespace TestSuiteRunExecutionOutput {
|
|
|
31
32
|
interface Error extends TestSuiteRunExecutionErrorOutput.Raw {
|
|
32
33
|
type: "ERROR";
|
|
33
34
|
}
|
|
35
|
+
interface FunctionCall extends TestSuiteRunExecutionFunctionCallOutput.Raw {
|
|
36
|
+
type: "FUNCTION_CALL";
|
|
37
|
+
}
|
|
34
38
|
}
|
|
@@ -34,6 +34,7 @@ const TestSuiteRunExecutionJsonOutput_1 = require("./TestSuiteRunExecutionJsonOu
|
|
|
34
34
|
const TestSuiteRunExecutionChatHistoryOutput_1 = require("./TestSuiteRunExecutionChatHistoryOutput");
|
|
35
35
|
const TestSuiteRunExecutionSearchResultsOutput_1 = require("./TestSuiteRunExecutionSearchResultsOutput");
|
|
36
36
|
const TestSuiteRunExecutionErrorOutput_1 = require("./TestSuiteRunExecutionErrorOutput");
|
|
37
|
+
const TestSuiteRunExecutionFunctionCallOutput_1 = require("./TestSuiteRunExecutionFunctionCallOutput");
|
|
37
38
|
exports.TestSuiteRunExecutionOutput = core.serialization
|
|
38
39
|
.union("type", {
|
|
39
40
|
STRING: TestSuiteRunExecutionStringOutput_1.TestSuiteRunExecutionStringOutput,
|
|
@@ -42,6 +43,7 @@ exports.TestSuiteRunExecutionOutput = core.serialization
|
|
|
42
43
|
CHAT_HISTORY: TestSuiteRunExecutionChatHistoryOutput_1.TestSuiteRunExecutionChatHistoryOutput,
|
|
43
44
|
SEARCH_RESULTS: TestSuiteRunExecutionSearchResultsOutput_1.TestSuiteRunExecutionSearchResultsOutput,
|
|
44
45
|
ERROR: TestSuiteRunExecutionErrorOutput_1.TestSuiteRunExecutionErrorOutput,
|
|
46
|
+
FUNCTION_CALL: TestSuiteRunExecutionFunctionCallOutput_1.TestSuiteRunExecutionFunctionCallOutput,
|
|
45
47
|
})
|
|
46
48
|
.transform({
|
|
47
49
|
transform: (value) => value,
|
|
@@ -6,5 +6,5 @@ import * as Vellum from "../../api";
|
|
|
6
6
|
import * as core from "../../core";
|
|
7
7
|
export declare const VellumVariableType: core.serialization.Schema<serializers.VellumVariableType.Raw, Vellum.VellumVariableType>;
|
|
8
8
|
export declare namespace VellumVariableType {
|
|
9
|
-
type Raw = "STRING" | "NUMBER" | "JSON" | "CHAT_HISTORY" | "SEARCH_RESULTS" | "ERROR" | "ARRAY" | "FUNCTION_CALL" | "IMAGE";
|
|
9
|
+
type Raw = "STRING" | "NUMBER" | "JSON" | "CHAT_HISTORY" | "SEARCH_RESULTS" | "ERROR" | "ARRAY" | "FUNCTION_CALL" | "IMAGE" | "NULL";
|
|
10
10
|
}
|
|
@@ -6,13 +6,19 @@ export * from "./ArrayChatMessageContentItemRequest";
|
|
|
6
6
|
export * from "./ArrayChatMessageContentRequest";
|
|
7
7
|
export * from "./ArrayEnum";
|
|
8
8
|
export * from "./ArrayVariableValueItem";
|
|
9
|
-
export * from "./BlockTypeEnum";
|
|
10
9
|
export * from "./ChatHistoryEnum";
|
|
11
10
|
export * from "./ChatHistoryInputRequest";
|
|
11
|
+
export * from "./ChatHistoryPromptTemplateBlock";
|
|
12
|
+
export * from "./ChatHistoryPromptTemplateBlockRequest";
|
|
12
13
|
export * from "./ChatHistoryVariableValue";
|
|
13
14
|
export * from "./ChatMessage";
|
|
14
15
|
export * from "./ChatMessageContent";
|
|
15
16
|
export * from "./ChatMessageContentRequest";
|
|
17
|
+
export * from "./ChatMessageEnum";
|
|
18
|
+
export * from "./ChatMessagePromptTemplateBlock";
|
|
19
|
+
export * from "./ChatMessagePromptTemplateBlockProperties";
|
|
20
|
+
export * from "./ChatMessagePromptTemplateBlockPropertiesRequest";
|
|
21
|
+
export * from "./ChatMessagePromptTemplateBlockRequest";
|
|
16
22
|
export * from "./ChatMessageRequest";
|
|
17
23
|
export * from "./ChatMessageRole";
|
|
18
24
|
export * from "./CodeExecutionNodeArrayResult";
|
|
@@ -63,6 +69,7 @@ export * from "./FulfilledExecutePromptEvent";
|
|
|
63
69
|
export * from "./FulfilledExecutePromptResponse";
|
|
64
70
|
export * from "./FulfilledExecuteWorkflowWorkflowResultEvent";
|
|
65
71
|
export * from "./FulfilledFunctionCall";
|
|
72
|
+
export * from "./FulfilledFunctionCallRequest";
|
|
66
73
|
export * from "./FulfilledPromptExecutionMeta";
|
|
67
74
|
export * from "./FulfilledWorkflowNodeResultEvent";
|
|
68
75
|
export * from "./FunctionCall";
|
|
@@ -72,6 +79,11 @@ export * from "./FunctionCallChatMessageContentValue";
|
|
|
72
79
|
export * from "./FunctionCallChatMessageContentValueRequest";
|
|
73
80
|
export * from "./FunctionCallEnum";
|
|
74
81
|
export * from "./FunctionCallVariableValue";
|
|
82
|
+
export * from "./FunctionDefinitionEnum";
|
|
83
|
+
export * from "./FunctionDefinitionPromptTemplateBlock";
|
|
84
|
+
export * from "./FunctionDefinitionPromptTemplateBlockProperties";
|
|
85
|
+
export * from "./FunctionDefinitionPromptTemplateBlockPropertiesRequest";
|
|
86
|
+
export * from "./FunctionDefinitionPromptTemplateBlockRequest";
|
|
75
87
|
export * from "./GenerateErrorResponse";
|
|
76
88
|
export * from "./GenerateOptionsRequest";
|
|
77
89
|
export * from "./GenerateRequest";
|
|
@@ -92,6 +104,11 @@ export * from "./InitiatedExecutePromptEvent";
|
|
|
92
104
|
export * from "./InitiatedPromptExecutionMeta";
|
|
93
105
|
export * from "./InitiatedWorkflowNodeResultEvent";
|
|
94
106
|
export * from "./JsonInputRequest";
|
|
107
|
+
export * from "./JinjaEnum";
|
|
108
|
+
export * from "./JinjaPromptTemplateBlock";
|
|
109
|
+
export * from "./JinjaPromptTemplateBlockProperties";
|
|
110
|
+
export * from "./JinjaPromptTemplateBlockPropertiesRequest";
|
|
111
|
+
export * from "./JinjaPromptTemplateBlockRequest";
|
|
95
112
|
export * from "./JsonEnum";
|
|
96
113
|
export * from "./JsonVariableValue";
|
|
97
114
|
export * from "./LogicalOperator";
|
|
@@ -106,10 +123,15 @@ export * from "./ModelVersionExecConfigParameters";
|
|
|
106
123
|
export * from "./ModelVersionRead";
|
|
107
124
|
export * from "./ModelVersionReadStatusEnum";
|
|
108
125
|
export * from "./ModelVersionSandboxSnapshot";
|
|
126
|
+
export * from "./NamedScenarioInputChatHistoryVariableValueRequest";
|
|
127
|
+
export * from "./NamedScenarioInputRequest";
|
|
128
|
+
export * from "./NamedScenarioInputStringVariableValueRequest";
|
|
109
129
|
export * from "./NamedTestCaseChatHistoryVariableValue";
|
|
110
130
|
export * from "./NamedTestCaseChatHistoryVariableValueRequest";
|
|
111
131
|
export * from "./NamedTestCaseErrorVariableValue";
|
|
112
132
|
export * from "./NamedTestCaseErrorVariableValueRequest";
|
|
133
|
+
export * from "./NamedTestCaseFunctionCallVariableValue";
|
|
134
|
+
export * from "./NamedTestCaseFunctionCallVariableValueRequest";
|
|
113
135
|
export * from "./NamedTestCaseJsonVariableValue";
|
|
114
136
|
export * from "./NamedTestCaseJsonVariableValueRequest";
|
|
115
137
|
export * from "./NamedTestCaseNumberVariableValue";
|
|
@@ -159,8 +181,6 @@ export * from "./PromptOutput";
|
|
|
159
181
|
export * from "./PromptTemplateBlock";
|
|
160
182
|
export * from "./PromptTemplateBlockData";
|
|
161
183
|
export * from "./PromptTemplateBlockDataRequest";
|
|
162
|
-
export * from "./PromptTemplateBlockProperties";
|
|
163
|
-
export * from "./PromptTemplateBlockPropertiesRequest";
|
|
164
184
|
export * from "./PromptTemplateBlockRequest";
|
|
165
185
|
export * from "./PromptTemplateBlockState";
|
|
166
186
|
export * from "./ProviderEnum";
|
|
@@ -184,8 +204,8 @@ export * from "./RejectedPromptExecutionMeta";
|
|
|
184
204
|
export * from "./RejectedWorkflowNodeResultEvent";
|
|
185
205
|
export * from "./SandboxScenario";
|
|
186
206
|
export * from "./ScenarioInput";
|
|
187
|
-
export * from "./
|
|
188
|
-
export * from "./
|
|
207
|
+
export * from "./ScenarioInputChatHistoryVariableValue";
|
|
208
|
+
export * from "./ScenarioInputStringVariableValue";
|
|
189
209
|
export * from "./SearchErrorResponse";
|
|
190
210
|
export * from "./SearchFiltersRequest";
|
|
191
211
|
export * from "./SearchNodeResult";
|
|
@@ -241,6 +261,7 @@ export * from "./TerminalNodeSearchResultsResult";
|
|
|
241
261
|
export * from "./TerminalNodeStringResult";
|
|
242
262
|
export * from "./TestCaseChatHistoryVariableValue";
|
|
243
263
|
export * from "./TestCaseErrorVariableValue";
|
|
264
|
+
export * from "./TestCaseFunctionCallVariableValue";
|
|
244
265
|
export * from "./TestCaseJsonVariableValue";
|
|
245
266
|
export * from "./TestCaseNumberVariableValue";
|
|
246
267
|
export * from "./TestCaseSearchResultsVariableValue";
|
|
@@ -256,6 +277,7 @@ export * from "./TestSuiteRunExecConfigRequest";
|
|
|
256
277
|
export * from "./TestSuiteRunExecution";
|
|
257
278
|
export * from "./TestSuiteRunExecutionChatHistoryOutput";
|
|
258
279
|
export * from "./TestSuiteRunExecutionErrorOutput";
|
|
280
|
+
export * from "./TestSuiteRunExecutionFunctionCallOutput";
|
|
259
281
|
export * from "./TestSuiteRunExecutionJsonOutput";
|
|
260
282
|
export * from "./TestSuiteRunExecutionMetricDefinition";
|
|
261
283
|
export * from "./TestSuiteRunExecutionMetricResult";
|
|
@@ -22,13 +22,19 @@ __exportStar(require("./ArrayChatMessageContentItemRequest"), exports);
|
|
|
22
22
|
__exportStar(require("./ArrayChatMessageContentRequest"), exports);
|
|
23
23
|
__exportStar(require("./ArrayEnum"), exports);
|
|
24
24
|
__exportStar(require("./ArrayVariableValueItem"), exports);
|
|
25
|
-
__exportStar(require("./BlockTypeEnum"), exports);
|
|
26
25
|
__exportStar(require("./ChatHistoryEnum"), exports);
|
|
27
26
|
__exportStar(require("./ChatHistoryInputRequest"), exports);
|
|
27
|
+
__exportStar(require("./ChatHistoryPromptTemplateBlock"), exports);
|
|
28
|
+
__exportStar(require("./ChatHistoryPromptTemplateBlockRequest"), exports);
|
|
28
29
|
__exportStar(require("./ChatHistoryVariableValue"), exports);
|
|
29
30
|
__exportStar(require("./ChatMessage"), exports);
|
|
30
31
|
__exportStar(require("./ChatMessageContent"), exports);
|
|
31
32
|
__exportStar(require("./ChatMessageContentRequest"), exports);
|
|
33
|
+
__exportStar(require("./ChatMessageEnum"), exports);
|
|
34
|
+
__exportStar(require("./ChatMessagePromptTemplateBlock"), exports);
|
|
35
|
+
__exportStar(require("./ChatMessagePromptTemplateBlockProperties"), exports);
|
|
36
|
+
__exportStar(require("./ChatMessagePromptTemplateBlockPropertiesRequest"), exports);
|
|
37
|
+
__exportStar(require("./ChatMessagePromptTemplateBlockRequest"), exports);
|
|
32
38
|
__exportStar(require("./ChatMessageRequest"), exports);
|
|
33
39
|
__exportStar(require("./ChatMessageRole"), exports);
|
|
34
40
|
__exportStar(require("./CodeExecutionNodeArrayResult"), exports);
|
|
@@ -79,6 +85,7 @@ __exportStar(require("./FulfilledExecutePromptEvent"), exports);
|
|
|
79
85
|
__exportStar(require("./FulfilledExecutePromptResponse"), exports);
|
|
80
86
|
__exportStar(require("./FulfilledExecuteWorkflowWorkflowResultEvent"), exports);
|
|
81
87
|
__exportStar(require("./FulfilledFunctionCall"), exports);
|
|
88
|
+
__exportStar(require("./FulfilledFunctionCallRequest"), exports);
|
|
82
89
|
__exportStar(require("./FulfilledPromptExecutionMeta"), exports);
|
|
83
90
|
__exportStar(require("./FulfilledWorkflowNodeResultEvent"), exports);
|
|
84
91
|
__exportStar(require("./FunctionCall"), exports);
|
|
@@ -88,6 +95,11 @@ __exportStar(require("./FunctionCallChatMessageContentValue"), exports);
|
|
|
88
95
|
__exportStar(require("./FunctionCallChatMessageContentValueRequest"), exports);
|
|
89
96
|
__exportStar(require("./FunctionCallEnum"), exports);
|
|
90
97
|
__exportStar(require("./FunctionCallVariableValue"), exports);
|
|
98
|
+
__exportStar(require("./FunctionDefinitionEnum"), exports);
|
|
99
|
+
__exportStar(require("./FunctionDefinitionPromptTemplateBlock"), exports);
|
|
100
|
+
__exportStar(require("./FunctionDefinitionPromptTemplateBlockProperties"), exports);
|
|
101
|
+
__exportStar(require("./FunctionDefinitionPromptTemplateBlockPropertiesRequest"), exports);
|
|
102
|
+
__exportStar(require("./FunctionDefinitionPromptTemplateBlockRequest"), exports);
|
|
91
103
|
__exportStar(require("./GenerateErrorResponse"), exports);
|
|
92
104
|
__exportStar(require("./GenerateOptionsRequest"), exports);
|
|
93
105
|
__exportStar(require("./GenerateRequest"), exports);
|
|
@@ -108,6 +120,11 @@ __exportStar(require("./InitiatedExecutePromptEvent"), exports);
|
|
|
108
120
|
__exportStar(require("./InitiatedPromptExecutionMeta"), exports);
|
|
109
121
|
__exportStar(require("./InitiatedWorkflowNodeResultEvent"), exports);
|
|
110
122
|
__exportStar(require("./JsonInputRequest"), exports);
|
|
123
|
+
__exportStar(require("./JinjaEnum"), exports);
|
|
124
|
+
__exportStar(require("./JinjaPromptTemplateBlock"), exports);
|
|
125
|
+
__exportStar(require("./JinjaPromptTemplateBlockProperties"), exports);
|
|
126
|
+
__exportStar(require("./JinjaPromptTemplateBlockPropertiesRequest"), exports);
|
|
127
|
+
__exportStar(require("./JinjaPromptTemplateBlockRequest"), exports);
|
|
111
128
|
__exportStar(require("./JsonEnum"), exports);
|
|
112
129
|
__exportStar(require("./JsonVariableValue"), exports);
|
|
113
130
|
__exportStar(require("./LogicalOperator"), exports);
|
|
@@ -122,10 +139,15 @@ __exportStar(require("./ModelVersionExecConfigParameters"), exports);
|
|
|
122
139
|
__exportStar(require("./ModelVersionRead"), exports);
|
|
123
140
|
__exportStar(require("./ModelVersionReadStatusEnum"), exports);
|
|
124
141
|
__exportStar(require("./ModelVersionSandboxSnapshot"), exports);
|
|
142
|
+
__exportStar(require("./NamedScenarioInputChatHistoryVariableValueRequest"), exports);
|
|
143
|
+
__exportStar(require("./NamedScenarioInputRequest"), exports);
|
|
144
|
+
__exportStar(require("./NamedScenarioInputStringVariableValueRequest"), exports);
|
|
125
145
|
__exportStar(require("./NamedTestCaseChatHistoryVariableValue"), exports);
|
|
126
146
|
__exportStar(require("./NamedTestCaseChatHistoryVariableValueRequest"), exports);
|
|
127
147
|
__exportStar(require("./NamedTestCaseErrorVariableValue"), exports);
|
|
128
148
|
__exportStar(require("./NamedTestCaseErrorVariableValueRequest"), exports);
|
|
149
|
+
__exportStar(require("./NamedTestCaseFunctionCallVariableValue"), exports);
|
|
150
|
+
__exportStar(require("./NamedTestCaseFunctionCallVariableValueRequest"), exports);
|
|
129
151
|
__exportStar(require("./NamedTestCaseJsonVariableValue"), exports);
|
|
130
152
|
__exportStar(require("./NamedTestCaseJsonVariableValueRequest"), exports);
|
|
131
153
|
__exportStar(require("./NamedTestCaseNumberVariableValue"), exports);
|
|
@@ -175,8 +197,6 @@ __exportStar(require("./PromptOutput"), exports);
|
|
|
175
197
|
__exportStar(require("./PromptTemplateBlock"), exports);
|
|
176
198
|
__exportStar(require("./PromptTemplateBlockData"), exports);
|
|
177
199
|
__exportStar(require("./PromptTemplateBlockDataRequest"), exports);
|
|
178
|
-
__exportStar(require("./PromptTemplateBlockProperties"), exports);
|
|
179
|
-
__exportStar(require("./PromptTemplateBlockPropertiesRequest"), exports);
|
|
180
200
|
__exportStar(require("./PromptTemplateBlockRequest"), exports);
|
|
181
201
|
__exportStar(require("./PromptTemplateBlockState"), exports);
|
|
182
202
|
__exportStar(require("./ProviderEnum"), exports);
|
|
@@ -200,8 +220,8 @@ __exportStar(require("./RejectedPromptExecutionMeta"), exports);
|
|
|
200
220
|
__exportStar(require("./RejectedWorkflowNodeResultEvent"), exports);
|
|
201
221
|
__exportStar(require("./SandboxScenario"), exports);
|
|
202
222
|
__exportStar(require("./ScenarioInput"), exports);
|
|
203
|
-
__exportStar(require("./
|
|
204
|
-
__exportStar(require("./
|
|
223
|
+
__exportStar(require("./ScenarioInputChatHistoryVariableValue"), exports);
|
|
224
|
+
__exportStar(require("./ScenarioInputStringVariableValue"), exports);
|
|
205
225
|
__exportStar(require("./SearchErrorResponse"), exports);
|
|
206
226
|
__exportStar(require("./SearchFiltersRequest"), exports);
|
|
207
227
|
__exportStar(require("./SearchNodeResult"), exports);
|
|
@@ -257,6 +277,7 @@ __exportStar(require("./TerminalNodeSearchResultsResult"), exports);
|
|
|
257
277
|
__exportStar(require("./TerminalNodeStringResult"), exports);
|
|
258
278
|
__exportStar(require("./TestCaseChatHistoryVariableValue"), exports);
|
|
259
279
|
__exportStar(require("./TestCaseErrorVariableValue"), exports);
|
|
280
|
+
__exportStar(require("./TestCaseFunctionCallVariableValue"), exports);
|
|
260
281
|
__exportStar(require("./TestCaseJsonVariableValue"), exports);
|
|
261
282
|
__exportStar(require("./TestCaseNumberVariableValue"), exports);
|
|
262
283
|
__exportStar(require("./TestCaseSearchResultsVariableValue"), exports);
|
|
@@ -272,6 +293,7 @@ __exportStar(require("./TestSuiteRunExecConfigRequest"), exports);
|
|
|
272
293
|
__exportStar(require("./TestSuiteRunExecution"), exports);
|
|
273
294
|
__exportStar(require("./TestSuiteRunExecutionChatHistoryOutput"), exports);
|
|
274
295
|
__exportStar(require("./TestSuiteRunExecutionErrorOutput"), exports);
|
|
296
|
+
__exportStar(require("./TestSuiteRunExecutionFunctionCallOutput"), exports);
|
|
275
297
|
__exportStar(require("./TestSuiteRunExecutionJsonOutput"), exports);
|
|
276
298
|
__exportStar(require("./TestSuiteRunExecutionMetricDefinition"), exports);
|
|
277
299
|
__exportStar(require("./TestSuiteRunExecutionMetricResult"), exports);
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
/**
|
|
5
|
-
* - `CHAT_MESSAGE` - CHAT_MESSAGE
|
|
6
|
-
* - `CHAT_HISTORY` - CHAT_HISTORY
|
|
7
|
-
* - `JINJA` - JINJA
|
|
8
|
-
* - `FUNCTION_DEFINITION` - FUNCTION_DEFINITION
|
|
9
|
-
*/
|
|
10
|
-
export declare type BlockTypeEnum = "CHAT_MESSAGE" | "CHAT_HISTORY" | "JINJA" | "FUNCTION_DEFINITION";
|
|
11
|
-
export declare const BlockTypeEnum: {
|
|
12
|
-
readonly ChatMessage: "CHAT_MESSAGE";
|
|
13
|
-
readonly ChatHistory: "CHAT_HISTORY";
|
|
14
|
-
readonly Jinja: "JINJA";
|
|
15
|
-
readonly FunctionDefinition: "FUNCTION_DEFINITION";
|
|
16
|
-
};
|