vellum-ai 0.9.0__py3-none-any.whl → 0.9.1__py3-none-any.whl

Sign up to get free protection for your applications and to get access to all the features.
vellum/__init__.py CHANGED
@@ -59,6 +59,7 @@ from .types import (
59
59
  ConditionCombinator,
60
60
  ConditionalNodeResult,
61
61
  ConditionalNodeResultData,
62
+ ContainerImageRead,
62
63
  CreateTestSuiteTestCaseRequest,
63
64
  DeploymentProviderPayloadResponse,
64
65
  DeploymentProviderPayloadResponsePayload,
@@ -75,6 +76,7 @@ from .types import (
75
76
  DocumentStatus,
76
77
  EnrichedNormalizedCompletion,
77
78
  EntityStatus,
79
+ EntityVisibility,
78
80
  EnvironmentEnum,
79
81
  EphemeralPromptCacheConfigRequest,
80
82
  EphemeralPromptCacheConfigTypeEnum,
@@ -234,6 +236,7 @@ from .types import (
234
236
  OpenAiVectorizerTextEmbedding3SmallRequest,
235
237
  OpenAiVectorizerTextEmbeddingAda002,
236
238
  OpenAiVectorizerTextEmbeddingAda002Request,
239
+ PaginatedContainerImageReadList,
237
240
  PaginatedDocumentIndexReadList,
238
241
  PaginatedFolderEntityList,
239
242
  PaginatedSlimDeploymentReadList,
@@ -476,6 +479,7 @@ from .resources import (
476
479
  FolderEntitiesListRequestEntityStatus,
477
480
  WorkflowDeploymentsListRequestStatus,
478
481
  ad_hoc,
482
+ container_images,
479
483
  deployments,
480
484
  document_indexes,
481
485
  documents,
@@ -554,6 +558,7 @@ __all__ = [
554
558
  "ConditionCombinator",
555
559
  "ConditionalNodeResult",
556
560
  "ConditionalNodeResultData",
561
+ "ContainerImageRead",
557
562
  "CreateTestSuiteTestCaseRequest",
558
563
  "DeploymentProviderPayloadResponse",
559
564
  "DeploymentProviderPayloadResponsePayload",
@@ -572,6 +577,7 @@ __all__ = [
572
577
  "DocumentStatus",
573
578
  "EnrichedNormalizedCompletion",
574
579
  "EntityStatus",
580
+ "EntityVisibility",
575
581
  "EnvironmentEnum",
576
582
  "EphemeralPromptCacheConfigRequest",
577
583
  "EphemeralPromptCacheConfigTypeEnum",
@@ -735,6 +741,7 @@ __all__ = [
735
741
  "OpenAiVectorizerTextEmbedding3SmallRequest",
736
742
  "OpenAiVectorizerTextEmbeddingAda002",
737
743
  "OpenAiVectorizerTextEmbeddingAda002Request",
744
+ "PaginatedContainerImageReadList",
738
745
  "PaginatedDocumentIndexReadList",
739
746
  "PaginatedFolderEntityList",
740
747
  "PaginatedSlimDeploymentReadList",
@@ -974,6 +981,7 @@ __all__ = [
974
981
  "WorkspaceSecretRead",
975
982
  "__version__",
976
983
  "ad_hoc",
984
+ "container_images",
977
985
  "deployments",
978
986
  "document_indexes",
979
987
  "documents",
vellum/client.py CHANGED
@@ -5,6 +5,7 @@ from .environment import VellumEnvironment
5
5
  import httpx
6
6
  from .core.client_wrapper import SyncClientWrapper
7
7
  from .resources.ad_hoc.client import AdHocClient
8
+ from .resources.container_images.client import ContainerImagesClient
8
9
  from .resources.deployments.client import DeploymentsClient
9
10
  from .resources.document_indexes.client import DocumentIndexesClient
10
11
  from .resources.documents.client import DocumentsClient
@@ -52,6 +53,7 @@ from .types.submit_completion_actual_request import SubmitCompletionActualReques
52
53
  from .types.submit_workflow_execution_actual_request import SubmitWorkflowExecutionActualRequest
53
54
  from .core.client_wrapper import AsyncClientWrapper
54
55
  from .resources.ad_hoc.client import AsyncAdHocClient
56
+ from .resources.container_images.client import AsyncContainerImagesClient
55
57
  from .resources.deployments.client import AsyncDeploymentsClient
56
58
  from .resources.document_indexes.client import AsyncDocumentIndexesClient
57
59
  from .resources.documents.client import AsyncDocumentsClient
@@ -124,6 +126,7 @@ class Vellum:
124
126
  timeout=_defaulted_timeout,
125
127
  )
126
128
  self.ad_hoc = AdHocClient(client_wrapper=self._client_wrapper)
129
+ self.container_images = ContainerImagesClient(client_wrapper=self._client_wrapper)
127
130
  self.deployments = DeploymentsClient(client_wrapper=self._client_wrapper)
128
131
  self.document_indexes = DocumentIndexesClient(client_wrapper=self._client_wrapper)
129
132
  self.documents = DocumentsClient(client_wrapper=self._client_wrapper)
@@ -1442,6 +1445,7 @@ class AsyncVellum:
1442
1445
  timeout=_defaulted_timeout,
1443
1446
  )
1444
1447
  self.ad_hoc = AsyncAdHocClient(client_wrapper=self._client_wrapper)
1448
+ self.container_images = AsyncContainerImagesClient(client_wrapper=self._client_wrapper)
1445
1449
  self.deployments = AsyncDeploymentsClient(client_wrapper=self._client_wrapper)
1446
1450
  self.document_indexes = AsyncDocumentIndexesClient(client_wrapper=self._client_wrapper)
1447
1451
  self.documents = AsyncDocumentsClient(client_wrapper=self._client_wrapper)
@@ -17,7 +17,7 @@ class BaseClientWrapper:
17
17
  headers: typing.Dict[str, str] = {
18
18
  "X-Fern-Language": "Python",
19
19
  "X-Fern-SDK-Name": "vellum-ai",
20
- "X-Fern-SDK-Version": "0.9.0",
20
+ "X-Fern-SDK-Version": "v0.9.1",
21
21
  }
22
22
  headers["X_API_KEY"] = self.api_key
23
23
  return headers
@@ -2,6 +2,7 @@
2
2
 
3
3
  from . import (
4
4
  ad_hoc,
5
+ container_images,
5
6
  deployments,
6
7
  document_indexes,
7
8
  documents,
@@ -26,6 +27,7 @@ __all__ = [
26
27
  "FolderEntitiesListRequestEntityStatus",
27
28
  "WorkflowDeploymentsListRequestStatus",
28
29
  "ad_hoc",
30
+ "container_images",
29
31
  "deployments",
30
32
  "document_indexes",
31
33
  "documents",
@@ -0,0 +1,2 @@
1
+ # This file was auto-generated by Fern from our API Definition.
2
+
@@ -0,0 +1,405 @@
1
+ # This file was auto-generated by Fern from our API Definition.
2
+
3
+ import typing
4
+ from ...core.client_wrapper import SyncClientWrapper
5
+ from ...core.request_options import RequestOptions
6
+ from ...types.paginated_container_image_read_list import PaginatedContainerImageReadList
7
+ from ...core.pydantic_utilities import parse_obj_as
8
+ from json.decoder import JSONDecodeError
9
+ from ...core.api_error import ApiError
10
+ from ...types.container_image_read import ContainerImageRead
11
+ from ...core.jsonable_encoder import jsonable_encoder
12
+ from ...core.client_wrapper import AsyncClientWrapper
13
+
14
+ # this is used as the default value for optional parameters
15
+ OMIT = typing.cast(typing.Any, ...)
16
+
17
+
18
+ class ContainerImagesClient:
19
+ def __init__(self, *, client_wrapper: SyncClientWrapper):
20
+ self._client_wrapper = client_wrapper
21
+
22
+ def list(
23
+ self,
24
+ *,
25
+ limit: typing.Optional[int] = None,
26
+ offset: typing.Optional[int] = None,
27
+ ordering: typing.Optional[str] = None,
28
+ request_options: typing.Optional[RequestOptions] = None,
29
+ ) -> PaginatedContainerImageReadList:
30
+ """
31
+ Retrieve a list of container images for the organization.
32
+
33
+ Parameters
34
+ ----------
35
+ limit : typing.Optional[int]
36
+ Number of results to return per page.
37
+
38
+ offset : typing.Optional[int]
39
+ The initial index from which to return the results.
40
+
41
+ ordering : typing.Optional[str]
42
+ Which field to use when ordering the results.
43
+
44
+ request_options : typing.Optional[RequestOptions]
45
+ Request-specific configuration.
46
+
47
+ Returns
48
+ -------
49
+ PaginatedContainerImageReadList
50
+
51
+
52
+ Examples
53
+ --------
54
+ from vellum import Vellum
55
+
56
+ client = Vellum(
57
+ api_key="YOUR_API_KEY",
58
+ )
59
+ client.container_images.list()
60
+ """
61
+ _response = self._client_wrapper.httpx_client.request(
62
+ "v1/container-images",
63
+ base_url=self._client_wrapper.get_environment().default,
64
+ method="GET",
65
+ params={
66
+ "limit": limit,
67
+ "offset": offset,
68
+ "ordering": ordering,
69
+ },
70
+ request_options=request_options,
71
+ )
72
+ try:
73
+ if 200 <= _response.status_code < 300:
74
+ return typing.cast(
75
+ PaginatedContainerImageReadList,
76
+ parse_obj_as(
77
+ type_=PaginatedContainerImageReadList, # type: ignore
78
+ object_=_response.json(),
79
+ ),
80
+ )
81
+ _response_json = _response.json()
82
+ except JSONDecodeError:
83
+ raise ApiError(status_code=_response.status_code, body=_response.text)
84
+ raise ApiError(status_code=_response.status_code, body=_response_json)
85
+
86
+ def retrieve(self, id: str, *, request_options: typing.Optional[RequestOptions] = None) -> ContainerImageRead:
87
+ """
88
+ Retrieve a Container Image by its ID or name.
89
+
90
+ Parameters
91
+ ----------
92
+ id : str
93
+ Either the Container Image's ID or its unique name
94
+
95
+ request_options : typing.Optional[RequestOptions]
96
+ Request-specific configuration.
97
+
98
+ Returns
99
+ -------
100
+ ContainerImageRead
101
+
102
+
103
+ Examples
104
+ --------
105
+ from vellum import Vellum
106
+
107
+ client = Vellum(
108
+ api_key="YOUR_API_KEY",
109
+ )
110
+ client.container_images.retrieve(
111
+ id="id",
112
+ )
113
+ """
114
+ _response = self._client_wrapper.httpx_client.request(
115
+ f"v1/container-images/{jsonable_encoder(id)}",
116
+ base_url=self._client_wrapper.get_environment().default,
117
+ method="GET",
118
+ request_options=request_options,
119
+ )
120
+ try:
121
+ if 200 <= _response.status_code < 300:
122
+ return typing.cast(
123
+ ContainerImageRead,
124
+ parse_obj_as(
125
+ type_=ContainerImageRead, # type: ignore
126
+ object_=_response.json(),
127
+ ),
128
+ )
129
+ _response_json = _response.json()
130
+ except JSONDecodeError:
131
+ raise ApiError(status_code=_response.status_code, body=_response.text)
132
+ raise ApiError(status_code=_response.status_code, body=_response_json)
133
+
134
+ def push_container_image(
135
+ self,
136
+ *,
137
+ name: str,
138
+ sha: str,
139
+ tags: typing.Sequence[str],
140
+ request_options: typing.Optional[RequestOptions] = None,
141
+ ) -> ContainerImageRead:
142
+ """
143
+ An internal-only endpoint that's subject to breaking changes without notice. Not intended for public use.
144
+
145
+ Parameters
146
+ ----------
147
+ name : str
148
+
149
+ sha : str
150
+
151
+ tags : typing.Sequence[str]
152
+
153
+ request_options : typing.Optional[RequestOptions]
154
+ Request-specific configuration.
155
+
156
+ Returns
157
+ -------
158
+ ContainerImageRead
159
+
160
+
161
+ Examples
162
+ --------
163
+ from vellum import Vellum
164
+
165
+ client = Vellum(
166
+ api_key="YOUR_API_KEY",
167
+ )
168
+ client.container_images.push_container_image(
169
+ name="name",
170
+ sha="sha",
171
+ tags=["tags"],
172
+ )
173
+ """
174
+ _response = self._client_wrapper.httpx_client.request(
175
+ "v1/container-images/push",
176
+ base_url=self._client_wrapper.get_environment().default,
177
+ method="POST",
178
+ json={
179
+ "name": name,
180
+ "sha": sha,
181
+ "tags": tags,
182
+ },
183
+ request_options=request_options,
184
+ omit=OMIT,
185
+ )
186
+ try:
187
+ if 200 <= _response.status_code < 300:
188
+ return typing.cast(
189
+ ContainerImageRead,
190
+ parse_obj_as(
191
+ type_=ContainerImageRead, # type: ignore
192
+ object_=_response.json(),
193
+ ),
194
+ )
195
+ _response_json = _response.json()
196
+ except JSONDecodeError:
197
+ raise ApiError(status_code=_response.status_code, body=_response.text)
198
+ raise ApiError(status_code=_response.status_code, body=_response_json)
199
+
200
+
201
+ class AsyncContainerImagesClient:
202
+ def __init__(self, *, client_wrapper: AsyncClientWrapper):
203
+ self._client_wrapper = client_wrapper
204
+
205
+ async def list(
206
+ self,
207
+ *,
208
+ limit: typing.Optional[int] = None,
209
+ offset: typing.Optional[int] = None,
210
+ ordering: typing.Optional[str] = None,
211
+ request_options: typing.Optional[RequestOptions] = None,
212
+ ) -> PaginatedContainerImageReadList:
213
+ """
214
+ Retrieve a list of container images for the organization.
215
+
216
+ Parameters
217
+ ----------
218
+ limit : typing.Optional[int]
219
+ Number of results to return per page.
220
+
221
+ offset : typing.Optional[int]
222
+ The initial index from which to return the results.
223
+
224
+ ordering : typing.Optional[str]
225
+ Which field to use when ordering the results.
226
+
227
+ request_options : typing.Optional[RequestOptions]
228
+ Request-specific configuration.
229
+
230
+ Returns
231
+ -------
232
+ PaginatedContainerImageReadList
233
+
234
+
235
+ Examples
236
+ --------
237
+ import asyncio
238
+
239
+ from vellum import AsyncVellum
240
+
241
+ client = AsyncVellum(
242
+ api_key="YOUR_API_KEY",
243
+ )
244
+
245
+
246
+ async def main() -> None:
247
+ await client.container_images.list()
248
+
249
+
250
+ asyncio.run(main())
251
+ """
252
+ _response = await self._client_wrapper.httpx_client.request(
253
+ "v1/container-images",
254
+ base_url=self._client_wrapper.get_environment().default,
255
+ method="GET",
256
+ params={
257
+ "limit": limit,
258
+ "offset": offset,
259
+ "ordering": ordering,
260
+ },
261
+ request_options=request_options,
262
+ )
263
+ try:
264
+ if 200 <= _response.status_code < 300:
265
+ return typing.cast(
266
+ PaginatedContainerImageReadList,
267
+ parse_obj_as(
268
+ type_=PaginatedContainerImageReadList, # type: ignore
269
+ object_=_response.json(),
270
+ ),
271
+ )
272
+ _response_json = _response.json()
273
+ except JSONDecodeError:
274
+ raise ApiError(status_code=_response.status_code, body=_response.text)
275
+ raise ApiError(status_code=_response.status_code, body=_response_json)
276
+
277
+ async def retrieve(self, id: str, *, request_options: typing.Optional[RequestOptions] = None) -> ContainerImageRead:
278
+ """
279
+ Retrieve a Container Image by its ID or name.
280
+
281
+ Parameters
282
+ ----------
283
+ id : str
284
+ Either the Container Image's ID or its unique name
285
+
286
+ request_options : typing.Optional[RequestOptions]
287
+ Request-specific configuration.
288
+
289
+ Returns
290
+ -------
291
+ ContainerImageRead
292
+
293
+
294
+ Examples
295
+ --------
296
+ import asyncio
297
+
298
+ from vellum import AsyncVellum
299
+
300
+ client = AsyncVellum(
301
+ api_key="YOUR_API_KEY",
302
+ )
303
+
304
+
305
+ async def main() -> None:
306
+ await client.container_images.retrieve(
307
+ id="id",
308
+ )
309
+
310
+
311
+ asyncio.run(main())
312
+ """
313
+ _response = await self._client_wrapper.httpx_client.request(
314
+ f"v1/container-images/{jsonable_encoder(id)}",
315
+ base_url=self._client_wrapper.get_environment().default,
316
+ method="GET",
317
+ request_options=request_options,
318
+ )
319
+ try:
320
+ if 200 <= _response.status_code < 300:
321
+ return typing.cast(
322
+ ContainerImageRead,
323
+ parse_obj_as(
324
+ type_=ContainerImageRead, # type: ignore
325
+ object_=_response.json(),
326
+ ),
327
+ )
328
+ _response_json = _response.json()
329
+ except JSONDecodeError:
330
+ raise ApiError(status_code=_response.status_code, body=_response.text)
331
+ raise ApiError(status_code=_response.status_code, body=_response_json)
332
+
333
+ async def push_container_image(
334
+ self,
335
+ *,
336
+ name: str,
337
+ sha: str,
338
+ tags: typing.Sequence[str],
339
+ request_options: typing.Optional[RequestOptions] = None,
340
+ ) -> ContainerImageRead:
341
+ """
342
+ An internal-only endpoint that's subject to breaking changes without notice. Not intended for public use.
343
+
344
+ Parameters
345
+ ----------
346
+ name : str
347
+
348
+ sha : str
349
+
350
+ tags : typing.Sequence[str]
351
+
352
+ request_options : typing.Optional[RequestOptions]
353
+ Request-specific configuration.
354
+
355
+ Returns
356
+ -------
357
+ ContainerImageRead
358
+
359
+
360
+ Examples
361
+ --------
362
+ import asyncio
363
+
364
+ from vellum import AsyncVellum
365
+
366
+ client = AsyncVellum(
367
+ api_key="YOUR_API_KEY",
368
+ )
369
+
370
+
371
+ async def main() -> None:
372
+ await client.container_images.push_container_image(
373
+ name="name",
374
+ sha="sha",
375
+ tags=["tags"],
376
+ )
377
+
378
+
379
+ asyncio.run(main())
380
+ """
381
+ _response = await self._client_wrapper.httpx_client.request(
382
+ "v1/container-images/push",
383
+ base_url=self._client_wrapper.get_environment().default,
384
+ method="POST",
385
+ json={
386
+ "name": name,
387
+ "sha": sha,
388
+ "tags": tags,
389
+ },
390
+ request_options=request_options,
391
+ omit=OMIT,
392
+ )
393
+ try:
394
+ if 200 <= _response.status_code < 300:
395
+ return typing.cast(
396
+ ContainerImageRead,
397
+ parse_obj_as(
398
+ type_=ContainerImageRead, # type: ignore
399
+ object_=_response.json(),
400
+ ),
401
+ )
402
+ _response_json = _response.json()
403
+ except JSONDecodeError:
404
+ raise ApiError(status_code=_response.status_code, body=_response.text)
405
+ raise ApiError(status_code=_response.status_code, body=_response_json)
vellum/types/__init__.py CHANGED
@@ -66,6 +66,7 @@ from .components_schemas_pdf_search_result_meta_source_request import Components
66
66
  from .condition_combinator import ConditionCombinator
67
67
  from .conditional_node_result import ConditionalNodeResult
68
68
  from .conditional_node_result_data import ConditionalNodeResultData
69
+ from .container_image_read import ContainerImageRead
69
70
  from .create_test_suite_test_case_request import CreateTestSuiteTestCaseRequest
70
71
  from .deployment_provider_payload_response import DeploymentProviderPayloadResponse
71
72
  from .deployment_provider_payload_response_payload import DeploymentProviderPayloadResponsePayload
@@ -82,6 +83,7 @@ from .document_read import DocumentRead
82
83
  from .document_status import DocumentStatus
83
84
  from .enriched_normalized_completion import EnrichedNormalizedCompletion
84
85
  from .entity_status import EntityStatus
86
+ from .entity_visibility import EntityVisibility
85
87
  from .environment_enum import EnvironmentEnum
86
88
  from .ephemeral_prompt_cache_config_request import EphemeralPromptCacheConfigRequest
87
89
  from .ephemeral_prompt_cache_config_type_enum import EphemeralPromptCacheConfigTypeEnum
@@ -245,6 +247,7 @@ from .open_ai_vectorizer_text_embedding_3_small import OpenAiVectorizerTextEmbed
245
247
  from .open_ai_vectorizer_text_embedding_3_small_request import OpenAiVectorizerTextEmbedding3SmallRequest
246
248
  from .open_ai_vectorizer_text_embedding_ada_002 import OpenAiVectorizerTextEmbeddingAda002
247
249
  from .open_ai_vectorizer_text_embedding_ada_002_request import OpenAiVectorizerTextEmbeddingAda002Request
250
+ from .paginated_container_image_read_list import PaginatedContainerImageReadList
248
251
  from .paginated_document_index_read_list import PaginatedDocumentIndexReadList
249
252
  from .paginated_folder_entity_list import PaginatedFolderEntityList
250
253
  from .paginated_slim_deployment_read_list import PaginatedSlimDeploymentReadList
@@ -543,6 +546,7 @@ __all__ = [
543
546
  "ConditionCombinator",
544
547
  "ConditionalNodeResult",
545
548
  "ConditionalNodeResultData",
549
+ "ContainerImageRead",
546
550
  "CreateTestSuiteTestCaseRequest",
547
551
  "DeploymentProviderPayloadResponse",
548
552
  "DeploymentProviderPayloadResponsePayload",
@@ -559,6 +563,7 @@ __all__ = [
559
563
  "DocumentStatus",
560
564
  "EnrichedNormalizedCompletion",
561
565
  "EntityStatus",
566
+ "EntityVisibility",
562
567
  "EnvironmentEnum",
563
568
  "EphemeralPromptCacheConfigRequest",
564
569
  "EphemeralPromptCacheConfigTypeEnum",
@@ -718,6 +723,7 @@ __all__ = [
718
723
  "OpenAiVectorizerTextEmbedding3SmallRequest",
719
724
  "OpenAiVectorizerTextEmbeddingAda002",
720
725
  "OpenAiVectorizerTextEmbeddingAda002Request",
726
+ "PaginatedContainerImageReadList",
721
727
  "PaginatedDocumentIndexReadList",
722
728
  "PaginatedFolderEntityList",
723
729
  "PaginatedSlimDeploymentReadList",
@@ -0,0 +1,28 @@
1
+ # This file was auto-generated by Fern from our API Definition.
2
+
3
+ from ..core.pydantic_utilities import UniversalBaseModel
4
+ from .entity_visibility import EntityVisibility
5
+ import datetime as dt
6
+ import typing
7
+ from ..core.pydantic_utilities import IS_PYDANTIC_V2
8
+ import pydantic
9
+
10
+
11
+ class ContainerImageRead(UniversalBaseModel):
12
+ id: str
13
+ name: str
14
+ visibility: EntityVisibility
15
+ created: dt.datetime
16
+ modified: dt.datetime
17
+ repository: str
18
+ sha: str
19
+ tags: typing.List[str]
20
+
21
+ if IS_PYDANTIC_V2:
22
+ model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
23
+ else:
24
+
25
+ class Config:
26
+ frozen = True
27
+ smart_union = True
28
+ extra = pydantic.Extra.allow
@@ -0,0 +1,5 @@
1
+ # This file was auto-generated by Fern from our API Definition.
2
+
3
+ import typing
4
+
5
+ EntityVisibility = typing.Union[typing.Literal["DEFAULT", "PUBLIC", "PRIVATE", "DISABLED"], typing.Any]
@@ -0,0 +1,23 @@
1
+ # This file was auto-generated by Fern from our API Definition.
2
+
3
+ from ..core.pydantic_utilities import UniversalBaseModel
4
+ import typing
5
+ from .container_image_read import ContainerImageRead
6
+ from ..core.pydantic_utilities import IS_PYDANTIC_V2
7
+ import pydantic
8
+
9
+
10
+ class PaginatedContainerImageReadList(UniversalBaseModel):
11
+ count: typing.Optional[int] = None
12
+ next: typing.Optional[str] = None
13
+ previous: typing.Optional[str] = None
14
+ results: typing.Optional[typing.List[ContainerImageRead]] = None
15
+
16
+ if IS_PYDANTIC_V2:
17
+ model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
18
+ else:
19
+
20
+ class Config:
21
+ frozen = True
22
+ smart_union = True
23
+ extra = pydantic.Extra.allow
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: vellum-ai
3
- Version: 0.9.0
3
+ Version: 0.9.1
4
4
  Summary:
5
5
  License: MIT
6
6
  Requires-Python: >=3.8,<4.0
@@ -1,8 +1,8 @@
1
- vellum/__init__.py,sha256=s0G61XarqooYamISE7pvtHeSZ6k6HepO7CWq171pPtQ,33738
2
- vellum/client.py,sha256=oyKQasaHZqssc_CiZdvIcrGePxzg9k7GfB7_ik1jsH0,114871
1
+ vellum/__init__.py,sha256=5orOgV72nzhRO2AGHS9fP2n5SG3gEckKr2170cwREPo,33956
2
+ vellum/client.py,sha256=kG4b9g1Jjm6zgzGBXCAYXcM_3xNQfBsa2Xut6F0eHQM,115201
3
3
  vellum/core/__init__.py,sha256=SQ85PF84B9MuKnBwHNHWemSGuy-g_515gFYNFhvEE0I,1438
4
4
  vellum/core/api_error.py,sha256=RE8LELok2QCjABadECTvtDp7qejA1VmINCh6TbqPwSE,426
5
- vellum/core/client_wrapper.py,sha256=vbLh5ABAr1D54q4vF3AznyexsEQvCLL1FLr3MtNmQOk,1889
5
+ vellum/core/client_wrapper.py,sha256=K7a6Y6FIC2REqaU9S58PfUWQgGGhFz32Xf3EyMgPtQA,1890
6
6
  vellum/core/datetime_utils.py,sha256=nBys2IsYrhPdszxGKCNRPSOCwa-5DWOHG95FB8G9PKo,1047
7
7
  vellum/core/file.py,sha256=X9IbmkZmB2bB_DpmZAO3crWdXagOakAyn6UCOCImCPg,2322
8
8
  vellum/core/http_client.py,sha256=R0pQpCppnEtxccGvXl4uJ76s7ro_65Fo_erlNNLp_AI,19228
@@ -30,9 +30,11 @@ vellum/lib/utils/paginator.py,sha256=yDvgehocYBDclLt5SewZH4hCIyq0yLHdBzkyPCoYPjs
30
30
  vellum/lib/utils/typing.py,sha256=qngWnFwrWLUeu1nmixXGj173mwg7BXKTAyQkxK8AtfQ,327
31
31
  vellum/lib/utils/uuid.py,sha256=nedyhTNQDS2YvrU5gL3PtvG9cgGH87yKOcpGDJAe44E,214
32
32
  vellum/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
33
- vellum/resources/__init__.py,sha256=WgEjN7hU-7e0BpBfHGxN6S4lBhRv3kYF3jcf6Bsil2U,1048
33
+ vellum/resources/__init__.py,sha256=oPvhJ3z-7efrRlZ7ILrHQTypPBcXLOtGZdGMmHiVpLU,1094
34
34
  vellum/resources/ad_hoc/__init__.py,sha256=FTtvy8EDg9nNNg9WCatVgKTRYV8-_v1roeGPAKoa_pw,65
35
35
  vellum/resources/ad_hoc/client.py,sha256=maNoWMHH8LSFlr5rDfoJybiPaoWuUiWFkt-IFq8dNMA,17271
36
+ vellum/resources/container_images/__init__.py,sha256=FTtvy8EDg9nNNg9WCatVgKTRYV8-_v1roeGPAKoa_pw,65
37
+ vellum/resources/container_images/client.py,sha256=UbR8Mf7F0ia_DyFMwiRmHlj1AR9Z4EFCl2oP3h8Iqj0,12276
36
38
  vellum/resources/deployments/__init__.py,sha256=AE0TcFwLrLBljM0ZDX-pPw4Kqt-1f5JDpIok2HS80QI,157
37
39
  vellum/resources/deployments/client.py,sha256=tF3llT_g6rfzDHpLhlEoz9gJDy8vIdNGKfICMJp3iEw,29236
38
40
  vellum/resources/deployments/types/__init__.py,sha256=IhwnmoXJ0r_QEhh1b2tBcaAm_x3fWMVuIhYmAapp_ZA,183
@@ -76,7 +78,7 @@ vellum/terraform/ml_model/__init__.py,sha256=I8h1Ru-Rb-Hi_HusK6G7nJQZEKQGsAAHMmw
76
78
  vellum/terraform/provider/__init__.py,sha256=-06xKmAmknpohVzw5TD-t1bnUHta8OrQYqvMd04XM-U,12684
77
79
  vellum/terraform/py.typed,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
78
80
  vellum/terraform/versions.json,sha256=45c7jjRD5i4w9DJQHs5ZqLLVXRnQwP9Rirq3mWY-xEo,56
79
- vellum/types/__init__.py,sha256=xHyYHqe3WJAppo834MHYRb0xV0bhsZWCIwlCCdVw80E,51387
81
+ vellum/types/__init__.py,sha256=Stggqgi9cQg3X_6JfvP4t-lM2gG0pM6Dt12VqIQeSv4,51658
80
82
  vellum/types/ad_hoc_execute_prompt_event.py,sha256=bCjujA2XsOgyF3bRZbcEqV2rOIymRgsLoIRtZpB14xg,607
81
83
  vellum/types/ad_hoc_expand_meta_request.py,sha256=hS8PC3hC--OKvRKi2ZFj_RJPQ1bxo2GXno8qJq1kk28,1338
82
84
  vellum/types/ad_hoc_fulfilled_prompt_execution_meta.py,sha256=Bfvf1d_dkmshxRACVM5vcxbH_7AQY23RmrrnPc0ytYY,939
@@ -135,6 +137,7 @@ vellum/types/components_schemas_pdf_search_result_meta_source_request.py,sha256=
135
137
  vellum/types/condition_combinator.py,sha256=NQ6-F85juf21jsRuZRA6PjIFv7ITVWG5myuuZdLxeQI,156
136
138
  vellum/types/conditional_node_result.py,sha256=vx8xo9F1KoJqOnYPtSevfOcBxKYAk8J8JGWFr1c4UO8,784
137
139
  vellum/types/conditional_node_result_data.py,sha256=yk4E7KHSzmKlweI9ce9eN_iW08V70KGmG1Z0K5455T0,604
140
+ vellum/types/container_image_read.py,sha256=4i2dZkGrmWapW884F5ESVOLWElT5Y_478oB5NbDjAi0,787
138
141
  vellum/types/create_test_suite_test_case_request.py,sha256=SYUz7_aZMQlin_c1C0-B0W14YB0kC3cn21oPE4_64Ys,1711
139
142
  vellum/types/deployment_provider_payload_response.py,sha256=b0lkt0rK88ARQaMWn9MAHeWtMBsZKofDMlOAUsQvv7g,818
140
143
  vellum/types/deployment_provider_payload_response_payload.py,sha256=xHLQnWFN0AZRZdrOiKawwpoKK7BTmnZfp0P7FCc2ZqE,188
@@ -151,6 +154,7 @@ vellum/types/document_read.py,sha256=heZt7k29GVehbKTofcLjRVe1R_UjbCK5Hcbgga3OODY
151
154
  vellum/types/document_status.py,sha256=GD_TSoFmZUBJnPl-chAmaQFzQ2_TYO3PSqi3-9QfEHE,122
152
155
  vellum/types/enriched_normalized_completion.py,sha256=_NDkKVJj70uKDtIOsQB7E-dL0mOMPwjwgCzhif0RuJI,1796
153
156
  vellum/types/entity_status.py,sha256=bY0jEpISwXqFnbWd3PSb3yXEr-ounPXlAO_fyvHV7l8,158
157
+ vellum/types/entity_visibility.py,sha256=BX1KdYd7dirpv878XDDvtOHkMOqebM8-lkWmLyFLaw4,184
154
158
  vellum/types/environment_enum.py,sha256=Wcewxp1cpGAMDIAZbTp4Y0GGfvy2Bq_Qu_67f_wBDGA,179
155
159
  vellum/types/ephemeral_prompt_cache_config_request.py,sha256=cWJIUY6Y4StTLszPeGRlwgvSkmL9OvFT9IrcbCDcI6g,719
156
160
  vellum/types/ephemeral_prompt_cache_config_type_enum.py,sha256=houFyNbNr9r2uXTBoRTA0eZJaBDe0CFTIUbsDyWK2e4,145
@@ -310,6 +314,7 @@ vellum/types/open_ai_vectorizer_text_embedding_3_small.py,sha256=T_-P7qGjTHJiJfM
310
314
  vellum/types/open_ai_vectorizer_text_embedding_3_small_request.py,sha256=-lwNeWj7ExP-JLncUp1Uyd20FxweVIDu-aEnenPB98A,841
311
315
  vellum/types/open_ai_vectorizer_text_embedding_ada_002.py,sha256=c4vNlR6lRvUjq-67M06sroDMNMG_qC4JUBqwmKEJQ2I,812
312
316
  vellum/types/open_ai_vectorizer_text_embedding_ada_002_request.py,sha256=FdpkkNBGgRwfqFjBwpfH4t2zKIM0pIYminX2iZQUzvY,841
317
+ vellum/types/paginated_container_image_read_list.py,sha256=7lwIgs1q7Z0xDYPGWPnjSNC1kU_peu79CotzaaQfRdA,801
313
318
  vellum/types/paginated_document_index_read_list.py,sha256=bO7pm3KCZi5LDO17YXgr_lUF9SRdAfMu6wOutX91ANw,797
314
319
  vellum/types/paginated_folder_entity_list.py,sha256=PElkrxMrnEjL9YGXde_r7RpNQUjzYfaLDlnwO8WFDSo,776
315
320
  vellum/types/paginated_slim_deployment_read_list.py,sha256=H8VKHr-aZP4ACwQJSs7KOrbqaj2nmMmyyvZHe7NRWRc,1048
@@ -545,7 +550,7 @@ vellum/types/workflow_result_event_output_data_string.py,sha256=tM3kgh6tEhD0dFEb
545
550
  vellum/types/workflow_stream_event.py,sha256=Wn3Yzuy9MqWAeo8tEaXDTKDEbJoA8DdYdMVq8EKuhu8,361
546
551
  vellum/types/workspace_secret_read.py,sha256=3CnHDG72IAY0KRNvc31F0xLmhnpwjQHnDYCfQJzCxI0,714
547
552
  vellum/version.py,sha256=jq-1PlAYxN9AXuaZqbYk9ak27SgE2lw9Ia5gx1b1gVI,76
548
- vellum_ai-0.9.0.dist-info/LICENSE,sha256=CcaljEIoOBaU-wItPH4PmM_mDCGpyuUY0Er1BGu5Ti8,1073
549
- vellum_ai-0.9.0.dist-info/METADATA,sha256=8ksHDO6H_rxKkBYm3LvAySye6WOerJol1IKAdNkfUrg,4394
550
- vellum_ai-0.9.0.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
551
- vellum_ai-0.9.0.dist-info/RECORD,,
553
+ vellum_ai-0.9.1.dist-info/LICENSE,sha256=CcaljEIoOBaU-wItPH4PmM_mDCGpyuUY0Er1BGu5Ti8,1073
554
+ vellum_ai-0.9.1.dist-info/METADATA,sha256=puAeAFvUsT8dk-MWeizk0MDqQqV8pfFmksGzaUZ3By0,4394
555
+ vellum_ai-0.9.1.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
556
+ vellum_ai-0.9.1.dist-info/RECORD,,