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
|
@@ -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,27 +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
|
-
block_type:
|
|
2844
|
-
$ref: '#/components/schemas/ChatMessageEnum'
|
|
2845
|
-
properties:
|
|
2846
|
-
$ref: '#/components/schemas/ChatMessagePromptBlockPropertiesRequest'
|
|
2847
|
-
id:
|
|
2848
|
-
type: string
|
|
2849
|
-
minLength: 1
|
|
2850
|
-
state:
|
|
2851
|
-
$ref: '#/components/schemas/PromptBlockState'
|
|
2852
|
-
cache_config:
|
|
2853
|
-
allOf:
|
|
2854
|
-
- $ref: '#/components/schemas/EphemeralPromptCacheConfigRequest'
|
|
2855
|
-
nullable: true
|
|
2856
|
-
required:
|
|
2857
|
-
- block_type
|
|
2858
|
-
- id
|
|
2859
|
-
- properties
|
|
2860
2856
|
ChatMessageRequest:
|
|
2861
2857
|
type: object
|
|
2862
2858
|
properties:
|
|
@@ -3868,7 +3864,7 @@ components:
|
|
|
3868
3864
|
* `DEVELOPMENT` - Development
|
|
3869
3865
|
* `STAGING` - Staging
|
|
3870
3866
|
* `PRODUCTION` - Production
|
|
3871
|
-
|
|
3867
|
+
EphemeralPromptCacheConfig:
|
|
3872
3868
|
type: object
|
|
3873
3869
|
properties:
|
|
3874
3870
|
type:
|
|
@@ -4839,8 +4835,10 @@ components:
|
|
|
4839
4835
|
id:
|
|
4840
4836
|
type: string
|
|
4841
4837
|
nullable: true
|
|
4838
|
+
minLength: 1
|
|
4842
4839
|
name:
|
|
4843
4840
|
type: string
|
|
4841
|
+
minLength: 1
|
|
4844
4842
|
state:
|
|
4845
4843
|
$ref: '#/components/schemas/FulfilledEnum'
|
|
4846
4844
|
required:
|
|
@@ -4874,12 +4872,14 @@ components:
|
|
|
4874
4872
|
properties:
|
|
4875
4873
|
name:
|
|
4876
4874
|
type: string
|
|
4875
|
+
minLength: 1
|
|
4877
4876
|
arguments:
|
|
4878
4877
|
type: object
|
|
4879
4878
|
additionalProperties: {}
|
|
4880
4879
|
id:
|
|
4881
4880
|
type: string
|
|
4882
4881
|
nullable: true
|
|
4882
|
+
minLength: 1
|
|
4883
4883
|
required:
|
|
4884
4884
|
- arguments
|
|
4885
4885
|
- name
|
|
@@ -4981,7 +4981,24 @@ components:
|
|
|
4981
4981
|
type: string
|
|
4982
4982
|
enum:
|
|
4983
4983
|
- FUNCTION_DEFINITION
|
|
4984
|
-
|
|
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:
|
|
4985
5002
|
type: object
|
|
4986
5003
|
properties:
|
|
4987
5004
|
function_name:
|
|
@@ -5008,27 +5025,6 @@ components:
|
|
|
5008
5025
|
type: boolean
|
|
5009
5026
|
nullable: true
|
|
5010
5027
|
description: Set this option to use strict schema decoding when available.
|
|
5011
|
-
FunctionDefinitionPromptBlockRequest:
|
|
5012
|
-
type: object
|
|
5013
|
-
description: A block that represents a function definition in a prompt template.
|
|
5014
|
-
properties:
|
|
5015
|
-
block_type:
|
|
5016
|
-
$ref: '#/components/schemas/FunctionDefinitionEnum'
|
|
5017
|
-
properties:
|
|
5018
|
-
$ref: '#/components/schemas/FunctionDefinitionPromptBlockPropertiesRequest'
|
|
5019
|
-
id:
|
|
5020
|
-
type: string
|
|
5021
|
-
minLength: 1
|
|
5022
|
-
state:
|
|
5023
|
-
$ref: '#/components/schemas/PromptBlockState'
|
|
5024
|
-
cache_config:
|
|
5025
|
-
allOf:
|
|
5026
|
-
- $ref: '#/components/schemas/EphemeralPromptCacheConfigRequest'
|
|
5027
|
-
nullable: true
|
|
5028
|
-
required:
|
|
5029
|
-
- block_type
|
|
5030
|
-
- id
|
|
5031
|
-
- properties
|
|
5032
5028
|
GenerateBodyRequest:
|
|
5033
5029
|
type: object
|
|
5034
5030
|
properties:
|
|
@@ -5548,37 +5544,33 @@ components:
|
|
|
5548
5544
|
type: string
|
|
5549
5545
|
enum:
|
|
5550
5546
|
- JINJA
|
|
5551
|
-
|
|
5552
|
-
type: object
|
|
5553
|
-
properties:
|
|
5554
|
-
template:
|
|
5555
|
-
type: string
|
|
5556
|
-
nullable: true
|
|
5557
|
-
template_type:
|
|
5558
|
-
allOf:
|
|
5559
|
-
- $ref: '#/components/schemas/VellumVariableType'
|
|
5560
|
-
nullable: true
|
|
5561
|
-
JinjaPromptBlockRequest:
|
|
5547
|
+
JinjaPromptBlock:
|
|
5562
5548
|
type: object
|
|
5563
5549
|
description: A block of Jinja template code that is used to generate a prompt
|
|
5564
5550
|
properties:
|
|
5565
|
-
block_type:
|
|
5566
|
-
$ref: '#/components/schemas/JinjaEnum'
|
|
5567
|
-
properties:
|
|
5568
|
-
$ref: '#/components/schemas/JinjaPromptBlockPropertiesRequest'
|
|
5569
|
-
id:
|
|
5570
|
-
type: string
|
|
5571
|
-
minLength: 1
|
|
5572
5551
|
state:
|
|
5573
5552
|
$ref: '#/components/schemas/PromptBlockState'
|
|
5574
5553
|
cache_config:
|
|
5575
5554
|
allOf:
|
|
5576
|
-
- $ref: '#/components/schemas/
|
|
5555
|
+
- $ref: '#/components/schemas/EphemeralPromptCacheConfig'
|
|
5577
5556
|
nullable: true
|
|
5557
|
+
block_type:
|
|
5558
|
+
$ref: '#/components/schemas/JinjaEnum'
|
|
5559
|
+
properties:
|
|
5560
|
+
$ref: '#/components/schemas/JinjaPromptBlockProperties'
|
|
5578
5561
|
required:
|
|
5579
5562
|
- block_type
|
|
5580
|
-
- id
|
|
5581
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
|
|
5582
5574
|
JsonEnum:
|
|
5583
5575
|
type: string
|
|
5584
5576
|
enum:
|
|
@@ -7108,26 +7100,22 @@ components:
|
|
|
7108
7100
|
type: string
|
|
7109
7101
|
enum:
|
|
7110
7102
|
- PLAIN_TEXT
|
|
7111
|
-
|
|
7103
|
+
PlainTextPromptBlock:
|
|
7112
7104
|
type: object
|
|
7113
7105
|
description: A block that holds a plain text string value.
|
|
7114
7106
|
properties:
|
|
7115
|
-
block_type:
|
|
7116
|
-
$ref: '#/components/schemas/PlainTextEnum'
|
|
7117
|
-
text:
|
|
7118
|
-
type: string
|
|
7119
|
-
id:
|
|
7120
|
-
type: string
|
|
7121
|
-
minLength: 1
|
|
7122
7107
|
state:
|
|
7123
7108
|
$ref: '#/components/schemas/PromptBlockState'
|
|
7124
7109
|
cache_config:
|
|
7125
7110
|
allOf:
|
|
7126
|
-
- $ref: '#/components/schemas/
|
|
7111
|
+
- $ref: '#/components/schemas/EphemeralPromptCacheConfig'
|
|
7127
7112
|
nullable: true
|
|
7113
|
+
block_type:
|
|
7114
|
+
$ref: '#/components/schemas/PlainTextEnum'
|
|
7115
|
+
text:
|
|
7116
|
+
type: string
|
|
7128
7117
|
required:
|
|
7129
7118
|
- block_type
|
|
7130
|
-
- id
|
|
7131
7119
|
- text
|
|
7132
7120
|
Price:
|
|
7133
7121
|
type: object
|
|
@@ -7162,19 +7150,19 @@ components:
|
|
|
7162
7150
|
* `FAILED` - Failed
|
|
7163
7151
|
PromptBlockRequest:
|
|
7164
7152
|
oneOf:
|
|
7165
|
-
- $ref: '#/components/schemas/
|
|
7166
|
-
- $ref: '#/components/schemas/
|
|
7167
|
-
- $ref: '#/components/schemas/
|
|
7168
|
-
- $ref: '#/components/schemas/
|
|
7169
|
-
- $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'
|
|
7170
7158
|
discriminator:
|
|
7171
7159
|
propertyName: block_type
|
|
7172
7160
|
mapping:
|
|
7173
|
-
JINJA: '#/components/schemas/
|
|
7174
|
-
CHAT_MESSAGE: '#/components/schemas/
|
|
7175
|
-
FUNCTION_DEFINITION: '#/components/schemas/
|
|
7176
|
-
VARIABLE: '#/components/schemas/
|
|
7177
|
-
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'
|
|
7178
7166
|
PromptBlockState:
|
|
7179
7167
|
enum:
|
|
7180
7168
|
- ENABLED
|
|
@@ -7317,7 +7305,7 @@ components:
|
|
|
7317
7305
|
JSON: '#/components/schemas/JsonVellumValue'
|
|
7318
7306
|
ERROR: '#/components/schemas/ErrorVellumValue'
|
|
7319
7307
|
FUNCTION_CALL: '#/components/schemas/FunctionCallVellumValue'
|
|
7320
|
-
|
|
7308
|
+
PromptParameters:
|
|
7321
7309
|
type: object
|
|
7322
7310
|
properties:
|
|
7323
7311
|
stop:
|
|
@@ -7357,7 +7345,7 @@ components:
|
|
|
7357
7345
|
type: object
|
|
7358
7346
|
additionalProperties: {}
|
|
7359
7347
|
nullable: true
|
|
7360
|
-
|
|
7348
|
+
PromptRequestChatHistoryInput:
|
|
7361
7349
|
type: object
|
|
7362
7350
|
properties:
|
|
7363
7351
|
key:
|
|
@@ -7369,23 +7357,23 @@ components:
|
|
|
7369
7357
|
value:
|
|
7370
7358
|
type: array
|
|
7371
7359
|
items:
|
|
7372
|
-
$ref: '#/components/schemas/
|
|
7360
|
+
$ref: '#/components/schemas/ChatMessage'
|
|
7373
7361
|
required:
|
|
7374
7362
|
- key
|
|
7375
7363
|
- type
|
|
7376
7364
|
- value
|
|
7377
|
-
|
|
7365
|
+
PromptRequestInput:
|
|
7378
7366
|
oneOf:
|
|
7379
|
-
- $ref: '#/components/schemas/
|
|
7380
|
-
- $ref: '#/components/schemas/
|
|
7381
|
-
- $ref: '#/components/schemas/
|
|
7367
|
+
- $ref: '#/components/schemas/PromptRequestStringInput'
|
|
7368
|
+
- $ref: '#/components/schemas/PromptRequestJSONInput'
|
|
7369
|
+
- $ref: '#/components/schemas/PromptRequestChatHistoryInput'
|
|
7382
7370
|
discriminator:
|
|
7383
7371
|
propertyName: type
|
|
7384
7372
|
mapping:
|
|
7385
|
-
STRING: '#/components/schemas/
|
|
7386
|
-
JSON: '#/components/schemas/
|
|
7387
|
-
CHAT_HISTORY: '#/components/schemas/
|
|
7388
|
-
|
|
7373
|
+
STRING: '#/components/schemas/PromptRequestStringInput'
|
|
7374
|
+
JSON: '#/components/schemas/PromptRequestJSONInput'
|
|
7375
|
+
CHAT_HISTORY: '#/components/schemas/PromptRequestChatHistoryInput'
|
|
7376
|
+
PromptRequestJSONInput:
|
|
7389
7377
|
type: object
|
|
7390
7378
|
properties:
|
|
7391
7379
|
key:
|
|
@@ -7401,7 +7389,7 @@ components:
|
|
|
7401
7389
|
- key
|
|
7402
7390
|
- type
|
|
7403
7391
|
- value
|
|
7404
|
-
|
|
7392
|
+
PromptRequestStringInput:
|
|
7405
7393
|
type: object
|
|
7406
7394
|
properties:
|
|
7407
7395
|
key:
|
|
@@ -7416,7 +7404,7 @@ components:
|
|
|
7416
7404
|
- key
|
|
7417
7405
|
- type
|
|
7418
7406
|
- value
|
|
7419
|
-
|
|
7407
|
+
PromptSettings:
|
|
7420
7408
|
type: object
|
|
7421
7409
|
properties:
|
|
7422
7410
|
timeout:
|
|
@@ -7677,43 +7665,39 @@ components:
|
|
|
7677
7665
|
type: string
|
|
7678
7666
|
enum:
|
|
7679
7667
|
- REPLACED
|
|
7680
|
-
|
|
7668
|
+
RichTextChildBlock:
|
|
7681
7669
|
oneOf:
|
|
7682
|
-
- $ref: '#/components/schemas/
|
|
7683
|
-
- $ref: '#/components/schemas/
|
|
7670
|
+
- $ref: '#/components/schemas/VariablePromptBlock'
|
|
7671
|
+
- $ref: '#/components/schemas/PlainTextPromptBlock'
|
|
7684
7672
|
discriminator:
|
|
7685
7673
|
propertyName: block_type
|
|
7686
7674
|
mapping:
|
|
7687
|
-
VARIABLE: '#/components/schemas/
|
|
7688
|
-
PLAIN_TEXT: '#/components/schemas/
|
|
7675
|
+
VARIABLE: '#/components/schemas/VariablePromptBlock'
|
|
7676
|
+
PLAIN_TEXT: '#/components/schemas/PlainTextPromptBlock'
|
|
7689
7677
|
RichTextEnum:
|
|
7690
7678
|
type: string
|
|
7691
7679
|
enum:
|
|
7692
7680
|
- RICH_TEXT
|
|
7693
|
-
|
|
7681
|
+
RichTextPromptBlock:
|
|
7694
7682
|
type: object
|
|
7695
7683
|
description: A block that includes a combination of plain text and variable
|
|
7696
7684
|
blocks.
|
|
7697
7685
|
properties:
|
|
7698
|
-
block_type:
|
|
7699
|
-
$ref: '#/components/schemas/RichTextEnum'
|
|
7700
|
-
blocks:
|
|
7701
|
-
type: array
|
|
7702
|
-
items:
|
|
7703
|
-
$ref: '#/components/schemas/RichTextChildBlockRequest'
|
|
7704
|
-
id:
|
|
7705
|
-
type: string
|
|
7706
|
-
minLength: 1
|
|
7707
7686
|
state:
|
|
7708
7687
|
$ref: '#/components/schemas/PromptBlockState'
|
|
7709
7688
|
cache_config:
|
|
7710
7689
|
allOf:
|
|
7711
|
-
- $ref: '#/components/schemas/
|
|
7690
|
+
- $ref: '#/components/schemas/EphemeralPromptCacheConfig'
|
|
7712
7691
|
nullable: true
|
|
7692
|
+
block_type:
|
|
7693
|
+
$ref: '#/components/schemas/RichTextEnum'
|
|
7694
|
+
blocks:
|
|
7695
|
+
type: array
|
|
7696
|
+
items:
|
|
7697
|
+
$ref: '#/components/schemas/RichTextChildBlock'
|
|
7713
7698
|
required:
|
|
7714
7699
|
- block_type
|
|
7715
7700
|
- blocks
|
|
7716
|
-
- id
|
|
7717
7701
|
SandboxScenario:
|
|
7718
7702
|
type: object
|
|
7719
7703
|
description: Sandbox Scenario
|
|
@@ -7920,6 +7904,7 @@ components:
|
|
|
7920
7904
|
type: array
|
|
7921
7905
|
items:
|
|
7922
7906
|
type: string
|
|
7907
|
+
minLength: 1
|
|
7923
7908
|
document:
|
|
7924
7909
|
allOf:
|
|
7925
7910
|
- $ref: '#/components/schemas/SearchResultDocument'
|
|
@@ -7945,11 +7930,13 @@ components:
|
|
|
7945
7930
|
description: The ID of the document.
|
|
7946
7931
|
label:
|
|
7947
7932
|
type: string
|
|
7933
|
+
minLength: 1
|
|
7948
7934
|
description: The human-readable name for the document.
|
|
7949
7935
|
maxLength: 1000
|
|
7950
7936
|
external_id:
|
|
7951
7937
|
type: string
|
|
7952
7938
|
nullable: true
|
|
7939
|
+
minLength: 1
|
|
7953
7940
|
description: The unique ID of the document as represented in an external
|
|
7954
7941
|
system and specified when it was originally uploaded.
|
|
7955
7942
|
maxLength: 1000
|
|
@@ -10276,33 +10263,30 @@ components:
|
|
|
10276
10263
|
type: string
|
|
10277
10264
|
enum:
|
|
10278
10265
|
- VARIABLE
|
|
10279
|
-
|
|
10266
|
+
VariablePromptBlock:
|
|
10280
10267
|
type: object
|
|
10281
10268
|
description: A block that represents a variable in a prompt template.
|
|
10282
10269
|
properties:
|
|
10283
|
-
block_type:
|
|
10284
|
-
$ref: '#/components/schemas/VariableEnum'
|
|
10285
|
-
id:
|
|
10286
|
-
type: string
|
|
10287
|
-
minLength: 1
|
|
10288
10270
|
state:
|
|
10289
10271
|
$ref: '#/components/schemas/PromptBlockState'
|
|
10290
10272
|
cache_config:
|
|
10291
10273
|
allOf:
|
|
10292
|
-
- $ref: '#/components/schemas/
|
|
10274
|
+
- $ref: '#/components/schemas/EphemeralPromptCacheConfig'
|
|
10293
10275
|
nullable: true
|
|
10276
|
+
block_type:
|
|
10277
|
+
$ref: '#/components/schemas/VariableEnum'
|
|
10294
10278
|
input_variable_id:
|
|
10295
10279
|
type: string
|
|
10296
10280
|
format: uuid
|
|
10297
10281
|
required:
|
|
10298
10282
|
- block_type
|
|
10299
|
-
- id
|
|
10300
10283
|
- input_variable_id
|
|
10301
10284
|
VellumAudio:
|
|
10302
10285
|
type: object
|
|
10303
10286
|
properties:
|
|
10304
10287
|
src:
|
|
10305
10288
|
type: string
|
|
10289
|
+
minLength: 1
|
|
10306
10290
|
description: A valid data URL containing the audio data.
|
|
10307
10291
|
metadata:
|
|
10308
10292
|
type: object
|
|
@@ -10328,6 +10312,7 @@ components:
|
|
|
10328
10312
|
properties:
|
|
10329
10313
|
message:
|
|
10330
10314
|
type: string
|
|
10315
|
+
minLength: 1
|
|
10331
10316
|
code:
|
|
10332
10317
|
$ref: '#/components/schemas/VellumErrorCodeEnum'
|
|
10333
10318
|
required:
|
|
@@ -10363,6 +10348,7 @@ components:
|
|
|
10363
10348
|
properties:
|
|
10364
10349
|
src:
|
|
10365
10350
|
type: string
|
|
10351
|
+
minLength: 1
|
|
10366
10352
|
metadata:
|
|
10367
10353
|
type: object
|
|
10368
10354
|
additionalProperties: {}
|
|
@@ -10482,6 +10468,7 @@ components:
|
|
|
10482
10468
|
properties:
|
|
10483
10469
|
id:
|
|
10484
10470
|
type: string
|
|
10471
|
+
minLength: 1
|
|
10485
10472
|
key:
|
|
10486
10473
|
type: string
|
|
10487
10474
|
type:
|
|
@@ -10508,39 +10495,7 @@ components:
|
|
|
10508
10495
|
color:
|
|
10509
10496
|
type: string
|
|
10510
10497
|
nullable: true
|
|
10511
|
-
VellumVariableExtensionsRequest:
|
|
10512
|
-
type: object
|
|
10513
|
-
description: A set of fields with additional properties for use in Vellum Variables.
|
|
10514
|
-
properties:
|
|
10515
|
-
color:
|
|
10516
|
-
type: string
|
|
10517
|
-
nullable: true
|
|
10518
|
-
minLength: 1
|
|
10519
|
-
VellumVariableRequest:
|
|
10520
|
-
type: object
|
|
10521
|
-
properties:
|
|
10522
|
-
id:
|
|
10523
|
-
type: string
|
|
10524
10498
|
minLength: 1
|
|
10525
|
-
key:
|
|
10526
|
-
type: string
|
|
10527
|
-
type:
|
|
10528
|
-
$ref: '#/components/schemas/VellumVariableType'
|
|
10529
|
-
required:
|
|
10530
|
-
type: boolean
|
|
10531
|
-
nullable: true
|
|
10532
|
-
default:
|
|
10533
|
-
allOf:
|
|
10534
|
-
- $ref: '#/components/schemas/VellumValueRequest'
|
|
10535
|
-
nullable: true
|
|
10536
|
-
extensions:
|
|
10537
|
-
allOf:
|
|
10538
|
-
- $ref: '#/components/schemas/VellumVariableExtensionsRequest'
|
|
10539
|
-
nullable: true
|
|
10540
|
-
required:
|
|
10541
|
-
- id
|
|
10542
|
-
- key
|
|
10543
|
-
- type
|
|
10544
10499
|
VellumVariableType:
|
|
10545
10500
|
enum:
|
|
10546
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
|
}>;
|