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
|
@@ -48,7 +48,7 @@ paths:
|
|
|
48
48
|
content:
|
|
49
49
|
application/json:
|
|
50
50
|
schema:
|
|
51
|
-
$ref: '#/components/schemas/
|
|
51
|
+
$ref: '#/components/schemas/AdHocExecutePromptStream'
|
|
52
52
|
required: true
|
|
53
53
|
security:
|
|
54
54
|
- apiKeyAuth: []
|
|
@@ -2271,7 +2271,7 @@ components:
|
|
|
2271
2271
|
STREAMING: '#/components/schemas/StreamingAdHocExecutePromptEvent'
|
|
2272
2272
|
FULFILLED: '#/components/schemas/FulfilledAdHocExecutePromptEvent'
|
|
2273
2273
|
REJECTED: '#/components/schemas/RejectedAdHocExecutePromptEvent'
|
|
2274
|
-
|
|
2274
|
+
AdHocExecutePromptStream:
|
|
2275
2275
|
type: object
|
|
2276
2276
|
properties:
|
|
2277
2277
|
ml_model:
|
|
@@ -2280,24 +2280,24 @@ components:
|
|
|
2280
2280
|
input_values:
|
|
2281
2281
|
type: array
|
|
2282
2282
|
items:
|
|
2283
|
-
$ref: '#/components/schemas/
|
|
2283
|
+
$ref: '#/components/schemas/PromptRequestInput'
|
|
2284
2284
|
input_variables:
|
|
2285
2285
|
type: array
|
|
2286
2286
|
items:
|
|
2287
|
-
$ref: '#/components/schemas/
|
|
2287
|
+
$ref: '#/components/schemas/VellumVariable'
|
|
2288
2288
|
parameters:
|
|
2289
|
-
$ref: '#/components/schemas/
|
|
2289
|
+
$ref: '#/components/schemas/PromptParameters'
|
|
2290
2290
|
settings:
|
|
2291
2291
|
allOf:
|
|
2292
|
-
- $ref: '#/components/schemas/
|
|
2292
|
+
- $ref: '#/components/schemas/PromptSettings'
|
|
2293
2293
|
nullable: true
|
|
2294
2294
|
blocks:
|
|
2295
2295
|
type: array
|
|
2296
2296
|
items:
|
|
2297
|
-
$ref: '#/components/schemas/
|
|
2297
|
+
$ref: '#/components/schemas/PromptBlock'
|
|
2298
2298
|
expand_meta:
|
|
2299
2299
|
allOf:
|
|
2300
|
-
- $ref: '#/components/schemas/
|
|
2300
|
+
- $ref: '#/components/schemas/AdHocExpandMeta'
|
|
2301
2301
|
nullable: true
|
|
2302
2302
|
required:
|
|
2303
2303
|
- blocks
|
|
@@ -2305,7 +2305,7 @@ components:
|
|
|
2305
2305
|
- input_variables
|
|
2306
2306
|
- ml_model
|
|
2307
2307
|
- parameters
|
|
2308
|
-
|
|
2308
|
+
AdHocExpandMeta:
|
|
2309
2309
|
type: object
|
|
2310
2310
|
properties:
|
|
2311
2311
|
cost:
|
|
@@ -2815,14 +2815,31 @@ components:
|
|
|
2815
2815
|
type: string
|
|
2816
2816
|
enum:
|
|
2817
2817
|
- CHAT_MESSAGE
|
|
2818
|
-
|
|
2818
|
+
ChatMessagePromptBlock:
|
|
2819
|
+
type: object
|
|
2820
|
+
description: A block that represents a chat message in a prompt template.
|
|
2821
|
+
properties:
|
|
2822
|
+
state:
|
|
2823
|
+
$ref: '#/components/schemas/PromptBlockState'
|
|
2824
|
+
cache_config:
|
|
2825
|
+
allOf:
|
|
2826
|
+
- $ref: '#/components/schemas/EphemeralPromptCacheConfig'
|
|
2827
|
+
nullable: true
|
|
2828
|
+
block_type:
|
|
2829
|
+
$ref: '#/components/schemas/ChatMessageEnum'
|
|
2830
|
+
properties:
|
|
2831
|
+
$ref: '#/components/schemas/ChatMessagePromptBlockProperties'
|
|
2832
|
+
required:
|
|
2833
|
+
- block_type
|
|
2834
|
+
- properties
|
|
2835
|
+
ChatMessagePromptBlockProperties:
|
|
2819
2836
|
type: object
|
|
2820
2837
|
description: The properties of a ChatMessagePromptTemplateBlock
|
|
2821
2838
|
properties:
|
|
2822
2839
|
blocks:
|
|
2823
2840
|
type: array
|
|
2824
2841
|
items:
|
|
2825
|
-
$ref: '#/components/schemas/
|
|
2842
|
+
$ref: '#/components/schemas/PromptBlock'
|
|
2826
2843
|
chat_role:
|
|
2827
2844
|
allOf:
|
|
2828
2845
|
- $ref: '#/components/schemas/ChatMessageRole'
|
|
@@ -2836,23 +2853,6 @@ components:
|
|
|
2836
2853
|
default: false
|
|
2837
2854
|
required:
|
|
2838
2855
|
- blocks
|
|
2839
|
-
ChatMessagePromptBlockRequest:
|
|
2840
|
-
type: object
|
|
2841
|
-
description: A block that represents a chat message in a prompt template.
|
|
2842
|
-
properties:
|
|
2843
|
-
state:
|
|
2844
|
-
$ref: '#/components/schemas/PromptBlockState'
|
|
2845
|
-
cache_config:
|
|
2846
|
-
allOf:
|
|
2847
|
-
- $ref: '#/components/schemas/EphemeralPromptCacheConfigRequest'
|
|
2848
|
-
nullable: true
|
|
2849
|
-
block_type:
|
|
2850
|
-
$ref: '#/components/schemas/ChatMessageEnum'
|
|
2851
|
-
properties:
|
|
2852
|
-
$ref: '#/components/schemas/ChatMessagePromptBlockPropertiesRequest'
|
|
2853
|
-
required:
|
|
2854
|
-
- block_type
|
|
2855
|
-
- properties
|
|
2856
2856
|
ChatMessageRequest:
|
|
2857
2857
|
type: object
|
|
2858
2858
|
properties:
|
|
@@ -3864,7 +3864,7 @@ components:
|
|
|
3864
3864
|
* `DEVELOPMENT` - Development
|
|
3865
3865
|
* `STAGING` - Staging
|
|
3866
3866
|
* `PRODUCTION` - Production
|
|
3867
|
-
|
|
3867
|
+
EphemeralPromptCacheConfig:
|
|
3868
3868
|
type: object
|
|
3869
3869
|
properties:
|
|
3870
3870
|
type:
|
|
@@ -4835,8 +4835,10 @@ components:
|
|
|
4835
4835
|
id:
|
|
4836
4836
|
type: string
|
|
4837
4837
|
nullable: true
|
|
4838
|
+
minLength: 1
|
|
4838
4839
|
name:
|
|
4839
4840
|
type: string
|
|
4841
|
+
minLength: 1
|
|
4840
4842
|
state:
|
|
4841
4843
|
$ref: '#/components/schemas/FulfilledEnum'
|
|
4842
4844
|
required:
|
|
@@ -4870,12 +4872,14 @@ components:
|
|
|
4870
4872
|
properties:
|
|
4871
4873
|
name:
|
|
4872
4874
|
type: string
|
|
4875
|
+
minLength: 1
|
|
4873
4876
|
arguments:
|
|
4874
4877
|
type: object
|
|
4875
4878
|
additionalProperties: {}
|
|
4876
4879
|
id:
|
|
4877
4880
|
type: string
|
|
4878
4881
|
nullable: true
|
|
4882
|
+
minLength: 1
|
|
4879
4883
|
required:
|
|
4880
4884
|
- arguments
|
|
4881
4885
|
- name
|
|
@@ -4977,7 +4981,24 @@ components:
|
|
|
4977
4981
|
type: string
|
|
4978
4982
|
enum:
|
|
4979
4983
|
- FUNCTION_DEFINITION
|
|
4980
|
-
|
|
4984
|
+
FunctionDefinitionPromptBlock:
|
|
4985
|
+
type: object
|
|
4986
|
+
description: A block that represents a function definition in a prompt template.
|
|
4987
|
+
properties:
|
|
4988
|
+
state:
|
|
4989
|
+
$ref: '#/components/schemas/PromptBlockState'
|
|
4990
|
+
cache_config:
|
|
4991
|
+
allOf:
|
|
4992
|
+
- $ref: '#/components/schemas/EphemeralPromptCacheConfig'
|
|
4993
|
+
nullable: true
|
|
4994
|
+
block_type:
|
|
4995
|
+
$ref: '#/components/schemas/FunctionDefinitionEnum'
|
|
4996
|
+
properties:
|
|
4997
|
+
$ref: '#/components/schemas/FunctionDefinitionPromptBlockProperties'
|
|
4998
|
+
required:
|
|
4999
|
+
- block_type
|
|
5000
|
+
- properties
|
|
5001
|
+
FunctionDefinitionPromptBlockProperties:
|
|
4981
5002
|
type: object
|
|
4982
5003
|
properties:
|
|
4983
5004
|
function_name:
|
|
@@ -5004,23 +5025,6 @@ components:
|
|
|
5004
5025
|
type: boolean
|
|
5005
5026
|
nullable: true
|
|
5006
5027
|
description: Set this option to use strict schema decoding when available.
|
|
5007
|
-
FunctionDefinitionPromptBlockRequest:
|
|
5008
|
-
type: object
|
|
5009
|
-
description: A block that represents a function definition in a prompt template.
|
|
5010
|
-
properties:
|
|
5011
|
-
state:
|
|
5012
|
-
$ref: '#/components/schemas/PromptBlockState'
|
|
5013
|
-
cache_config:
|
|
5014
|
-
allOf:
|
|
5015
|
-
- $ref: '#/components/schemas/EphemeralPromptCacheConfigRequest'
|
|
5016
|
-
nullable: true
|
|
5017
|
-
block_type:
|
|
5018
|
-
$ref: '#/components/schemas/FunctionDefinitionEnum'
|
|
5019
|
-
properties:
|
|
5020
|
-
$ref: '#/components/schemas/FunctionDefinitionPromptBlockPropertiesRequest'
|
|
5021
|
-
required:
|
|
5022
|
-
- block_type
|
|
5023
|
-
- properties
|
|
5024
5028
|
GenerateBodyRequest:
|
|
5025
5029
|
type: object
|
|
5026
5030
|
properties:
|
|
@@ -5540,17 +5544,7 @@ components:
|
|
|
5540
5544
|
type: string
|
|
5541
5545
|
enum:
|
|
5542
5546
|
- JINJA
|
|
5543
|
-
|
|
5544
|
-
type: object
|
|
5545
|
-
properties:
|
|
5546
|
-
template:
|
|
5547
|
-
type: string
|
|
5548
|
-
nullable: true
|
|
5549
|
-
template_type:
|
|
5550
|
-
allOf:
|
|
5551
|
-
- $ref: '#/components/schemas/VellumVariableType'
|
|
5552
|
-
nullable: true
|
|
5553
|
-
JinjaPromptBlockRequest:
|
|
5547
|
+
JinjaPromptBlock:
|
|
5554
5548
|
type: object
|
|
5555
5549
|
description: A block of Jinja template code that is used to generate a prompt
|
|
5556
5550
|
properties:
|
|
@@ -5558,15 +5552,25 @@ components:
|
|
|
5558
5552
|
$ref: '#/components/schemas/PromptBlockState'
|
|
5559
5553
|
cache_config:
|
|
5560
5554
|
allOf:
|
|
5561
|
-
- $ref: '#/components/schemas/
|
|
5555
|
+
- $ref: '#/components/schemas/EphemeralPromptCacheConfig'
|
|
5562
5556
|
nullable: true
|
|
5563
5557
|
block_type:
|
|
5564
5558
|
$ref: '#/components/schemas/JinjaEnum'
|
|
5565
5559
|
properties:
|
|
5566
|
-
$ref: '#/components/schemas/
|
|
5560
|
+
$ref: '#/components/schemas/JinjaPromptBlockProperties'
|
|
5567
5561
|
required:
|
|
5568
5562
|
- block_type
|
|
5569
5563
|
- properties
|
|
5564
|
+
JinjaPromptBlockProperties:
|
|
5565
|
+
type: object
|
|
5566
|
+
properties:
|
|
5567
|
+
template:
|
|
5568
|
+
type: string
|
|
5569
|
+
nullable: true
|
|
5570
|
+
template_type:
|
|
5571
|
+
allOf:
|
|
5572
|
+
- $ref: '#/components/schemas/VellumVariableType'
|
|
5573
|
+
nullable: true
|
|
5570
5574
|
JsonEnum:
|
|
5571
5575
|
type: string
|
|
5572
5576
|
enum:
|
|
@@ -7096,7 +7100,7 @@ components:
|
|
|
7096
7100
|
type: string
|
|
7097
7101
|
enum:
|
|
7098
7102
|
- PLAIN_TEXT
|
|
7099
|
-
|
|
7103
|
+
PlainTextPromptBlock:
|
|
7100
7104
|
type: object
|
|
7101
7105
|
description: A block that holds a plain text string value.
|
|
7102
7106
|
properties:
|
|
@@ -7104,7 +7108,7 @@ components:
|
|
|
7104
7108
|
$ref: '#/components/schemas/PromptBlockState'
|
|
7105
7109
|
cache_config:
|
|
7106
7110
|
allOf:
|
|
7107
|
-
- $ref: '#/components/schemas/
|
|
7111
|
+
- $ref: '#/components/schemas/EphemeralPromptCacheConfig'
|
|
7108
7112
|
nullable: true
|
|
7109
7113
|
block_type:
|
|
7110
7114
|
$ref: '#/components/schemas/PlainTextEnum'
|
|
@@ -7146,19 +7150,19 @@ components:
|
|
|
7146
7150
|
* `FAILED` - Failed
|
|
7147
7151
|
PromptBlockRequest:
|
|
7148
7152
|
oneOf:
|
|
7149
|
-
- $ref: '#/components/schemas/
|
|
7150
|
-
- $ref: '#/components/schemas/
|
|
7151
|
-
- $ref: '#/components/schemas/
|
|
7152
|
-
- $ref: '#/components/schemas/
|
|
7153
|
-
- $ref: '#/components/schemas/
|
|
7153
|
+
- $ref: '#/components/schemas/JinjaPromptBlock'
|
|
7154
|
+
- $ref: '#/components/schemas/ChatMessagePromptBlock'
|
|
7155
|
+
- $ref: '#/components/schemas/FunctionDefinitionPromptBlock'
|
|
7156
|
+
- $ref: '#/components/schemas/VariablePromptBlock'
|
|
7157
|
+
- $ref: '#/components/schemas/RichTextPromptBlock'
|
|
7154
7158
|
discriminator:
|
|
7155
7159
|
propertyName: block_type
|
|
7156
7160
|
mapping:
|
|
7157
|
-
JINJA: '#/components/schemas/
|
|
7158
|
-
CHAT_MESSAGE: '#/components/schemas/
|
|
7159
|
-
FUNCTION_DEFINITION: '#/components/schemas/
|
|
7160
|
-
VARIABLE: '#/components/schemas/
|
|
7161
|
-
RICH_TEXT: '#/components/schemas/
|
|
7161
|
+
JINJA: '#/components/schemas/JinjaPromptBlock'
|
|
7162
|
+
CHAT_MESSAGE: '#/components/schemas/ChatMessagePromptBlock'
|
|
7163
|
+
FUNCTION_DEFINITION: '#/components/schemas/FunctionDefinitionPromptBlock'
|
|
7164
|
+
VARIABLE: '#/components/schemas/VariablePromptBlock'
|
|
7165
|
+
RICH_TEXT: '#/components/schemas/RichTextPromptBlock'
|
|
7162
7166
|
PromptBlockState:
|
|
7163
7167
|
enum:
|
|
7164
7168
|
- ENABLED
|
|
@@ -7301,7 +7305,7 @@ components:
|
|
|
7301
7305
|
JSON: '#/components/schemas/JsonVellumValue'
|
|
7302
7306
|
ERROR: '#/components/schemas/ErrorVellumValue'
|
|
7303
7307
|
FUNCTION_CALL: '#/components/schemas/FunctionCallVellumValue'
|
|
7304
|
-
|
|
7308
|
+
PromptParameters:
|
|
7305
7309
|
type: object
|
|
7306
7310
|
properties:
|
|
7307
7311
|
stop:
|
|
@@ -7341,7 +7345,7 @@ components:
|
|
|
7341
7345
|
type: object
|
|
7342
7346
|
additionalProperties: {}
|
|
7343
7347
|
nullable: true
|
|
7344
|
-
|
|
7348
|
+
PromptRequestChatHistoryInput:
|
|
7345
7349
|
type: object
|
|
7346
7350
|
properties:
|
|
7347
7351
|
key:
|
|
@@ -7353,23 +7357,23 @@ components:
|
|
|
7353
7357
|
value:
|
|
7354
7358
|
type: array
|
|
7355
7359
|
items:
|
|
7356
|
-
$ref: '#/components/schemas/
|
|
7360
|
+
$ref: '#/components/schemas/ChatMessage'
|
|
7357
7361
|
required:
|
|
7358
7362
|
- key
|
|
7359
7363
|
- type
|
|
7360
7364
|
- value
|
|
7361
|
-
|
|
7365
|
+
PromptRequestInput:
|
|
7362
7366
|
oneOf:
|
|
7363
|
-
- $ref: '#/components/schemas/
|
|
7364
|
-
- $ref: '#/components/schemas/
|
|
7365
|
-
- $ref: '#/components/schemas/
|
|
7367
|
+
- $ref: '#/components/schemas/PromptRequestStringInput'
|
|
7368
|
+
- $ref: '#/components/schemas/PromptRequestJSONInput'
|
|
7369
|
+
- $ref: '#/components/schemas/PromptRequestChatHistoryInput'
|
|
7366
7370
|
discriminator:
|
|
7367
7371
|
propertyName: type
|
|
7368
7372
|
mapping:
|
|
7369
|
-
STRING: '#/components/schemas/
|
|
7370
|
-
JSON: '#/components/schemas/
|
|
7371
|
-
CHAT_HISTORY: '#/components/schemas/
|
|
7372
|
-
|
|
7373
|
+
STRING: '#/components/schemas/PromptRequestStringInput'
|
|
7374
|
+
JSON: '#/components/schemas/PromptRequestJSONInput'
|
|
7375
|
+
CHAT_HISTORY: '#/components/schemas/PromptRequestChatHistoryInput'
|
|
7376
|
+
PromptRequestJSONInput:
|
|
7373
7377
|
type: object
|
|
7374
7378
|
properties:
|
|
7375
7379
|
key:
|
|
@@ -7385,7 +7389,7 @@ components:
|
|
|
7385
7389
|
- key
|
|
7386
7390
|
- type
|
|
7387
7391
|
- value
|
|
7388
|
-
|
|
7392
|
+
PromptRequestStringInput:
|
|
7389
7393
|
type: object
|
|
7390
7394
|
properties:
|
|
7391
7395
|
key:
|
|
@@ -7400,7 +7404,7 @@ components:
|
|
|
7400
7404
|
- key
|
|
7401
7405
|
- type
|
|
7402
7406
|
- value
|
|
7403
|
-
|
|
7407
|
+
PromptSettings:
|
|
7404
7408
|
type: object
|
|
7405
7409
|
properties:
|
|
7406
7410
|
timeout:
|
|
@@ -7661,43 +7665,39 @@ components:
|
|
|
7661
7665
|
type: string
|
|
7662
7666
|
enum:
|
|
7663
7667
|
- REPLACED
|
|
7664
|
-
|
|
7668
|
+
RichTextChildBlock:
|
|
7665
7669
|
oneOf:
|
|
7666
|
-
- $ref: '#/components/schemas/
|
|
7667
|
-
- $ref: '#/components/schemas/
|
|
7670
|
+
- $ref: '#/components/schemas/VariablePromptBlock'
|
|
7671
|
+
- $ref: '#/components/schemas/PlainTextPromptBlock'
|
|
7668
7672
|
discriminator:
|
|
7669
7673
|
propertyName: block_type
|
|
7670
7674
|
mapping:
|
|
7671
|
-
VARIABLE: '#/components/schemas/
|
|
7672
|
-
PLAIN_TEXT: '#/components/schemas/
|
|
7675
|
+
VARIABLE: '#/components/schemas/VariablePromptBlock'
|
|
7676
|
+
PLAIN_TEXT: '#/components/schemas/PlainTextPromptBlock'
|
|
7673
7677
|
RichTextEnum:
|
|
7674
7678
|
type: string
|
|
7675
7679
|
enum:
|
|
7676
7680
|
- RICH_TEXT
|
|
7677
|
-
|
|
7681
|
+
RichTextPromptBlock:
|
|
7678
7682
|
type: object
|
|
7679
7683
|
description: A block that includes a combination of plain text and variable
|
|
7680
7684
|
blocks.
|
|
7681
7685
|
properties:
|
|
7682
|
-
block_type:
|
|
7683
|
-
$ref: '#/components/schemas/RichTextEnum'
|
|
7684
|
-
blocks:
|
|
7685
|
-
type: array
|
|
7686
|
-
items:
|
|
7687
|
-
$ref: '#/components/schemas/RichTextChildBlockRequest'
|
|
7688
|
-
id:
|
|
7689
|
-
type: string
|
|
7690
|
-
minLength: 1
|
|
7691
7686
|
state:
|
|
7692
7687
|
$ref: '#/components/schemas/PromptBlockState'
|
|
7693
7688
|
cache_config:
|
|
7694
7689
|
allOf:
|
|
7695
|
-
- $ref: '#/components/schemas/
|
|
7690
|
+
- $ref: '#/components/schemas/EphemeralPromptCacheConfig'
|
|
7696
7691
|
nullable: true
|
|
7692
|
+
block_type:
|
|
7693
|
+
$ref: '#/components/schemas/RichTextEnum'
|
|
7694
|
+
blocks:
|
|
7695
|
+
type: array
|
|
7696
|
+
items:
|
|
7697
|
+
$ref: '#/components/schemas/RichTextChildBlock'
|
|
7697
7698
|
required:
|
|
7698
7699
|
- block_type
|
|
7699
7700
|
- blocks
|
|
7700
|
-
- id
|
|
7701
7701
|
SandboxScenario:
|
|
7702
7702
|
type: object
|
|
7703
7703
|
description: Sandbox Scenario
|
|
@@ -7904,6 +7904,7 @@ components:
|
|
|
7904
7904
|
type: array
|
|
7905
7905
|
items:
|
|
7906
7906
|
type: string
|
|
7907
|
+
minLength: 1
|
|
7907
7908
|
document:
|
|
7908
7909
|
allOf:
|
|
7909
7910
|
- $ref: '#/components/schemas/SearchResultDocument'
|
|
@@ -7929,11 +7930,13 @@ components:
|
|
|
7929
7930
|
description: The ID of the document.
|
|
7930
7931
|
label:
|
|
7931
7932
|
type: string
|
|
7933
|
+
minLength: 1
|
|
7932
7934
|
description: The human-readable name for the document.
|
|
7933
7935
|
maxLength: 1000
|
|
7934
7936
|
external_id:
|
|
7935
7937
|
type: string
|
|
7936
7938
|
nullable: true
|
|
7939
|
+
minLength: 1
|
|
7937
7940
|
description: The unique ID of the document as represented in an external
|
|
7938
7941
|
system and specified when it was originally uploaded.
|
|
7939
7942
|
maxLength: 1000
|
|
@@ -10260,7 +10263,7 @@ components:
|
|
|
10260
10263
|
type: string
|
|
10261
10264
|
enum:
|
|
10262
10265
|
- VARIABLE
|
|
10263
|
-
|
|
10266
|
+
VariablePromptBlock:
|
|
10264
10267
|
type: object
|
|
10265
10268
|
description: A block that represents a variable in a prompt template.
|
|
10266
10269
|
properties:
|
|
@@ -10268,7 +10271,7 @@ components:
|
|
|
10268
10271
|
$ref: '#/components/schemas/PromptBlockState'
|
|
10269
10272
|
cache_config:
|
|
10270
10273
|
allOf:
|
|
10271
|
-
- $ref: '#/components/schemas/
|
|
10274
|
+
- $ref: '#/components/schemas/EphemeralPromptCacheConfig'
|
|
10272
10275
|
nullable: true
|
|
10273
10276
|
block_type:
|
|
10274
10277
|
$ref: '#/components/schemas/VariableEnum'
|
|
@@ -10283,6 +10286,7 @@ components:
|
|
|
10283
10286
|
properties:
|
|
10284
10287
|
src:
|
|
10285
10288
|
type: string
|
|
10289
|
+
minLength: 1
|
|
10286
10290
|
description: A valid data URL containing the audio data.
|
|
10287
10291
|
metadata:
|
|
10288
10292
|
type: object
|
|
@@ -10308,6 +10312,7 @@ components:
|
|
|
10308
10312
|
properties:
|
|
10309
10313
|
message:
|
|
10310
10314
|
type: string
|
|
10315
|
+
minLength: 1
|
|
10311
10316
|
code:
|
|
10312
10317
|
$ref: '#/components/schemas/VellumErrorCodeEnum'
|
|
10313
10318
|
required:
|
|
@@ -10343,6 +10348,7 @@ components:
|
|
|
10343
10348
|
properties:
|
|
10344
10349
|
src:
|
|
10345
10350
|
type: string
|
|
10351
|
+
minLength: 1
|
|
10346
10352
|
metadata:
|
|
10347
10353
|
type: object
|
|
10348
10354
|
additionalProperties: {}
|
|
@@ -10462,6 +10468,7 @@ components:
|
|
|
10462
10468
|
properties:
|
|
10463
10469
|
id:
|
|
10464
10470
|
type: string
|
|
10471
|
+
minLength: 1
|
|
10465
10472
|
key:
|
|
10466
10473
|
type: string
|
|
10467
10474
|
type:
|
|
@@ -10488,39 +10495,7 @@ components:
|
|
|
10488
10495
|
color:
|
|
10489
10496
|
type: string
|
|
10490
10497
|
nullable: true
|
|
10491
|
-
VellumVariableExtensionsRequest:
|
|
10492
|
-
type: object
|
|
10493
|
-
description: A set of fields with additional properties for use in Vellum Variables.
|
|
10494
|
-
properties:
|
|
10495
|
-
color:
|
|
10496
|
-
type: string
|
|
10497
|
-
nullable: true
|
|
10498
|
-
minLength: 1
|
|
10499
|
-
VellumVariableRequest:
|
|
10500
|
-
type: object
|
|
10501
|
-
properties:
|
|
10502
|
-
id:
|
|
10503
|
-
type: string
|
|
10504
10498
|
minLength: 1
|
|
10505
|
-
key:
|
|
10506
|
-
type: string
|
|
10507
|
-
type:
|
|
10508
|
-
$ref: '#/components/schemas/VellumVariableType'
|
|
10509
|
-
required:
|
|
10510
|
-
type: boolean
|
|
10511
|
-
nullable: true
|
|
10512
|
-
default:
|
|
10513
|
-
allOf:
|
|
10514
|
-
- $ref: '#/components/schemas/VellumValueRequest'
|
|
10515
|
-
nullable: true
|
|
10516
|
-
extensions:
|
|
10517
|
-
allOf:
|
|
10518
|
-
- $ref: '#/components/schemas/VellumVariableExtensionsRequest'
|
|
10519
|
-
nullable: true
|
|
10520
|
-
required:
|
|
10521
|
-
- id
|
|
10522
|
-
- key
|
|
10523
|
-
- type
|
|
10524
10499
|
VellumVariableType:
|
|
10525
10500
|
enum:
|
|
10526
10501
|
- STRING
|
package/Client.js
CHANGED
|
@@ -94,7 +94,7 @@ class VellumClient {
|
|
|
94
94
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
95
95
|
.default, "v1/execute-code"),
|
|
96
96
|
method: "POST",
|
|
97
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.
|
|
97
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.7", "User-Agent": "vellum-ai/0.9.7", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
98
98
|
contentType: "application/json",
|
|
99
99
|
requestType: "json",
|
|
100
100
|
body: serializers.CodeExecutorRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -163,7 +163,7 @@ class VellumClient {
|
|
|
163
163
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
164
164
|
.predict, "v1/execute-prompt"),
|
|
165
165
|
method: "POST",
|
|
166
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.
|
|
166
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.7", "User-Agent": "vellum-ai/0.9.7", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
167
167
|
contentType: "application/json",
|
|
168
168
|
requestType: "json",
|
|
169
169
|
body: serializers.ExecutePromptRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -221,7 +221,7 @@ class VellumClient {
|
|
|
221
221
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
222
222
|
.predict, "v1/execute-prompt-stream"),
|
|
223
223
|
method: "POST",
|
|
224
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.
|
|
224
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.7", "User-Agent": "vellum-ai/0.9.7", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
225
225
|
contentType: "application/json",
|
|
226
226
|
requestType: "json",
|
|
227
227
|
body: serializers.ExecutePromptStreamRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -306,7 +306,7 @@ class VellumClient {
|
|
|
306
306
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
307
307
|
.predict, "v1/execute-workflow"),
|
|
308
308
|
method: "POST",
|
|
309
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.
|
|
309
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.7", "User-Agent": "vellum-ai/0.9.7", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
310
310
|
contentType: "application/json",
|
|
311
311
|
requestType: "json",
|
|
312
312
|
body: serializers.ExecuteWorkflowRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -362,7 +362,7 @@ class VellumClient {
|
|
|
362
362
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
363
363
|
.predict, "v1/execute-workflow-stream"),
|
|
364
364
|
method: "POST",
|
|
365
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.
|
|
365
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.7", "User-Agent": "vellum-ai/0.9.7", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
366
366
|
contentType: "application/json",
|
|
367
367
|
requestType: "json",
|
|
368
368
|
body: serializers.ExecuteWorkflowStreamRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -449,7 +449,7 @@ class VellumClient {
|
|
|
449
449
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
450
450
|
.predict, "v1/generate"),
|
|
451
451
|
method: "POST",
|
|
452
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.
|
|
452
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.7", "User-Agent": "vellum-ai/0.9.7", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
453
453
|
contentType: "application/json",
|
|
454
454
|
requestType: "json",
|
|
455
455
|
body: serializers.GenerateBodyRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -510,7 +510,7 @@ class VellumClient {
|
|
|
510
510
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
511
511
|
.predict, "v1/generate-stream"),
|
|
512
512
|
method: "POST",
|
|
513
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.
|
|
513
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.7", "User-Agent": "vellum-ai/0.9.7", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
514
514
|
contentType: "application/json",
|
|
515
515
|
requestType: "json",
|
|
516
516
|
body: serializers.GenerateStreamBodyRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -591,7 +591,7 @@ class VellumClient {
|
|
|
591
591
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
592
592
|
.predict, "v1/search"),
|
|
593
593
|
method: "POST",
|
|
594
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.
|
|
594
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.7", "User-Agent": "vellum-ai/0.9.7", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
595
595
|
contentType: "application/json",
|
|
596
596
|
requestType: "json",
|
|
597
597
|
body: serializers.SearchRequestBodyRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -659,7 +659,7 @@ class VellumClient {
|
|
|
659
659
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
660
660
|
.predict, "v1/submit-completion-actuals"),
|
|
661
661
|
method: "POST",
|
|
662
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.
|
|
662
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.7", "User-Agent": "vellum-ai/0.9.7", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
663
663
|
contentType: "application/json",
|
|
664
664
|
requestType: "json",
|
|
665
665
|
body: serializers.SubmitCompletionActualsRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -722,7 +722,7 @@ class VellumClient {
|
|
|
722
722
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
723
723
|
.predict, "v1/submit-workflow-execution-actuals"),
|
|
724
724
|
method: "POST",
|
|
725
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.
|
|
725
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.7", "User-Agent": "vellum-ai/0.9.7", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
726
726
|
contentType: "application/json",
|
|
727
727
|
requestType: "json",
|
|
728
728
|
body: serializers.SubmitWorkflowExecutionActualsRequest.jsonOrThrow(request, {
|
|
@@ -24,7 +24,7 @@ export declare class AdHoc {
|
|
|
24
24
|
/**
|
|
25
25
|
* An internal-only endpoint that's subject to breaking changes without notice. Not intended for public use.
|
|
26
26
|
*/
|
|
27
|
-
adhocExecutePromptStream(request: Vellum.
|
|
27
|
+
adhocExecutePromptStream(request: Vellum.AdHocExecutePromptStream, requestOptions?: AdHoc.RequestOptions): Promise<core.Stream<Vellum.AdHocExecutePromptEvent>>;
|
|
28
28
|
protected _getCustomAuthorizationHeaders(): Promise<{
|
|
29
29
|
X_API_KEY: string | undefined;
|
|
30
30
|
}>;
|
|
@@ -59,10 +59,10 @@ class AdHoc {
|
|
|
59
59
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
60
60
|
.default, "v1/ad-hoc/execute-prompt-stream"),
|
|
61
61
|
method: "POST",
|
|
62
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.
|
|
62
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.7", "User-Agent": "vellum-ai/0.9.7", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
63
63
|
contentType: "application/json",
|
|
64
64
|
requestType: "json",
|
|
65
|
-
body: serializers.
|
|
65
|
+
body: serializers.AdHocExecutePromptStream.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
66
66
|
responseType: "sse",
|
|
67
67
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
68
68
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|