vellum-ai 0.9.6 → 0.9.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.mock/definition/__package__.yml +90 -88
- package/.mock/definition/adHoc.yml +7 -7
- package/.mock/openapi/openapi.yml +111 -136
- package/Client.js +10 -10
- package/api/resources/adHoc/client/Client.d.ts +1 -1
- package/api/resources/adHoc/client/Client.js +2 -2
- package/api/resources/adHoc/client/requests/{AdHocExecutePromptStreamRequest.d.ts → AdHocExecutePromptStream.d.ts} +14 -20
- package/api/resources/adHoc/client/requests/index.d.ts +1 -1
- package/api/resources/containerImages/client/Client.js +4 -4
- package/api/resources/deployments/client/Client.js +6 -6
- package/api/resources/documentIndexes/client/Client.js +8 -8
- package/api/resources/documents/client/Client.js +5 -5
- package/api/resources/folderEntities/client/Client.js +2 -2
- package/api/resources/metricDefinitions/client/Client.js +1 -1
- package/api/resources/sandboxes/client/Client.js +3 -3
- package/api/resources/testSuiteRuns/client/Client.js +3 -3
- package/api/resources/testSuites/client/Client.js +4 -4
- package/api/resources/workflowDeployments/client/Client.js +5 -5
- package/api/resources/workflowSandboxes/client/Client.js +1 -1
- package/api/resources/workflows/client/Client.js +2 -2
- package/api/resources/workspaceSecrets/client/Client.js +2 -2
- package/{dist/api/types/AdHocExpandMetaRequest.d.ts → api/types/AdHocExpandMeta.d.ts} +1 -1
- package/api/types/{PromptParametersRequest.d.ts → PromptParameters.d.ts} +1 -1
- package/api/types/{PromptRequestChatHistoryInputRequest.d.ts → PromptRequestChatHistoryInput.d.ts} +2 -2
- package/api/types/PromptRequestInput.d.ts +5 -0
- package/{dist/api/types/PromptRequestJsonInputRequest.d.ts → api/types/PromptRequestJsonInput.d.ts} +1 -1
- package/api/types/{PromptRequestStringInputRequest.d.ts → PromptRequestStringInput.d.ts} +1 -1
- package/api/types/{PromptSettingsRequest.d.ts → PromptSettings.d.ts} +1 -1
- package/api/types/index.d.ts +7 -23
- package/api/types/index.js +7 -23
- package/dist/Client.js +10 -10
- package/dist/api/resources/adHoc/client/Client.d.ts +1 -1
- package/dist/api/resources/adHoc/client/Client.js +2 -2
- package/dist/api/resources/adHoc/client/requests/{AdHocExecutePromptStreamRequest.d.ts → AdHocExecutePromptStream.d.ts} +14 -20
- package/dist/api/resources/adHoc/client/requests/index.d.ts +1 -1
- package/dist/api/resources/containerImages/client/Client.js +4 -4
- package/dist/api/resources/deployments/client/Client.js +6 -6
- package/dist/api/resources/documentIndexes/client/Client.js +8 -8
- package/dist/api/resources/documents/client/Client.js +5 -5
- package/dist/api/resources/folderEntities/client/Client.js +2 -2
- package/dist/api/resources/metricDefinitions/client/Client.js +1 -1
- package/dist/api/resources/sandboxes/client/Client.js +3 -3
- package/dist/api/resources/testSuiteRuns/client/Client.js +3 -3
- package/dist/api/resources/testSuites/client/Client.js +4 -4
- package/dist/api/resources/workflowDeployments/client/Client.js +5 -5
- package/dist/api/resources/workflowSandboxes/client/Client.js +1 -1
- package/dist/api/resources/workflows/client/Client.js +2 -2
- package/dist/api/resources/workspaceSecrets/client/Client.js +2 -2
- package/{api/types/AdHocExpandMetaRequest.d.ts → dist/api/types/AdHocExpandMeta.d.ts} +1 -1
- package/dist/api/types/{PromptParametersRequest.d.ts → PromptParameters.d.ts} +1 -1
- package/dist/api/types/{PromptRequestChatHistoryInputRequest.d.ts → PromptRequestChatHistoryInput.d.ts} +2 -2
- package/dist/api/types/PromptRequestInput.d.ts +5 -0
- package/{api/types/PromptRequestJsonInputRequest.d.ts → dist/api/types/PromptRequestJsonInput.d.ts} +1 -1
- package/dist/api/types/{PromptRequestStringInputRequest.d.ts → PromptRequestStringInput.d.ts} +1 -1
- package/dist/api/types/{PromptSettingsRequest.d.ts → PromptSettings.d.ts} +1 -1
- package/dist/api/types/index.d.ts +7 -23
- package/dist/api/types/index.js +7 -23
- package/dist/serialization/resources/adHoc/client/requests/AdHocExecutePromptStream.d.ts +23 -0
- package/{serialization/resources/adHoc/client/requests/AdHocExecutePromptStreamRequest.js → dist/serialization/resources/adHoc/client/requests/AdHocExecutePromptStream.js} +13 -14
- package/dist/serialization/resources/adHoc/client/requests/index.d.ts +1 -1
- package/dist/serialization/resources/adHoc/client/requests/index.js +3 -3
- package/dist/serialization/types/{AdHocExpandMetaRequest.d.ts → AdHocExpandMeta.d.ts} +2 -2
- package/dist/serialization/types/{AdHocExpandMetaRequest.js → AdHocExpandMeta.js} +2 -2
- package/dist/serialization/types/{PromptParametersRequest.d.ts → PromptParameters.d.ts} +2 -2
- package/dist/serialization/types/{PromptParametersRequest.js → PromptParameters.js} +2 -2
- package/dist/serialization/types/PromptRequestChatHistoryInput.d.ts +15 -0
- package/dist/serialization/types/{PromptRequestChatHistoryInputRequest.js → PromptRequestChatHistoryInput.js} +4 -4
- package/dist/serialization/types/PromptRequestInput.d.ts +13 -0
- package/dist/serialization/types/{JinjaPromptBlockPropertiesRequest.js → PromptRequestInput.js} +9 -6
- package/{serialization/types/PromptRequestJsonInputRequest.d.ts → dist/serialization/types/PromptRequestJsonInput.d.ts} +2 -2
- package/{serialization/types/PromptRequestJsonInputRequest.js → dist/serialization/types/PromptRequestJsonInput.js} +2 -2
- package/dist/serialization/types/{PromptRequestStringInputRequest.d.ts → PromptRequestStringInput.d.ts} +2 -2
- package/{serialization/types/PromptRequestStringInputRequest.js → dist/serialization/types/PromptRequestStringInput.js} +2 -2
- package/dist/serialization/types/{PromptSettingsRequest.d.ts → PromptSettings.d.ts} +2 -2
- package/dist/serialization/types/{PromptSettingsRequest.js → PromptSettings.js} +2 -2
- package/dist/serialization/types/index.d.ts +7 -23
- package/dist/serialization/types/index.js +7 -23
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/reference.md +8 -14
- package/serialization/resources/adHoc/client/requests/AdHocExecutePromptStream.d.ts +23 -0
- package/{dist/serialization/resources/adHoc/client/requests/AdHocExecutePromptStreamRequest.js → serialization/resources/adHoc/client/requests/AdHocExecutePromptStream.js} +13 -14
- package/serialization/resources/adHoc/client/requests/index.d.ts +1 -1
- package/serialization/resources/adHoc/client/requests/index.js +3 -3
- package/serialization/types/{AdHocExpandMetaRequest.d.ts → AdHocExpandMeta.d.ts} +2 -2
- package/serialization/types/{AdHocExpandMetaRequest.js → AdHocExpandMeta.js} +2 -2
- package/serialization/types/{PromptParametersRequest.d.ts → PromptParameters.d.ts} +2 -2
- package/serialization/types/{PromptParametersRequest.js → PromptParameters.js} +2 -2
- package/serialization/types/PromptRequestChatHistoryInput.d.ts +15 -0
- package/serialization/types/{PromptRequestChatHistoryInputRequest.js → PromptRequestChatHistoryInput.js} +4 -4
- package/serialization/types/PromptRequestInput.d.ts +13 -0
- package/{dist/serialization/types/EphemeralPromptCacheConfigTypeEnum.js → serialization/types/PromptRequestInput.js} +9 -2
- package/{dist/serialization/types/PromptRequestJsonInputRequest.d.ts → serialization/types/PromptRequestJsonInput.d.ts} +2 -2
- package/{dist/serialization/types/PromptRequestJsonInputRequest.js → serialization/types/PromptRequestJsonInput.js} +2 -2
- package/serialization/types/{PromptRequestStringInputRequest.d.ts → PromptRequestStringInput.d.ts} +2 -2
- package/{dist/serialization/types/PromptRequestStringInputRequest.js → serialization/types/PromptRequestStringInput.js} +2 -2
- package/serialization/types/{PromptSettingsRequest.d.ts → PromptSettings.d.ts} +2 -2
- package/serialization/types/{PromptSettingsRequest.js → PromptSettings.js} +2 -2
- package/serialization/types/index.d.ts +7 -23
- package/serialization/types/index.js +7 -23
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/api/types/ChatMessagePromptBlockPropertiesRequest.d.ts +0 -13
- package/api/types/ChatMessagePromptBlockRequest.d.ts +0 -13
- package/api/types/EphemeralPromptCacheConfigRequest.d.ts +0 -7
- package/api/types/EphemeralPromptCacheConfigTypeEnum.d.ts +0 -7
- package/api/types/FunctionDefinitionPromptBlockPropertiesRequest.d.ts +0 -15
- package/api/types/FunctionDefinitionPromptBlockRequest.d.ts +0 -13
- package/api/types/JinjaPromptBlockPropertiesRequest.d.ts +0 -8
- package/api/types/JinjaPromptBlockRequest.d.ts +0 -13
- package/api/types/PlainTextPromptBlockRequest.d.ts +0 -13
- package/api/types/PromptBlockRequest.d.ts +0 -5
- package/api/types/PromptBlockState.d.ts +0 -12
- package/api/types/PromptBlockState.js +0 -10
- package/api/types/PromptRequestInputRequest.d.ts +0 -5
- package/api/types/PromptRequestStringInputRequest.js +0 -5
- package/api/types/PromptSettingsRequest.js +0 -5
- package/api/types/RichTextChildBlockRequest.d.ts +0 -5
- package/api/types/RichTextChildBlockRequest.js +0 -5
- package/api/types/RichTextPromptBlockRequest.d.ts +0 -14
- package/api/types/RichTextPromptBlockRequest.js +0 -5
- package/api/types/VariablePromptBlockRequest.d.ts +0 -13
- package/api/types/VariablePromptBlockRequest.js +0 -5
- package/api/types/VellumVariableExtensionsRequest.d.ts +0 -9
- package/api/types/VellumVariableExtensionsRequest.js +0 -5
- package/api/types/VellumVariableRequest.d.ts +0 -12
- package/api/types/VellumVariableRequest.js +0 -5
- package/dist/api/resources/adHoc/client/requests/AdHocExecutePromptStreamRequest.js +0 -5
- package/dist/api/types/AdHocExpandMetaRequest.js +0 -5
- package/dist/api/types/ChatMessagePromptBlockPropertiesRequest.d.ts +0 -13
- package/dist/api/types/ChatMessagePromptBlockPropertiesRequest.js +0 -5
- package/dist/api/types/ChatMessagePromptBlockRequest.d.ts +0 -13
- package/dist/api/types/ChatMessagePromptBlockRequest.js +0 -5
- package/dist/api/types/EphemeralPromptCacheConfigRequest.d.ts +0 -7
- package/dist/api/types/EphemeralPromptCacheConfigRequest.js +0 -5
- package/dist/api/types/EphemeralPromptCacheConfigTypeEnum.d.ts +0 -7
- package/dist/api/types/EphemeralPromptCacheConfigTypeEnum.js +0 -5
- package/dist/api/types/FunctionDefinitionPromptBlockPropertiesRequest.d.ts +0 -15
- package/dist/api/types/FunctionDefinitionPromptBlockPropertiesRequest.js +0 -5
- package/dist/api/types/FunctionDefinitionPromptBlockRequest.d.ts +0 -13
- package/dist/api/types/FunctionDefinitionPromptBlockRequest.js +0 -5
- package/dist/api/types/JinjaPromptBlockPropertiesRequest.d.ts +0 -8
- package/dist/api/types/JinjaPromptBlockPropertiesRequest.js +0 -5
- package/dist/api/types/JinjaPromptBlockRequest.d.ts +0 -13
- package/dist/api/types/JinjaPromptBlockRequest.js +0 -5
- package/dist/api/types/PlainTextPromptBlockRequest.d.ts +0 -13
- package/dist/api/types/PlainTextPromptBlockRequest.js +0 -5
- package/dist/api/types/PromptBlockRequest.d.ts +0 -5
- package/dist/api/types/PromptBlockRequest.js +0 -5
- package/dist/api/types/PromptBlockState.d.ts +0 -12
- package/dist/api/types/PromptBlockState.js +0 -10
- package/dist/api/types/PromptParametersRequest.js +0 -5
- package/dist/api/types/PromptRequestChatHistoryInputRequest.js +0 -5
- package/dist/api/types/PromptRequestInputRequest.d.ts +0 -5
- package/dist/api/types/PromptRequestInputRequest.js +0 -5
- package/dist/api/types/PromptRequestJsonInputRequest.js +0 -5
- package/dist/api/types/PromptRequestStringInputRequest.js +0 -5
- package/dist/api/types/PromptSettingsRequest.js +0 -5
- package/dist/api/types/RichTextChildBlockRequest.d.ts +0 -5
- package/dist/api/types/RichTextChildBlockRequest.js +0 -5
- package/dist/api/types/RichTextPromptBlockRequest.d.ts +0 -14
- package/dist/api/types/RichTextPromptBlockRequest.js +0 -5
- package/dist/api/types/VariablePromptBlockRequest.d.ts +0 -13
- package/dist/api/types/VariablePromptBlockRequest.js +0 -5
- package/dist/api/types/VellumVariableExtensionsRequest.d.ts +0 -9
- package/dist/api/types/VellumVariableExtensionsRequest.js +0 -5
- package/dist/api/types/VellumVariableRequest.d.ts +0 -12
- package/dist/api/types/VellumVariableRequest.js +0 -5
- package/dist/serialization/resources/adHoc/client/requests/AdHocExecutePromptStreamRequest.d.ts +0 -23
- package/dist/serialization/types/ChatMessagePromptBlockPropertiesRequest.d.ts +0 -16
- package/dist/serialization/types/ChatMessagePromptBlockPropertiesRequest.js +0 -38
- package/dist/serialization/types/ChatMessagePromptBlockRequest.d.ts +0 -17
- package/dist/serialization/types/ChatMessagePromptBlockRequest.js +0 -39
- package/dist/serialization/types/EphemeralPromptCacheConfigRequest.d.ts +0 -13
- package/dist/serialization/types/EphemeralPromptCacheConfigRequest.js +0 -34
- package/dist/serialization/types/EphemeralPromptCacheConfigTypeEnum.d.ts +0 -10
- package/dist/serialization/types/FunctionDefinitionPromptBlockPropertiesRequest.d.ts +0 -16
- package/dist/serialization/types/FunctionDefinitionPromptBlockPropertiesRequest.js +0 -37
- package/dist/serialization/types/FunctionDefinitionPromptBlockRequest.d.ts +0 -18
- package/dist/serialization/types/FunctionDefinitionPromptBlockRequest.js +0 -39
- package/dist/serialization/types/JinjaPromptBlockPropertiesRequest.d.ts +0 -14
- package/dist/serialization/types/JinjaPromptBlockRequest.d.ts +0 -18
- package/dist/serialization/types/JinjaPromptBlockRequest.js +0 -39
- package/dist/serialization/types/PlainTextPromptBlockRequest.d.ts +0 -17
- package/dist/serialization/types/PlainTextPromptBlockRequest.js +0 -38
- package/dist/serialization/types/PromptBlockRequest.d.ts +0 -14
- package/dist/serialization/types/PromptBlockRequest.js +0 -42
- package/dist/serialization/types/PromptBlockState.d.ts +0 -10
- package/dist/serialization/types/PromptBlockState.js +0 -31
- package/dist/serialization/types/PromptRequestChatHistoryInputRequest.d.ts +0 -15
- package/dist/serialization/types/PromptRequestInputRequest.d.ts +0 -13
- package/dist/serialization/types/PromptRequestInputRequest.js +0 -38
- package/dist/serialization/types/RichTextChildBlockRequest.d.ts +0 -12
- package/dist/serialization/types/RichTextChildBlockRequest.js +0 -33
- package/dist/serialization/types/RichTextPromptBlockRequest.d.ts +0 -19
- package/dist/serialization/types/RichTextPromptBlockRequest.js +0 -40
- package/dist/serialization/types/VariablePromptBlockRequest.d.ts +0 -17
- package/dist/serialization/types/VariablePromptBlockRequest.js +0 -38
- package/dist/serialization/types/VellumVariableExtensionsRequest.d.ts +0 -12
- package/dist/serialization/types/VellumVariableExtensionsRequest.js +0 -33
- package/dist/serialization/types/VellumVariableRequest.d.ts +0 -19
- package/dist/serialization/types/VellumVariableRequest.js +0 -41
- package/serialization/resources/adHoc/client/requests/AdHocExecutePromptStreamRequest.d.ts +0 -23
- package/serialization/types/ChatMessagePromptBlockPropertiesRequest.d.ts +0 -16
- package/serialization/types/ChatMessagePromptBlockPropertiesRequest.js +0 -38
- package/serialization/types/ChatMessagePromptBlockRequest.d.ts +0 -17
- package/serialization/types/ChatMessagePromptBlockRequest.js +0 -39
- package/serialization/types/EphemeralPromptCacheConfigRequest.d.ts +0 -13
- package/serialization/types/EphemeralPromptCacheConfigRequest.js +0 -34
- package/serialization/types/EphemeralPromptCacheConfigTypeEnum.d.ts +0 -10
- package/serialization/types/EphemeralPromptCacheConfigTypeEnum.js +0 -31
- package/serialization/types/FunctionDefinitionPromptBlockPropertiesRequest.d.ts +0 -16
- package/serialization/types/FunctionDefinitionPromptBlockPropertiesRequest.js +0 -37
- package/serialization/types/FunctionDefinitionPromptBlockRequest.d.ts +0 -18
- package/serialization/types/FunctionDefinitionPromptBlockRequest.js +0 -39
- package/serialization/types/JinjaPromptBlockPropertiesRequest.d.ts +0 -14
- package/serialization/types/JinjaPromptBlockPropertiesRequest.js +0 -35
- package/serialization/types/JinjaPromptBlockRequest.d.ts +0 -18
- package/serialization/types/JinjaPromptBlockRequest.js +0 -39
- package/serialization/types/PlainTextPromptBlockRequest.d.ts +0 -17
- package/serialization/types/PlainTextPromptBlockRequest.js +0 -38
- package/serialization/types/PromptBlockRequest.d.ts +0 -14
- package/serialization/types/PromptBlockRequest.js +0 -42
- package/serialization/types/PromptBlockState.d.ts +0 -10
- package/serialization/types/PromptBlockState.js +0 -31
- package/serialization/types/PromptRequestChatHistoryInputRequest.d.ts +0 -15
- package/serialization/types/PromptRequestInputRequest.d.ts +0 -13
- package/serialization/types/PromptRequestInputRequest.js +0 -38
- package/serialization/types/RichTextChildBlockRequest.d.ts +0 -12
- package/serialization/types/RichTextChildBlockRequest.js +0 -33
- package/serialization/types/RichTextPromptBlockRequest.d.ts +0 -19
- package/serialization/types/RichTextPromptBlockRequest.js +0 -40
- package/serialization/types/VariablePromptBlockRequest.d.ts +0 -17
- package/serialization/types/VariablePromptBlockRequest.js +0 -38
- package/serialization/types/VellumVariableExtensionsRequest.d.ts +0 -12
- package/serialization/types/VellumVariableExtensionsRequest.js +0 -33
- package/serialization/types/VellumVariableRequest.d.ts +0 -19
- package/serialization/types/VellumVariableRequest.js +0 -41
- /package/api/resources/adHoc/client/requests/{AdHocExecutePromptStreamRequest.js → AdHocExecutePromptStream.js} +0 -0
- /package/api/types/{AdHocExpandMetaRequest.js → AdHocExpandMeta.js} +0 -0
- /package/api/types/{ChatMessagePromptBlockPropertiesRequest.js → PromptParameters.js} +0 -0
- /package/api/types/{ChatMessagePromptBlockRequest.js → PromptRequestChatHistoryInput.js} +0 -0
- /package/api/types/{EphemeralPromptCacheConfigRequest.js → PromptRequestInput.js} +0 -0
- /package/api/types/{EphemeralPromptCacheConfigTypeEnum.js → PromptRequestJsonInput.js} +0 -0
- /package/api/types/{FunctionDefinitionPromptBlockPropertiesRequest.js → PromptRequestStringInput.js} +0 -0
- /package/api/types/{FunctionDefinitionPromptBlockRequest.js → PromptSettings.js} +0 -0
- /package/{api/types/JinjaPromptBlockPropertiesRequest.js → dist/api/resources/adHoc/client/requests/AdHocExecutePromptStream.js} +0 -0
- /package/{api/types/JinjaPromptBlockRequest.js → dist/api/types/AdHocExpandMeta.js} +0 -0
- /package/{api/types/PlainTextPromptBlockRequest.js → dist/api/types/PromptParameters.js} +0 -0
- /package/{api/types/PromptBlockRequest.js → dist/api/types/PromptRequestChatHistoryInput.js} +0 -0
- /package/{api/types/PromptParametersRequest.js → dist/api/types/PromptRequestInput.js} +0 -0
- /package/{api/types/PromptRequestChatHistoryInputRequest.js → dist/api/types/PromptRequestJsonInput.js} +0 -0
- /package/{api/types/PromptRequestInputRequest.js → dist/api/types/PromptRequestStringInput.js} +0 -0
- /package/{api/types/PromptRequestJsonInputRequest.js → dist/api/types/PromptSettings.js} +0 -0
|
@@ -682,7 +682,7 @@ types:
|
|
|
682
682
|
- RejectedAdHocExecutePromptEvent
|
|
683
683
|
source:
|
|
684
684
|
openapi: openapi/openapi.yml
|
|
685
|
-
|
|
685
|
+
AdHocExpandMeta:
|
|
686
686
|
properties:
|
|
687
687
|
cost:
|
|
688
688
|
type: optional<boolean>
|
|
@@ -986,10 +986,19 @@ types:
|
|
|
986
986
|
source:
|
|
987
987
|
openapi: openapi/openapi.yml
|
|
988
988
|
ChatMessageEnum: literal<"CHAT_MESSAGE">
|
|
989
|
-
|
|
989
|
+
ChatMessagePromptBlock:
|
|
990
|
+
docs: A block that represents a chat message in a prompt template.
|
|
991
|
+
properties:
|
|
992
|
+
state: optional<PromptBlockState>
|
|
993
|
+
cache_config: optional<EphemeralPromptCacheConfig>
|
|
994
|
+
block_type: literal<"CHAT_MESSAGE">
|
|
995
|
+
properties: ChatMessagePromptBlockProperties
|
|
996
|
+
source:
|
|
997
|
+
openapi: openapi/openapi.yml
|
|
998
|
+
ChatMessagePromptBlockProperties:
|
|
990
999
|
docs: The properties of a ChatMessagePromptTemplateBlock
|
|
991
1000
|
properties:
|
|
992
|
-
blocks: list<
|
|
1001
|
+
blocks: list<unknown>
|
|
993
1002
|
chat_role: optional<ChatMessageRole>
|
|
994
1003
|
chat_source:
|
|
995
1004
|
type: optional<string>
|
|
@@ -1000,15 +1009,6 @@ types:
|
|
|
1000
1009
|
default: false
|
|
1001
1010
|
source:
|
|
1002
1011
|
openapi: openapi/openapi.yml
|
|
1003
|
-
ChatMessagePromptBlockRequest:
|
|
1004
|
-
docs: A block that represents a chat message in a prompt template.
|
|
1005
|
-
properties:
|
|
1006
|
-
state: optional<PromptBlockState>
|
|
1007
|
-
cache_config: optional<EphemeralPromptCacheConfigRequest>
|
|
1008
|
-
block_type: literal<"CHAT_MESSAGE">
|
|
1009
|
-
properties: ChatMessagePromptBlockPropertiesRequest
|
|
1010
|
-
source:
|
|
1011
|
-
openapi: openapi/openapi.yml
|
|
1012
1012
|
ChatMessageRequest:
|
|
1013
1013
|
properties:
|
|
1014
1014
|
text: optional<string>
|
|
@@ -1589,7 +1589,7 @@ types:
|
|
|
1589
1589
|
* `PRODUCTION` - Production
|
|
1590
1590
|
source:
|
|
1591
1591
|
openapi: openapi/openapi.yml
|
|
1592
|
-
|
|
1592
|
+
EphemeralPromptCacheConfig:
|
|
1593
1593
|
properties:
|
|
1594
1594
|
type: optional<EphemeralPromptCacheConfigTypeEnum>
|
|
1595
1595
|
source:
|
|
@@ -2026,8 +2026,14 @@ types:
|
|
|
2026
2026
|
docs: The final resolved function call value.
|
|
2027
2027
|
properties:
|
|
2028
2028
|
arguments: map<string, unknown>
|
|
2029
|
-
id:
|
|
2030
|
-
|
|
2029
|
+
id:
|
|
2030
|
+
type: optional<string>
|
|
2031
|
+
validation:
|
|
2032
|
+
minLength: 1
|
|
2033
|
+
name:
|
|
2034
|
+
type: string
|
|
2035
|
+
validation:
|
|
2036
|
+
minLength: 1
|
|
2031
2037
|
state: optional<FulfilledEnum>
|
|
2032
2038
|
source:
|
|
2033
2039
|
openapi: openapi/openapi.yml
|
|
@@ -2048,9 +2054,15 @@ types:
|
|
|
2048
2054
|
FunctionCallChatMessageContentValue:
|
|
2049
2055
|
docs: The final resolved function call value.
|
|
2050
2056
|
properties:
|
|
2051
|
-
name:
|
|
2057
|
+
name:
|
|
2058
|
+
type: string
|
|
2059
|
+
validation:
|
|
2060
|
+
minLength: 1
|
|
2052
2061
|
arguments: map<string, unknown>
|
|
2053
|
-
id:
|
|
2062
|
+
id:
|
|
2063
|
+
type: optional<string>
|
|
2064
|
+
validation:
|
|
2065
|
+
minLength: 1
|
|
2054
2066
|
source:
|
|
2055
2067
|
openapi: openapi/openapi.yml
|
|
2056
2068
|
FunctionCallChatMessageContentValueRequest:
|
|
@@ -2116,7 +2128,16 @@ types:
|
|
|
2116
2128
|
source:
|
|
2117
2129
|
openapi: openapi/openapi.yml
|
|
2118
2130
|
FunctionDefinitionEnum: literal<"FUNCTION_DEFINITION">
|
|
2119
|
-
|
|
2131
|
+
FunctionDefinitionPromptBlock:
|
|
2132
|
+
docs: A block that represents a function definition in a prompt template.
|
|
2133
|
+
properties:
|
|
2134
|
+
state: optional<PromptBlockState>
|
|
2135
|
+
cache_config: optional<EphemeralPromptCacheConfig>
|
|
2136
|
+
block_type: literal<"FUNCTION_DEFINITION">
|
|
2137
|
+
properties: FunctionDefinitionPromptBlockProperties
|
|
2138
|
+
source:
|
|
2139
|
+
openapi: openapi/openapi.yml
|
|
2140
|
+
FunctionDefinitionPromptBlockProperties:
|
|
2120
2141
|
properties:
|
|
2121
2142
|
function_name:
|
|
2122
2143
|
type: optional<string>
|
|
@@ -2141,15 +2162,6 @@ types:
|
|
|
2141
2162
|
docs: Set this option to use strict schema decoding when available.
|
|
2142
2163
|
source:
|
|
2143
2164
|
openapi: openapi/openapi.yml
|
|
2144
|
-
FunctionDefinitionPromptBlockRequest:
|
|
2145
|
-
docs: A block that represents a function definition in a prompt template.
|
|
2146
|
-
properties:
|
|
2147
|
-
state: optional<PromptBlockState>
|
|
2148
|
-
cache_config: optional<EphemeralPromptCacheConfigRequest>
|
|
2149
|
-
block_type: literal<"FUNCTION_DEFINITION">
|
|
2150
|
-
properties: FunctionDefinitionPromptBlockPropertiesRequest
|
|
2151
|
-
source:
|
|
2152
|
-
openapi: openapi/openapi.yml
|
|
2153
2165
|
GenerateErrorResponse:
|
|
2154
2166
|
properties:
|
|
2155
2167
|
detail:
|
|
@@ -2469,19 +2481,19 @@ types:
|
|
|
2469
2481
|
source:
|
|
2470
2482
|
openapi: openapi/openapi.yml
|
|
2471
2483
|
JinjaEnum: literal<"JINJA">
|
|
2472
|
-
|
|
2473
|
-
properties:
|
|
2474
|
-
template: optional<string>
|
|
2475
|
-
template_type: optional<VellumVariableType>
|
|
2476
|
-
source:
|
|
2477
|
-
openapi: openapi/openapi.yml
|
|
2478
|
-
JinjaPromptBlockRequest:
|
|
2484
|
+
JinjaPromptBlock:
|
|
2479
2485
|
docs: A block of Jinja template code that is used to generate a prompt
|
|
2480
2486
|
properties:
|
|
2481
2487
|
state: optional<PromptBlockState>
|
|
2482
|
-
cache_config: optional<
|
|
2488
|
+
cache_config: optional<EphemeralPromptCacheConfig>
|
|
2483
2489
|
block_type: literal<"JINJA">
|
|
2484
|
-
properties:
|
|
2490
|
+
properties: JinjaPromptBlockProperties
|
|
2491
|
+
source:
|
|
2492
|
+
openapi: openapi/openapi.yml
|
|
2493
|
+
JinjaPromptBlockProperties:
|
|
2494
|
+
properties:
|
|
2495
|
+
template: optional<string>
|
|
2496
|
+
template_type: optional<VellumVariableType>
|
|
2485
2497
|
source:
|
|
2486
2498
|
openapi: openapi/openapi.yml
|
|
2487
2499
|
JsonEnum: literal<"JSON">
|
|
@@ -3363,11 +3375,11 @@ types:
|
|
|
3363
3375
|
source:
|
|
3364
3376
|
openapi: openapi/openapi.yml
|
|
3365
3377
|
PlainTextEnum: literal<"PLAIN_TEXT">
|
|
3366
|
-
|
|
3378
|
+
PlainTextPromptBlock:
|
|
3367
3379
|
docs: A block that holds a plain text string value.
|
|
3368
3380
|
properties:
|
|
3369
3381
|
state: optional<PromptBlockState>
|
|
3370
|
-
cache_config: optional<
|
|
3382
|
+
cache_config: optional<EphemeralPromptCacheConfig>
|
|
3371
3383
|
block_type: literal<"PLAIN_TEXT">
|
|
3372
3384
|
text: string
|
|
3373
3385
|
source:
|
|
@@ -3403,11 +3415,11 @@ types:
|
|
|
3403
3415
|
PromptBlockRequest:
|
|
3404
3416
|
discriminated: false
|
|
3405
3417
|
union:
|
|
3406
|
-
-
|
|
3407
|
-
-
|
|
3408
|
-
-
|
|
3409
|
-
-
|
|
3410
|
-
-
|
|
3418
|
+
- JinjaPromptBlock
|
|
3419
|
+
- ChatMessagePromptBlock
|
|
3420
|
+
- FunctionDefinitionPromptBlock
|
|
3421
|
+
- VariablePromptBlock
|
|
3422
|
+
- RichTextPromptBlock
|
|
3411
3423
|
source:
|
|
3412
3424
|
openapi: openapi/openapi.yml
|
|
3413
3425
|
PromptBlockState:
|
|
@@ -3514,7 +3526,7 @@ types:
|
|
|
3514
3526
|
- FunctionCallVellumValue
|
|
3515
3527
|
source:
|
|
3516
3528
|
openapi: openapi/openapi.yml
|
|
3517
|
-
|
|
3529
|
+
PromptParameters:
|
|
3518
3530
|
properties:
|
|
3519
3531
|
stop: optional<list<string>>
|
|
3520
3532
|
temperature: optional<double>
|
|
@@ -3527,7 +3539,7 @@ types:
|
|
|
3527
3539
|
custom_parameters: optional<map<string, unknown>>
|
|
3528
3540
|
source:
|
|
3529
3541
|
openapi: openapi/openapi.yml
|
|
3530
|
-
|
|
3542
|
+
PromptRequestChatHistoryInput:
|
|
3531
3543
|
properties:
|
|
3532
3544
|
key:
|
|
3533
3545
|
type: string
|
|
@@ -3535,18 +3547,18 @@ types:
|
|
|
3535
3547
|
validation:
|
|
3536
3548
|
minLength: 1
|
|
3537
3549
|
type: literal<"CHAT_HISTORY">
|
|
3538
|
-
value: list<
|
|
3550
|
+
value: list<ChatMessage>
|
|
3539
3551
|
source:
|
|
3540
3552
|
openapi: openapi/openapi.yml
|
|
3541
|
-
|
|
3553
|
+
PromptRequestInput:
|
|
3542
3554
|
discriminated: false
|
|
3543
3555
|
union:
|
|
3544
|
-
-
|
|
3545
|
-
-
|
|
3546
|
-
-
|
|
3556
|
+
- PromptRequestStringInput
|
|
3557
|
+
- PromptRequestJsonInput
|
|
3558
|
+
- PromptRequestChatHistoryInput
|
|
3547
3559
|
source:
|
|
3548
3560
|
openapi: openapi/openapi.yml
|
|
3549
|
-
|
|
3561
|
+
PromptRequestJsonInput:
|
|
3550
3562
|
properties:
|
|
3551
3563
|
key:
|
|
3552
3564
|
type: string
|
|
@@ -3557,7 +3569,7 @@ types:
|
|
|
3557
3569
|
value: map<string, unknown>
|
|
3558
3570
|
source:
|
|
3559
3571
|
openapi: openapi/openapi.yml
|
|
3560
|
-
|
|
3572
|
+
PromptRequestStringInput:
|
|
3561
3573
|
properties:
|
|
3562
3574
|
key:
|
|
3563
3575
|
type: string
|
|
@@ -3568,7 +3580,7 @@ types:
|
|
|
3568
3580
|
value: string
|
|
3569
3581
|
source:
|
|
3570
3582
|
openapi: openapi/openapi.yml
|
|
3571
|
-
|
|
3583
|
+
PromptSettings:
|
|
3572
3584
|
properties:
|
|
3573
3585
|
timeout: optional<double>
|
|
3574
3586
|
source:
|
|
@@ -3730,25 +3742,21 @@ types:
|
|
|
3730
3742
|
source:
|
|
3731
3743
|
openapi: openapi/openapi.yml
|
|
3732
3744
|
ReplacedEnum: literal<"REPLACED">
|
|
3733
|
-
|
|
3745
|
+
RichTextChildBlock:
|
|
3734
3746
|
discriminated: false
|
|
3735
3747
|
union:
|
|
3736
|
-
-
|
|
3737
|
-
-
|
|
3748
|
+
- VariablePromptBlock
|
|
3749
|
+
- PlainTextPromptBlock
|
|
3738
3750
|
source:
|
|
3739
3751
|
openapi: openapi/openapi.yml
|
|
3740
3752
|
RichTextEnum: literal<"RICH_TEXT">
|
|
3741
|
-
|
|
3753
|
+
RichTextPromptBlock:
|
|
3742
3754
|
docs: A block that includes a combination of plain text and variable blocks.
|
|
3743
3755
|
properties:
|
|
3744
|
-
block_type: literal<"RICH_TEXT">
|
|
3745
|
-
blocks: list<RichTextChildBlockRequest>
|
|
3746
|
-
id:
|
|
3747
|
-
type: string
|
|
3748
|
-
validation:
|
|
3749
|
-
minLength: 1
|
|
3750
3756
|
state: optional<PromptBlockState>
|
|
3751
|
-
cache_config: optional<
|
|
3757
|
+
cache_config: optional<EphemeralPromptCacheConfig>
|
|
3758
|
+
block_type: literal<"RICH_TEXT">
|
|
3759
|
+
blocks: list<RichTextChildBlock>
|
|
3752
3760
|
source:
|
|
3753
3761
|
openapi: openapi/openapi.yml
|
|
3754
3762
|
SandboxScenario:
|
|
@@ -3890,6 +3898,7 @@ types:
|
|
|
3890
3898
|
type: string
|
|
3891
3899
|
docs: The human-readable name for the document.
|
|
3892
3900
|
validation:
|
|
3901
|
+
minLength: 1
|
|
3893
3902
|
maxLength: 1000
|
|
3894
3903
|
external_id:
|
|
3895
3904
|
type: optional<string>
|
|
@@ -3897,6 +3906,7 @@ types:
|
|
|
3897
3906
|
The unique ID of the document as represented in an external system and
|
|
3898
3907
|
specified when it was originally uploaded.
|
|
3899
3908
|
validation:
|
|
3909
|
+
minLength: 1
|
|
3900
3910
|
maxLength: 1000
|
|
3901
3911
|
metadata:
|
|
3902
3912
|
type: optional<map<string, unknown>>
|
|
@@ -5413,11 +5423,11 @@ types:
|
|
|
5413
5423
|
source:
|
|
5414
5424
|
openapi: openapi/openapi.yml
|
|
5415
5425
|
VariableEnum: literal<"VARIABLE">
|
|
5416
|
-
|
|
5426
|
+
VariablePromptBlock:
|
|
5417
5427
|
docs: A block that represents a variable in a prompt template.
|
|
5418
5428
|
properties:
|
|
5419
5429
|
state: optional<PromptBlockState>
|
|
5420
|
-
cache_config: optional<
|
|
5430
|
+
cache_config: optional<EphemeralPromptCacheConfig>
|
|
5421
5431
|
block_type: literal<"VARIABLE">
|
|
5422
5432
|
input_variable_id:
|
|
5423
5433
|
type: string
|
|
@@ -5430,6 +5440,8 @@ types:
|
|
|
5430
5440
|
src:
|
|
5431
5441
|
type: string
|
|
5432
5442
|
docs: A valid data URL containing the audio data.
|
|
5443
|
+
validation:
|
|
5444
|
+
minLength: 1
|
|
5433
5445
|
metadata: optional<map<string, unknown>>
|
|
5434
5446
|
source:
|
|
5435
5447
|
openapi: openapi/openapi.yml
|
|
@@ -5445,7 +5457,10 @@ types:
|
|
|
5445
5457
|
openapi: openapi/openapi.yml
|
|
5446
5458
|
VellumError:
|
|
5447
5459
|
properties:
|
|
5448
|
-
message:
|
|
5460
|
+
message:
|
|
5461
|
+
type: string
|
|
5462
|
+
validation:
|
|
5463
|
+
minLength: 1
|
|
5449
5464
|
code: VellumErrorCodeEnum
|
|
5450
5465
|
source:
|
|
5451
5466
|
openapi: openapi/openapi.yml
|
|
@@ -5475,7 +5490,10 @@ types:
|
|
|
5475
5490
|
openapi: openapi/openapi.yml
|
|
5476
5491
|
VellumImage:
|
|
5477
5492
|
properties:
|
|
5478
|
-
src:
|
|
5493
|
+
src:
|
|
5494
|
+
type: string
|
|
5495
|
+
validation:
|
|
5496
|
+
minLength: 1
|
|
5479
5497
|
metadata: optional<map<string, unknown>>
|
|
5480
5498
|
source:
|
|
5481
5499
|
openapi: openapi/openapi.yml
|
|
@@ -5547,7 +5565,10 @@ types:
|
|
|
5547
5565
|
openapi: openapi/openapi.yml
|
|
5548
5566
|
VellumVariable:
|
|
5549
5567
|
properties:
|
|
5550
|
-
id:
|
|
5568
|
+
id:
|
|
5569
|
+
type: string
|
|
5570
|
+
validation:
|
|
5571
|
+
minLength: 1
|
|
5551
5572
|
key: string
|
|
5552
5573
|
type: VellumVariableType
|
|
5553
5574
|
required: optional<boolean>
|
|
@@ -5556,12 +5577,6 @@ types:
|
|
|
5556
5577
|
source:
|
|
5557
5578
|
openapi: openapi/openapi.yml
|
|
5558
5579
|
VellumVariableExtensions:
|
|
5559
|
-
docs: A set of fields with additional properties for use in Vellum Variables.
|
|
5560
|
-
properties:
|
|
5561
|
-
color: optional<string>
|
|
5562
|
-
source:
|
|
5563
|
-
openapi: openapi/openapi.yml
|
|
5564
|
-
VellumVariableExtensionsRequest:
|
|
5565
5580
|
docs: A set of fields with additional properties for use in Vellum Variables.
|
|
5566
5581
|
properties:
|
|
5567
5582
|
color:
|
|
@@ -5570,19 +5585,6 @@ types:
|
|
|
5570
5585
|
minLength: 1
|
|
5571
5586
|
source:
|
|
5572
5587
|
openapi: openapi/openapi.yml
|
|
5573
|
-
VellumVariableRequest:
|
|
5574
|
-
properties:
|
|
5575
|
-
id:
|
|
5576
|
-
type: string
|
|
5577
|
-
validation:
|
|
5578
|
-
minLength: 1
|
|
5579
|
-
key: string
|
|
5580
|
-
type: VellumVariableType
|
|
5581
|
-
required: optional<boolean>
|
|
5582
|
-
default: optional<VellumValueRequest>
|
|
5583
|
-
extensions: optional<VellumVariableExtensionsRequest>
|
|
5584
|
-
source:
|
|
5585
|
-
openapi: openapi/openapi.yml
|
|
5586
5588
|
VellumVariableType:
|
|
5587
5589
|
enum:
|
|
5588
5590
|
- STRING
|
|
@@ -12,19 +12,19 @@ service:
|
|
|
12
12
|
An internal-only endpoint that's subject to breaking changes without
|
|
13
13
|
notice. Not intended for public use.
|
|
14
14
|
request:
|
|
15
|
-
name:
|
|
15
|
+
name: AdHocExecutePromptStream
|
|
16
16
|
body:
|
|
17
17
|
properties:
|
|
18
18
|
ml_model:
|
|
19
19
|
type: string
|
|
20
20
|
validation:
|
|
21
21
|
minLength: 1
|
|
22
|
-
input_values: list<root.
|
|
23
|
-
input_variables: list<root.
|
|
24
|
-
parameters: root.
|
|
25
|
-
settings: optional<root.
|
|
26
|
-
blocks: list<
|
|
27
|
-
expand_meta: optional<root.
|
|
22
|
+
input_values: list<root.PromptRequestInput>
|
|
23
|
+
input_variables: list<root.VellumVariable>
|
|
24
|
+
parameters: root.PromptParameters
|
|
25
|
+
settings: optional<root.PromptSettings>
|
|
26
|
+
blocks: list<unknown>
|
|
27
|
+
expand_meta: optional<root.AdHocExpandMeta>
|
|
28
28
|
response-stream:
|
|
29
29
|
docs: ''
|
|
30
30
|
type: root.AdHocExecutePromptEvent
|