vellum-ai 0.9.5 → 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 +92 -110
- package/.mock/definition/adHoc.yml +7 -7
- package/.mock/openapi/openapi.yml +120 -165
- 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 -21
- 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 -21
- 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 -15
- 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 -14
- 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 -14
- package/api/types/JinjaPromptBlockPropertiesRequest.d.ts +0 -8
- package/api/types/JinjaPromptBlockRequest.d.ts +0 -14
- package/api/types/PlainTextPromptBlockRequest.d.ts +0 -14
- 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 -14
- 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 -14
- 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 -14
- 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 -14
- package/dist/api/types/JinjaPromptBlockRequest.js +0 -5
- package/dist/api/types/PlainTextPromptBlockRequest.d.ts +0 -14
- 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 -14
- 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 -18
- package/dist/serialization/types/ChatMessagePromptBlockRequest.js +0 -40
- 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 -19
- package/dist/serialization/types/FunctionDefinitionPromptBlockRequest.js +0 -40
- package/dist/serialization/types/JinjaPromptBlockPropertiesRequest.d.ts +0 -14
- package/dist/serialization/types/JinjaPromptBlockRequest.d.ts +0 -19
- package/dist/serialization/types/JinjaPromptBlockRequest.js +0 -40
- package/dist/serialization/types/PlainTextPromptBlockRequest.d.ts +0 -18
- package/dist/serialization/types/PlainTextPromptBlockRequest.js +0 -39
- 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 -18
- package/dist/serialization/types/VariablePromptBlockRequest.js +0 -39
- 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 -18
- package/serialization/types/ChatMessagePromptBlockRequest.js +0 -40
- 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 -19
- package/serialization/types/FunctionDefinitionPromptBlockRequest.js +0 -40
- package/serialization/types/JinjaPromptBlockPropertiesRequest.d.ts +0 -14
- package/serialization/types/JinjaPromptBlockPropertiesRequest.js +0 -35
- package/serialization/types/JinjaPromptBlockRequest.d.ts +0 -19
- package/serialization/types/JinjaPromptBlockRequest.js +0 -40
- package/serialization/types/PlainTextPromptBlockRequest.d.ts +0 -18
- package/serialization/types/PlainTextPromptBlockRequest.js +0 -39
- 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 -18
- package/serialization/types/VariablePromptBlockRequest.js +0 -39
- 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,19 +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
|
-
block_type: literal<"CHAT_MESSAGE">
|
|
1007
|
-
properties: ChatMessagePromptBlockPropertiesRequest
|
|
1008
|
-
id:
|
|
1009
|
-
type: string
|
|
1010
|
-
validation:
|
|
1011
|
-
minLength: 1
|
|
1012
|
-
state: optional<PromptBlockState>
|
|
1013
|
-
cache_config: optional<EphemeralPromptCacheConfigRequest>
|
|
1014
|
-
source:
|
|
1015
|
-
openapi: openapi/openapi.yml
|
|
1016
1012
|
ChatMessageRequest:
|
|
1017
1013
|
properties:
|
|
1018
1014
|
text: optional<string>
|
|
@@ -1593,7 +1589,7 @@ types:
|
|
|
1593
1589
|
* `PRODUCTION` - Production
|
|
1594
1590
|
source:
|
|
1595
1591
|
openapi: openapi/openapi.yml
|
|
1596
|
-
|
|
1592
|
+
EphemeralPromptCacheConfig:
|
|
1597
1593
|
properties:
|
|
1598
1594
|
type: optional<EphemeralPromptCacheConfigTypeEnum>
|
|
1599
1595
|
source:
|
|
@@ -2030,8 +2026,14 @@ types:
|
|
|
2030
2026
|
docs: The final resolved function call value.
|
|
2031
2027
|
properties:
|
|
2032
2028
|
arguments: map<string, unknown>
|
|
2033
|
-
id:
|
|
2034
|
-
|
|
2029
|
+
id:
|
|
2030
|
+
type: optional<string>
|
|
2031
|
+
validation:
|
|
2032
|
+
minLength: 1
|
|
2033
|
+
name:
|
|
2034
|
+
type: string
|
|
2035
|
+
validation:
|
|
2036
|
+
minLength: 1
|
|
2035
2037
|
state: optional<FulfilledEnum>
|
|
2036
2038
|
source:
|
|
2037
2039
|
openapi: openapi/openapi.yml
|
|
@@ -2052,9 +2054,15 @@ types:
|
|
|
2052
2054
|
FunctionCallChatMessageContentValue:
|
|
2053
2055
|
docs: The final resolved function call value.
|
|
2054
2056
|
properties:
|
|
2055
|
-
name:
|
|
2057
|
+
name:
|
|
2058
|
+
type: string
|
|
2059
|
+
validation:
|
|
2060
|
+
minLength: 1
|
|
2056
2061
|
arguments: map<string, unknown>
|
|
2057
|
-
id:
|
|
2062
|
+
id:
|
|
2063
|
+
type: optional<string>
|
|
2064
|
+
validation:
|
|
2065
|
+
minLength: 1
|
|
2058
2066
|
source:
|
|
2059
2067
|
openapi: openapi/openapi.yml
|
|
2060
2068
|
FunctionCallChatMessageContentValueRequest:
|
|
@@ -2120,7 +2128,16 @@ types:
|
|
|
2120
2128
|
source:
|
|
2121
2129
|
openapi: openapi/openapi.yml
|
|
2122
2130
|
FunctionDefinitionEnum: literal<"FUNCTION_DEFINITION">
|
|
2123
|
-
|
|
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:
|
|
2124
2141
|
properties:
|
|
2125
2142
|
function_name:
|
|
2126
2143
|
type: optional<string>
|
|
@@ -2145,19 +2162,6 @@ types:
|
|
|
2145
2162
|
docs: Set this option to use strict schema decoding when available.
|
|
2146
2163
|
source:
|
|
2147
2164
|
openapi: openapi/openapi.yml
|
|
2148
|
-
FunctionDefinitionPromptBlockRequest:
|
|
2149
|
-
docs: A block that represents a function definition in a prompt template.
|
|
2150
|
-
properties:
|
|
2151
|
-
block_type: literal<"FUNCTION_DEFINITION">
|
|
2152
|
-
properties: FunctionDefinitionPromptBlockPropertiesRequest
|
|
2153
|
-
id:
|
|
2154
|
-
type: string
|
|
2155
|
-
validation:
|
|
2156
|
-
minLength: 1
|
|
2157
|
-
state: optional<PromptBlockState>
|
|
2158
|
-
cache_config: optional<EphemeralPromptCacheConfigRequest>
|
|
2159
|
-
source:
|
|
2160
|
-
openapi: openapi/openapi.yml
|
|
2161
2165
|
GenerateErrorResponse:
|
|
2162
2166
|
properties:
|
|
2163
2167
|
detail:
|
|
@@ -2477,23 +2481,19 @@ types:
|
|
|
2477
2481
|
source:
|
|
2478
2482
|
openapi: openapi/openapi.yml
|
|
2479
2483
|
JinjaEnum: literal<"JINJA">
|
|
2480
|
-
|
|
2484
|
+
JinjaPromptBlock:
|
|
2485
|
+
docs: A block of Jinja template code that is used to generate a prompt
|
|
2481
2486
|
properties:
|
|
2482
|
-
|
|
2483
|
-
|
|
2487
|
+
state: optional<PromptBlockState>
|
|
2488
|
+
cache_config: optional<EphemeralPromptCacheConfig>
|
|
2489
|
+
block_type: literal<"JINJA">
|
|
2490
|
+
properties: JinjaPromptBlockProperties
|
|
2484
2491
|
source:
|
|
2485
2492
|
openapi: openapi/openapi.yml
|
|
2486
|
-
|
|
2487
|
-
docs: A block of Jinja template code that is used to generate a prompt
|
|
2493
|
+
JinjaPromptBlockProperties:
|
|
2488
2494
|
properties:
|
|
2489
|
-
|
|
2490
|
-
|
|
2491
|
-
id:
|
|
2492
|
-
type: string
|
|
2493
|
-
validation:
|
|
2494
|
-
minLength: 1
|
|
2495
|
-
state: optional<PromptBlockState>
|
|
2496
|
-
cache_config: optional<EphemeralPromptCacheConfigRequest>
|
|
2495
|
+
template: optional<string>
|
|
2496
|
+
template_type: optional<VellumVariableType>
|
|
2497
2497
|
source:
|
|
2498
2498
|
openapi: openapi/openapi.yml
|
|
2499
2499
|
JsonEnum: literal<"JSON">
|
|
@@ -3375,17 +3375,13 @@ types:
|
|
|
3375
3375
|
source:
|
|
3376
3376
|
openapi: openapi/openapi.yml
|
|
3377
3377
|
PlainTextEnum: literal<"PLAIN_TEXT">
|
|
3378
|
-
|
|
3378
|
+
PlainTextPromptBlock:
|
|
3379
3379
|
docs: A block that holds a plain text string value.
|
|
3380
3380
|
properties:
|
|
3381
|
+
state: optional<PromptBlockState>
|
|
3382
|
+
cache_config: optional<EphemeralPromptCacheConfig>
|
|
3381
3383
|
block_type: literal<"PLAIN_TEXT">
|
|
3382
3384
|
text: string
|
|
3383
|
-
id:
|
|
3384
|
-
type: string
|
|
3385
|
-
validation:
|
|
3386
|
-
minLength: 1
|
|
3387
|
-
state: optional<PromptBlockState>
|
|
3388
|
-
cache_config: optional<EphemeralPromptCacheConfigRequest>
|
|
3389
3385
|
source:
|
|
3390
3386
|
openapi: openapi/openapi.yml
|
|
3391
3387
|
Price:
|
|
@@ -3419,11 +3415,11 @@ types:
|
|
|
3419
3415
|
PromptBlockRequest:
|
|
3420
3416
|
discriminated: false
|
|
3421
3417
|
union:
|
|
3422
|
-
-
|
|
3423
|
-
-
|
|
3424
|
-
-
|
|
3425
|
-
-
|
|
3426
|
-
-
|
|
3418
|
+
- JinjaPromptBlock
|
|
3419
|
+
- ChatMessagePromptBlock
|
|
3420
|
+
- FunctionDefinitionPromptBlock
|
|
3421
|
+
- VariablePromptBlock
|
|
3422
|
+
- RichTextPromptBlock
|
|
3427
3423
|
source:
|
|
3428
3424
|
openapi: openapi/openapi.yml
|
|
3429
3425
|
PromptBlockState:
|
|
@@ -3530,7 +3526,7 @@ types:
|
|
|
3530
3526
|
- FunctionCallVellumValue
|
|
3531
3527
|
source:
|
|
3532
3528
|
openapi: openapi/openapi.yml
|
|
3533
|
-
|
|
3529
|
+
PromptParameters:
|
|
3534
3530
|
properties:
|
|
3535
3531
|
stop: optional<list<string>>
|
|
3536
3532
|
temperature: optional<double>
|
|
@@ -3543,7 +3539,7 @@ types:
|
|
|
3543
3539
|
custom_parameters: optional<map<string, unknown>>
|
|
3544
3540
|
source:
|
|
3545
3541
|
openapi: openapi/openapi.yml
|
|
3546
|
-
|
|
3542
|
+
PromptRequestChatHistoryInput:
|
|
3547
3543
|
properties:
|
|
3548
3544
|
key:
|
|
3549
3545
|
type: string
|
|
@@ -3551,18 +3547,18 @@ types:
|
|
|
3551
3547
|
validation:
|
|
3552
3548
|
minLength: 1
|
|
3553
3549
|
type: literal<"CHAT_HISTORY">
|
|
3554
|
-
value: list<
|
|
3550
|
+
value: list<ChatMessage>
|
|
3555
3551
|
source:
|
|
3556
3552
|
openapi: openapi/openapi.yml
|
|
3557
|
-
|
|
3553
|
+
PromptRequestInput:
|
|
3558
3554
|
discriminated: false
|
|
3559
3555
|
union:
|
|
3560
|
-
-
|
|
3561
|
-
-
|
|
3562
|
-
-
|
|
3556
|
+
- PromptRequestStringInput
|
|
3557
|
+
- PromptRequestJsonInput
|
|
3558
|
+
- PromptRequestChatHistoryInput
|
|
3563
3559
|
source:
|
|
3564
3560
|
openapi: openapi/openapi.yml
|
|
3565
|
-
|
|
3561
|
+
PromptRequestJsonInput:
|
|
3566
3562
|
properties:
|
|
3567
3563
|
key:
|
|
3568
3564
|
type: string
|
|
@@ -3573,7 +3569,7 @@ types:
|
|
|
3573
3569
|
value: map<string, unknown>
|
|
3574
3570
|
source:
|
|
3575
3571
|
openapi: openapi/openapi.yml
|
|
3576
|
-
|
|
3572
|
+
PromptRequestStringInput:
|
|
3577
3573
|
properties:
|
|
3578
3574
|
key:
|
|
3579
3575
|
type: string
|
|
@@ -3584,7 +3580,7 @@ types:
|
|
|
3584
3580
|
value: string
|
|
3585
3581
|
source:
|
|
3586
3582
|
openapi: openapi/openapi.yml
|
|
3587
|
-
|
|
3583
|
+
PromptSettings:
|
|
3588
3584
|
properties:
|
|
3589
3585
|
timeout: optional<double>
|
|
3590
3586
|
source:
|
|
@@ -3746,25 +3742,21 @@ types:
|
|
|
3746
3742
|
source:
|
|
3747
3743
|
openapi: openapi/openapi.yml
|
|
3748
3744
|
ReplacedEnum: literal<"REPLACED">
|
|
3749
|
-
|
|
3745
|
+
RichTextChildBlock:
|
|
3750
3746
|
discriminated: false
|
|
3751
3747
|
union:
|
|
3752
|
-
-
|
|
3753
|
-
-
|
|
3748
|
+
- VariablePromptBlock
|
|
3749
|
+
- PlainTextPromptBlock
|
|
3754
3750
|
source:
|
|
3755
3751
|
openapi: openapi/openapi.yml
|
|
3756
3752
|
RichTextEnum: literal<"RICH_TEXT">
|
|
3757
|
-
|
|
3753
|
+
RichTextPromptBlock:
|
|
3758
3754
|
docs: A block that includes a combination of plain text and variable blocks.
|
|
3759
3755
|
properties:
|
|
3760
|
-
block_type: literal<"RICH_TEXT">
|
|
3761
|
-
blocks: list<RichTextChildBlockRequest>
|
|
3762
|
-
id:
|
|
3763
|
-
type: string
|
|
3764
|
-
validation:
|
|
3765
|
-
minLength: 1
|
|
3766
3756
|
state: optional<PromptBlockState>
|
|
3767
|
-
cache_config: optional<
|
|
3757
|
+
cache_config: optional<EphemeralPromptCacheConfig>
|
|
3758
|
+
block_type: literal<"RICH_TEXT">
|
|
3759
|
+
blocks: list<RichTextChildBlock>
|
|
3768
3760
|
source:
|
|
3769
3761
|
openapi: openapi/openapi.yml
|
|
3770
3762
|
SandboxScenario:
|
|
@@ -3906,6 +3898,7 @@ types:
|
|
|
3906
3898
|
type: string
|
|
3907
3899
|
docs: The human-readable name for the document.
|
|
3908
3900
|
validation:
|
|
3901
|
+
minLength: 1
|
|
3909
3902
|
maxLength: 1000
|
|
3910
3903
|
external_id:
|
|
3911
3904
|
type: optional<string>
|
|
@@ -3913,6 +3906,7 @@ types:
|
|
|
3913
3906
|
The unique ID of the document as represented in an external system and
|
|
3914
3907
|
specified when it was originally uploaded.
|
|
3915
3908
|
validation:
|
|
3909
|
+
minLength: 1
|
|
3916
3910
|
maxLength: 1000
|
|
3917
3911
|
metadata:
|
|
3918
3912
|
type: optional<map<string, unknown>>
|
|
@@ -5429,16 +5423,12 @@ types:
|
|
|
5429
5423
|
source:
|
|
5430
5424
|
openapi: openapi/openapi.yml
|
|
5431
5425
|
VariableEnum: literal<"VARIABLE">
|
|
5432
|
-
|
|
5426
|
+
VariablePromptBlock:
|
|
5433
5427
|
docs: A block that represents a variable in a prompt template.
|
|
5434
5428
|
properties:
|
|
5435
|
-
block_type: literal<"VARIABLE">
|
|
5436
|
-
id:
|
|
5437
|
-
type: string
|
|
5438
|
-
validation:
|
|
5439
|
-
minLength: 1
|
|
5440
5429
|
state: optional<PromptBlockState>
|
|
5441
|
-
cache_config: optional<
|
|
5430
|
+
cache_config: optional<EphemeralPromptCacheConfig>
|
|
5431
|
+
block_type: literal<"VARIABLE">
|
|
5442
5432
|
input_variable_id:
|
|
5443
5433
|
type: string
|
|
5444
5434
|
validation:
|
|
@@ -5450,6 +5440,8 @@ types:
|
|
|
5450
5440
|
src:
|
|
5451
5441
|
type: string
|
|
5452
5442
|
docs: A valid data URL containing the audio data.
|
|
5443
|
+
validation:
|
|
5444
|
+
minLength: 1
|
|
5453
5445
|
metadata: optional<map<string, unknown>>
|
|
5454
5446
|
source:
|
|
5455
5447
|
openapi: openapi/openapi.yml
|
|
@@ -5465,7 +5457,10 @@ types:
|
|
|
5465
5457
|
openapi: openapi/openapi.yml
|
|
5466
5458
|
VellumError:
|
|
5467
5459
|
properties:
|
|
5468
|
-
message:
|
|
5460
|
+
message:
|
|
5461
|
+
type: string
|
|
5462
|
+
validation:
|
|
5463
|
+
minLength: 1
|
|
5469
5464
|
code: VellumErrorCodeEnum
|
|
5470
5465
|
source:
|
|
5471
5466
|
openapi: openapi/openapi.yml
|
|
@@ -5495,7 +5490,10 @@ types:
|
|
|
5495
5490
|
openapi: openapi/openapi.yml
|
|
5496
5491
|
VellumImage:
|
|
5497
5492
|
properties:
|
|
5498
|
-
src:
|
|
5493
|
+
src:
|
|
5494
|
+
type: string
|
|
5495
|
+
validation:
|
|
5496
|
+
minLength: 1
|
|
5499
5497
|
metadata: optional<map<string, unknown>>
|
|
5500
5498
|
source:
|
|
5501
5499
|
openapi: openapi/openapi.yml
|
|
@@ -5567,7 +5565,10 @@ types:
|
|
|
5567
5565
|
openapi: openapi/openapi.yml
|
|
5568
5566
|
VellumVariable:
|
|
5569
5567
|
properties:
|
|
5570
|
-
id:
|
|
5568
|
+
id:
|
|
5569
|
+
type: string
|
|
5570
|
+
validation:
|
|
5571
|
+
minLength: 1
|
|
5571
5572
|
key: string
|
|
5572
5573
|
type: VellumVariableType
|
|
5573
5574
|
required: optional<boolean>
|
|
@@ -5576,12 +5577,6 @@ types:
|
|
|
5576
5577
|
source:
|
|
5577
5578
|
openapi: openapi/openapi.yml
|
|
5578
5579
|
VellumVariableExtensions:
|
|
5579
|
-
docs: A set of fields with additional properties for use in Vellum Variables.
|
|
5580
|
-
properties:
|
|
5581
|
-
color: optional<string>
|
|
5582
|
-
source:
|
|
5583
|
-
openapi: openapi/openapi.yml
|
|
5584
|
-
VellumVariableExtensionsRequest:
|
|
5585
5580
|
docs: A set of fields with additional properties for use in Vellum Variables.
|
|
5586
5581
|
properties:
|
|
5587
5582
|
color:
|
|
@@ -5590,19 +5585,6 @@ types:
|
|
|
5590
5585
|
minLength: 1
|
|
5591
5586
|
source:
|
|
5592
5587
|
openapi: openapi/openapi.yml
|
|
5593
|
-
VellumVariableRequest:
|
|
5594
|
-
properties:
|
|
5595
|
-
id:
|
|
5596
|
-
type: string
|
|
5597
|
-
validation:
|
|
5598
|
-
minLength: 1
|
|
5599
|
-
key: string
|
|
5600
|
-
type: VellumVariableType
|
|
5601
|
-
required: optional<boolean>
|
|
5602
|
-
default: optional<VellumValueRequest>
|
|
5603
|
-
extensions: optional<VellumVariableExtensionsRequest>
|
|
5604
|
-
source:
|
|
5605
|
-
openapi: openapi/openapi.yml
|
|
5606
5588
|
VellumVariableType:
|
|
5607
5589
|
enum:
|
|
5608
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
|