vellum-ai 0.11.0 → 0.11.2
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 +178 -1
- package/.mock/definition/documents.yml +2 -0
- package/.mock/openapi/openapi.yml +194 -1
- package/Client.js +10 -10
- package/api/resources/adHoc/client/Client.js +1 -1
- package/api/resources/containerImages/client/Client.js +4 -4
- package/api/resources/deployments/client/Client.js +7 -7
- 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 +2 -2
- package/api/resources/mlModels/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 +6 -6
- 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/api/types/DocumentDocumentToDocumentIndex.d.ts +4 -0
- package/api/types/SlimDocument.d.ts +1 -1
- package/api/types/SlimDocumentDocumentToDocumentIndex.d.ts +23 -0
- package/api/types/SlimDocumentDocumentToDocumentIndex.js +5 -0
- package/api/types/TestSuiteRunExecConfig.d.ts +1 -1
- package/api/types/TestSuiteRunExecConfigRequest.d.ts +1 -1
- package/api/types/TestSuiteRunPromptSandboxHistoryItemExecConfig.d.ts +13 -0
- package/api/types/TestSuiteRunPromptSandboxHistoryItemExecConfig.js +5 -0
- package/api/types/TestSuiteRunPromptSandboxHistoryItemExecConfigData.d.ts +9 -0
- package/api/types/TestSuiteRunPromptSandboxHistoryItemExecConfigData.js +5 -0
- package/api/types/TestSuiteRunPromptSandboxHistoryItemExecConfigDataRequest.d.ts +9 -0
- package/api/types/TestSuiteRunPromptSandboxHistoryItemExecConfigDataRequest.js +5 -0
- package/api/types/TestSuiteRunPromptSandboxHistoryItemExecConfigRequest.d.ts +13 -0
- package/api/types/TestSuiteRunPromptSandboxHistoryItemExecConfigRequest.js +5 -0
- package/api/types/TestSuiteRunWorkflowSandboxHistoryItemExecConfig.d.ts +13 -0
- package/api/types/TestSuiteRunWorkflowSandboxHistoryItemExecConfig.js +5 -0
- package/api/types/TestSuiteRunWorkflowSandboxHistoryItemExecConfigData.d.ts +9 -0
- package/api/types/TestSuiteRunWorkflowSandboxHistoryItemExecConfigData.js +5 -0
- package/api/types/TestSuiteRunWorkflowSandboxHistoryItemExecConfigDataRequest.d.ts +9 -0
- package/api/types/TestSuiteRunWorkflowSandboxHistoryItemExecConfigDataRequest.js +5 -0
- package/api/types/TestSuiteRunWorkflowSandboxHistoryItemExecConfigRequest.d.ts +13 -0
- package/api/types/TestSuiteRunWorkflowSandboxHistoryItemExecConfigRequest.js +5 -0
- package/api/types/index.d.ts +9 -0
- package/api/types/index.js +9 -0
- package/dist/Client.js +10 -10
- package/dist/api/resources/adHoc/client/Client.js +1 -1
- package/dist/api/resources/containerImages/client/Client.js +4 -4
- package/dist/api/resources/deployments/client/Client.js +7 -7
- 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 +2 -2
- package/dist/api/resources/mlModels/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 +6 -6
- 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/dist/api/types/DocumentDocumentToDocumentIndex.d.ts +4 -0
- package/dist/api/types/SlimDocument.d.ts +1 -1
- package/dist/api/types/SlimDocumentDocumentToDocumentIndex.d.ts +23 -0
- package/dist/api/types/SlimDocumentDocumentToDocumentIndex.js +5 -0
- package/dist/api/types/TestSuiteRunExecConfig.d.ts +1 -1
- package/dist/api/types/TestSuiteRunExecConfigRequest.d.ts +1 -1
- package/dist/api/types/TestSuiteRunPromptSandboxHistoryItemExecConfig.d.ts +13 -0
- package/dist/api/types/TestSuiteRunPromptSandboxHistoryItemExecConfig.js +5 -0
- package/dist/api/types/TestSuiteRunPromptSandboxHistoryItemExecConfigData.d.ts +9 -0
- package/dist/api/types/TestSuiteRunPromptSandboxHistoryItemExecConfigData.js +5 -0
- package/dist/api/types/TestSuiteRunPromptSandboxHistoryItemExecConfigDataRequest.d.ts +9 -0
- package/dist/api/types/TestSuiteRunPromptSandboxHistoryItemExecConfigDataRequest.js +5 -0
- package/dist/api/types/TestSuiteRunPromptSandboxHistoryItemExecConfigRequest.d.ts +13 -0
- package/dist/api/types/TestSuiteRunPromptSandboxHistoryItemExecConfigRequest.js +5 -0
- package/dist/api/types/TestSuiteRunWorkflowSandboxHistoryItemExecConfig.d.ts +13 -0
- package/dist/api/types/TestSuiteRunWorkflowSandboxHistoryItemExecConfig.js +5 -0
- package/dist/api/types/TestSuiteRunWorkflowSandboxHistoryItemExecConfigData.d.ts +9 -0
- package/dist/api/types/TestSuiteRunWorkflowSandboxHistoryItemExecConfigData.js +5 -0
- package/dist/api/types/TestSuiteRunWorkflowSandboxHistoryItemExecConfigDataRequest.d.ts +9 -0
- package/dist/api/types/TestSuiteRunWorkflowSandboxHistoryItemExecConfigDataRequest.js +5 -0
- package/dist/api/types/TestSuiteRunWorkflowSandboxHistoryItemExecConfigRequest.d.ts +13 -0
- package/dist/api/types/TestSuiteRunWorkflowSandboxHistoryItemExecConfigRequest.js +5 -0
- package/dist/api/types/index.d.ts +9 -0
- package/dist/api/types/index.js +9 -0
- package/dist/serialization/types/DocumentDocumentToDocumentIndex.d.ts +1 -0
- package/dist/serialization/types/DocumentDocumentToDocumentIndex.js +1 -0
- package/dist/serialization/types/SlimDocument.d.ts +2 -2
- package/dist/serialization/types/SlimDocument.js +2 -2
- package/dist/serialization/types/SlimDocumentDocumentToDocumentIndex.d.ts +15 -0
- package/dist/serialization/types/SlimDocumentDocumentToDocumentIndex.js +36 -0
- package/dist/serialization/types/TestSuiteRunExecConfig.d.ts +3 -1
- package/dist/serialization/types/TestSuiteRunExecConfig.js +4 -0
- package/dist/serialization/types/TestSuiteRunExecConfigRequest.d.ts +3 -1
- package/dist/serialization/types/TestSuiteRunExecConfigRequest.js +4 -0
- package/dist/serialization/types/TestSuiteRunPromptSandboxHistoryItemExecConfig.d.ts +15 -0
- package/dist/serialization/types/TestSuiteRunPromptSandboxHistoryItemExecConfig.js +36 -0
- package/dist/serialization/types/TestSuiteRunPromptSandboxHistoryItemExecConfigData.d.ts +13 -0
- package/dist/serialization/types/TestSuiteRunPromptSandboxHistoryItemExecConfigData.js +34 -0
- package/dist/serialization/types/TestSuiteRunPromptSandboxHistoryItemExecConfigDataRequest.d.ts +13 -0
- package/dist/serialization/types/TestSuiteRunPromptSandboxHistoryItemExecConfigDataRequest.js +34 -0
- package/dist/serialization/types/TestSuiteRunPromptSandboxHistoryItemExecConfigRequest.d.ts +15 -0
- package/dist/serialization/types/TestSuiteRunPromptSandboxHistoryItemExecConfigRequest.js +36 -0
- package/dist/serialization/types/TestSuiteRunWorkflowSandboxHistoryItemExecConfig.d.ts +15 -0
- package/dist/serialization/types/TestSuiteRunWorkflowSandboxHistoryItemExecConfig.js +36 -0
- package/dist/serialization/types/TestSuiteRunWorkflowSandboxHistoryItemExecConfigData.d.ts +13 -0
- package/dist/serialization/types/TestSuiteRunWorkflowSandboxHistoryItemExecConfigData.js +34 -0
- package/dist/serialization/types/TestSuiteRunWorkflowSandboxHistoryItemExecConfigDataRequest.d.ts +13 -0
- package/dist/serialization/types/TestSuiteRunWorkflowSandboxHistoryItemExecConfigDataRequest.js +34 -0
- package/dist/serialization/types/TestSuiteRunWorkflowSandboxHistoryItemExecConfigRequest.d.ts +15 -0
- package/dist/serialization/types/TestSuiteRunWorkflowSandboxHistoryItemExecConfigRequest.js +36 -0
- package/dist/serialization/types/index.d.ts +9 -0
- package/dist/serialization/types/index.js +9 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/serialization/types/DocumentDocumentToDocumentIndex.d.ts +1 -0
- package/serialization/types/DocumentDocumentToDocumentIndex.js +1 -0
- package/serialization/types/SlimDocument.d.ts +2 -2
- package/serialization/types/SlimDocument.js +2 -2
- package/serialization/types/SlimDocumentDocumentToDocumentIndex.d.ts +15 -0
- package/serialization/types/SlimDocumentDocumentToDocumentIndex.js +36 -0
- package/serialization/types/TestSuiteRunExecConfig.d.ts +3 -1
- package/serialization/types/TestSuiteRunExecConfig.js +4 -0
- package/serialization/types/TestSuiteRunExecConfigRequest.d.ts +3 -1
- package/serialization/types/TestSuiteRunExecConfigRequest.js +4 -0
- package/serialization/types/TestSuiteRunPromptSandboxHistoryItemExecConfig.d.ts +15 -0
- package/serialization/types/TestSuiteRunPromptSandboxHistoryItemExecConfig.js +36 -0
- package/serialization/types/TestSuiteRunPromptSandboxHistoryItemExecConfigData.d.ts +13 -0
- package/serialization/types/TestSuiteRunPromptSandboxHistoryItemExecConfigData.js +34 -0
- package/serialization/types/TestSuiteRunPromptSandboxHistoryItemExecConfigDataRequest.d.ts +13 -0
- package/serialization/types/TestSuiteRunPromptSandboxHistoryItemExecConfigDataRequest.js +34 -0
- package/serialization/types/TestSuiteRunPromptSandboxHistoryItemExecConfigRequest.d.ts +15 -0
- package/serialization/types/TestSuiteRunPromptSandboxHistoryItemExecConfigRequest.js +36 -0
- package/serialization/types/TestSuiteRunWorkflowSandboxHistoryItemExecConfig.d.ts +15 -0
- package/serialization/types/TestSuiteRunWorkflowSandboxHistoryItemExecConfig.js +36 -0
- package/serialization/types/TestSuiteRunWorkflowSandboxHistoryItemExecConfigData.d.ts +13 -0
- package/serialization/types/TestSuiteRunWorkflowSandboxHistoryItemExecConfigData.js +34 -0
- package/serialization/types/TestSuiteRunWorkflowSandboxHistoryItemExecConfigDataRequest.d.ts +13 -0
- package/serialization/types/TestSuiteRunWorkflowSandboxHistoryItemExecConfigDataRequest.js +34 -0
- package/serialization/types/TestSuiteRunWorkflowSandboxHistoryItemExecConfigRequest.d.ts +15 -0
- package/serialization/types/TestSuiteRunWorkflowSandboxHistoryItemExecConfigRequest.js +36 -0
- package/serialization/types/index.d.ts +9 -0
- package/serialization/types/index.js +9 -0
- package/version.d.ts +1 -1
- package/version.js +1 -1
|
@@ -1533,6 +1533,9 @@ types:
|
|
|
1533
1533
|
source:
|
|
1534
1534
|
openapi: openapi/openapi.yml
|
|
1535
1535
|
DocumentDocumentToDocumentIndex:
|
|
1536
|
+
docs: >-
|
|
1537
|
+
A detailed representation of the link between a Document and a Document
|
|
1538
|
+
Index it's a member of.
|
|
1536
1539
|
properties:
|
|
1537
1540
|
id:
|
|
1538
1541
|
type: string
|
|
@@ -1562,6 +1565,7 @@ types:
|
|
|
1562
1565
|
* `INDEXED` - Indexed
|
|
1563
1566
|
|
|
1564
1567
|
* `FAILED` - Failed
|
|
1568
|
+
extracted_text_file_url: optional<string>
|
|
1565
1569
|
source:
|
|
1566
1570
|
openapi: openapi/openapi.yml
|
|
1567
1571
|
DocumentIndexChunking:
|
|
@@ -4354,7 +4358,42 @@ types:
|
|
|
4354
4358
|
docs: >-
|
|
4355
4359
|
A previously supplied JSON object containing metadata that can be
|
|
4356
4360
|
filtered on when searching.
|
|
4357
|
-
document_to_document_indexes: list<
|
|
4361
|
+
document_to_document_indexes: list<SlimDocumentDocumentToDocumentIndex>
|
|
4362
|
+
source:
|
|
4363
|
+
openapi: openapi/openapi.yml
|
|
4364
|
+
SlimDocumentDocumentToDocumentIndex:
|
|
4365
|
+
docs: >-
|
|
4366
|
+
A slim representation of the link between a Document and a Document Index
|
|
4367
|
+
it's a member of.
|
|
4368
|
+
properties:
|
|
4369
|
+
id:
|
|
4370
|
+
type: string
|
|
4371
|
+
docs: Vellum-generated ID that uniquely identifies this link.
|
|
4372
|
+
validation:
|
|
4373
|
+
format: uuid
|
|
4374
|
+
document_index_id:
|
|
4375
|
+
type: string
|
|
4376
|
+
docs: >-
|
|
4377
|
+
Vellum-generated ID that uniquely identifies the index this document
|
|
4378
|
+
is included in.
|
|
4379
|
+
validation:
|
|
4380
|
+
format: uuid
|
|
4381
|
+
indexing_state:
|
|
4382
|
+
type: optional<IndexingStateEnum>
|
|
4383
|
+
docs: >-
|
|
4384
|
+
An enum value representing where this document is along its indexing
|
|
4385
|
+
lifecycle for this index.
|
|
4386
|
+
|
|
4387
|
+
|
|
4388
|
+
* `AWAITING_PROCESSING` - Awaiting Processing
|
|
4389
|
+
|
|
4390
|
+
* `QUEUED` - Queued
|
|
4391
|
+
|
|
4392
|
+
* `INDEXING` - Indexing
|
|
4393
|
+
|
|
4394
|
+
* `INDEXED` - Indexed
|
|
4395
|
+
|
|
4396
|
+
* `FAILED` - Failed
|
|
4358
4397
|
source:
|
|
4359
4398
|
openapi: openapi/openapi.yml
|
|
4360
4399
|
SlimWorkflowDeployment:
|
|
@@ -4950,7 +4989,9 @@ types:
|
|
|
4950
4989
|
discriminated: false
|
|
4951
4990
|
union:
|
|
4952
4991
|
- TestSuiteRunDeploymentReleaseTagExecConfig
|
|
4992
|
+
- TestSuiteRunPromptSandboxHistoryItemExecConfig
|
|
4953
4993
|
- TestSuiteRunWorkflowReleaseTagExecConfig
|
|
4994
|
+
- TestSuiteRunWorkflowSandboxHistoryItemExecConfig
|
|
4954
4995
|
- TestSuiteRunExternalExecConfig
|
|
4955
4996
|
source:
|
|
4956
4997
|
openapi: openapi/openapi.yml
|
|
@@ -4958,7 +4999,9 @@ types:
|
|
|
4958
4999
|
discriminated: false
|
|
4959
5000
|
union:
|
|
4960
5001
|
- TestSuiteRunDeploymentReleaseTagExecConfigRequest
|
|
5002
|
+
- TestSuiteRunPromptSandboxHistoryItemExecConfigRequest
|
|
4961
5003
|
- TestSuiteRunWorkflowReleaseTagExecConfigRequest
|
|
5004
|
+
- TestSuiteRunWorkflowSandboxHistoryItemExecConfigRequest
|
|
4962
5005
|
- TestSuiteRunExternalExecConfigRequest
|
|
4963
5006
|
source:
|
|
4964
5007
|
openapi: openapi/openapi.yml
|
|
@@ -5218,6 +5261,73 @@ types:
|
|
|
5218
5261
|
TestSuiteRunMetricStringOutputTypeEnum:
|
|
5219
5262
|
type: literal<"STRING">
|
|
5220
5263
|
docs: '* `STRING` - STRING'
|
|
5264
|
+
TestSuiteRunPromptSandboxHistoryItemExecConfig:
|
|
5265
|
+
docs: >-
|
|
5266
|
+
Execution configuration for running a Test Suite against a Prompt Sandbox
|
|
5267
|
+
History Item
|
|
5268
|
+
properties:
|
|
5269
|
+
type: literal<"PROMPT_SANDBOX_HISTORY_ITEM">
|
|
5270
|
+
data: TestSuiteRunPromptSandboxHistoryItemExecConfigData
|
|
5271
|
+
test_case_ids:
|
|
5272
|
+
type: optional<list<string>>
|
|
5273
|
+
docs: >-
|
|
5274
|
+
Optionally specify a subset of test case ids to run. If not provided,
|
|
5275
|
+
all test cases within the test suite will be run by default.
|
|
5276
|
+
source:
|
|
5277
|
+
openapi: openapi/openapi.yml
|
|
5278
|
+
TestSuiteRunPromptSandboxHistoryItemExecConfigData:
|
|
5279
|
+
properties:
|
|
5280
|
+
history_item_id:
|
|
5281
|
+
type: string
|
|
5282
|
+
docs: >-
|
|
5283
|
+
The ID of the Prompt Sandbox History Item that the Test Suite will run
|
|
5284
|
+
against.
|
|
5285
|
+
validation:
|
|
5286
|
+
format: uuid
|
|
5287
|
+
prompt_variant_id:
|
|
5288
|
+
type: string
|
|
5289
|
+
docs: >-
|
|
5290
|
+
The ID of the Prompt Variant within the Prompt Sandbox History Item
|
|
5291
|
+
that you'd like to run the Test Suite against.
|
|
5292
|
+
validation:
|
|
5293
|
+
format: uuid
|
|
5294
|
+
source:
|
|
5295
|
+
openapi: openapi/openapi.yml
|
|
5296
|
+
TestSuiteRunPromptSandboxHistoryItemExecConfigDataRequest:
|
|
5297
|
+
properties:
|
|
5298
|
+
history_item_id:
|
|
5299
|
+
type: string
|
|
5300
|
+
docs: >-
|
|
5301
|
+
The ID of the Prompt Sandbox History Item that the Test Suite will run
|
|
5302
|
+
against.
|
|
5303
|
+
validation:
|
|
5304
|
+
format: uuid
|
|
5305
|
+
prompt_variant_id:
|
|
5306
|
+
type: string
|
|
5307
|
+
docs: >-
|
|
5308
|
+
The ID of the Prompt Variant within the Prompt Sandbox History Item
|
|
5309
|
+
that you'd like to run the Test Suite against.
|
|
5310
|
+
validation:
|
|
5311
|
+
format: uuid
|
|
5312
|
+
source:
|
|
5313
|
+
openapi: openapi/openapi.yml
|
|
5314
|
+
TestSuiteRunPromptSandboxHistoryItemExecConfigRequest:
|
|
5315
|
+
docs: >-
|
|
5316
|
+
Execution configuration for running a Test Suite against a Prompt Sandbox
|
|
5317
|
+
History Item
|
|
5318
|
+
properties:
|
|
5319
|
+
type: literal<"PROMPT_SANDBOX_HISTORY_ITEM">
|
|
5320
|
+
data: TestSuiteRunPromptSandboxHistoryItemExecConfigDataRequest
|
|
5321
|
+
test_case_ids:
|
|
5322
|
+
type: optional<list<string>>
|
|
5323
|
+
docs: >-
|
|
5324
|
+
Optionally specify a subset of test case ids to run. If not provided,
|
|
5325
|
+
all test cases within the test suite will be run by default.
|
|
5326
|
+
source:
|
|
5327
|
+
openapi: openapi/openapi.yml
|
|
5328
|
+
TestSuiteRunPromptSandboxHistoryItemExecConfigTypeEnum:
|
|
5329
|
+
type: literal<"PROMPT_SANDBOX_HISTORY_ITEM">
|
|
5330
|
+
docs: '* `PROMPT_SANDBOX_HISTORY_ITEM` - PROMPT_SANDBOX_HISTORY_ITEM'
|
|
5221
5331
|
TestSuiteRunRead:
|
|
5222
5332
|
properties:
|
|
5223
5333
|
id:
|
|
@@ -5334,6 +5444,73 @@ types:
|
|
|
5334
5444
|
TestSuiteRunWorkflowReleaseTagExecConfigTypeEnum:
|
|
5335
5445
|
type: literal<"WORKFLOW_RELEASE_TAG">
|
|
5336
5446
|
docs: '* `WORKFLOW_RELEASE_TAG` - WORKFLOW_RELEASE_TAG'
|
|
5447
|
+
TestSuiteRunWorkflowSandboxHistoryItemExecConfig:
|
|
5448
|
+
docs: >-
|
|
5449
|
+
Execution configuration for running a Test Suite against a Workflow
|
|
5450
|
+
Sandbox History Item
|
|
5451
|
+
properties:
|
|
5452
|
+
type: literal<"WORKFLOW_SANDBOX_HISTORY_ITEM">
|
|
5453
|
+
data: TestSuiteRunWorkflowSandboxHistoryItemExecConfigData
|
|
5454
|
+
test_case_ids:
|
|
5455
|
+
type: optional<list<string>>
|
|
5456
|
+
docs: >-
|
|
5457
|
+
Optionally specify a subset of test case ids to run. If not provided,
|
|
5458
|
+
all test cases within the test suite will be run by default.
|
|
5459
|
+
source:
|
|
5460
|
+
openapi: openapi/openapi.yml
|
|
5461
|
+
TestSuiteRunWorkflowSandboxHistoryItemExecConfigData:
|
|
5462
|
+
properties:
|
|
5463
|
+
history_item_id:
|
|
5464
|
+
type: string
|
|
5465
|
+
docs: >-
|
|
5466
|
+
The ID of the Workflow Sandbox History Item that the Test Suite will
|
|
5467
|
+
run against.
|
|
5468
|
+
validation:
|
|
5469
|
+
format: uuid
|
|
5470
|
+
workflow_variant_id:
|
|
5471
|
+
type: string
|
|
5472
|
+
docs: >-
|
|
5473
|
+
The ID of the Workflow Variant within the Workflow Sandbox History
|
|
5474
|
+
Item that you'd like to run the Test Suite against.
|
|
5475
|
+
validation:
|
|
5476
|
+
format: uuid
|
|
5477
|
+
source:
|
|
5478
|
+
openapi: openapi/openapi.yml
|
|
5479
|
+
TestSuiteRunWorkflowSandboxHistoryItemExecConfigDataRequest:
|
|
5480
|
+
properties:
|
|
5481
|
+
history_item_id:
|
|
5482
|
+
type: string
|
|
5483
|
+
docs: >-
|
|
5484
|
+
The ID of the Workflow Sandbox History Item that the Test Suite will
|
|
5485
|
+
run against.
|
|
5486
|
+
validation:
|
|
5487
|
+
format: uuid
|
|
5488
|
+
workflow_variant_id:
|
|
5489
|
+
type: string
|
|
5490
|
+
docs: >-
|
|
5491
|
+
The ID of the Workflow Variant within the Workflow Sandbox History
|
|
5492
|
+
Item that you'd like to run the Test Suite against.
|
|
5493
|
+
validation:
|
|
5494
|
+
format: uuid
|
|
5495
|
+
source:
|
|
5496
|
+
openapi: openapi/openapi.yml
|
|
5497
|
+
TestSuiteRunWorkflowSandboxHistoryItemExecConfigRequest:
|
|
5498
|
+
docs: >-
|
|
5499
|
+
Execution configuration for running a Test Suite against a Workflow
|
|
5500
|
+
Sandbox History Item
|
|
5501
|
+
properties:
|
|
5502
|
+
type: literal<"WORKFLOW_SANDBOX_HISTORY_ITEM">
|
|
5503
|
+
data: TestSuiteRunWorkflowSandboxHistoryItemExecConfigDataRequest
|
|
5504
|
+
test_case_ids:
|
|
5505
|
+
type: optional<list<string>>
|
|
5506
|
+
docs: >-
|
|
5507
|
+
Optionally specify a subset of test case ids to run. If not provided,
|
|
5508
|
+
all test cases within the test suite will be run by default.
|
|
5509
|
+
source:
|
|
5510
|
+
openapi: openapi/openapi.yml
|
|
5511
|
+
TestSuiteRunWorkflowSandboxHistoryItemExecConfigTypeEnum:
|
|
5512
|
+
type: literal<"WORKFLOW_SANDBOX_HISTORY_ITEM">
|
|
5513
|
+
docs: '* `WORKFLOW_SANDBOX_HISTORY_ITEM` - WORKFLOW_SANDBOX_HISTORY_ITEM'
|
|
5337
5514
|
TestSuiteTestCase:
|
|
5338
5515
|
properties:
|
|
5339
5516
|
id: optional<string>
|
|
@@ -94,6 +94,7 @@ service:
|
|
|
94
94
|
- id: id
|
|
95
95
|
document_index_id: document_index_id
|
|
96
96
|
indexing_state: AWAITING_PROCESSING
|
|
97
|
+
extracted_text_file_url: extracted_text_file_url
|
|
97
98
|
metadata:
|
|
98
99
|
key: value
|
|
99
100
|
audiences:
|
|
@@ -178,6 +179,7 @@ service:
|
|
|
178
179
|
- id: id
|
|
179
180
|
document_index_id: document_index_id
|
|
180
181
|
indexing_state: AWAITING_PROCESSING
|
|
182
|
+
extracted_text_file_url: extracted_text_file_url
|
|
181
183
|
metadata:
|
|
182
184
|
key: value
|
|
183
185
|
audiences:
|
|
@@ -3709,6 +3709,8 @@ components:
|
|
|
3709
3709
|
- repository
|
|
3710
3710
|
DocumentDocumentToDocumentIndex:
|
|
3711
3711
|
type: object
|
|
3712
|
+
description: A detailed representation of the link between a Document and a
|
|
3713
|
+
Document Index it's a member of.
|
|
3712
3714
|
properties:
|
|
3713
3715
|
id:
|
|
3714
3716
|
type: string
|
|
@@ -3732,8 +3734,13 @@ components:
|
|
|
3732
3734
|
* `INDEXING` - Indexing
|
|
3733
3735
|
* `INDEXED` - Indexed
|
|
3734
3736
|
* `FAILED` - Failed
|
|
3737
|
+
extracted_text_file_url:
|
|
3738
|
+
type: string
|
|
3739
|
+
nullable: true
|
|
3740
|
+
readOnly: true
|
|
3735
3741
|
required:
|
|
3736
3742
|
- document_index_id
|
|
3743
|
+
- extracted_text_file_url
|
|
3737
3744
|
- id
|
|
3738
3745
|
DocumentIndexChunking:
|
|
3739
3746
|
oneOf:
|
|
@@ -8518,13 +8525,43 @@ components:
|
|
|
8518
8525
|
document_to_document_indexes:
|
|
8519
8526
|
type: array
|
|
8520
8527
|
items:
|
|
8521
|
-
$ref: '#/components/schemas/
|
|
8528
|
+
$ref: '#/components/schemas/SlimDocumentDocumentToDocumentIndex'
|
|
8522
8529
|
required:
|
|
8523
8530
|
- document_to_document_indexes
|
|
8524
8531
|
- id
|
|
8525
8532
|
- label
|
|
8526
8533
|
- last_uploaded_at
|
|
8527
8534
|
- processing_state
|
|
8535
|
+
SlimDocumentDocumentToDocumentIndex:
|
|
8536
|
+
type: object
|
|
8537
|
+
description: A slim representation of the link between a Document and a Document
|
|
8538
|
+
Index it's a member of.
|
|
8539
|
+
properties:
|
|
8540
|
+
id:
|
|
8541
|
+
type: string
|
|
8542
|
+
format: uuid
|
|
8543
|
+
readOnly: true
|
|
8544
|
+
description: Vellum-generated ID that uniquely identifies this link.
|
|
8545
|
+
document_index_id:
|
|
8546
|
+
type: string
|
|
8547
|
+
format: uuid
|
|
8548
|
+
readOnly: true
|
|
8549
|
+
description: Vellum-generated ID that uniquely identifies the index this
|
|
8550
|
+
document is included in.
|
|
8551
|
+
indexing_state:
|
|
8552
|
+
allOf:
|
|
8553
|
+
- $ref: '#/components/schemas/IndexingStateEnum'
|
|
8554
|
+
description: |-
|
|
8555
|
+
An enum value representing where this document is along its indexing lifecycle for this index.
|
|
8556
|
+
|
|
8557
|
+
* `AWAITING_PROCESSING` - Awaiting Processing
|
|
8558
|
+
* `QUEUED` - Queued
|
|
8559
|
+
* `INDEXING` - Indexing
|
|
8560
|
+
* `INDEXED` - Indexed
|
|
8561
|
+
* `FAILED` - Failed
|
|
8562
|
+
required:
|
|
8563
|
+
- document_index_id
|
|
8564
|
+
- id
|
|
8528
8565
|
SlimWorkflowDeployment:
|
|
8529
8566
|
type: object
|
|
8530
8567
|
properties:
|
|
@@ -9542,24 +9579,32 @@ components:
|
|
|
9542
9579
|
TestSuiteRunExecConfig:
|
|
9543
9580
|
oneOf:
|
|
9544
9581
|
- $ref: '#/components/schemas/TestSuiteRunDeploymentReleaseTagExecConfig'
|
|
9582
|
+
- $ref: '#/components/schemas/TestSuiteRunPromptSandboxHistoryItemExecConfig'
|
|
9545
9583
|
- $ref: '#/components/schemas/TestSuiteRunWorkflowReleaseTagExecConfig'
|
|
9584
|
+
- $ref: '#/components/schemas/TestSuiteRunWorkflowSandboxHistoryItemExecConfig'
|
|
9546
9585
|
- $ref: '#/components/schemas/TestSuiteRunExternalExecConfig'
|
|
9547
9586
|
discriminator:
|
|
9548
9587
|
propertyName: type
|
|
9549
9588
|
mapping:
|
|
9550
9589
|
DEPLOYMENT_RELEASE_TAG: '#/components/schemas/TestSuiteRunDeploymentReleaseTagExecConfig'
|
|
9590
|
+
PROMPT_SANDBOX_HISTORY_ITEM: '#/components/schemas/TestSuiteRunPromptSandboxHistoryItemExecConfig'
|
|
9551
9591
|
WORKFLOW_RELEASE_TAG: '#/components/schemas/TestSuiteRunWorkflowReleaseTagExecConfig'
|
|
9592
|
+
WORKFLOW_SANDBOX_HISTORY_ITEM: '#/components/schemas/TestSuiteRunWorkflowSandboxHistoryItemExecConfig'
|
|
9552
9593
|
EXTERNAL: '#/components/schemas/TestSuiteRunExternalExecConfig'
|
|
9553
9594
|
TestSuiteRunExecConfigRequest:
|
|
9554
9595
|
oneOf:
|
|
9555
9596
|
- $ref: '#/components/schemas/TestSuiteRunDeploymentReleaseTagExecConfigRequest'
|
|
9597
|
+
- $ref: '#/components/schemas/TestSuiteRunPromptSandboxHistoryItemExecConfigRequest'
|
|
9556
9598
|
- $ref: '#/components/schemas/TestSuiteRunWorkflowReleaseTagExecConfigRequest'
|
|
9599
|
+
- $ref: '#/components/schemas/TestSuiteRunWorkflowSandboxHistoryItemExecConfigRequest'
|
|
9557
9600
|
- $ref: '#/components/schemas/TestSuiteRunExternalExecConfigRequest'
|
|
9558
9601
|
discriminator:
|
|
9559
9602
|
propertyName: type
|
|
9560
9603
|
mapping:
|
|
9561
9604
|
DEPLOYMENT_RELEASE_TAG: '#/components/schemas/TestSuiteRunDeploymentReleaseTagExecConfigRequest'
|
|
9605
|
+
PROMPT_SANDBOX_HISTORY_ITEM: '#/components/schemas/TestSuiteRunPromptSandboxHistoryItemExecConfigRequest'
|
|
9562
9606
|
WORKFLOW_RELEASE_TAG: '#/components/schemas/TestSuiteRunWorkflowReleaseTagExecConfigRequest'
|
|
9607
|
+
WORKFLOW_SANDBOX_HISTORY_ITEM: '#/components/schemas/TestSuiteRunWorkflowSandboxHistoryItemExecConfigRequest'
|
|
9563
9608
|
EXTERNAL: '#/components/schemas/TestSuiteRunExternalExecConfigRequest'
|
|
9564
9609
|
TestSuiteRunExecution:
|
|
9565
9610
|
type: object
|
|
@@ -9949,6 +9994,80 @@ components:
|
|
|
9949
9994
|
- STRING
|
|
9950
9995
|
type: string
|
|
9951
9996
|
description: '* `STRING` - STRING'
|
|
9997
|
+
TestSuiteRunPromptSandboxHistoryItemExecConfig:
|
|
9998
|
+
type: object
|
|
9999
|
+
description: Execution configuration for running a Test Suite against a Prompt
|
|
10000
|
+
Sandbox History Item
|
|
10001
|
+
properties:
|
|
10002
|
+
type:
|
|
10003
|
+
$ref: '#/components/schemas/TestSuiteRunPromptSandboxHistoryItemExecConfigTypeEnum'
|
|
10004
|
+
data:
|
|
10005
|
+
$ref: '#/components/schemas/TestSuiteRunPromptSandboxHistoryItemExecConfigData'
|
|
10006
|
+
test_case_ids:
|
|
10007
|
+
type: array
|
|
10008
|
+
items:
|
|
10009
|
+
type: string
|
|
10010
|
+
nullable: true
|
|
10011
|
+
description: Optionally specify a subset of test case ids to run. If not
|
|
10012
|
+
provided, all test cases within the test suite will be run by default.
|
|
10013
|
+
required:
|
|
10014
|
+
- data
|
|
10015
|
+
TestSuiteRunPromptSandboxHistoryItemExecConfigData:
|
|
10016
|
+
type: object
|
|
10017
|
+
properties:
|
|
10018
|
+
history_item_id:
|
|
10019
|
+
type: string
|
|
10020
|
+
format: uuid
|
|
10021
|
+
description: The ID of the Prompt Sandbox History Item that the Test Suite
|
|
10022
|
+
will run against.
|
|
10023
|
+
prompt_variant_id:
|
|
10024
|
+
type: string
|
|
10025
|
+
format: uuid
|
|
10026
|
+
description: The ID of the Prompt Variant within the Prompt Sandbox History
|
|
10027
|
+
Item that you'd like to run the Test Suite against.
|
|
10028
|
+
required:
|
|
10029
|
+
- history_item_id
|
|
10030
|
+
- prompt_variant_id
|
|
10031
|
+
TestSuiteRunPromptSandboxHistoryItemExecConfigDataRequest:
|
|
10032
|
+
type: object
|
|
10033
|
+
properties:
|
|
10034
|
+
history_item_id:
|
|
10035
|
+
type: string
|
|
10036
|
+
format: uuid
|
|
10037
|
+
description: The ID of the Prompt Sandbox History Item that the Test Suite
|
|
10038
|
+
will run against.
|
|
10039
|
+
prompt_variant_id:
|
|
10040
|
+
type: string
|
|
10041
|
+
format: uuid
|
|
10042
|
+
description: The ID of the Prompt Variant within the Prompt Sandbox History
|
|
10043
|
+
Item that you'd like to run the Test Suite against.
|
|
10044
|
+
required:
|
|
10045
|
+
- history_item_id
|
|
10046
|
+
- prompt_variant_id
|
|
10047
|
+
TestSuiteRunPromptSandboxHistoryItemExecConfigRequest:
|
|
10048
|
+
type: object
|
|
10049
|
+
description: Execution configuration for running a Test Suite against a Prompt
|
|
10050
|
+
Sandbox History Item
|
|
10051
|
+
properties:
|
|
10052
|
+
type:
|
|
10053
|
+
$ref: '#/components/schemas/TestSuiteRunPromptSandboxHistoryItemExecConfigTypeEnum'
|
|
10054
|
+
data:
|
|
10055
|
+
$ref: '#/components/schemas/TestSuiteRunPromptSandboxHistoryItemExecConfigDataRequest'
|
|
10056
|
+
test_case_ids:
|
|
10057
|
+
type: array
|
|
10058
|
+
items:
|
|
10059
|
+
type: string
|
|
10060
|
+
minLength: 1
|
|
10061
|
+
nullable: true
|
|
10062
|
+
description: Optionally specify a subset of test case ids to run. If not
|
|
10063
|
+
provided, all test cases within the test suite will be run by default.
|
|
10064
|
+
required:
|
|
10065
|
+
- data
|
|
10066
|
+
TestSuiteRunPromptSandboxHistoryItemExecConfigTypeEnum:
|
|
10067
|
+
enum:
|
|
10068
|
+
- PROMPT_SANDBOX_HISTORY_ITEM
|
|
10069
|
+
type: string
|
|
10070
|
+
description: '* `PROMPT_SANDBOX_HISTORY_ITEM` - PROMPT_SANDBOX_HISTORY_ITEM'
|
|
9952
10071
|
TestSuiteRunRead:
|
|
9953
10072
|
type: object
|
|
9954
10073
|
properties:
|
|
@@ -10085,6 +10204,80 @@ components:
|
|
|
10085
10204
|
- WORKFLOW_RELEASE_TAG
|
|
10086
10205
|
type: string
|
|
10087
10206
|
description: '* `WORKFLOW_RELEASE_TAG` - WORKFLOW_RELEASE_TAG'
|
|
10207
|
+
TestSuiteRunWorkflowSandboxHistoryItemExecConfig:
|
|
10208
|
+
type: object
|
|
10209
|
+
description: Execution configuration for running a Test Suite against a Workflow
|
|
10210
|
+
Sandbox History Item
|
|
10211
|
+
properties:
|
|
10212
|
+
type:
|
|
10213
|
+
$ref: '#/components/schemas/TestSuiteRunWorkflowSandboxHistoryItemExecConfigTypeEnum'
|
|
10214
|
+
data:
|
|
10215
|
+
$ref: '#/components/schemas/TestSuiteRunWorkflowSandboxHistoryItemExecConfigData'
|
|
10216
|
+
test_case_ids:
|
|
10217
|
+
type: array
|
|
10218
|
+
items:
|
|
10219
|
+
type: string
|
|
10220
|
+
nullable: true
|
|
10221
|
+
description: Optionally specify a subset of test case ids to run. If not
|
|
10222
|
+
provided, all test cases within the test suite will be run by default.
|
|
10223
|
+
required:
|
|
10224
|
+
- data
|
|
10225
|
+
TestSuiteRunWorkflowSandboxHistoryItemExecConfigData:
|
|
10226
|
+
type: object
|
|
10227
|
+
properties:
|
|
10228
|
+
history_item_id:
|
|
10229
|
+
type: string
|
|
10230
|
+
format: uuid
|
|
10231
|
+
description: The ID of the Workflow Sandbox History Item that the Test Suite
|
|
10232
|
+
will run against.
|
|
10233
|
+
workflow_variant_id:
|
|
10234
|
+
type: string
|
|
10235
|
+
format: uuid
|
|
10236
|
+
description: The ID of the Workflow Variant within the Workflow Sandbox
|
|
10237
|
+
History Item that you'd like to run the Test Suite against.
|
|
10238
|
+
required:
|
|
10239
|
+
- history_item_id
|
|
10240
|
+
- workflow_variant_id
|
|
10241
|
+
TestSuiteRunWorkflowSandboxHistoryItemExecConfigDataRequest:
|
|
10242
|
+
type: object
|
|
10243
|
+
properties:
|
|
10244
|
+
history_item_id:
|
|
10245
|
+
type: string
|
|
10246
|
+
format: uuid
|
|
10247
|
+
description: The ID of the Workflow Sandbox History Item that the Test Suite
|
|
10248
|
+
will run against.
|
|
10249
|
+
workflow_variant_id:
|
|
10250
|
+
type: string
|
|
10251
|
+
format: uuid
|
|
10252
|
+
description: The ID of the Workflow Variant within the Workflow Sandbox
|
|
10253
|
+
History Item that you'd like to run the Test Suite against.
|
|
10254
|
+
required:
|
|
10255
|
+
- history_item_id
|
|
10256
|
+
- workflow_variant_id
|
|
10257
|
+
TestSuiteRunWorkflowSandboxHistoryItemExecConfigRequest:
|
|
10258
|
+
type: object
|
|
10259
|
+
description: Execution configuration for running a Test Suite against a Workflow
|
|
10260
|
+
Sandbox History Item
|
|
10261
|
+
properties:
|
|
10262
|
+
type:
|
|
10263
|
+
$ref: '#/components/schemas/TestSuiteRunWorkflowSandboxHistoryItemExecConfigTypeEnum'
|
|
10264
|
+
data:
|
|
10265
|
+
$ref: '#/components/schemas/TestSuiteRunWorkflowSandboxHistoryItemExecConfigDataRequest'
|
|
10266
|
+
test_case_ids:
|
|
10267
|
+
type: array
|
|
10268
|
+
items:
|
|
10269
|
+
type: string
|
|
10270
|
+
minLength: 1
|
|
10271
|
+
nullable: true
|
|
10272
|
+
description: Optionally specify a subset of test case ids to run. If not
|
|
10273
|
+
provided, all test cases within the test suite will be run by default.
|
|
10274
|
+
required:
|
|
10275
|
+
- data
|
|
10276
|
+
TestSuiteRunWorkflowSandboxHistoryItemExecConfigTypeEnum:
|
|
10277
|
+
enum:
|
|
10278
|
+
- WORKFLOW_SANDBOX_HISTORY_ITEM
|
|
10279
|
+
type: string
|
|
10280
|
+
description: '* `WORKFLOW_SANDBOX_HISTORY_ITEM` - WORKFLOW_SANDBOX_HISTORY_ITEM'
|
|
10088
10281
|
TestSuiteTestCase:
|
|
10089
10282
|
type: object
|
|
10090
10283
|
properties:
|
package/Client.js
CHANGED
|
@@ -95,7 +95,7 @@ class VellumClient {
|
|
|
95
95
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
96
96
|
.default, "v1/execute-code"),
|
|
97
97
|
method: "POST",
|
|
98
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.11.
|
|
98
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.11.2", "User-Agent": "vellum-ai/0.11.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
99
99
|
contentType: "application/json",
|
|
100
100
|
requestType: "json",
|
|
101
101
|
body: serializers.CodeExecutor.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -164,7 +164,7 @@ class VellumClient {
|
|
|
164
164
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
165
165
|
.predict, "v1/execute-prompt"),
|
|
166
166
|
method: "POST",
|
|
167
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.11.
|
|
167
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.11.2", "User-Agent": "vellum-ai/0.11.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
168
168
|
contentType: "application/json",
|
|
169
169
|
requestType: "json",
|
|
170
170
|
body: serializers.ExecutePromptRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -222,7 +222,7 @@ class VellumClient {
|
|
|
222
222
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
223
223
|
.predict, "v1/execute-prompt-stream"),
|
|
224
224
|
method: "POST",
|
|
225
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.11.
|
|
225
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.11.2", "User-Agent": "vellum-ai/0.11.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
226
226
|
contentType: "application/json",
|
|
227
227
|
requestType: "json",
|
|
228
228
|
body: serializers.ExecutePromptStreamRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -307,7 +307,7 @@ class VellumClient {
|
|
|
307
307
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
308
308
|
.predict, "v1/execute-workflow"),
|
|
309
309
|
method: "POST",
|
|
310
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.11.
|
|
310
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.11.2", "User-Agent": "vellum-ai/0.11.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
311
311
|
contentType: "application/json",
|
|
312
312
|
requestType: "json",
|
|
313
313
|
body: serializers.ExecuteWorkflowRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -363,7 +363,7 @@ class VellumClient {
|
|
|
363
363
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
364
364
|
.predict, "v1/execute-workflow-stream"),
|
|
365
365
|
method: "POST",
|
|
366
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.11.
|
|
366
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.11.2", "User-Agent": "vellum-ai/0.11.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
367
367
|
contentType: "application/json",
|
|
368
368
|
requestType: "json",
|
|
369
369
|
body: serializers.ExecuteWorkflowStreamRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -450,7 +450,7 @@ class VellumClient {
|
|
|
450
450
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
451
451
|
.predict, "v1/generate"),
|
|
452
452
|
method: "POST",
|
|
453
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.11.
|
|
453
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.11.2", "User-Agent": "vellum-ai/0.11.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
454
454
|
contentType: "application/json",
|
|
455
455
|
requestType: "json",
|
|
456
456
|
body: serializers.GenerateBodyRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -511,7 +511,7 @@ class VellumClient {
|
|
|
511
511
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
512
512
|
.predict, "v1/generate-stream"),
|
|
513
513
|
method: "POST",
|
|
514
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.11.
|
|
514
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.11.2", "User-Agent": "vellum-ai/0.11.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
515
515
|
contentType: "application/json",
|
|
516
516
|
requestType: "json",
|
|
517
517
|
body: serializers.GenerateStreamBodyRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -592,7 +592,7 @@ class VellumClient {
|
|
|
592
592
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
593
593
|
.predict, "v1/search"),
|
|
594
594
|
method: "POST",
|
|
595
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.11.
|
|
595
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.11.2", "User-Agent": "vellum-ai/0.11.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
596
596
|
contentType: "application/json",
|
|
597
597
|
requestType: "json",
|
|
598
598
|
body: serializers.SearchRequestBodyRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -660,7 +660,7 @@ class VellumClient {
|
|
|
660
660
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
661
661
|
.predict, "v1/submit-completion-actuals"),
|
|
662
662
|
method: "POST",
|
|
663
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.11.
|
|
663
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.11.2", "User-Agent": "vellum-ai/0.11.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
664
664
|
contentType: "application/json",
|
|
665
665
|
requestType: "json",
|
|
666
666
|
body: serializers.SubmitCompletionActualsRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -723,7 +723,7 @@ class VellumClient {
|
|
|
723
723
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
724
724
|
.predict, "v1/submit-workflow-execution-actuals"),
|
|
725
725
|
method: "POST",
|
|
726
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.11.
|
|
726
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.11.2", "User-Agent": "vellum-ai/0.11.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
727
727
|
contentType: "application/json",
|
|
728
728
|
requestType: "json",
|
|
729
729
|
body: serializers.SubmitWorkflowExecutionActualsRequest.jsonOrThrow(request, {
|
|
@@ -59,7 +59,7 @@ 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.11.
|
|
62
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.11.2", "User-Agent": "vellum-ai/0.11.2", "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
65
|
body: serializers.AdHocExecutePromptStream.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -75,7 +75,7 @@ class ContainerImages {
|
|
|
75
75
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
76
76
|
.default, "v1/container-images"),
|
|
77
77
|
method: "GET",
|
|
78
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.11.
|
|
78
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.11.2", "User-Agent": "vellum-ai/0.11.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
79
79
|
contentType: "application/json",
|
|
80
80
|
queryParameters: _queryParams,
|
|
81
81
|
requestType: "json",
|
|
@@ -128,7 +128,7 @@ class ContainerImages {
|
|
|
128
128
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
129
129
|
.default, `v1/container-images/${encodeURIComponent(id)}`),
|
|
130
130
|
method: "GET",
|
|
131
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.11.
|
|
131
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.11.2", "User-Agent": "vellum-ai/0.11.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
132
132
|
contentType: "application/json",
|
|
133
133
|
requestType: "json",
|
|
134
134
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -179,7 +179,7 @@ class ContainerImages {
|
|
|
179
179
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
180
180
|
.default, "v1/container-images/docker-service-token"),
|
|
181
181
|
method: "GET",
|
|
182
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.11.
|
|
182
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.11.2", "User-Agent": "vellum-ai/0.11.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
183
183
|
contentType: "application/json",
|
|
184
184
|
requestType: "json",
|
|
185
185
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -235,7 +235,7 @@ class ContainerImages {
|
|
|
235
235
|
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
|
|
236
236
|
.default, "v1/container-images/push"),
|
|
237
237
|
method: "POST",
|
|
238
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.11.
|
|
238
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.11.2", "User-Agent": "vellum-ai/0.11.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
239
239
|
contentType: "application/json",
|
|
240
240
|
requestType: "json",
|
|
241
241
|
body: serializers.PushContainerImageRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|