vellum-ai 0.8.29__py3-none-any.whl → 0.9.0__py3-none-any.whl
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.
- vellum/__init__.py +2 -4
- vellum/core/client_wrapper.py +1 -1
- vellum/resources/workspace_secrets/client.py +140 -1
- vellum/types/__init__.py +2 -4
- vellum/types/array_input_request.py +2 -2
- vellum/types/array_vellum_value.py +2 -2
- vellum/types/array_vellum_value_request.py +2 -2
- vellum/types/code_execution_node_array_result.py +2 -2
- vellum/types/code_executor_input_request.py +2 -0
- vellum/types/code_executor_secret_input_request.py +29 -0
- vellum/types/execution_array_vellum_value.py +2 -2
- vellum/types/named_test_case_array_variable_value.py +2 -2
- vellum/types/named_test_case_array_variable_value_request.py +2 -2
- vellum/types/node_input_compiled_array_value.py +2 -2
- vellum/types/node_output_compiled_array_value.py +2 -2
- vellum/types/templating_node_array_result.py +2 -2
- vellum/types/terminal_node_array_result.py +2 -2
- vellum/types/test_case_array_variable_value.py +2 -2
- vellum/types/test_suite_run_execution_array_output.py +2 -2
- vellum/types/vellum_value.py +5 -2
- vellum/types/vellum_value_request.py +5 -2
- vellum/types/vellum_variable_type.py +11 -1
- vellum/types/workflow_output_array.py +2 -2
- {vellum_ai-0.8.29.dist-info → vellum_ai-0.9.0.dist-info}/METADATA +1 -1
- {vellum_ai-0.8.29.dist-info → vellum_ai-0.9.0.dist-info}/RECORD +27 -28
- vellum/types/array_vellum_value_item.py +0 -27
- vellum/types/array_vellum_value_item_request.py +0 -27
- {vellum_ai-0.8.29.dist-info → vellum_ai-0.9.0.dist-info}/LICENSE +0 -0
- {vellum_ai-0.8.29.dist-info → vellum_ai-0.9.0.dist-info}/WHEEL +0 -0
vellum/__init__.py
CHANGED
@@ -18,8 +18,6 @@ from .types import (
|
|
18
18
|
ArrayVariableValue,
|
19
19
|
ArrayVariableValueItem,
|
20
20
|
ArrayVellumValue,
|
21
|
-
ArrayVellumValueItem,
|
22
|
-
ArrayVellumValueItemRequest,
|
23
21
|
ArrayVellumValueRequest,
|
24
22
|
BasicVectorizerIntfloatMultilingualE5Large,
|
25
23
|
BasicVectorizerIntfloatMultilingualE5LargeRequest,
|
@@ -53,6 +51,7 @@ from .types import (
|
|
53
51
|
CodeExecutionRuntime,
|
54
52
|
CodeExecutorInputRequest,
|
55
53
|
CodeExecutorResponse,
|
54
|
+
CodeExecutorSecretInputRequest,
|
56
55
|
CompilePromptDeploymentExpandMetaRequest,
|
57
56
|
CompilePromptMeta,
|
58
57
|
ComponentsSchemasPdfSearchResultMetaSource,
|
@@ -512,8 +511,6 @@ __all__ = [
|
|
512
511
|
"ArrayVariableValue",
|
513
512
|
"ArrayVariableValueItem",
|
514
513
|
"ArrayVellumValue",
|
515
|
-
"ArrayVellumValueItem",
|
516
|
-
"ArrayVellumValueItemRequest",
|
517
514
|
"ArrayVellumValueRequest",
|
518
515
|
"AsyncVellum",
|
519
516
|
"BadRequestError",
|
@@ -549,6 +546,7 @@ __all__ = [
|
|
549
546
|
"CodeExecutionRuntime",
|
550
547
|
"CodeExecutorInputRequest",
|
551
548
|
"CodeExecutorResponse",
|
549
|
+
"CodeExecutorSecretInputRequest",
|
552
550
|
"CompilePromptDeploymentExpandMetaRequest",
|
553
551
|
"CompilePromptMeta",
|
554
552
|
"ComponentsSchemasPdfSearchResultMetaSource",
|
vellum/core/client_wrapper.py
CHANGED
@@ -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.
|
20
|
+
"X-Fern-SDK-Version": "0.9.0",
|
21
21
|
}
|
22
22
|
headers["X_API_KEY"] = self.api_key
|
23
23
|
return headers
|
@@ -1,7 +1,7 @@
|
|
1
1
|
# This file was auto-generated by Fern from our API Definition.
|
2
2
|
|
3
|
-
from ...core.client_wrapper import SyncClientWrapper
|
4
3
|
import typing
|
4
|
+
from ...core.client_wrapper import SyncClientWrapper
|
5
5
|
from ...core.request_options import RequestOptions
|
6
6
|
from ...types.workspace_secret_read import WorkspaceSecretRead
|
7
7
|
from ...core.jsonable_encoder import jsonable_encoder
|
@@ -10,6 +10,9 @@ from json.decoder import JSONDecodeError
|
|
10
10
|
from ...core.api_error import ApiError
|
11
11
|
from ...core.client_wrapper import AsyncClientWrapper
|
12
12
|
|
13
|
+
# this is used as the default value for optional parameters
|
14
|
+
OMIT = typing.cast(typing.Any, ...)
|
15
|
+
|
13
16
|
|
14
17
|
class WorkspaceSecretsClient:
|
15
18
|
def __init__(self, *, client_wrapper: SyncClientWrapper):
|
@@ -63,6 +66,70 @@ class WorkspaceSecretsClient:
|
|
63
66
|
raise ApiError(status_code=_response.status_code, body=_response.text)
|
64
67
|
raise ApiError(status_code=_response.status_code, body=_response_json)
|
65
68
|
|
69
|
+
def partial_update(
|
70
|
+
self,
|
71
|
+
id: str,
|
72
|
+
*,
|
73
|
+
label: typing.Optional[str] = OMIT,
|
74
|
+
value: typing.Optional[str] = OMIT,
|
75
|
+
request_options: typing.Optional[RequestOptions] = None,
|
76
|
+
) -> WorkspaceSecretRead:
|
77
|
+
"""
|
78
|
+
Used to update a Workspace Secret given its ID or name.
|
79
|
+
|
80
|
+
Parameters
|
81
|
+
----------
|
82
|
+
id : str
|
83
|
+
Either the Workspace Secret's ID or its unique name
|
84
|
+
|
85
|
+
label : typing.Optional[str]
|
86
|
+
|
87
|
+
value : typing.Optional[str]
|
88
|
+
|
89
|
+
request_options : typing.Optional[RequestOptions]
|
90
|
+
Request-specific configuration.
|
91
|
+
|
92
|
+
Returns
|
93
|
+
-------
|
94
|
+
WorkspaceSecretRead
|
95
|
+
|
96
|
+
|
97
|
+
Examples
|
98
|
+
--------
|
99
|
+
from vellum import Vellum
|
100
|
+
|
101
|
+
client = Vellum(
|
102
|
+
api_key="YOUR_API_KEY",
|
103
|
+
)
|
104
|
+
client.workspace_secrets.partial_update(
|
105
|
+
id="id",
|
106
|
+
)
|
107
|
+
"""
|
108
|
+
_response = self._client_wrapper.httpx_client.request(
|
109
|
+
f"v1/workspace-secrets/{jsonable_encoder(id)}",
|
110
|
+
base_url=self._client_wrapper.get_environment().default,
|
111
|
+
method="PATCH",
|
112
|
+
json={
|
113
|
+
"label": label,
|
114
|
+
"value": value,
|
115
|
+
},
|
116
|
+
request_options=request_options,
|
117
|
+
omit=OMIT,
|
118
|
+
)
|
119
|
+
try:
|
120
|
+
if 200 <= _response.status_code < 300:
|
121
|
+
return typing.cast(
|
122
|
+
WorkspaceSecretRead,
|
123
|
+
parse_obj_as(
|
124
|
+
type_=WorkspaceSecretRead, # type: ignore
|
125
|
+
object_=_response.json(),
|
126
|
+
),
|
127
|
+
)
|
128
|
+
_response_json = _response.json()
|
129
|
+
except JSONDecodeError:
|
130
|
+
raise ApiError(status_code=_response.status_code, body=_response.text)
|
131
|
+
raise ApiError(status_code=_response.status_code, body=_response_json)
|
132
|
+
|
66
133
|
|
67
134
|
class AsyncWorkspaceSecretsClient:
|
68
135
|
def __init__(self, *, client_wrapper: AsyncClientWrapper):
|
@@ -125,3 +192,75 @@ class AsyncWorkspaceSecretsClient:
|
|
125
192
|
except JSONDecodeError:
|
126
193
|
raise ApiError(status_code=_response.status_code, body=_response.text)
|
127
194
|
raise ApiError(status_code=_response.status_code, body=_response_json)
|
195
|
+
|
196
|
+
async def partial_update(
|
197
|
+
self,
|
198
|
+
id: str,
|
199
|
+
*,
|
200
|
+
label: typing.Optional[str] = OMIT,
|
201
|
+
value: typing.Optional[str] = OMIT,
|
202
|
+
request_options: typing.Optional[RequestOptions] = None,
|
203
|
+
) -> WorkspaceSecretRead:
|
204
|
+
"""
|
205
|
+
Used to update a Workspace Secret given its ID or name.
|
206
|
+
|
207
|
+
Parameters
|
208
|
+
----------
|
209
|
+
id : str
|
210
|
+
Either the Workspace Secret's ID or its unique name
|
211
|
+
|
212
|
+
label : typing.Optional[str]
|
213
|
+
|
214
|
+
value : typing.Optional[str]
|
215
|
+
|
216
|
+
request_options : typing.Optional[RequestOptions]
|
217
|
+
Request-specific configuration.
|
218
|
+
|
219
|
+
Returns
|
220
|
+
-------
|
221
|
+
WorkspaceSecretRead
|
222
|
+
|
223
|
+
|
224
|
+
Examples
|
225
|
+
--------
|
226
|
+
import asyncio
|
227
|
+
|
228
|
+
from vellum import AsyncVellum
|
229
|
+
|
230
|
+
client = AsyncVellum(
|
231
|
+
api_key="YOUR_API_KEY",
|
232
|
+
)
|
233
|
+
|
234
|
+
|
235
|
+
async def main() -> None:
|
236
|
+
await client.workspace_secrets.partial_update(
|
237
|
+
id="id",
|
238
|
+
)
|
239
|
+
|
240
|
+
|
241
|
+
asyncio.run(main())
|
242
|
+
"""
|
243
|
+
_response = await self._client_wrapper.httpx_client.request(
|
244
|
+
f"v1/workspace-secrets/{jsonable_encoder(id)}",
|
245
|
+
base_url=self._client_wrapper.get_environment().default,
|
246
|
+
method="PATCH",
|
247
|
+
json={
|
248
|
+
"label": label,
|
249
|
+
"value": value,
|
250
|
+
},
|
251
|
+
request_options=request_options,
|
252
|
+
omit=OMIT,
|
253
|
+
)
|
254
|
+
try:
|
255
|
+
if 200 <= _response.status_code < 300:
|
256
|
+
return typing.cast(
|
257
|
+
WorkspaceSecretRead,
|
258
|
+
parse_obj_as(
|
259
|
+
type_=WorkspaceSecretRead, # type: ignore
|
260
|
+
object_=_response.json(),
|
261
|
+
),
|
262
|
+
)
|
263
|
+
_response_json = _response.json()
|
264
|
+
except JSONDecodeError:
|
265
|
+
raise ApiError(status_code=_response.status_code, body=_response.text)
|
266
|
+
raise ApiError(status_code=_response.status_code, body=_response_json)
|
vellum/types/__init__.py
CHANGED
@@ -17,8 +17,6 @@ from .array_input_request import ArrayInputRequest
|
|
17
17
|
from .array_variable_value import ArrayVariableValue
|
18
18
|
from .array_variable_value_item import ArrayVariableValueItem
|
19
19
|
from .array_vellum_value import ArrayVellumValue
|
20
|
-
from .array_vellum_value_item import ArrayVellumValueItem
|
21
|
-
from .array_vellum_value_item_request import ArrayVellumValueItemRequest
|
22
20
|
from .array_vellum_value_request import ArrayVellumValueRequest
|
23
21
|
from .basic_vectorizer_intfloat_multilingual_e_5_large import BasicVectorizerIntfloatMultilingualE5Large
|
24
22
|
from .basic_vectorizer_intfloat_multilingual_e_5_large_request import BasicVectorizerIntfloatMultilingualE5LargeRequest
|
@@ -60,6 +58,7 @@ from .code_execution_package_request import CodeExecutionPackageRequest
|
|
60
58
|
from .code_execution_runtime import CodeExecutionRuntime
|
61
59
|
from .code_executor_input_request import CodeExecutorInputRequest
|
62
60
|
from .code_executor_response import CodeExecutorResponse
|
61
|
+
from .code_executor_secret_input_request import CodeExecutorSecretInputRequest
|
63
62
|
from .compile_prompt_deployment_expand_meta_request import CompilePromptDeploymentExpandMetaRequest
|
64
63
|
from .compile_prompt_meta import CompilePromptMeta
|
65
64
|
from .components_schemas_pdf_search_result_meta_source import ComponentsSchemasPdfSearchResultMetaSource
|
@@ -503,8 +502,6 @@ __all__ = [
|
|
503
502
|
"ArrayVariableValue",
|
504
503
|
"ArrayVariableValueItem",
|
505
504
|
"ArrayVellumValue",
|
506
|
-
"ArrayVellumValueItem",
|
507
|
-
"ArrayVellumValueItemRequest",
|
508
505
|
"ArrayVellumValueRequest",
|
509
506
|
"BasicVectorizerIntfloatMultilingualE5Large",
|
510
507
|
"BasicVectorizerIntfloatMultilingualE5LargeRequest",
|
@@ -538,6 +535,7 @@ __all__ = [
|
|
538
535
|
"CodeExecutionRuntime",
|
539
536
|
"CodeExecutorInputRequest",
|
540
537
|
"CodeExecutorResponse",
|
538
|
+
"CodeExecutorSecretInputRequest",
|
541
539
|
"CompilePromptDeploymentExpandMetaRequest",
|
542
540
|
"CompilePromptMeta",
|
543
541
|
"ComponentsSchemasPdfSearchResultMetaSource",
|
@@ -5,7 +5,7 @@ from ..core.pydantic_utilities import UniversalBaseModel
|
|
5
5
|
from .array_vellum_value_request import ArrayVellumValueRequest
|
6
6
|
import pydantic
|
7
7
|
import typing
|
8
|
-
from .
|
8
|
+
from .vellum_value_request import VellumValueRequest
|
9
9
|
from ..core.pydantic_utilities import IS_PYDANTIC_V2
|
10
10
|
from ..core.pydantic_utilities import update_forward_refs
|
11
11
|
|
@@ -21,7 +21,7 @@ class ArrayInputRequest(UniversalBaseModel):
|
|
21
21
|
"""
|
22
22
|
|
23
23
|
type: typing.Literal["ARRAY"] = "ARRAY"
|
24
|
-
value: typing.List[
|
24
|
+
value: typing.List[VellumValueRequest]
|
25
25
|
|
26
26
|
if IS_PYDANTIC_V2:
|
27
27
|
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
|
@@ -14,7 +14,7 @@ class ArrayVellumValue(UniversalBaseModel):
|
|
14
14
|
"""
|
15
15
|
|
16
16
|
type: typing.Literal["ARRAY"] = "ARRAY"
|
17
|
-
value: typing.Optional[typing.List["
|
17
|
+
value: typing.Optional[typing.List["VellumValue"]] = None
|
18
18
|
|
19
19
|
if IS_PYDANTIC_V2:
|
20
20
|
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
|
@@ -26,6 +26,6 @@ class ArrayVellumValue(UniversalBaseModel):
|
|
26
26
|
extra = pydantic.Extra.allow
|
27
27
|
|
28
28
|
|
29
|
-
from .
|
29
|
+
from .vellum_value import VellumValue # noqa: E402
|
30
30
|
|
31
31
|
update_forward_refs(ArrayVellumValue)
|
@@ -14,7 +14,7 @@ class ArrayVellumValueRequest(UniversalBaseModel):
|
|
14
14
|
"""
|
15
15
|
|
16
16
|
type: typing.Literal["ARRAY"] = "ARRAY"
|
17
|
-
value: typing.Optional[typing.List["
|
17
|
+
value: typing.Optional[typing.List["VellumValueRequest"]] = None
|
18
18
|
|
19
19
|
if IS_PYDANTIC_V2:
|
20
20
|
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
|
@@ -26,6 +26,6 @@ class ArrayVellumValueRequest(UniversalBaseModel):
|
|
26
26
|
extra = pydantic.Extra.allow
|
27
27
|
|
28
28
|
|
29
|
-
from .
|
29
|
+
from .vellum_value_request import VellumValueRequest # noqa: E402
|
30
30
|
|
31
31
|
update_forward_refs(ArrayVellumValueRequest)
|
@@ -4,7 +4,7 @@ from __future__ import annotations
|
|
4
4
|
from ..core.pydantic_utilities import UniversalBaseModel
|
5
5
|
from .array_vellum_value import ArrayVellumValue
|
6
6
|
import typing
|
7
|
-
from .
|
7
|
+
from .vellum_value import VellumValue
|
8
8
|
from ..core.pydantic_utilities import IS_PYDANTIC_V2
|
9
9
|
import pydantic
|
10
10
|
from ..core.pydantic_utilities import update_forward_refs
|
@@ -13,7 +13,7 @@ from ..core.pydantic_utilities import update_forward_refs
|
|
13
13
|
class CodeExecutionNodeArrayResult(UniversalBaseModel):
|
14
14
|
id: str
|
15
15
|
type: typing.Literal["ARRAY"] = "ARRAY"
|
16
|
-
value: typing.Optional[typing.List[
|
16
|
+
value: typing.Optional[typing.List[VellumValue]] = None
|
17
17
|
|
18
18
|
if IS_PYDANTIC_V2:
|
19
19
|
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
|
@@ -9,6 +9,7 @@ from .search_results_input_request import SearchResultsInputRequest
|
|
9
9
|
from .error_input_request import ErrorInputRequest
|
10
10
|
from .array_input_request import ArrayInputRequest
|
11
11
|
from .function_call_input_request import FunctionCallInputRequest
|
12
|
+
from .code_executor_secret_input_request import CodeExecutorSecretInputRequest
|
12
13
|
|
13
14
|
CodeExecutorInputRequest = typing.Union[
|
14
15
|
StringInputRequest,
|
@@ -19,4 +20,5 @@ CodeExecutorInputRequest = typing.Union[
|
|
19
20
|
ErrorInputRequest,
|
20
21
|
ArrayInputRequest,
|
21
22
|
FunctionCallInputRequest,
|
23
|
+
CodeExecutorSecretInputRequest,
|
22
24
|
]
|
@@ -0,0 +1,29 @@
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
2
|
+
|
3
|
+
from ..core.pydantic_utilities import UniversalBaseModel
|
4
|
+
import pydantic
|
5
|
+
import typing
|
6
|
+
from ..core.pydantic_utilities import IS_PYDANTIC_V2
|
7
|
+
|
8
|
+
|
9
|
+
class CodeExecutorSecretInputRequest(UniversalBaseModel):
|
10
|
+
"""
|
11
|
+
A user input representing a Vellum Workspace Secret value
|
12
|
+
"""
|
13
|
+
|
14
|
+
name: str = pydantic.Field()
|
15
|
+
"""
|
16
|
+
The variable's name
|
17
|
+
"""
|
18
|
+
|
19
|
+
type: typing.Literal["SECRET"] = "SECRET"
|
20
|
+
value: str
|
21
|
+
|
22
|
+
if IS_PYDANTIC_V2:
|
23
|
+
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
|
24
|
+
else:
|
25
|
+
|
26
|
+
class Config:
|
27
|
+
frozen = True
|
28
|
+
smart_union = True
|
29
|
+
extra = pydantic.Extra.allow
|
@@ -5,7 +5,7 @@ from ..core.pydantic_utilities import UniversalBaseModel
|
|
5
5
|
from .array_vellum_value import ArrayVellumValue
|
6
6
|
import pydantic
|
7
7
|
import typing
|
8
|
-
from .
|
8
|
+
from .vellum_value import VellumValue
|
9
9
|
from ..core.pydantic_utilities import IS_PYDANTIC_V2
|
10
10
|
from ..core.pydantic_utilities import update_forward_refs
|
11
11
|
|
@@ -22,7 +22,7 @@ class ExecutionArrayVellumValue(UniversalBaseModel):
|
|
22
22
|
|
23
23
|
name: str
|
24
24
|
type: typing.Literal["ARRAY"] = "ARRAY"
|
25
|
-
value: typing.Optional[typing.List[
|
25
|
+
value: typing.Optional[typing.List[VellumValue]] = None
|
26
26
|
|
27
27
|
if IS_PYDANTIC_V2:
|
28
28
|
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
|
@@ -4,7 +4,7 @@ from __future__ import annotations
|
|
4
4
|
from ..core.pydantic_utilities import UniversalBaseModel
|
5
5
|
from .array_vellum_value import ArrayVellumValue
|
6
6
|
import typing
|
7
|
-
from .
|
7
|
+
from .vellum_value import VellumValue
|
8
8
|
from ..core.pydantic_utilities import IS_PYDANTIC_V2
|
9
9
|
import pydantic
|
10
10
|
from ..core.pydantic_utilities import update_forward_refs
|
@@ -16,7 +16,7 @@ class NamedTestCaseArrayVariableValue(UniversalBaseModel):
|
|
16
16
|
"""
|
17
17
|
|
18
18
|
type: typing.Literal["ARRAY"] = "ARRAY"
|
19
|
-
value: typing.Optional[typing.List[
|
19
|
+
value: typing.Optional[typing.List[VellumValue]] = None
|
20
20
|
name: str
|
21
21
|
|
22
22
|
if IS_PYDANTIC_V2:
|
@@ -4,7 +4,7 @@ from __future__ import annotations
|
|
4
4
|
from ..core.pydantic_utilities import UniversalBaseModel
|
5
5
|
from .array_vellum_value_request import ArrayVellumValueRequest
|
6
6
|
import typing
|
7
|
-
from .
|
7
|
+
from .vellum_value_request import VellumValueRequest
|
8
8
|
from ..core.pydantic_utilities import IS_PYDANTIC_V2
|
9
9
|
import pydantic
|
10
10
|
from ..core.pydantic_utilities import update_forward_refs
|
@@ -16,7 +16,7 @@ class NamedTestCaseArrayVariableValueRequest(UniversalBaseModel):
|
|
16
16
|
"""
|
17
17
|
|
18
18
|
type: typing.Literal["ARRAY"] = "ARRAY"
|
19
|
-
value: typing.Optional[typing.List[
|
19
|
+
value: typing.Optional[typing.List[VellumValueRequest]] = None
|
20
20
|
name: str
|
21
21
|
|
22
22
|
if IS_PYDANTIC_V2:
|
@@ -4,7 +4,7 @@ from __future__ import annotations
|
|
4
4
|
from ..core.pydantic_utilities import UniversalBaseModel
|
5
5
|
from .array_vellum_value import ArrayVellumValue
|
6
6
|
import typing
|
7
|
-
from .
|
7
|
+
from .vellum_value import VellumValue
|
8
8
|
from ..core.pydantic_utilities import IS_PYDANTIC_V2
|
9
9
|
import pydantic
|
10
10
|
from ..core.pydantic_utilities import update_forward_refs
|
@@ -14,7 +14,7 @@ class NodeInputCompiledArrayValue(UniversalBaseModel):
|
|
14
14
|
node_input_id: str
|
15
15
|
key: str
|
16
16
|
type: typing.Literal["ARRAY"] = "ARRAY"
|
17
|
-
value: typing.Optional[typing.List[
|
17
|
+
value: typing.Optional[typing.List[VellumValue]] = None
|
18
18
|
|
19
19
|
if IS_PYDANTIC_V2:
|
20
20
|
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
|
@@ -4,7 +4,7 @@ from __future__ import annotations
|
|
4
4
|
from ..core.pydantic_utilities import UniversalBaseModel
|
5
5
|
from .array_vellum_value import ArrayVellumValue
|
6
6
|
import typing
|
7
|
-
from .
|
7
|
+
from .vellum_value import VellumValue
|
8
8
|
from .workflow_node_result_event_state import WorkflowNodeResultEventState
|
9
9
|
from ..core.pydantic_utilities import IS_PYDANTIC_V2
|
10
10
|
import pydantic
|
@@ -17,7 +17,7 @@ class NodeOutputCompiledArrayValue(UniversalBaseModel):
|
|
17
17
|
"""
|
18
18
|
|
19
19
|
type: typing.Literal["ARRAY"] = "ARRAY"
|
20
|
-
value: typing.Optional[typing.List[
|
20
|
+
value: typing.Optional[typing.List[VellumValue]] = None
|
21
21
|
node_output_id: str
|
22
22
|
state: typing.Optional[WorkflowNodeResultEventState] = None
|
23
23
|
|
@@ -4,7 +4,7 @@ from __future__ import annotations
|
|
4
4
|
from ..core.pydantic_utilities import UniversalBaseModel
|
5
5
|
from .array_vellum_value import ArrayVellumValue
|
6
6
|
import typing
|
7
|
-
from .
|
7
|
+
from .vellum_value import VellumValue
|
8
8
|
from ..core.pydantic_utilities import IS_PYDANTIC_V2
|
9
9
|
import pydantic
|
10
10
|
from ..core.pydantic_utilities import update_forward_refs
|
@@ -13,7 +13,7 @@ from ..core.pydantic_utilities import update_forward_refs
|
|
13
13
|
class TemplatingNodeArrayResult(UniversalBaseModel):
|
14
14
|
id: str
|
15
15
|
type: typing.Literal["ARRAY"] = "ARRAY"
|
16
|
-
value: typing.Optional[typing.List[
|
16
|
+
value: typing.Optional[typing.List[VellumValue]] = None
|
17
17
|
|
18
18
|
if IS_PYDANTIC_V2:
|
19
19
|
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
|
@@ -5,7 +5,7 @@ from ..core.pydantic_utilities import UniversalBaseModel
|
|
5
5
|
from .array_vellum_value import ArrayVellumValue
|
6
6
|
import typing
|
7
7
|
import pydantic
|
8
|
-
from .
|
8
|
+
from .vellum_value import VellumValue
|
9
9
|
from ..core.pydantic_utilities import IS_PYDANTIC_V2
|
10
10
|
from ..core.pydantic_utilities import update_forward_refs
|
11
11
|
|
@@ -18,7 +18,7 @@ class TerminalNodeArrayResult(UniversalBaseModel):
|
|
18
18
|
"""
|
19
19
|
|
20
20
|
type: typing.Literal["ARRAY"] = "ARRAY"
|
21
|
-
value: typing.Optional[typing.List[
|
21
|
+
value: typing.Optional[typing.List[VellumValue]] = None
|
22
22
|
|
23
23
|
if IS_PYDANTIC_V2:
|
24
24
|
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
|
@@ -4,7 +4,7 @@ from __future__ import annotations
|
|
4
4
|
from ..core.pydantic_utilities import UniversalBaseModel
|
5
5
|
from .array_vellum_value import ArrayVellumValue
|
6
6
|
import typing
|
7
|
-
from .
|
7
|
+
from .vellum_value import VellumValue
|
8
8
|
from ..core.pydantic_utilities import IS_PYDANTIC_V2
|
9
9
|
import pydantic
|
10
10
|
from ..core.pydantic_utilities import update_forward_refs
|
@@ -18,7 +18,7 @@ class TestCaseArrayVariableValue(UniversalBaseModel):
|
|
18
18
|
variable_id: str
|
19
19
|
name: str
|
20
20
|
type: typing.Literal["ARRAY"] = "ARRAY"
|
21
|
-
value: typing.Optional[typing.List[
|
21
|
+
value: typing.Optional[typing.List[VellumValue]] = None
|
22
22
|
|
23
23
|
if IS_PYDANTIC_V2:
|
24
24
|
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
|
@@ -4,7 +4,7 @@ from __future__ import annotations
|
|
4
4
|
from ..core.pydantic_utilities import UniversalBaseModel
|
5
5
|
from .array_vellum_value import ArrayVellumValue
|
6
6
|
import typing
|
7
|
-
from .
|
7
|
+
from .vellum_value import VellumValue
|
8
8
|
from ..core.pydantic_utilities import IS_PYDANTIC_V2
|
9
9
|
import pydantic
|
10
10
|
from ..core.pydantic_utilities import update_forward_refs
|
@@ -17,7 +17,7 @@ class TestSuiteRunExecutionArrayOutput(UniversalBaseModel):
|
|
17
17
|
|
18
18
|
name: str
|
19
19
|
type: typing.Literal["ARRAY"] = "ARRAY"
|
20
|
-
value: typing.Optional[typing.List[
|
20
|
+
value: typing.Optional[typing.List[VellumValue]] = None
|
21
21
|
output_variable_id: str
|
22
22
|
|
23
23
|
if IS_PYDANTIC_V2:
|
vellum/types/vellum_value.py
CHANGED
@@ -1,5 +1,6 @@
|
|
1
1
|
# This file was auto-generated by Fern from our API Definition.
|
2
2
|
|
3
|
+
from __future__ import annotations
|
3
4
|
import typing
|
4
5
|
from .string_vellum_value import StringVellumValue
|
5
6
|
from .number_vellum_value import NumberVellumValue
|
@@ -7,10 +8,12 @@ from .json_vellum_value import JsonVellumValue
|
|
7
8
|
from .image_vellum_value import ImageVellumValue
|
8
9
|
from .function_call_vellum_value import FunctionCallVellumValue
|
9
10
|
from .error_vellum_value import ErrorVellumValue
|
10
|
-
from .array_vellum_value import ArrayVellumValue
|
11
11
|
from .chat_history_vellum_value import ChatHistoryVellumValue
|
12
12
|
from .search_results_vellum_value import SearchResultsVellumValue
|
13
|
+
import typing
|
13
14
|
|
15
|
+
if typing.TYPE_CHECKING:
|
16
|
+
from .array_vellum_value import ArrayVellumValue
|
14
17
|
VellumValue = typing.Union[
|
15
18
|
StringVellumValue,
|
16
19
|
NumberVellumValue,
|
@@ -18,7 +21,7 @@ VellumValue = typing.Union[
|
|
18
21
|
ImageVellumValue,
|
19
22
|
FunctionCallVellumValue,
|
20
23
|
ErrorVellumValue,
|
21
|
-
ArrayVellumValue,
|
24
|
+
"ArrayVellumValue",
|
22
25
|
ChatHistoryVellumValue,
|
23
26
|
SearchResultsVellumValue,
|
24
27
|
]
|
@@ -1,5 +1,6 @@
|
|
1
1
|
# This file was auto-generated by Fern from our API Definition.
|
2
2
|
|
3
|
+
from __future__ import annotations
|
3
4
|
import typing
|
4
5
|
from .string_vellum_value_request import StringVellumValueRequest
|
5
6
|
from .number_vellum_value_request import NumberVellumValueRequest
|
@@ -7,10 +8,12 @@ from .json_vellum_value_request import JsonVellumValueRequest
|
|
7
8
|
from .image_vellum_value_request import ImageVellumValueRequest
|
8
9
|
from .function_call_vellum_value_request import FunctionCallVellumValueRequest
|
9
10
|
from .error_vellum_value_request import ErrorVellumValueRequest
|
10
|
-
from .array_vellum_value_request import ArrayVellumValueRequest
|
11
11
|
from .chat_history_vellum_value_request import ChatHistoryVellumValueRequest
|
12
12
|
from .search_results_vellum_value_request import SearchResultsVellumValueRequest
|
13
|
+
import typing
|
13
14
|
|
15
|
+
if typing.TYPE_CHECKING:
|
16
|
+
from .array_vellum_value_request import ArrayVellumValueRequest
|
14
17
|
VellumValueRequest = typing.Union[
|
15
18
|
StringVellumValueRequest,
|
16
19
|
NumberVellumValueRequest,
|
@@ -18,7 +21,7 @@ VellumValueRequest = typing.Union[
|
|
18
21
|
ImageVellumValueRequest,
|
19
22
|
FunctionCallVellumValueRequest,
|
20
23
|
ErrorVellumValueRequest,
|
21
|
-
ArrayVellumValueRequest,
|
24
|
+
"ArrayVellumValueRequest",
|
22
25
|
ChatHistoryVellumValueRequest,
|
23
26
|
SearchResultsVellumValueRequest,
|
24
27
|
]
|
@@ -4,7 +4,17 @@ import typing
|
|
4
4
|
|
5
5
|
VellumVariableType = typing.Union[
|
6
6
|
typing.Literal[
|
7
|
-
"STRING",
|
7
|
+
"STRING",
|
8
|
+
"NUMBER",
|
9
|
+
"JSON",
|
10
|
+
"CHAT_HISTORY",
|
11
|
+
"SEARCH_RESULTS",
|
12
|
+
"ERROR",
|
13
|
+
"ARRAY",
|
14
|
+
"FUNCTION_CALL",
|
15
|
+
"IMAGE",
|
16
|
+
"AUDIO",
|
17
|
+
"NULL",
|
8
18
|
],
|
9
19
|
typing.Any,
|
10
20
|
]
|
@@ -5,7 +5,7 @@ from ..core.pydantic_utilities import UniversalBaseModel
|
|
5
5
|
from .array_vellum_value import ArrayVellumValue
|
6
6
|
import pydantic
|
7
7
|
import typing
|
8
|
-
from .
|
8
|
+
from .vellum_value import VellumValue
|
9
9
|
from ..core.pydantic_utilities import IS_PYDANTIC_V2
|
10
10
|
from ..core.pydantic_utilities import update_forward_refs
|
11
11
|
|
@@ -22,7 +22,7 @@ class WorkflowOutputArray(UniversalBaseModel):
|
|
22
22
|
"""
|
23
23
|
|
24
24
|
type: typing.Literal["ARRAY"] = "ARRAY"
|
25
|
-
value: typing.Optional[typing.List[
|
25
|
+
value: typing.Optional[typing.List[VellumValue]] = None
|
26
26
|
|
27
27
|
if IS_PYDANTIC_V2:
|
28
28
|
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
|
@@ -1,8 +1,8 @@
|
|
1
|
-
vellum/__init__.py,sha256=
|
1
|
+
vellum/__init__.py,sha256=s0G61XarqooYamISE7pvtHeSZ6k6HepO7CWq171pPtQ,33738
|
2
2
|
vellum/client.py,sha256=oyKQasaHZqssc_CiZdvIcrGePxzg9k7GfB7_ik1jsH0,114871
|
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=
|
5
|
+
vellum/core/client_wrapper.py,sha256=vbLh5ABAr1D54q4vF3AznyexsEQvCLL1FLr3MtNmQOk,1889
|
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
|
@@ -64,7 +64,7 @@ vellum/resources/workflow_sandboxes/client.py,sha256=3wVQxkjrJ5bIS8fB5FpKXCP2dX3
|
|
64
64
|
vellum/resources/workflows/__init__.py,sha256=FTtvy8EDg9nNNg9WCatVgKTRYV8-_v1roeGPAKoa_pw,65
|
65
65
|
vellum/resources/workflows/client.py,sha256=ZOUOWKdQRv7tFks5c8gwU6JMSLeskYu7Om9gk8t1oCM,4639
|
66
66
|
vellum/resources/workspace_secrets/__init__.py,sha256=FTtvy8EDg9nNNg9WCatVgKTRYV8-_v1roeGPAKoa_pw,65
|
67
|
-
vellum/resources/workspace_secrets/client.py,sha256=
|
67
|
+
vellum/resources/workspace_secrets/client.py,sha256=h7UzXLyTttPq1t-JZGMg1BWxypxJvBGUdqg7KGT7MK4,8027
|
68
68
|
vellum/terraform/__init__.py,sha256=CxzT0rkV9cXwAtxZ3gv46DCRt9vBl_Sx1SOj5MJtl0Y,498
|
69
69
|
vellum/terraform/_jsii/__init__.py,sha256=AV9B1-EC-DQ2MSTWojcpbHjahvoZxNaYeZ6aCi5SXEQ,473
|
70
70
|
vellum/terraform/_jsii/vellum-ai_vellum@0.0.0.jsii.tgz,sha256=igWevhMxZD8GCX4KWzOG3vfQFDj5ic91sNmj2uFVwow,32056
|
@@ -76,7 +76,7 @@ vellum/terraform/ml_model/__init__.py,sha256=I8h1Ru-Rb-Hi_HusK6G7nJQZEKQGsAAHMmw
|
|
76
76
|
vellum/terraform/provider/__init__.py,sha256=-06xKmAmknpohVzw5TD-t1bnUHta8OrQYqvMd04XM-U,12684
|
77
77
|
vellum/terraform/py.typed,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
|
78
78
|
vellum/terraform/versions.json,sha256=45c7jjRD5i4w9DJQHs5ZqLLVXRnQwP9Rirq3mWY-xEo,56
|
79
|
-
vellum/types/__init__.py,sha256=
|
79
|
+
vellum/types/__init__.py,sha256=xHyYHqe3WJAppo834MHYRb0xV0bhsZWCIwlCCdVw80E,51387
|
80
80
|
vellum/types/ad_hoc_execute_prompt_event.py,sha256=bCjujA2XsOgyF3bRZbcEqV2rOIymRgsLoIRtZpB14xg,607
|
81
81
|
vellum/types/ad_hoc_expand_meta_request.py,sha256=hS8PC3hC--OKvRKi2ZFj_RJPQ1bxo2GXno8qJq1kk28,1338
|
82
82
|
vellum/types/ad_hoc_fulfilled_prompt_execution_meta.py,sha256=Bfvf1d_dkmshxRACVM5vcxbH_7AQY23RmrrnPc0ytYY,939
|
@@ -90,13 +90,11 @@ vellum/types/array_chat_message_content.py,sha256=353TDzStNXA2dQETvnJrazCr33nlFx
|
|
90
90
|
vellum/types/array_chat_message_content_item.py,sha256=XyWDIqVeWoqLzUIvZO_qj_-iwCr6SBcvQJoVxKAjmDs,421
|
91
91
|
vellum/types/array_chat_message_content_item_request.py,sha256=AUFfh6CQfrD4MdwpS3KhGpalaYpEj_hAlF_lePDDdbU,494
|
92
92
|
vellum/types/array_chat_message_content_request.py,sha256=vpPV0KmM_uui7vFHY6f6kE1yj7iOwqOjxEuGhh1ZxFM,809
|
93
|
-
vellum/types/array_input_request.py,sha256=
|
93
|
+
vellum/types/array_input_request.py,sha256=eOuIc8jRrE4uCGWiopQkoSA9QR3VLDogbh2hj8ZxLzw,1069
|
94
94
|
vellum/types/array_variable_value.py,sha256=_BQX5Kk1OLJaAyk3CPgsIgiLR_FI2pvbe5Ne8q9gsqY,876
|
95
95
|
vellum/types/array_variable_value_item.py,sha256=UeEoHg9zOjYi9MPez8CAeZuRQy5RSu3KEiEyF-t2Nng,963
|
96
|
-
vellum/types/array_vellum_value.py,sha256=
|
97
|
-
vellum/types/
|
98
|
-
vellum/types/array_vellum_value_item_request.py,sha256=_2VopD_uSrbjlumYAWh-x0TSZ1FyAhllppSHJr9X3mg,1112
|
99
|
-
vellum/types/array_vellum_value_request.py,sha256=-HXiU8DjRshOOim_HOU_xzEVUwjf85JR13ZEb1VCV40,980
|
96
|
+
vellum/types/array_vellum_value.py,sha256=6ZDizIzijUFX29JD4lnNv1mOH-venLD_c_sIiONWzqE,915
|
97
|
+
vellum/types/array_vellum_value_request.py,sha256=SUIfUTeJTDcsH76mb_PfQv3q0GEUkVr4Gk-dqn2Qr-I,951
|
100
98
|
vellum/types/basic_vectorizer_intfloat_multilingual_e_5_large.py,sha256=YaPY5r4YGfMrcnmIKZgZhjNrVOINZfSo_c7xtNA9MY0,827
|
101
99
|
vellum/types/basic_vectorizer_intfloat_multilingual_e_5_large_request.py,sha256=HuuCD5Z_mUoMkkGoCnvQ4vkI8xt3zjO4x5mD6dheQ1I,834
|
102
100
|
vellum/types/basic_vectorizer_sentence_transformers_multi_qa_mpnet_base_cos_v_1.py,sha256=2svbTOM633pvslH9fw4F4M4LcWby_5r8-ukihTFuDuY,911
|
@@ -114,7 +112,7 @@ vellum/types/chat_message_prompt_block_properties_request.py,sha256=lMBVwR5hnByk
|
|
114
112
|
vellum/types/chat_message_prompt_block_request.py,sha256=osPqtdZOG9NW_Iqcv0CyvkU2cHZzPeVVIWQUGvnB-Dw,1423
|
115
113
|
vellum/types/chat_message_request.py,sha256=r2EW1pfnvNYx2fo6mBqU5HQrUzp67WXuE5G-XK281E4,945
|
116
114
|
vellum/types/chat_message_role.py,sha256=-i0Jrcbwf72MkMoaFTGyxRduvlN7f5Y9ULhCXR5KNdA,182
|
117
|
-
vellum/types/code_execution_node_array_result.py,sha256=
|
115
|
+
vellum/types/code_execution_node_array_result.py,sha256=KCdbmjXjReO-hPPpBsSR17h_roDUpc4R-92cmIn59ck,952
|
118
116
|
vellum/types/code_execution_node_chat_history_result.py,sha256=Kwb_jn_xmVz214bIGPmmpplKDczMAJCMAr6RxOJA-1Q,731
|
119
117
|
vellum/types/code_execution_node_error_result.py,sha256=QlJEhZS-BKpCJc8bwG4MrsvUsTjDbY8iohYZh7--yBI,698
|
120
118
|
vellum/types/code_execution_node_function_call_result.py,sha256=_3FYGMQhSvucFHC4gu9dHBXDKz8WpkTeDQ03aoASsn4,724
|
@@ -127,8 +125,9 @@ vellum/types/code_execution_node_search_results_result.py,sha256=yPh94v7pgFL-4x1
|
|
127
125
|
vellum/types/code_execution_node_string_result.py,sha256=uH6KO57muMko4u_xISchhvP0E-VzJfhKD_rijXgisZ8,655
|
128
126
|
vellum/types/code_execution_package_request.py,sha256=QmFfT5BYXNZI-mVBVSJS8nxt-lrWizXqbyJ4-YXOKe0,587
|
129
127
|
vellum/types/code_execution_runtime.py,sha256=ucMXj7mUYl9-B_KentTfRuRIeDq33PV3OV_GWKiG-lo,181
|
130
|
-
vellum/types/code_executor_input_request.py,sha256=
|
128
|
+
vellum/types/code_executor_input_request.py,sha256=wkYRtN8EV-7F1Rj9uPeUnfIvfUXxCwvHC9nqZvYARYI,899
|
131
129
|
vellum/types/code_executor_response.py,sha256=iG3q95G7sXABhdkh81DhBYKHKrgZAFK1SvOa3Su6giM,849
|
130
|
+
vellum/types/code_executor_secret_input_request.py,sha256=-mAhESugf---UztFV1SS6UKCExVnvhaj1QSbPqZCP5Q,773
|
132
131
|
vellum/types/compile_prompt_deployment_expand_meta_request.py,sha256=z0iMR9nLGz5h2MbqamIwUxB8EiXGvqdf0tlYAQsBFbA,1136
|
133
132
|
vellum/types/compile_prompt_meta.py,sha256=lQOFdrhMpzMOf_hasn4vb1AKnX2VuASr-1evaugJ4ro,848
|
134
133
|
vellum/types/components_schemas_pdf_search_result_meta_source.py,sha256=WEB3B__R6zLakrJMMn_1z9FIylBcxencQ6JHVPs7HSg,206
|
@@ -163,7 +162,7 @@ vellum/types/execute_prompt_event.py,sha256=wq_TZBDJcmXQhSj25jR9nMTnN-mP8Ku5Vq3r
|
|
163
162
|
vellum/types/execute_prompt_response.py,sha256=n6ODveXcO8uWG-kr_B9wXziHH8JUaVTUcUAZKifClEo,334
|
164
163
|
vellum/types/execute_workflow_response.py,sha256=0Q-NGPv5jpxjq6xNlHa3qUNK7yOmkU8h6Z2vQb6bHsU,1022
|
165
164
|
vellum/types/execute_workflow_workflow_result_event.py,sha256=yLO-r6-lXGA86tonDGlWwuCI9VZEITTvEB9_yoV5308,435
|
166
|
-
vellum/types/execution_array_vellum_value.py,sha256=
|
165
|
+
vellum/types/execution_array_vellum_value.py,sha256=NlchSxuH3uF7INizvjPabvtQ8xJKkYtBo2m7-L9zsJk,1124
|
167
166
|
vellum/types/execution_chat_history_vellum_value.py,sha256=FBDP88wZKY9hz5h6cc8Z84fIgHritVZOybnE_tx5i3A,887
|
168
167
|
vellum/types/execution_error_vellum_value.py,sha256=_1KRV9vG5x0wACKubh6O-uj9weKh3in8xvVVTATkN5w,850
|
169
168
|
vellum/types/execution_function_call_vellum_value.py,sha256=3GmqmQOxYuVFqO3m58M3Bfp-zN9ENnbTzPRFryldIY8,883
|
@@ -261,8 +260,8 @@ vellum/types/named_scenario_input_chat_history_variable_value_request.py,sha256=
|
|
261
260
|
vellum/types/named_scenario_input_json_variable_value_request.py,sha256=UgnKv70zFviv1kl4nM7aM7IFA-7xyDOtglW4Y3GBZ28,757
|
262
261
|
vellum/types/named_scenario_input_request.py,sha256=Pi8l377OHvKBwvPu9slZ1omf_NJ9S1mCQ5Wr-Ux5KVg,611
|
263
262
|
vellum/types/named_scenario_input_string_variable_value_request.py,sha256=4P5YjzR0Cwsnf4ir2MFX0Bs0Q3eMe_7uWVhxL1ajlVg,758
|
264
|
-
vellum/types/named_test_case_array_variable_value.py,sha256=
|
265
|
-
vellum/types/named_test_case_array_variable_value_request.py,sha256=
|
263
|
+
vellum/types/named_test_case_array_variable_value.py,sha256=lrsRJGZ-_LLJVRjQubiX7X6rKZWTL6S6CweRQvd9B2Y,1028
|
264
|
+
vellum/types/named_test_case_array_variable_value_request.py,sha256=MqKZWZY47ndR467uEdsNXns_XxGEe-6oeEKfFbaF5JI,1099
|
266
265
|
vellum/types/named_test_case_chat_history_variable_value.py,sha256=tRN-8jKDeth_VIeWIYzSAcZIT-PeKKAUBjsUB3JbUjo,808
|
267
266
|
vellum/types/named_test_case_chat_history_variable_value_request.py,sha256=e4yLVJJnWyba3Yl_IJ4jJMfDdK1zxj19OuwirVBloSw,837
|
268
267
|
vellum/types/named_test_case_error_variable_value.py,sha256=lEw5i9J4JK0LwSqtnefgxZ9Y9KUdy_omKUZe_goRmNo,768
|
@@ -279,7 +278,7 @@ vellum/types/named_test_case_string_variable_value.py,sha256=2xuTh35MarcDMMCy6px
|
|
279
278
|
vellum/types/named_test_case_string_variable_value_request.py,sha256=Bv7LEBEyDHtBPPWdzgvCA8DHG6n1jF4NVlEe6zYPJUs,733
|
280
279
|
vellum/types/named_test_case_variable_value.py,sha256=R_O3nh15km-yGxg2ZybT9wmSxElROBO84Wg_29sCC8o,1146
|
281
280
|
vellum/types/named_test_case_variable_value_request.py,sha256=P3qWYQynb1rR9ohB628krxu-EUY2fkf290g5BeGowFU,1329
|
282
|
-
vellum/types/node_input_compiled_array_value.py,sha256
|
281
|
+
vellum/types/node_input_compiled_array_value.py,sha256=-UO10E0Lx_f0ISmuHfQ3V0mJbyCOL--rqm_tTsv2aiQ,973
|
283
282
|
vellum/types/node_input_compiled_chat_history_value.py,sha256=9mCnXxmWCRSxvP_YZH1RvHRnKGGfSX-kJWRZcINr5p4,754
|
284
283
|
vellum/types/node_input_compiled_error_value.py,sha256=49N9jmGU-QReYNmtf0qXILnRLYa6kXwoix_ZdJPzs2I,721
|
285
284
|
vellum/types/node_input_compiled_function_call_value.py,sha256=Q9vrORvrPDvHrBBYNA2YALHQd7WlGMytEBtoQdJelvk,747
|
@@ -288,7 +287,7 @@ vellum/types/node_input_compiled_number_value.py,sha256=Olc4UpYsm-v7ZhlTVXsp7JVQ
|
|
288
287
|
vellum/types/node_input_compiled_search_results_value.py,sha256=A2SnHYZAt2_VsQDXL4B2CF3KYgDJeUAQ5L0RbI8flH0,763
|
289
288
|
vellum/types/node_input_compiled_string_value.py,sha256=V4HKhHW6B2iUvYqYbuwcOHTxiui3nfOe0DKOiTXshJQ,678
|
290
289
|
vellum/types/node_input_variable_compiled_value.py,sha256=ahG5KdRDQ97w3Ljhfz9EssY0FD1DKeE4C5y393QOS78,1046
|
291
|
-
vellum/types/node_output_compiled_array_value.py,sha256
|
290
|
+
vellum/types/node_output_compiled_array_value.py,sha256=-lUee9E-IrlndzNS-tzfAQrEOZv-ZcgAmm06_kcqOr8,1176
|
292
291
|
vellum/types/node_output_compiled_chat_history_value.py,sha256=rAAnJ2PcXGxKusMpq2NEhJdBSRrPB9da5uN19x92Wu4,962
|
293
292
|
vellum/types/node_output_compiled_error_value.py,sha256=dkgT_h463S8AF3QHVZdvy9HGF3A2LhxuNnAQouAYQlE,922
|
294
293
|
vellum/types/node_output_compiled_function_call_value.py,sha256=Fygp5S2479B71vDmmBTjmJpp1ZfMEm3Qow2uINjNyZE,956
|
@@ -398,7 +397,7 @@ vellum/types/submit_completion_actual_request.py,sha256=hMWNAGUc54I44kDFKFSXdXTx
|
|
398
397
|
vellum/types/submit_workflow_execution_actual_request.py,sha256=xRCiA1QvQBD0lbZfBZUSZnm_XNOj17jyXXmppztQEB8,535
|
399
398
|
vellum/types/subworkflow_node_result.py,sha256=a2N7E6OSVxH1fQB24j96a6qucw1DgCz7w_hChENNV9A,808
|
400
399
|
vellum/types/subworkflow_node_result_data.py,sha256=np3Wnc5pmnehtMLfJZVz3bozYJN752vf9VERs9rIuqA,600
|
401
|
-
vellum/types/templating_node_array_result.py,sha256=
|
400
|
+
vellum/types/templating_node_array_result.py,sha256=RDRVf9xpy6lRunPD-G0BpWLqnde-BbmHd_eHQnQkOW0,943
|
402
401
|
vellum/types/templating_node_chat_history_result.py,sha256=RhEeDRtvWOPlLPsSuz3lAA3m8EqmdhB8sI_pwXuPgGg,728
|
403
402
|
vellum/types/templating_node_error_result.py,sha256=A9CkVXU0YUYko0epKmZlIHPwvFNfmLuM3iwduH0OhNU,695
|
404
403
|
vellum/types/templating_node_function_call_result.py,sha256=bJDLDS_N_dzf7w7wfUUaePg0N6_6amaJ8GrtDey8Kvw,721
|
@@ -409,7 +408,7 @@ vellum/types/templating_node_result_data.py,sha256=ySZesaAaCU6Zr2J2eSVK4Bu6nHnnF
|
|
409
408
|
vellum/types/templating_node_result_output.py,sha256=f94nwW79EAAjHKpL70Vc_N2DRq-FC4993g1X79V5Q7M,986
|
410
409
|
vellum/types/templating_node_search_results_result.py,sha256=LRChfWy1btVEuz8AX6x6x_s0o4uKKokc-R3O7kHGr5Q,737
|
411
410
|
vellum/types/templating_node_string_result.py,sha256=b3BOuBwqhYMJHvsfVwtYaFSeau7R4XkyJ6gG37J0x7M,652
|
412
|
-
vellum/types/terminal_node_array_result.py,sha256=
|
411
|
+
vellum/types/terminal_node_array_result.py,sha256=Wml0lQLYTAN9qApPPjNqQ_GITh633ONf0bp2M1GxnDw,1085
|
413
412
|
vellum/types/terminal_node_chat_history_result.py,sha256=YGywmDryELuzeLYi6p59pQoCNoPekA6bhSF0sYFAsw0,874
|
414
413
|
vellum/types/terminal_node_error_result.py,sha256=qwhunjngnumpeNoqxnVEbvFoXAyX-CXQ_MusOwOeNv0,841
|
415
414
|
vellum/types/terminal_node_function_call_result.py,sha256=-9tPhggVBQ9wvCHehZl1-L9G7oxrfDdR9aU8TFxowTo,867
|
@@ -420,7 +419,7 @@ vellum/types/terminal_node_result_data.py,sha256=JwpRyewiBPpOmHvCIof1fqBfDX_B6O9
|
|
420
419
|
vellum/types/terminal_node_result_output.py,sha256=f3sAqpRpw9_TfPfW4312I0nwfrRLfaDny-ETFuIieao,936
|
421
420
|
vellum/types/terminal_node_search_results_result.py,sha256=rX_ftp_C7hez_xjPRZm8yJuwMFoM6jsTDfPAseYmzFc,883
|
422
421
|
vellum/types/terminal_node_string_result.py,sha256=CW_nl-fI4YwhCm3YEO_cQW9mjG6rNZo5L-Ic4v1iAMo,798
|
423
|
-
vellum/types/test_case_array_variable_value.py,sha256=
|
422
|
+
vellum/types/test_case_array_variable_value.py,sha256=XZlpkDSmdvYdyVOC5u4EV3c7U-Nz9-JYjBr-UT7GO8c,1036
|
424
423
|
vellum/types/test_case_chat_history_variable_value.py,sha256=YNaaLEmjmQLvflknYW_21y1KfyD-rLLBjIlHQURJhXg,825
|
425
424
|
vellum/types/test_case_error_variable_value.py,sha256=he2fkOcwsRfXfC2hKT3MhzDkXctIi3cNARqhMi13bYk,786
|
426
425
|
vellum/types/test_case_function_call_variable_value.py,sha256=p7Q7jgpZVKDlanszm31E5lTLfxQmegggyto9DHVQXzI,819
|
@@ -436,7 +435,7 @@ vellum/types/test_suite_run_deployment_release_tag_exec_config_request.py,sha256
|
|
436
435
|
vellum/types/test_suite_run_exec_config.py,sha256=OuaNtd6ulP_Eq1ptz_YstJs5VtBOY3-p1XANEGnVwUA,530
|
437
436
|
vellum/types/test_suite_run_exec_config_request.py,sha256=GNwGzV6SZiZWThoy4lM5JpRyegoqy3ylHjB2Kj5WOXI,612
|
438
437
|
vellum/types/test_suite_run_execution.py,sha256=x0tjfFMSEl5hr1ZAh9r-2m3gQCbhKNZBGu5_6ANLgiU,1091
|
439
|
-
vellum/types/test_suite_run_execution_array_output.py,sha256=
|
438
|
+
vellum/types/test_suite_run_execution_array_output.py,sha256=fnGLAXY6NC8uJKK2500lsRXDvugjfIBJiDAfWDg1sUo,1101
|
440
439
|
vellum/types/test_suite_run_execution_chat_history_output.py,sha256=tzeWqczo04aXl-ALhfOHYEabrgOIqmG7E-nA5-l3dME,879
|
441
440
|
vellum/types/test_suite_run_execution_error_output.py,sha256=6UXaVzWivUTQ639W5Tb7EJIudV3Lj4tzkYp_eknAX90,839
|
442
441
|
vellum/types/test_suite_run_execution_function_call_output.py,sha256=jgAk0xgWnJudZh4VhDNb8HfgUAUHA6I8PK_2ExHW9hE,873
|
@@ -491,16 +490,16 @@ vellum/types/vellum_error_code_enum.py,sha256=thsWeS_QSTEF_vElgJ5tA2Zn98kF1mYnDR
|
|
491
490
|
vellum/types/vellum_error_request.py,sha256=RacXJoIgR8MeXXWDMI76pkxLBhCRgHnbj-aIJytZtP4,650
|
492
491
|
vellum/types/vellum_image.py,sha256=wkFRgxOkxFPrmRdWTO58_41_vk0HYn5k4xsc-5ywxEs,637
|
493
492
|
vellum/types/vellum_image_request.py,sha256=_Gr4L7PSY8PNQINyTy04hPdwLc8_bR1RTUWZ73RQRYM,644
|
494
|
-
vellum/types/vellum_value.py,sha256=
|
493
|
+
vellum/types/vellum_value.py,sha256=LPV1UFvtD2P3pnq1pyVNHHgVip_1Ncl3u8C7RCa6rkE,898
|
495
494
|
vellum/types/vellum_value_logical_condition_group_request.py,sha256=vyr6lhHuS-6YtcFL5TTmPGtKRoNI9w63N7N2RPQwKVQ,1402
|
496
495
|
vellum/types/vellum_value_logical_condition_request.py,sha256=HkZfj4X48UHFrPDHgUi3lp0MUGBMfroC0noNqZ_rW8o,1177
|
497
496
|
vellum/types/vellum_value_logical_expression_request.py,sha256=vjNsI1NUAkwxLwIXJM_DVXTObyAM63gOfHj6aHw7osc,479
|
498
|
-
vellum/types/vellum_value_request.py,sha256=
|
497
|
+
vellum/types/vellum_value_request.py,sha256=c0ds41RlI9rQnUXrt-An6wssRKLk7hKntjSEk7FqOuo,1103
|
499
498
|
vellum/types/vellum_variable.py,sha256=LNNNlYbT1VqadO6aUmeir9cXirtxgrIl-R2EalYZ5Uo,1123
|
500
499
|
vellum/types/vellum_variable_extensions.py,sha256=PsrRo0STOKhxrkSFRrOXCPlf1x5Uxpy3vVMJz02O20E,685
|
501
500
|
vellum/types/vellum_variable_extensions_request.py,sha256=n5qAdEDpPtC_eS4HVRMFkm0f9GAvu16DZy7-R9FGEPI,692
|
502
501
|
vellum/types/vellum_variable_request.py,sha256=OyQbVgFIYK_-RRLiZSDE8otpzRwsccHa1NUJ5T9UKLM,1210
|
503
|
-
vellum/types/vellum_variable_type.py,sha256=
|
502
|
+
vellum/types/vellum_variable_type.py,sha256=SX8PY9l8zui3IaT9BwmOxczmb_WE7S9w37JshEZVemE,371
|
504
503
|
vellum/types/workflow_deployment_read.py,sha256=zBn6JDHemCnmU6M4tMtyxwmxETOPeGKJeg9fmiAEP4w,2363
|
505
504
|
vellum/types/workflow_event_error.py,sha256=HIewu_kh3KNPpWegAQArvAGHCp-cBIXqlUAAc_dBZhc,687
|
506
505
|
vellum/types/workflow_execution_actual_chat_history_request.py,sha256=L6U8tgM7SiU4qGJMZChFzj6HfHgO-YAlTXfbT7ZIaE4,1993
|
@@ -515,7 +514,7 @@ vellum/types/workflow_node_result_data.py,sha256=fRzWA8CdNCNxk1FuARCJz1rg9LqAwKx
|
|
515
514
|
vellum/types/workflow_node_result_event.py,sha256=qnhruqkIcKRqP8uB-o-27shcruiT2pjgD7wdrPcp0NE,603
|
516
515
|
vellum/types/workflow_node_result_event_state.py,sha256=cC3CdfmXR8bPzSG4W6vDnndA9HAnfF3v4UzmyeVwxog,209
|
517
516
|
vellum/types/workflow_output.py,sha256=gtqJeAoVE56QS8N0muYpXxaTUR1O9iFm2YIN_FmOEjk,902
|
518
|
-
vellum/types/workflow_output_array.py,sha256=
|
517
|
+
vellum/types/workflow_output_array.py,sha256=pGBWpGx2_y792gt7afRcq-audwKnfIaAj-M9xx1deok,1089
|
519
518
|
vellum/types/workflow_output_chat_history.py,sha256=oBoq6b9tJGyIzZAe7NWvoBKWeE5o7NgtlY6yiJtp3lM,892
|
520
519
|
vellum/types/workflow_output_error.py,sha256=bJWwndZxiO6vWP2bM0jlD1oarlpSAjbE3n9kzOWbpGs,853
|
521
520
|
vellum/types/workflow_output_function_call.py,sha256=HkfqsC86OMhlXr80CFDWuxKALNWb-JsQMOoDuzxourg,886
|
@@ -546,7 +545,7 @@ vellum/types/workflow_result_event_output_data_string.py,sha256=tM3kgh6tEhD0dFEb
|
|
546
545
|
vellum/types/workflow_stream_event.py,sha256=Wn3Yzuy9MqWAeo8tEaXDTKDEbJoA8DdYdMVq8EKuhu8,361
|
547
546
|
vellum/types/workspace_secret_read.py,sha256=3CnHDG72IAY0KRNvc31F0xLmhnpwjQHnDYCfQJzCxI0,714
|
548
547
|
vellum/version.py,sha256=jq-1PlAYxN9AXuaZqbYk9ak27SgE2lw9Ia5gx1b1gVI,76
|
549
|
-
vellum_ai-0.
|
550
|
-
vellum_ai-0.
|
551
|
-
vellum_ai-0.
|
552
|
-
vellum_ai-0.
|
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,,
|
@@ -1,27 +0,0 @@
|
|
1
|
-
# This file was auto-generated by Fern from our API Definition.
|
2
|
-
|
3
|
-
from __future__ import annotations
|
4
|
-
import typing
|
5
|
-
from .string_vellum_value import StringVellumValue
|
6
|
-
from .number_vellum_value import NumberVellumValue
|
7
|
-
from .json_vellum_value import JsonVellumValue
|
8
|
-
from .image_vellum_value import ImageVellumValue
|
9
|
-
from .function_call_vellum_value import FunctionCallVellumValue
|
10
|
-
from .error_vellum_value import ErrorVellumValue
|
11
|
-
from .chat_history_vellum_value import ChatHistoryVellumValue
|
12
|
-
from .search_results_vellum_value import SearchResultsVellumValue
|
13
|
-
import typing
|
14
|
-
|
15
|
-
if typing.TYPE_CHECKING:
|
16
|
-
from .array_vellum_value import ArrayVellumValue
|
17
|
-
ArrayVellumValueItem = typing.Union[
|
18
|
-
StringVellumValue,
|
19
|
-
NumberVellumValue,
|
20
|
-
JsonVellumValue,
|
21
|
-
ImageVellumValue,
|
22
|
-
FunctionCallVellumValue,
|
23
|
-
ErrorVellumValue,
|
24
|
-
ChatHistoryVellumValue,
|
25
|
-
SearchResultsVellumValue,
|
26
|
-
"ArrayVellumValue",
|
27
|
-
]
|
@@ -1,27 +0,0 @@
|
|
1
|
-
# This file was auto-generated by Fern from our API Definition.
|
2
|
-
|
3
|
-
from __future__ import annotations
|
4
|
-
import typing
|
5
|
-
from .string_vellum_value_request import StringVellumValueRequest
|
6
|
-
from .number_vellum_value_request import NumberVellumValueRequest
|
7
|
-
from .json_vellum_value_request import JsonVellumValueRequest
|
8
|
-
from .image_vellum_value_request import ImageVellumValueRequest
|
9
|
-
from .function_call_vellum_value_request import FunctionCallVellumValueRequest
|
10
|
-
from .error_vellum_value_request import ErrorVellumValueRequest
|
11
|
-
from .chat_history_vellum_value_request import ChatHistoryVellumValueRequest
|
12
|
-
from .search_results_vellum_value_request import SearchResultsVellumValueRequest
|
13
|
-
import typing
|
14
|
-
|
15
|
-
if typing.TYPE_CHECKING:
|
16
|
-
from .array_vellum_value_request import ArrayVellumValueRequest
|
17
|
-
ArrayVellumValueItemRequest = typing.Union[
|
18
|
-
StringVellumValueRequest,
|
19
|
-
NumberVellumValueRequest,
|
20
|
-
JsonVellumValueRequest,
|
21
|
-
ImageVellumValueRequest,
|
22
|
-
FunctionCallVellumValueRequest,
|
23
|
-
ErrorVellumValueRequest,
|
24
|
-
ChatHistoryVellumValueRequest,
|
25
|
-
SearchResultsVellumValueRequest,
|
26
|
-
"ArrayVellumValueRequest",
|
27
|
-
]
|
File without changes
|
File without changes
|