vellum-ai 0.11.6 → 0.11.8
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/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/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/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/.mock/definition/__package__.yml +0 -6750
- package/.mock/definition/adHoc.yml +0 -67
- package/.mock/definition/api.yml +0 -17
- package/.mock/definition/containerImages.yml +0 -151
- package/.mock/definition/deployments.yml +0 -372
- package/.mock/definition/documentIndexes.yml +0 -448
- package/.mock/definition/documents.yml +0 -278
- package/.mock/definition/folderEntities.yml +0 -135
- package/.mock/definition/metricDefinitions.yml +0 -99
- package/.mock/definition/mlModels.yml +0 -36
- package/.mock/definition/sandboxes.yml +0 -205
- package/.mock/definition/testSuiteRuns.yml +0 -163
- package/.mock/definition/testSuites.yml +0 -182
- package/.mock/definition/workflowDeployments.yml +0 -299
- package/.mock/definition/workflowSandboxes.yml +0 -94
- package/.mock/definition/workflows.yml +0 -83
- package/.mock/definition/workspaceSecrets.yml +0 -78
- package/.mock/fern.config.json +0 -4
- package/.mock/openapi/openapi.yml +0 -12127
|
@@ -1,448 +0,0 @@
|
|
|
1
|
-
types:
|
|
2
|
-
DocumentIndexesListRequestStatus:
|
|
3
|
-
enum:
|
|
4
|
-
- ACTIVE
|
|
5
|
-
- ARCHIVED
|
|
6
|
-
source:
|
|
7
|
-
openapi: openapi/openapi.yml
|
|
8
|
-
imports:
|
|
9
|
-
root: __package__.yml
|
|
10
|
-
service:
|
|
11
|
-
auth: false
|
|
12
|
-
base-path: ''
|
|
13
|
-
endpoints:
|
|
14
|
-
list:
|
|
15
|
-
path: /v1/document-indexes
|
|
16
|
-
method: GET
|
|
17
|
-
auth: true
|
|
18
|
-
docs: Used to retrieve a list of Document Indexes.
|
|
19
|
-
source:
|
|
20
|
-
openapi: openapi/openapi.yml
|
|
21
|
-
request:
|
|
22
|
-
name: DocumentIndexesListRequest
|
|
23
|
-
query-parameters:
|
|
24
|
-
limit:
|
|
25
|
-
type: optional<integer>
|
|
26
|
-
docs: Number of results to return per page.
|
|
27
|
-
offset:
|
|
28
|
-
type: optional<integer>
|
|
29
|
-
docs: The initial index from which to return the results.
|
|
30
|
-
ordering:
|
|
31
|
-
type: optional<string>
|
|
32
|
-
docs: Which field to use when ordering the results.
|
|
33
|
-
search:
|
|
34
|
-
type: optional<string>
|
|
35
|
-
docs: Search for document indices by name or label
|
|
36
|
-
status:
|
|
37
|
-
type: optional<DocumentIndexesListRequestStatus>
|
|
38
|
-
docs: >-
|
|
39
|
-
Filter down to only document indices that have a status matching
|
|
40
|
-
the status specified
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
* `ACTIVE` - Active
|
|
44
|
-
|
|
45
|
-
* `ARCHIVED` - Archived
|
|
46
|
-
response:
|
|
47
|
-
docs: ''
|
|
48
|
-
type: root.PaginatedDocumentIndexReadList
|
|
49
|
-
url: Default
|
|
50
|
-
availability: pre-release
|
|
51
|
-
examples:
|
|
52
|
-
- response:
|
|
53
|
-
body:
|
|
54
|
-
count: 123
|
|
55
|
-
next: http://api.example.org/accounts/?offset=400&limit=100
|
|
56
|
-
previous: http://api.example.org/accounts/?offset=200&limit=100
|
|
57
|
-
results:
|
|
58
|
-
- id: id
|
|
59
|
-
created: '2024-01-15T09:30:00Z'
|
|
60
|
-
label: label
|
|
61
|
-
name: name
|
|
62
|
-
status: ACTIVE
|
|
63
|
-
environment: DEVELOPMENT
|
|
64
|
-
indexing_config:
|
|
65
|
-
vectorizer:
|
|
66
|
-
config: {}
|
|
67
|
-
model_name: text-embedding-3-small
|
|
68
|
-
audiences:
|
|
69
|
-
- customers
|
|
70
|
-
create:
|
|
71
|
-
path: /v1/document-indexes
|
|
72
|
-
method: POST
|
|
73
|
-
auth: true
|
|
74
|
-
docs: Creates a new document index.
|
|
75
|
-
source:
|
|
76
|
-
openapi: openapi/openapi.yml
|
|
77
|
-
request:
|
|
78
|
-
name: DocumentIndexCreateRequest
|
|
79
|
-
body:
|
|
80
|
-
properties:
|
|
81
|
-
label:
|
|
82
|
-
type: string
|
|
83
|
-
docs: A human-readable label for the document index
|
|
84
|
-
validation:
|
|
85
|
-
minLength: 1
|
|
86
|
-
maxLength: 150
|
|
87
|
-
name:
|
|
88
|
-
type: string
|
|
89
|
-
docs: A name that uniquely identifies this index within its workspace
|
|
90
|
-
validation:
|
|
91
|
-
minLength: 1
|
|
92
|
-
maxLength: 150
|
|
93
|
-
status:
|
|
94
|
-
type: optional<root.EntityStatus>
|
|
95
|
-
docs: |-
|
|
96
|
-
The current status of the document index
|
|
97
|
-
|
|
98
|
-
* `ACTIVE` - Active
|
|
99
|
-
* `ARCHIVED` - Archived
|
|
100
|
-
environment:
|
|
101
|
-
type: optional<root.EnvironmentEnum>
|
|
102
|
-
docs: |-
|
|
103
|
-
The environment this document index is used in
|
|
104
|
-
|
|
105
|
-
* `DEVELOPMENT` - Development
|
|
106
|
-
* `STAGING` - Staging
|
|
107
|
-
* `PRODUCTION` - Production
|
|
108
|
-
indexing_config: root.DocumentIndexIndexingConfigRequest
|
|
109
|
-
copy_documents_from_index_id:
|
|
110
|
-
type: optional<string>
|
|
111
|
-
docs: >-
|
|
112
|
-
Optionally specify the id of a document index from which you'd
|
|
113
|
-
like to copy and re-index its documents into this newly created
|
|
114
|
-
index
|
|
115
|
-
validation:
|
|
116
|
-
format: uuid
|
|
117
|
-
content-type: application/json
|
|
118
|
-
response:
|
|
119
|
-
docs: ''
|
|
120
|
-
type: root.DocumentIndexRead
|
|
121
|
-
url: Default
|
|
122
|
-
availability: pre-release
|
|
123
|
-
examples:
|
|
124
|
-
- name: Index Using Instructor Model
|
|
125
|
-
request:
|
|
126
|
-
label: My Document Index
|
|
127
|
-
name: my-document-index
|
|
128
|
-
indexing_config:
|
|
129
|
-
vectorizer:
|
|
130
|
-
model_name: hkunlp/instructor-xl
|
|
131
|
-
config:
|
|
132
|
-
instruction_domain: ''
|
|
133
|
-
instruction_query_text_type: plain_text
|
|
134
|
-
instruction_document_text_type: plain_text
|
|
135
|
-
chunking:
|
|
136
|
-
chunker_name: sentence-chunker
|
|
137
|
-
chunker_config:
|
|
138
|
-
character_limit: 1000
|
|
139
|
-
min_overlap_ratio: 0.5
|
|
140
|
-
response:
|
|
141
|
-
body:
|
|
142
|
-
id: id
|
|
143
|
-
created: '2024-01-15T09:30:00Z'
|
|
144
|
-
label: label
|
|
145
|
-
name: name
|
|
146
|
-
status: ACTIVE
|
|
147
|
-
environment: DEVELOPMENT
|
|
148
|
-
indexing_config:
|
|
149
|
-
vectorizer:
|
|
150
|
-
config: {}
|
|
151
|
-
model_name: text-embedding-3-small
|
|
152
|
-
chunking:
|
|
153
|
-
chunker_name: reducto-chunker
|
|
154
|
-
- name: Index Using a Sentence Transformers Model
|
|
155
|
-
request:
|
|
156
|
-
label: My Document Index
|
|
157
|
-
name: my-document-index
|
|
158
|
-
indexing_config:
|
|
159
|
-
vectorizer:
|
|
160
|
-
model_name: sentence-transformers/multi-qa-mpnet-base-dot-v1
|
|
161
|
-
config:
|
|
162
|
-
key: value
|
|
163
|
-
chunking:
|
|
164
|
-
chunker_name: sentence-chunker
|
|
165
|
-
chunker_config:
|
|
166
|
-
character_limit: 1000
|
|
167
|
-
min_overlap_ratio: 0.5
|
|
168
|
-
response:
|
|
169
|
-
body:
|
|
170
|
-
id: id
|
|
171
|
-
created: '2024-01-15T09:30:00Z'
|
|
172
|
-
label: label
|
|
173
|
-
name: name
|
|
174
|
-
status: ACTIVE
|
|
175
|
-
environment: DEVELOPMENT
|
|
176
|
-
indexing_config:
|
|
177
|
-
vectorizer:
|
|
178
|
-
config: {}
|
|
179
|
-
model_name: text-embedding-3-small
|
|
180
|
-
chunking:
|
|
181
|
-
chunker_name: reducto-chunker
|
|
182
|
-
- name: Index Using OpenAI Model
|
|
183
|
-
request:
|
|
184
|
-
label: My Document Index
|
|
185
|
-
name: my-document-index
|
|
186
|
-
indexing_config:
|
|
187
|
-
vectorizer:
|
|
188
|
-
config:
|
|
189
|
-
add_openai_api_key: true
|
|
190
|
-
model_name: text-embedding-ada-002
|
|
191
|
-
chunking:
|
|
192
|
-
chunker_name: sentence-chunker
|
|
193
|
-
chunker_config:
|
|
194
|
-
character_limit: 1000
|
|
195
|
-
min_overlap_ratio: 0.5
|
|
196
|
-
response:
|
|
197
|
-
body:
|
|
198
|
-
id: id
|
|
199
|
-
created: '2024-01-15T09:30:00Z'
|
|
200
|
-
label: label
|
|
201
|
-
name: name
|
|
202
|
-
status: ACTIVE
|
|
203
|
-
environment: DEVELOPMENT
|
|
204
|
-
indexing_config:
|
|
205
|
-
vectorizer:
|
|
206
|
-
config: {}
|
|
207
|
-
model_name: text-embedding-3-small
|
|
208
|
-
chunking:
|
|
209
|
-
chunker_name: reducto-chunker
|
|
210
|
-
audiences:
|
|
211
|
-
- customers
|
|
212
|
-
retrieve:
|
|
213
|
-
path: /v1/document-indexes/{id}
|
|
214
|
-
method: GET
|
|
215
|
-
auth: true
|
|
216
|
-
docs: Used to retrieve a Document Index given its ID or name.
|
|
217
|
-
source:
|
|
218
|
-
openapi: openapi/openapi.yml
|
|
219
|
-
path-parameters:
|
|
220
|
-
id:
|
|
221
|
-
type: string
|
|
222
|
-
docs: Either the Document Index's ID or its unique name
|
|
223
|
-
response:
|
|
224
|
-
docs: ''
|
|
225
|
-
type: root.DocumentIndexRead
|
|
226
|
-
url: Default
|
|
227
|
-
availability: pre-release
|
|
228
|
-
examples:
|
|
229
|
-
- path-parameters:
|
|
230
|
-
id: id
|
|
231
|
-
response:
|
|
232
|
-
body:
|
|
233
|
-
id: id
|
|
234
|
-
created: '2024-01-15T09:30:00Z'
|
|
235
|
-
label: label
|
|
236
|
-
name: name
|
|
237
|
-
status: ACTIVE
|
|
238
|
-
environment: DEVELOPMENT
|
|
239
|
-
indexing_config:
|
|
240
|
-
vectorizer:
|
|
241
|
-
config: {}
|
|
242
|
-
model_name: text-embedding-3-small
|
|
243
|
-
chunking:
|
|
244
|
-
chunker_name: reducto-chunker
|
|
245
|
-
audiences:
|
|
246
|
-
- customers
|
|
247
|
-
update:
|
|
248
|
-
path: /v1/document-indexes/{id}
|
|
249
|
-
method: PUT
|
|
250
|
-
auth: true
|
|
251
|
-
docs: Used to fully update a Document Index given its ID or name.
|
|
252
|
-
source:
|
|
253
|
-
openapi: openapi/openapi.yml
|
|
254
|
-
path-parameters:
|
|
255
|
-
id:
|
|
256
|
-
type: string
|
|
257
|
-
docs: Either the Document Index's ID or its unique name
|
|
258
|
-
request:
|
|
259
|
-
name: DocumentIndexUpdateRequest
|
|
260
|
-
body:
|
|
261
|
-
properties:
|
|
262
|
-
label:
|
|
263
|
-
type: string
|
|
264
|
-
docs: A human-readable label for the document index
|
|
265
|
-
validation:
|
|
266
|
-
minLength: 1
|
|
267
|
-
maxLength: 150
|
|
268
|
-
status:
|
|
269
|
-
type: optional<root.EntityStatus>
|
|
270
|
-
docs: |-
|
|
271
|
-
The current status of the document index
|
|
272
|
-
|
|
273
|
-
* `ACTIVE` - Active
|
|
274
|
-
* `ARCHIVED` - Archived
|
|
275
|
-
environment:
|
|
276
|
-
type: optional<root.EnvironmentEnum>
|
|
277
|
-
docs: |-
|
|
278
|
-
The environment this document index is used in
|
|
279
|
-
|
|
280
|
-
* `DEVELOPMENT` - Development
|
|
281
|
-
* `STAGING` - Staging
|
|
282
|
-
* `PRODUCTION` - Production
|
|
283
|
-
content-type: application/json
|
|
284
|
-
response:
|
|
285
|
-
docs: ''
|
|
286
|
-
type: root.DocumentIndexRead
|
|
287
|
-
url: Default
|
|
288
|
-
availability: pre-release
|
|
289
|
-
examples:
|
|
290
|
-
- path-parameters:
|
|
291
|
-
id: id
|
|
292
|
-
request:
|
|
293
|
-
label: label
|
|
294
|
-
response:
|
|
295
|
-
body:
|
|
296
|
-
id: id
|
|
297
|
-
created: '2024-01-15T09:30:00Z'
|
|
298
|
-
label: label
|
|
299
|
-
name: name
|
|
300
|
-
status: ACTIVE
|
|
301
|
-
environment: DEVELOPMENT
|
|
302
|
-
indexing_config:
|
|
303
|
-
vectorizer:
|
|
304
|
-
config: {}
|
|
305
|
-
model_name: text-embedding-3-small
|
|
306
|
-
chunking:
|
|
307
|
-
chunker_name: reducto-chunker
|
|
308
|
-
audiences:
|
|
309
|
-
- customers
|
|
310
|
-
destroy:
|
|
311
|
-
path: /v1/document-indexes/{id}
|
|
312
|
-
method: DELETE
|
|
313
|
-
auth: true
|
|
314
|
-
docs: Used to delete a Document Index given its ID or name.
|
|
315
|
-
source:
|
|
316
|
-
openapi: openapi/openapi.yml
|
|
317
|
-
path-parameters:
|
|
318
|
-
id:
|
|
319
|
-
type: string
|
|
320
|
-
docs: Either the Document Index's ID or its unique name
|
|
321
|
-
url: Documents
|
|
322
|
-
availability: pre-release
|
|
323
|
-
examples:
|
|
324
|
-
- path-parameters:
|
|
325
|
-
id: id
|
|
326
|
-
audiences:
|
|
327
|
-
- customers
|
|
328
|
-
partialUpdate:
|
|
329
|
-
path: /v1/document-indexes/{id}
|
|
330
|
-
method: PATCH
|
|
331
|
-
auth: true
|
|
332
|
-
docs: Used to partial update a Document Index given its ID or name.
|
|
333
|
-
source:
|
|
334
|
-
openapi: openapi/openapi.yml
|
|
335
|
-
path-parameters:
|
|
336
|
-
id:
|
|
337
|
-
type: string
|
|
338
|
-
docs: Either the Document Index's ID or its unique name
|
|
339
|
-
request:
|
|
340
|
-
name: PatchedDocumentIndexUpdateRequest
|
|
341
|
-
body:
|
|
342
|
-
properties:
|
|
343
|
-
label:
|
|
344
|
-
type: optional<string>
|
|
345
|
-
docs: A human-readable label for the document index
|
|
346
|
-
validation:
|
|
347
|
-
minLength: 1
|
|
348
|
-
maxLength: 150
|
|
349
|
-
status:
|
|
350
|
-
type: optional<root.EntityStatus>
|
|
351
|
-
docs: |-
|
|
352
|
-
The current status of the document index
|
|
353
|
-
|
|
354
|
-
* `ACTIVE` - Active
|
|
355
|
-
* `ARCHIVED` - Archived
|
|
356
|
-
environment:
|
|
357
|
-
type: optional<root.EnvironmentEnum>
|
|
358
|
-
docs: |-
|
|
359
|
-
The environment this document index is used in
|
|
360
|
-
|
|
361
|
-
* `DEVELOPMENT` - Development
|
|
362
|
-
* `STAGING` - Staging
|
|
363
|
-
* `PRODUCTION` - Production
|
|
364
|
-
content-type: application/json
|
|
365
|
-
response:
|
|
366
|
-
docs: ''
|
|
367
|
-
type: root.DocumentIndexRead
|
|
368
|
-
url: Default
|
|
369
|
-
availability: pre-release
|
|
370
|
-
examples:
|
|
371
|
-
- path-parameters:
|
|
372
|
-
id: id
|
|
373
|
-
request: {}
|
|
374
|
-
response:
|
|
375
|
-
body:
|
|
376
|
-
id: id
|
|
377
|
-
created: '2024-01-15T09:30:00Z'
|
|
378
|
-
label: label
|
|
379
|
-
name: name
|
|
380
|
-
status: ACTIVE
|
|
381
|
-
environment: DEVELOPMENT
|
|
382
|
-
indexing_config:
|
|
383
|
-
vectorizer:
|
|
384
|
-
config: {}
|
|
385
|
-
model_name: text-embedding-3-small
|
|
386
|
-
chunking:
|
|
387
|
-
chunker_name: reducto-chunker
|
|
388
|
-
audiences:
|
|
389
|
-
- customers
|
|
390
|
-
add_document:
|
|
391
|
-
path: /v1/document-indexes/{id}/documents/{document_id}
|
|
392
|
-
method: POST
|
|
393
|
-
auth: true
|
|
394
|
-
docs: Adds a previously uploaded Document to the specified Document Index.
|
|
395
|
-
source:
|
|
396
|
-
openapi: openapi/openapi.yml
|
|
397
|
-
path-parameters:
|
|
398
|
-
document_id:
|
|
399
|
-
type: string
|
|
400
|
-
docs: >-
|
|
401
|
-
Either the Vellum-generated ID or the originally supplied
|
|
402
|
-
external_id that uniquely identifies the Document you'd like to add.
|
|
403
|
-
id:
|
|
404
|
-
type: string
|
|
405
|
-
docs: >-
|
|
406
|
-
Either the Vellum-generated ID or the originally specified name that
|
|
407
|
-
uniquely identifies the Document Index to which you'd like to add
|
|
408
|
-
the Document.
|
|
409
|
-
url: Default
|
|
410
|
-
availability: pre-release
|
|
411
|
-
examples:
|
|
412
|
-
- path-parameters:
|
|
413
|
-
document_id: document_id
|
|
414
|
-
id: id
|
|
415
|
-
audiences:
|
|
416
|
-
- customers
|
|
417
|
-
remove_document:
|
|
418
|
-
path: /v1/document-indexes/{id}/documents/{document_id}
|
|
419
|
-
method: DELETE
|
|
420
|
-
auth: true
|
|
421
|
-
docs: >-
|
|
422
|
-
Removes a Document from a Document Index without deleting the Document
|
|
423
|
-
itself.
|
|
424
|
-
source:
|
|
425
|
-
openapi: openapi/openapi.yml
|
|
426
|
-
path-parameters:
|
|
427
|
-
document_id:
|
|
428
|
-
type: string
|
|
429
|
-
docs: >-
|
|
430
|
-
Either the Vellum-generated ID or the originally supplied
|
|
431
|
-
external_id that uniquely identifies the Document you'd like to
|
|
432
|
-
remove.
|
|
433
|
-
id:
|
|
434
|
-
type: string
|
|
435
|
-
docs: >-
|
|
436
|
-
Either the Vellum-generated ID or the originally specified name that
|
|
437
|
-
uniquely identifies the Document Index from which you'd like to
|
|
438
|
-
remove a Document.
|
|
439
|
-
url: Documents
|
|
440
|
-
availability: pre-release
|
|
441
|
-
examples:
|
|
442
|
-
- path-parameters:
|
|
443
|
-
document_id: document_id
|
|
444
|
-
id: id
|
|
445
|
-
audiences:
|
|
446
|
-
- customers
|
|
447
|
-
source:
|
|
448
|
-
openapi: openapi/openapi.yml
|