vellum-ai 0.3.7__py3-none-any.whl → 0.3.8__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
@@ -13,9 +13,19 @@ from .types import (
13
13
  ArrayChatMessageContentItem_Image,
14
14
  ArrayChatMessageContentItem_String,
15
15
  ArrayChatMessageContentRequest,
16
+ ArrayEnum,
17
+ ArrayVariableValueItem,
18
+ ArrayVariableValueItem_ChatHistory,
19
+ ArrayVariableValueItem_Error,
20
+ ArrayVariableValueItem_FunctionCall,
21
+ ArrayVariableValueItem_Json,
22
+ ArrayVariableValueItem_Number,
23
+ ArrayVariableValueItem_SearchResults,
24
+ ArrayVariableValueItem_String,
16
25
  BlockTypeEnum,
17
26
  ChatHistoryEnum,
18
27
  ChatHistoryInputRequest,
28
+ ChatHistoryVariableValue,
19
29
  ChatMessage,
20
30
  ChatMessageContent,
21
31
  ChatMessageContentRequest,
@@ -134,6 +144,7 @@ from .types import (
134
144
  NamedTestCaseVariableValueRequest_Number,
135
145
  NamedTestCaseVariableValueRequest_SearchResults,
136
146
  NamedTestCaseVariableValueRequest_String,
147
+ NodeInputCompiledArrayValue,
137
148
  NodeInputCompiledChatHistoryValue,
138
149
  NodeInputCompiledErrorValue,
139
150
  NodeInputCompiledJsonValue,
@@ -141,21 +152,26 @@ from .types import (
141
152
  NodeInputCompiledSearchResultsValue,
142
153
  NodeInputCompiledStringValue,
143
154
  NodeInputVariableCompiledValue,
155
+ NodeInputVariableCompiledValue_Array,
144
156
  NodeInputVariableCompiledValue_ChatHistory,
145
157
  NodeInputVariableCompiledValue_Error,
146
158
  NodeInputVariableCompiledValue_Json,
147
159
  NodeInputVariableCompiledValue_Number,
148
160
  NodeInputVariableCompiledValue_SearchResults,
149
161
  NodeInputVariableCompiledValue_String,
162
+ NodeOutputCompiledArrayValue,
150
163
  NodeOutputCompiledChatHistoryValue,
151
164
  NodeOutputCompiledErrorValue,
165
+ NodeOutputCompiledFunctionValue,
152
166
  NodeOutputCompiledJsonValue,
153
167
  NodeOutputCompiledNumberValue,
154
168
  NodeOutputCompiledSearchResultsValue,
155
169
  NodeOutputCompiledStringValue,
156
170
  NodeOutputCompiledValue,
171
+ NodeOutputCompiledValue_Array,
157
172
  NodeOutputCompiledValue_ChatHistory,
158
173
  NodeOutputCompiledValue_Error,
174
+ NodeOutputCompiledValue_FunctionCall,
159
175
  NodeOutputCompiledValue_Json,
160
176
  NodeOutputCompiledValue_Number,
161
177
  NodeOutputCompiledValue_SearchResults,
@@ -163,6 +179,7 @@ from .types import (
163
179
  NormalizedLogProbs,
164
180
  NormalizedTokenLogProbs,
165
181
  NumberEnum,
182
+ NumberVariableValue,
166
183
  PaginatedSlimDeploymentReadList,
167
184
  PaginatedSlimDocumentList,
168
185
  PaginatedSlimWorkflowDeploymentList,
@@ -222,6 +239,7 @@ from .types import (
222
239
  SearchResultMergingRequest,
223
240
  SearchResultRequest,
224
241
  SearchResultsEnum,
242
+ SearchResultsVariableValue,
225
243
  SearchWeightsRequest,
226
244
  SlimDeploymentRead,
227
245
  SlimDocument,
@@ -294,6 +312,7 @@ from .types import (
294
312
  VellumImageRequest,
295
313
  VellumVariable,
296
314
  VellumVariableType,
315
+ WorkflowDeploymentRead,
297
316
  WorkflowEventError,
298
317
  WorkflowExecutionActualChatHistoryRequest,
299
318
  WorkflowExecutionActualJsonRequest,
@@ -389,10 +408,20 @@ __all__ = [
389
408
  "ArrayChatMessageContentItem_Image",
390
409
  "ArrayChatMessageContentItem_String",
391
410
  "ArrayChatMessageContentRequest",
411
+ "ArrayEnum",
412
+ "ArrayVariableValueItem",
413
+ "ArrayVariableValueItem_ChatHistory",
414
+ "ArrayVariableValueItem_Error",
415
+ "ArrayVariableValueItem_FunctionCall",
416
+ "ArrayVariableValueItem_Json",
417
+ "ArrayVariableValueItem_Number",
418
+ "ArrayVariableValueItem_SearchResults",
419
+ "ArrayVariableValueItem_String",
392
420
  "BadRequestError",
393
421
  "BlockTypeEnum",
394
422
  "ChatHistoryEnum",
395
423
  "ChatHistoryInputRequest",
424
+ "ChatHistoryVariableValue",
396
425
  "ChatMessage",
397
426
  "ChatMessageContent",
398
427
  "ChatMessageContentRequest",
@@ -515,6 +544,7 @@ __all__ = [
515
544
  "NamedTestCaseVariableValueRequest_Number",
516
545
  "NamedTestCaseVariableValueRequest_SearchResults",
517
546
  "NamedTestCaseVariableValueRequest_String",
547
+ "NodeInputCompiledArrayValue",
518
548
  "NodeInputCompiledChatHistoryValue",
519
549
  "NodeInputCompiledErrorValue",
520
550
  "NodeInputCompiledJsonValue",
@@ -522,21 +552,26 @@ __all__ = [
522
552
  "NodeInputCompiledSearchResultsValue",
523
553
  "NodeInputCompiledStringValue",
524
554
  "NodeInputVariableCompiledValue",
555
+ "NodeInputVariableCompiledValue_Array",
525
556
  "NodeInputVariableCompiledValue_ChatHistory",
526
557
  "NodeInputVariableCompiledValue_Error",
527
558
  "NodeInputVariableCompiledValue_Json",
528
559
  "NodeInputVariableCompiledValue_Number",
529
560
  "NodeInputVariableCompiledValue_SearchResults",
530
561
  "NodeInputVariableCompiledValue_String",
562
+ "NodeOutputCompiledArrayValue",
531
563
  "NodeOutputCompiledChatHistoryValue",
532
564
  "NodeOutputCompiledErrorValue",
565
+ "NodeOutputCompiledFunctionValue",
533
566
  "NodeOutputCompiledJsonValue",
534
567
  "NodeOutputCompiledNumberValue",
535
568
  "NodeOutputCompiledSearchResultsValue",
536
569
  "NodeOutputCompiledStringValue",
537
570
  "NodeOutputCompiledValue",
571
+ "NodeOutputCompiledValue_Array",
538
572
  "NodeOutputCompiledValue_ChatHistory",
539
573
  "NodeOutputCompiledValue_Error",
574
+ "NodeOutputCompiledValue_FunctionCall",
540
575
  "NodeOutputCompiledValue_Json",
541
576
  "NodeOutputCompiledValue_Number",
542
577
  "NodeOutputCompiledValue_SearchResults",
@@ -545,6 +580,7 @@ __all__ = [
545
580
  "NormalizedTokenLogProbs",
546
581
  "NotFoundError",
547
582
  "NumberEnum",
583
+ "NumberVariableValue",
548
584
  "PaginatedSlimDeploymentReadList",
549
585
  "PaginatedSlimDocumentList",
550
586
  "PaginatedSlimWorkflowDeploymentList",
@@ -604,6 +640,7 @@ __all__ = [
604
640
  "SearchResultMergingRequest",
605
641
  "SearchResultRequest",
606
642
  "SearchResultsEnum",
643
+ "SearchResultsVariableValue",
607
644
  "SearchWeightsRequest",
608
645
  "SlimDeploymentRead",
609
646
  "SlimDocument",
@@ -677,6 +714,7 @@ __all__ = [
677
714
  "VellumImageRequest",
678
715
  "VellumVariable",
679
716
  "VellumVariableType",
717
+ "WorkflowDeploymentRead",
680
718
  "WorkflowDeploymentsListRequestStatus",
681
719
  "WorkflowEventError",
682
720
  "WorkflowExecutionActualChatHistoryRequest",
vellum/client.py CHANGED
@@ -100,7 +100,7 @@ class Vellum:
100
100
 
101
101
  - release_tag: typing.Optional[str]. Optionally specify a release tag if you want to pin to a specific release of the Prompt Deployment
102
102
 
103
- - external_id: typing.Optional[str].
103
+ - external_id: typing.Optional[str]. "Optionally include a unique identifier for tracking purposes. Must be unique for a given prompt deployment.
104
104
 
105
105
  - expand_meta: typing.Optional[PromptDeploymentExpandMetaRequestRequest]. The name of the Prompt Deployment. Must provide either this or prompt_deployment_id.
106
106
 
@@ -175,7 +175,7 @@ class Vellum:
175
175
 
176
176
  - release_tag: typing.Optional[str]. Optionally specify a release tag if you want to pin to a specific release of the Prompt Deployment
177
177
 
178
- - external_id: typing.Optional[str].
178
+ - external_id: typing.Optional[str]. "Optionally include a unique identifier for tracking purposes. Must be unique for a given prompt deployment.
179
179
 
180
180
  - expand_meta: typing.Optional[PromptDeploymentExpandMetaRequestRequest]. The name of the Prompt Deployment. Must provide either this or prompt_deployment_id.
181
181
 
@@ -251,7 +251,7 @@ class Vellum:
251
251
 
252
252
  - inputs: typing.List[WorkflowRequestInputRequest]. The list of inputs defined in the Workflow's Deployment with their corresponding values.
253
253
 
254
- - external_id: typing.Optional[str]. Optionally include a unique identifier for monitoring purposes.
254
+ - external_id: typing.Optional[str]. Optionally include a unique identifier for monitoring purposes. Must be unique for a given workflow deployment.
255
255
  """
256
256
  _request: typing.Dict[str, typing.Any] = {"inputs": inputs}
257
257
  if workflow_deployment_id is not OMIT:
@@ -305,7 +305,7 @@ class Vellum:
305
305
 
306
306
  - inputs: typing.List[WorkflowRequestInputRequest]. The list of inputs defined in the Workflow's deployment with their corresponding values.
307
307
 
308
- - external_id: typing.Optional[str]. Optionally include a unique identifier for tracking purposes.
308
+ - external_id: typing.Optional[str]. Optionally include a unique identifier for tracking purposes. Must be unique for a given workflow deployment.
309
309
 
310
310
  - event_types: typing.Optional[typing.List[WorkflowExecutionEventType]]. Optionally specify which events you want to receive. Defaults to only WORKFLOW events. Note that the schema of non-WORKFLOW events is unstable and should be used with caution.
311
311
  """
@@ -683,7 +683,7 @@ class AsyncVellum:
683
683
 
684
684
  - release_tag: typing.Optional[str]. Optionally specify a release tag if you want to pin to a specific release of the Prompt Deployment
685
685
 
686
- - external_id: typing.Optional[str].
686
+ - external_id: typing.Optional[str]. "Optionally include a unique identifier for tracking purposes. Must be unique for a given prompt deployment.
687
687
 
688
688
  - expand_meta: typing.Optional[PromptDeploymentExpandMetaRequestRequest]. The name of the Prompt Deployment. Must provide either this or prompt_deployment_id.
689
689
 
@@ -758,7 +758,7 @@ class AsyncVellum:
758
758
 
759
759
  - release_tag: typing.Optional[str]. Optionally specify a release tag if you want to pin to a specific release of the Prompt Deployment
760
760
 
761
- - external_id: typing.Optional[str].
761
+ - external_id: typing.Optional[str]. "Optionally include a unique identifier for tracking purposes. Must be unique for a given prompt deployment.
762
762
 
763
763
  - expand_meta: typing.Optional[PromptDeploymentExpandMetaRequestRequest]. The name of the Prompt Deployment. Must provide either this or prompt_deployment_id.
764
764
 
@@ -834,7 +834,7 @@ class AsyncVellum:
834
834
 
835
835
  - inputs: typing.List[WorkflowRequestInputRequest]. The list of inputs defined in the Workflow's Deployment with their corresponding values.
836
836
 
837
- - external_id: typing.Optional[str]. Optionally include a unique identifier for monitoring purposes.
837
+ - external_id: typing.Optional[str]. Optionally include a unique identifier for monitoring purposes. Must be unique for a given workflow deployment.
838
838
  """
839
839
  _request: typing.Dict[str, typing.Any] = {"inputs": inputs}
840
840
  if workflow_deployment_id is not OMIT:
@@ -888,7 +888,7 @@ class AsyncVellum:
888
888
 
889
889
  - inputs: typing.List[WorkflowRequestInputRequest]. The list of inputs defined in the Workflow's deployment with their corresponding values.
890
890
 
891
- - external_id: typing.Optional[str]. Optionally include a unique identifier for tracking purposes.
891
+ - external_id: typing.Optional[str]. Optionally include a unique identifier for tracking purposes. Must be unique for a given workflow deployment.
892
892
 
893
893
  - event_types: typing.Optional[typing.List[WorkflowExecutionEventType]]. Optionally specify which events you want to receive. Defaults to only WORKFLOW events. Note that the schema of non-WORKFLOW events is unstable and should be used with caution.
894
894
  """
@@ -16,7 +16,7 @@ class BaseClientWrapper:
16
16
  headers: typing.Dict[str, str] = {
17
17
  "X-Fern-Language": "Python",
18
18
  "X-Fern-SDK-Name": "vellum-ai",
19
- "X-Fern-SDK-Version": "0.3.7",
19
+ "X-Fern-SDK-Version": "0.3.8",
20
20
  }
21
21
  headers["X_API_KEY"] = self.api_key
22
22
  return headers
@@ -43,7 +43,7 @@ class DeploymentsClient:
43
43
 
44
44
  - ordering: typing.Optional[str]. Which field to use when ordering the results.
45
45
 
46
- - status: typing.Optional[DeploymentsListRequestStatus]. The current status of the deployment
46
+ - status: typing.Optional[DeploymentsListRequestStatus]. status
47
47
  ---
48
48
  from vellum.client import Vellum
49
49
 
@@ -164,7 +164,7 @@ class AsyncDeploymentsClient:
164
164
 
165
165
  - ordering: typing.Optional[str]. Which field to use when ordering the results.
166
166
 
167
- - status: typing.Optional[DeploymentsListRequestStatus]. The current status of the deployment
167
+ - status: typing.Optional[DeploymentsListRequestStatus]. status
168
168
  ---
169
169
  from vellum.client import AsyncVellum
170
170
 
@@ -8,6 +8,7 @@ from ...core.api_error import ApiError
8
8
  from ...core.client_wrapper import AsyncClientWrapper, SyncClientWrapper
9
9
  from ...core.remove_none_from_dict import remove_none_from_dict
10
10
  from ...types.paginated_slim_workflow_deployment_list import PaginatedSlimWorkflowDeploymentList
11
+ from ...types.workflow_deployment_read import WorkflowDeploymentRead
11
12
  from .types.workflow_deployments_list_request_status import WorkflowDeploymentsListRequestStatus
12
13
 
13
14
  try:
@@ -36,10 +37,8 @@ class WorkflowDeploymentsClient:
36
37
 
37
38
  - ordering: typing.Optional[str]. Which field to use when ordering the results.
38
39
 
39
- - status: typing.Optional[WorkflowDeploymentsListRequestStatus]. The current status of the workflow deployment
40
-
41
- - `ACTIVE` - Active
42
- - `ARCHIVED` - Archived---
40
+ - status: typing.Optional[WorkflowDeploymentsListRequestStatus]. status
41
+ ---
43
42
  from vellum.client import Vellum
44
43
 
45
44
  client = Vellum(
@@ -62,6 +61,36 @@ class WorkflowDeploymentsClient:
62
61
  raise ApiError(status_code=_response.status_code, body=_response.text)
63
62
  raise ApiError(status_code=_response.status_code, body=_response_json)
64
63
 
64
+ def retrieve(self, id: str) -> WorkflowDeploymentRead:
65
+ """
66
+ Used to retrieve a workflow deployment given its ID or name.
67
+
68
+ Parameters:
69
+ - id: str. Either the Workflow Deployment's ID or its unique name
70
+ ---
71
+ from vellum.client import Vellum
72
+
73
+ client = Vellum(
74
+ api_key="YOUR_API_KEY",
75
+ )
76
+ client.workflow_deployments.retrieve(
77
+ id="id",
78
+ )
79
+ """
80
+ _response = self._client_wrapper.httpx_client.request(
81
+ "GET",
82
+ urllib.parse.urljoin(f"{self._client_wrapper.get_environment().default}/", f"v1/workflow-deployments/{id}"),
83
+ headers=self._client_wrapper.get_headers(),
84
+ timeout=None,
85
+ )
86
+ if 200 <= _response.status_code < 300:
87
+ return pydantic.parse_obj_as(WorkflowDeploymentRead, _response.json()) # type: ignore
88
+ try:
89
+ _response_json = _response.json()
90
+ except JSONDecodeError:
91
+ raise ApiError(status_code=_response.status_code, body=_response.text)
92
+ raise ApiError(status_code=_response.status_code, body=_response_json)
93
+
65
94
 
66
95
  class AsyncWorkflowDeploymentsClient:
67
96
  def __init__(self, *, client_wrapper: AsyncClientWrapper):
@@ -83,10 +112,8 @@ class AsyncWorkflowDeploymentsClient:
83
112
 
84
113
  - ordering: typing.Optional[str]. Which field to use when ordering the results.
85
114
 
86
- - status: typing.Optional[WorkflowDeploymentsListRequestStatus]. The current status of the workflow deployment
87
-
88
- - `ACTIVE` - Active
89
- - `ARCHIVED` - Archived---
115
+ - status: typing.Optional[WorkflowDeploymentsListRequestStatus]. status
116
+ ---
90
117
  from vellum.client import AsyncVellum
91
118
 
92
119
  client = AsyncVellum(
@@ -108,3 +135,33 @@ class AsyncWorkflowDeploymentsClient:
108
135
  except JSONDecodeError:
109
136
  raise ApiError(status_code=_response.status_code, body=_response.text)
110
137
  raise ApiError(status_code=_response.status_code, body=_response_json)
138
+
139
+ async def retrieve(self, id: str) -> WorkflowDeploymentRead:
140
+ """
141
+ Used to retrieve a workflow deployment given its ID or name.
142
+
143
+ Parameters:
144
+ - id: str. Either the Workflow Deployment's ID or its unique name
145
+ ---
146
+ from vellum.client import AsyncVellum
147
+
148
+ client = AsyncVellum(
149
+ api_key="YOUR_API_KEY",
150
+ )
151
+ await client.workflow_deployments.retrieve(
152
+ id="id",
153
+ )
154
+ """
155
+ _response = await self._client_wrapper.httpx_client.request(
156
+ "GET",
157
+ urllib.parse.urljoin(f"{self._client_wrapper.get_environment().default}/", f"v1/workflow-deployments/{id}"),
158
+ headers=self._client_wrapper.get_headers(),
159
+ timeout=None,
160
+ )
161
+ if 200 <= _response.status_code < 300:
162
+ return pydantic.parse_obj_as(WorkflowDeploymentRead, _response.json()) # type: ignore
163
+ try:
164
+ _response_json = _response.json()
165
+ except JSONDecodeError:
166
+ raise ApiError(status_code=_response.status_code, body=_response.text)
167
+ raise ApiError(status_code=_response.status_code, body=_response_json)
vellum/types/__init__.py CHANGED
@@ -16,9 +16,21 @@ from .array_chat_message_content_item_request import (
16
16
  ArrayChatMessageContentItemRequest_String,
17
17
  )
18
18
  from .array_chat_message_content_request import ArrayChatMessageContentRequest
19
+ from .array_enum import ArrayEnum
20
+ from .array_variable_value_item import (
21
+ ArrayVariableValueItem,
22
+ ArrayVariableValueItem_ChatHistory,
23
+ ArrayVariableValueItem_Error,
24
+ ArrayVariableValueItem_FunctionCall,
25
+ ArrayVariableValueItem_Json,
26
+ ArrayVariableValueItem_Number,
27
+ ArrayVariableValueItem_SearchResults,
28
+ ArrayVariableValueItem_String,
29
+ )
19
30
  from .block_type_enum import BlockTypeEnum
20
31
  from .chat_history_enum import ChatHistoryEnum
21
32
  from .chat_history_input_request import ChatHistoryInputRequest
33
+ from .chat_history_variable_value import ChatHistoryVariableValue
22
34
  from .chat_message import ChatMessage
23
35
  from .chat_message_content import (
24
36
  ChatMessageContent,
@@ -149,6 +161,7 @@ from .named_test_case_variable_value_request import (
149
161
  NamedTestCaseVariableValueRequest_SearchResults,
150
162
  NamedTestCaseVariableValueRequest_String,
151
163
  )
164
+ from .node_input_compiled_array_value import NodeInputCompiledArrayValue
152
165
  from .node_input_compiled_chat_history_value import NodeInputCompiledChatHistoryValue
153
166
  from .node_input_compiled_error_value import NodeInputCompiledErrorValue
154
167
  from .node_input_compiled_json_value import NodeInputCompiledJsonValue
@@ -157,6 +170,7 @@ from .node_input_compiled_search_results_value import NodeInputCompiledSearchRes
157
170
  from .node_input_compiled_string_value import NodeInputCompiledStringValue
158
171
  from .node_input_variable_compiled_value import (
159
172
  NodeInputVariableCompiledValue,
173
+ NodeInputVariableCompiledValue_Array,
160
174
  NodeInputVariableCompiledValue_ChatHistory,
161
175
  NodeInputVariableCompiledValue_Error,
162
176
  NodeInputVariableCompiledValue_Json,
@@ -164,16 +178,20 @@ from .node_input_variable_compiled_value import (
164
178
  NodeInputVariableCompiledValue_SearchResults,
165
179
  NodeInputVariableCompiledValue_String,
166
180
  )
181
+ from .node_output_compiled_array_value import NodeOutputCompiledArrayValue
167
182
  from .node_output_compiled_chat_history_value import NodeOutputCompiledChatHistoryValue
168
183
  from .node_output_compiled_error_value import NodeOutputCompiledErrorValue
184
+ from .node_output_compiled_function_value import NodeOutputCompiledFunctionValue
169
185
  from .node_output_compiled_json_value import NodeOutputCompiledJsonValue
170
186
  from .node_output_compiled_number_value import NodeOutputCompiledNumberValue
171
187
  from .node_output_compiled_search_results_value import NodeOutputCompiledSearchResultsValue
172
188
  from .node_output_compiled_string_value import NodeOutputCompiledStringValue
173
189
  from .node_output_compiled_value import (
174
190
  NodeOutputCompiledValue,
191
+ NodeOutputCompiledValue_Array,
175
192
  NodeOutputCompiledValue_ChatHistory,
176
193
  NodeOutputCompiledValue_Error,
194
+ NodeOutputCompiledValue_FunctionCall,
177
195
  NodeOutputCompiledValue_Json,
178
196
  NodeOutputCompiledValue_Number,
179
197
  NodeOutputCompiledValue_SearchResults,
@@ -182,6 +200,7 @@ from .node_output_compiled_value import (
182
200
  from .normalized_log_probs import NormalizedLogProbs
183
201
  from .normalized_token_log_probs import NormalizedTokenLogProbs
184
202
  from .number_enum import NumberEnum
203
+ from .number_variable_value import NumberVariableValue
185
204
  from .paginated_slim_deployment_read_list import PaginatedSlimDeploymentReadList
186
205
  from .paginated_slim_document_list import PaginatedSlimDocumentList
187
206
  from .paginated_slim_workflow_deployment_list import PaginatedSlimWorkflowDeploymentList
@@ -245,6 +264,7 @@ from .search_result_document_request import SearchResultDocumentRequest
245
264
  from .search_result_merging_request import SearchResultMergingRequest
246
265
  from .search_result_request import SearchResultRequest
247
266
  from .search_results_enum import SearchResultsEnum
267
+ from .search_results_variable_value import SearchResultsVariableValue
248
268
  from .search_weights_request import SearchWeightsRequest
249
269
  from .slim_deployment_read import SlimDeploymentRead
250
270
  from .slim_document import SlimDocument
@@ -325,6 +345,7 @@ from .vellum_image import VellumImage
325
345
  from .vellum_image_request import VellumImageRequest
326
346
  from .vellum_variable import VellumVariable
327
347
  from .vellum_variable_type import VellumVariableType
348
+ from .workflow_deployment_read import WorkflowDeploymentRead
328
349
  from .workflow_event_error import WorkflowEventError
329
350
  from .workflow_execution_actual_chat_history_request import WorkflowExecutionActualChatHistoryRequest
330
351
  from .workflow_execution_actual_json_request import WorkflowExecutionActualJsonRequest
@@ -412,9 +433,19 @@ __all__ = [
412
433
  "ArrayChatMessageContentItem_Image",
413
434
  "ArrayChatMessageContentItem_String",
414
435
  "ArrayChatMessageContentRequest",
436
+ "ArrayEnum",
437
+ "ArrayVariableValueItem",
438
+ "ArrayVariableValueItem_ChatHistory",
439
+ "ArrayVariableValueItem_Error",
440
+ "ArrayVariableValueItem_FunctionCall",
441
+ "ArrayVariableValueItem_Json",
442
+ "ArrayVariableValueItem_Number",
443
+ "ArrayVariableValueItem_SearchResults",
444
+ "ArrayVariableValueItem_String",
415
445
  "BlockTypeEnum",
416
446
  "ChatHistoryEnum",
417
447
  "ChatHistoryInputRequest",
448
+ "ChatHistoryVariableValue",
418
449
  "ChatMessage",
419
450
  "ChatMessageContent",
420
451
  "ChatMessageContentRequest",
@@ -533,6 +564,7 @@ __all__ = [
533
564
  "NamedTestCaseVariableValueRequest_Number",
534
565
  "NamedTestCaseVariableValueRequest_SearchResults",
535
566
  "NamedTestCaseVariableValueRequest_String",
567
+ "NodeInputCompiledArrayValue",
536
568
  "NodeInputCompiledChatHistoryValue",
537
569
  "NodeInputCompiledErrorValue",
538
570
  "NodeInputCompiledJsonValue",
@@ -540,21 +572,26 @@ __all__ = [
540
572
  "NodeInputCompiledSearchResultsValue",
541
573
  "NodeInputCompiledStringValue",
542
574
  "NodeInputVariableCompiledValue",
575
+ "NodeInputVariableCompiledValue_Array",
543
576
  "NodeInputVariableCompiledValue_ChatHistory",
544
577
  "NodeInputVariableCompiledValue_Error",
545
578
  "NodeInputVariableCompiledValue_Json",
546
579
  "NodeInputVariableCompiledValue_Number",
547
580
  "NodeInputVariableCompiledValue_SearchResults",
548
581
  "NodeInputVariableCompiledValue_String",
582
+ "NodeOutputCompiledArrayValue",
549
583
  "NodeOutputCompiledChatHistoryValue",
550
584
  "NodeOutputCompiledErrorValue",
585
+ "NodeOutputCompiledFunctionValue",
551
586
  "NodeOutputCompiledJsonValue",
552
587
  "NodeOutputCompiledNumberValue",
553
588
  "NodeOutputCompiledSearchResultsValue",
554
589
  "NodeOutputCompiledStringValue",
555
590
  "NodeOutputCompiledValue",
591
+ "NodeOutputCompiledValue_Array",
556
592
  "NodeOutputCompiledValue_ChatHistory",
557
593
  "NodeOutputCompiledValue_Error",
594
+ "NodeOutputCompiledValue_FunctionCall",
558
595
  "NodeOutputCompiledValue_Json",
559
596
  "NodeOutputCompiledValue_Number",
560
597
  "NodeOutputCompiledValue_SearchResults",
@@ -562,6 +599,7 @@ __all__ = [
562
599
  "NormalizedLogProbs",
563
600
  "NormalizedTokenLogProbs",
564
601
  "NumberEnum",
602
+ "NumberVariableValue",
565
603
  "PaginatedSlimDeploymentReadList",
566
604
  "PaginatedSlimDocumentList",
567
605
  "PaginatedSlimWorkflowDeploymentList",
@@ -621,6 +659,7 @@ __all__ = [
621
659
  "SearchResultMergingRequest",
622
660
  "SearchResultRequest",
623
661
  "SearchResultsEnum",
662
+ "SearchResultsVariableValue",
624
663
  "SearchWeightsRequest",
625
664
  "SlimDeploymentRead",
626
665
  "SlimDocument",
@@ -693,6 +732,7 @@ __all__ = [
693
732
  "VellumImageRequest",
694
733
  "VellumVariable",
695
734
  "VellumVariableType",
735
+ "WorkflowDeploymentRead",
696
736
  "WorkflowEventError",
697
737
  "WorkflowExecutionActualChatHistoryRequest",
698
738
  "WorkflowExecutionActualJsonRequest",
@@ -0,0 +1,5 @@
1
+ # This file was auto-generated by Fern from our API Definition.
2
+
3
+ import typing_extensions
4
+
5
+ ArrayEnum = typing_extensions.Literal["ARRAY"]
@@ -0,0 +1,89 @@
1
+ # This file was auto-generated by Fern from our API Definition.
2
+
3
+ from __future__ import annotations
4
+
5
+ import typing
6
+
7
+ import typing_extensions
8
+
9
+ from .chat_history_variable_value import ChatHistoryVariableValue
10
+ from .error_variable_value import ErrorVariableValue
11
+ from .function_call_variable_value import FunctionCallVariableValue
12
+ from .json_variable_value import JsonVariableValue
13
+ from .number_variable_value import NumberVariableValue
14
+ from .search_results_variable_value import SearchResultsVariableValue
15
+ from .string_variable_value import StringVariableValue
16
+
17
+
18
+ class ArrayVariableValueItem_String(StringVariableValue):
19
+ type: typing_extensions.Literal["STRING"]
20
+
21
+ class Config:
22
+ frozen = True
23
+ smart_union = True
24
+ allow_population_by_field_name = True
25
+
26
+
27
+ class ArrayVariableValueItem_Number(NumberVariableValue):
28
+ type: typing_extensions.Literal["NUMBER"]
29
+
30
+ class Config:
31
+ frozen = True
32
+ smart_union = True
33
+ allow_population_by_field_name = True
34
+
35
+
36
+ class ArrayVariableValueItem_Json(JsonVariableValue):
37
+ type: typing_extensions.Literal["JSON"]
38
+
39
+ class Config:
40
+ frozen = True
41
+ smart_union = True
42
+ allow_population_by_field_name = True
43
+
44
+
45
+ class ArrayVariableValueItem_ChatHistory(ChatHistoryVariableValue):
46
+ type: typing_extensions.Literal["CHAT_HISTORY"]
47
+
48
+ class Config:
49
+ frozen = True
50
+ smart_union = True
51
+ allow_population_by_field_name = True
52
+
53
+
54
+ class ArrayVariableValueItem_SearchResults(SearchResultsVariableValue):
55
+ type: typing_extensions.Literal["SEARCH_RESULTS"]
56
+
57
+ class Config:
58
+ frozen = True
59
+ smart_union = True
60
+ allow_population_by_field_name = True
61
+
62
+
63
+ class ArrayVariableValueItem_Error(ErrorVariableValue):
64
+ type: typing_extensions.Literal["ERROR"]
65
+
66
+ class Config:
67
+ frozen = True
68
+ smart_union = True
69
+ allow_population_by_field_name = True
70
+
71
+
72
+ class ArrayVariableValueItem_FunctionCall(FunctionCallVariableValue):
73
+ type: typing_extensions.Literal["FUNCTION_CALL"]
74
+
75
+ class Config:
76
+ frozen = True
77
+ smart_union = True
78
+ allow_population_by_field_name = True
79
+
80
+
81
+ ArrayVariableValueItem = typing.Union[
82
+ ArrayVariableValueItem_String,
83
+ ArrayVariableValueItem_Number,
84
+ ArrayVariableValueItem_Json,
85
+ ArrayVariableValueItem_ChatHistory,
86
+ ArrayVariableValueItem_SearchResults,
87
+ ArrayVariableValueItem_Error,
88
+ ArrayVariableValueItem_FunctionCall,
89
+ ]
@@ -0,0 +1,29 @@
1
+ # This file was auto-generated by Fern from our API Definition.
2
+
3
+ import datetime as dt
4
+ import typing
5
+
6
+ from ..core.datetime_utils import serialize_datetime
7
+ from .chat_message import ChatMessage
8
+
9
+ try:
10
+ import pydantic.v1 as pydantic # type: ignore
11
+ except ImportError:
12
+ import pydantic # type: ignore
13
+
14
+
15
+ class ChatHistoryVariableValue(pydantic.BaseModel):
16
+ value: typing.Optional[typing.List[ChatMessage]]
17
+
18
+ def json(self, **kwargs: typing.Any) -> str:
19
+ kwargs_with_defaults: typing.Any = {"by_alias": True, "exclude_unset": True, **kwargs}
20
+ return super().json(**kwargs_with_defaults)
21
+
22
+ def dict(self, **kwargs: typing.Any) -> typing.Dict[str, typing.Any]:
23
+ kwargs_with_defaults: typing.Any = {"by_alias": True, "exclude_unset": True, **kwargs}
24
+ return super().dict(**kwargs_with_defaults)
25
+
26
+ class Config:
27
+ frozen = True
28
+ smart_union = True
29
+ json_encoders = {dt.datetime: serialize_datetime}
@@ -0,0 +1,31 @@
1
+ # This file was auto-generated by Fern from our API Definition.
2
+
3
+ import datetime as dt
4
+ import typing
5
+
6
+ from ..core.datetime_utils import serialize_datetime
7
+ from .array_variable_value_item import ArrayVariableValueItem
8
+
9
+ try:
10
+ import pydantic.v1 as pydantic # type: ignore
11
+ except ImportError:
12
+ import pydantic # type: ignore
13
+
14
+
15
+ class NodeInputCompiledArrayValue(pydantic.BaseModel):
16
+ node_input_id: str
17
+ key: str
18
+ value: typing.List[ArrayVariableValueItem]
19
+
20
+ def json(self, **kwargs: typing.Any) -> str:
21
+ kwargs_with_defaults: typing.Any = {"by_alias": True, "exclude_unset": True, **kwargs}
22
+ return super().json(**kwargs_with_defaults)
23
+
24
+ def dict(self, **kwargs: typing.Any) -> typing.Dict[str, typing.Any]:
25
+ kwargs_with_defaults: typing.Any = {"by_alias": True, "exclude_unset": True, **kwargs}
26
+ return super().dict(**kwargs_with_defaults)
27
+
28
+ class Config:
29
+ frozen = True
30
+ smart_union = True
31
+ json_encoders = {dt.datetime: serialize_datetime}
@@ -6,6 +6,7 @@ import typing
6
6
 
7
7
  import typing_extensions
8
8
 
9
+ from .node_input_compiled_array_value import NodeInputCompiledArrayValue
9
10
  from .node_input_compiled_chat_history_value import NodeInputCompiledChatHistoryValue
10
11
  from .node_input_compiled_error_value import NodeInputCompiledErrorValue
11
12
  from .node_input_compiled_json_value import NodeInputCompiledJsonValue
@@ -68,6 +69,15 @@ class NodeInputVariableCompiledValue_Error(NodeInputCompiledErrorValue):
68
69
  allow_population_by_field_name = True
69
70
 
70
71
 
72
+ class NodeInputVariableCompiledValue_Array(NodeInputCompiledArrayValue):
73
+ type: typing_extensions.Literal["ARRAY"]
74
+
75
+ class Config:
76
+ frozen = True
77
+ smart_union = True
78
+ allow_population_by_field_name = True
79
+
80
+
71
81
  NodeInputVariableCompiledValue = typing.Union[
72
82
  NodeInputVariableCompiledValue_String,
73
83
  NodeInputVariableCompiledValue_Number,
@@ -75,4 +85,5 @@ NodeInputVariableCompiledValue = typing.Union[
75
85
  NodeInputVariableCompiledValue_ChatHistory,
76
86
  NodeInputVariableCompiledValue_SearchResults,
77
87
  NodeInputVariableCompiledValue_Error,
88
+ NodeInputVariableCompiledValue_Array,
78
89
  ]
@@ -0,0 +1,30 @@
1
+ # This file was auto-generated by Fern from our API Definition.
2
+
3
+ import datetime as dt
4
+ import typing
5
+
6
+ from ..core.datetime_utils import serialize_datetime
7
+ from .array_variable_value_item import ArrayVariableValueItem
8
+
9
+ try:
10
+ import pydantic.v1 as pydantic # type: ignore
11
+ except ImportError:
12
+ import pydantic # type: ignore
13
+
14
+
15
+ class NodeOutputCompiledArrayValue(pydantic.BaseModel):
16
+ node_output_id: str
17
+ value: typing.List[ArrayVariableValueItem]
18
+
19
+ def json(self, **kwargs: typing.Any) -> str:
20
+ kwargs_with_defaults: typing.Any = {"by_alias": True, "exclude_unset": True, **kwargs}
21
+ return super().json(**kwargs_with_defaults)
22
+
23
+ def dict(self, **kwargs: typing.Any) -> typing.Dict[str, typing.Any]:
24
+ kwargs_with_defaults: typing.Any = {"by_alias": True, "exclude_unset": True, **kwargs}
25
+ return super().dict(**kwargs_with_defaults)
26
+
27
+ class Config:
28
+ frozen = True
29
+ smart_union = True
30
+ json_encoders = {dt.datetime: serialize_datetime}
@@ -0,0 +1,30 @@
1
+ # This file was auto-generated by Fern from our API Definition.
2
+
3
+ import datetime as dt
4
+ import typing
5
+
6
+ from ..core.datetime_utils import serialize_datetime
7
+ from .function_call import FunctionCall
8
+
9
+ try:
10
+ import pydantic.v1 as pydantic # type: ignore
11
+ except ImportError:
12
+ import pydantic # type: ignore
13
+
14
+
15
+ class NodeOutputCompiledFunctionValue(pydantic.BaseModel):
16
+ node_output_id: str
17
+ value: typing.Optional[FunctionCall]
18
+
19
+ def json(self, **kwargs: typing.Any) -> str:
20
+ kwargs_with_defaults: typing.Any = {"by_alias": True, "exclude_unset": True, **kwargs}
21
+ return super().json(**kwargs_with_defaults)
22
+
23
+ def dict(self, **kwargs: typing.Any) -> typing.Dict[str, typing.Any]:
24
+ kwargs_with_defaults: typing.Any = {"by_alias": True, "exclude_unset": True, **kwargs}
25
+ return super().dict(**kwargs_with_defaults)
26
+
27
+ class Config:
28
+ frozen = True
29
+ smart_union = True
30
+ json_encoders = {dt.datetime: serialize_datetime}
@@ -6,8 +6,10 @@ import typing
6
6
 
7
7
  import typing_extensions
8
8
 
9
+ from .node_output_compiled_array_value import NodeOutputCompiledArrayValue
9
10
  from .node_output_compiled_chat_history_value import NodeOutputCompiledChatHistoryValue
10
11
  from .node_output_compiled_error_value import NodeOutputCompiledErrorValue
12
+ from .node_output_compiled_function_value import NodeOutputCompiledFunctionValue
11
13
  from .node_output_compiled_json_value import NodeOutputCompiledJsonValue
12
14
  from .node_output_compiled_number_value import NodeOutputCompiledNumberValue
13
15
  from .node_output_compiled_search_results_value import NodeOutputCompiledSearchResultsValue
@@ -68,6 +70,24 @@ class NodeOutputCompiledValue_Error(NodeOutputCompiledErrorValue):
68
70
  allow_population_by_field_name = True
69
71
 
70
72
 
73
+ class NodeOutputCompiledValue_Array(NodeOutputCompiledArrayValue):
74
+ type: typing_extensions.Literal["ARRAY"]
75
+
76
+ class Config:
77
+ frozen = True
78
+ smart_union = True
79
+ allow_population_by_field_name = True
80
+
81
+
82
+ class NodeOutputCompiledValue_FunctionCall(NodeOutputCompiledFunctionValue):
83
+ type: typing_extensions.Literal["FUNCTION_CALL"]
84
+
85
+ class Config:
86
+ frozen = True
87
+ smart_union = True
88
+ allow_population_by_field_name = True
89
+
90
+
71
91
  NodeOutputCompiledValue = typing.Union[
72
92
  NodeOutputCompiledValue_String,
73
93
  NodeOutputCompiledValue_Number,
@@ -75,4 +95,6 @@ NodeOutputCompiledValue = typing.Union[
75
95
  NodeOutputCompiledValue_ChatHistory,
76
96
  NodeOutputCompiledValue_SearchResults,
77
97
  NodeOutputCompiledValue_Error,
98
+ NodeOutputCompiledValue_Array,
99
+ NodeOutputCompiledValue_FunctionCall,
78
100
  ]
@@ -0,0 +1,28 @@
1
+ # This file was auto-generated by Fern from our API Definition.
2
+
3
+ import datetime as dt
4
+ import typing
5
+
6
+ from ..core.datetime_utils import serialize_datetime
7
+
8
+ try:
9
+ import pydantic.v1 as pydantic # type: ignore
10
+ except ImportError:
11
+ import pydantic # type: ignore
12
+
13
+
14
+ class NumberVariableValue(pydantic.BaseModel):
15
+ value: typing.Optional[float]
16
+
17
+ def json(self, **kwargs: typing.Any) -> str:
18
+ kwargs_with_defaults: typing.Any = {"by_alias": True, "exclude_unset": True, **kwargs}
19
+ return super().json(**kwargs_with_defaults)
20
+
21
+ def dict(self, **kwargs: typing.Any) -> typing.Dict[str, typing.Any]:
22
+ kwargs_with_defaults: typing.Any = {"by_alias": True, "exclude_unset": True, **kwargs}
23
+ return super().dict(**kwargs_with_defaults)
24
+
25
+ class Config:
26
+ frozen = True
27
+ smart_union = True
28
+ json_encoders = {dt.datetime: serialize_datetime}
@@ -13,6 +13,7 @@ except ImportError:
13
13
 
14
14
  class PromptNodeResultData(pydantic.BaseModel):
15
15
  output_id: str
16
+ array_output_id: typing.Optional[str]
16
17
  text: typing.Optional[str]
17
18
  delta: typing.Optional[str]
18
19
 
@@ -0,0 +1,29 @@
1
+ # This file was auto-generated by Fern from our API Definition.
2
+
3
+ import datetime as dt
4
+ import typing
5
+
6
+ from ..core.datetime_utils import serialize_datetime
7
+ from .search_result import SearchResult
8
+
9
+ try:
10
+ import pydantic.v1 as pydantic # type: ignore
11
+ except ImportError:
12
+ import pydantic # type: ignore
13
+
14
+
15
+ class SearchResultsVariableValue(pydantic.BaseModel):
16
+ value: typing.Optional[typing.List[SearchResult]]
17
+
18
+ def json(self, **kwargs: typing.Any) -> str:
19
+ kwargs_with_defaults: typing.Any = {"by_alias": True, "exclude_unset": True, **kwargs}
20
+ return super().json(**kwargs_with_defaults)
21
+
22
+ def dict(self, **kwargs: typing.Any) -> typing.Dict[str, typing.Any]:
23
+ kwargs_with_defaults: typing.Any = {"by_alias": True, "exclude_unset": True, **kwargs}
24
+ return super().dict(**kwargs_with_defaults)
25
+
26
+ class Config:
27
+ frozen = True
28
+ smart_union = True
29
+ json_encoders = {dt.datetime: serialize_datetime}
@@ -0,0 +1,57 @@
1
+ # This file was auto-generated by Fern from our API Definition.
2
+
3
+ import datetime as dt
4
+ import typing
5
+
6
+ from ..core.datetime_utils import serialize_datetime
7
+ from .entity_status import EntityStatus
8
+ from .environment_enum import EnvironmentEnum
9
+ from .vellum_variable import VellumVariable
10
+
11
+ try:
12
+ import pydantic.v1 as pydantic # type: ignore
13
+ except ImportError:
14
+ import pydantic # type: ignore
15
+
16
+
17
+ class WorkflowDeploymentRead(pydantic.BaseModel):
18
+ id: str
19
+ name: str = pydantic.Field(
20
+ description="A name that uniquely identifies this workflow deployment within its workspace"
21
+ )
22
+ label: str = pydantic.Field(description="A human-readable label for the workflow deployment")
23
+ status: typing.Optional[EntityStatus] = pydantic.Field(
24
+ description=(
25
+ "The current status of the workflow deployment\n" "\n" "- `ACTIVE` - Active\n" "- `ARCHIVED` - Archived\n"
26
+ )
27
+ )
28
+ environment: typing.Optional[EnvironmentEnum] = pydantic.Field(
29
+ description=(
30
+ "The environment this workflow deployment is used in\n"
31
+ "\n"
32
+ "- `DEVELOPMENT` - Development\n"
33
+ "- `STAGING` - Staging\n"
34
+ "- `PRODUCTION` - Production\n"
35
+ )
36
+ )
37
+ created: dt.datetime
38
+ last_deployed_on: dt.datetime
39
+ input_variables: typing.List[VellumVariable] = pydantic.Field(
40
+ description="The input variables this Workflow Deployment expects to receive values for when it is executed."
41
+ )
42
+ output_variables: typing.List[VellumVariable] = pydantic.Field(
43
+ description="The output variables this Workflow Deployment produces values for when it's executed."
44
+ )
45
+
46
+ def json(self, **kwargs: typing.Any) -> str:
47
+ kwargs_with_defaults: typing.Any = {"by_alias": True, "exclude_unset": True, **kwargs}
48
+ return super().json(**kwargs_with_defaults)
49
+
50
+ def dict(self, **kwargs: typing.Any) -> typing.Dict[str, typing.Any]:
51
+ kwargs_with_defaults: typing.Any = {"by_alias": True, "exclude_unset": True, **kwargs}
52
+ return super().dict(**kwargs_with_defaults)
53
+
54
+ class Config:
55
+ frozen = True
56
+ smart_union = True
57
+ json_encoders = {dt.datetime: serialize_datetime}
@@ -13,6 +13,10 @@ except ImportError:
13
13
 
14
14
 
15
15
  class WorkflowRequestChatHistoryInputRequest(pydantic.BaseModel):
16
+ """
17
+ The input for a chat history variable in a Workflow.
18
+ """
19
+
16
20
  name: str = pydantic.Field(description="The variable's name, as defined in the Workflow.")
17
21
  value: typing.List[ChatMessageRequest]
18
22
 
@@ -12,6 +12,10 @@ except ImportError:
12
12
 
13
13
 
14
14
  class WorkflowRequestJsonInputRequest(pydantic.BaseModel):
15
+ """
16
+ The input for a JSON variable in a Workflow.
17
+ """
18
+
15
19
  name: str = pydantic.Field(description="The variable's name, as defined in the Workflow.")
16
20
  value: typing.Dict[str, typing.Any]
17
21
 
@@ -12,6 +12,10 @@ except ImportError:
12
12
 
13
13
 
14
14
  class WorkflowRequestNumberInputRequest(pydantic.BaseModel):
15
+ """
16
+ The input for a number variable in a Workflow.
17
+ """
18
+
15
19
  name: str = pydantic.Field(description="The variable's name, as defined in the Workflow.")
16
20
  value: float
17
21
 
@@ -12,6 +12,10 @@ except ImportError:
12
12
 
13
13
 
14
14
  class WorkflowRequestStringInputRequest(pydantic.BaseModel):
15
+ """
16
+ The input for a string variable in a Workflow.
17
+ """
18
+
15
19
  name: str = pydantic.Field(description="The variable's name, as defined in the Workflow.")
16
20
  value: str
17
21
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: vellum-ai
3
- Version: 0.3.7
3
+ Version: 0.3.8
4
4
  Summary:
5
5
  Requires-Python: >=3.7,<4.0
6
6
  Classifier: Programming Language :: Python :: 3
@@ -1,8 +1,8 @@
1
- vellum/__init__.py,sha256=suJJOLGlcpd1_lryb4KwPCbyyVJ11Fz-heOV3lB0JQQ,25383
2
- vellum/client.py,sha256=GXr3l2QqlYu7Fb690wuDD-9rnnbqqvcTDpc48bbjTr4,61329
1
+ vellum/__init__.py,sha256=qeTY0dYPAqebPUUPMyoNptrmmwEIdseQG0IlpCDfQrY,26703
2
+ vellum/client.py,sha256=hZSf31LvTPHEYT2uFo9fgP1JuynttM7LGUlsvZDuQJM,61957
3
3
  vellum/core/__init__.py,sha256=QJS3CJ2TYP2E1Tge0CS6Z7r8LTNzJHQVX1hD3558eP0,519
4
4
  vellum/core/api_error.py,sha256=RE8LELok2QCjABadECTvtDp7qejA1VmINCh6TbqPwSE,426
5
- vellum/core/client_wrapper.py,sha256=YQr66uYsp2oKQr0vo4qu84rJSVTUzB2U8oPYkWi8tMM,1212
5
+ vellum/core/client_wrapper.py,sha256=EFru019KX5sHGeDkk3brv26aGALQgiSWhz9zmEzwR7k,1212
6
6
  vellum/core/datetime_utils.py,sha256=nBys2IsYrhPdszxGKCNRPSOCwa-5DWOHG95FB8G9PKo,1047
7
7
  vellum/core/jsonable_encoder.py,sha256=MTYkDov2EryHgee4QM46uZiBOuOXK9KTHlBdBwU-CpU,3799
8
8
  vellum/core/remove_none_from_dict.py,sha256=8m91FC3YuVem0Gm9_sXhJ2tGvP33owJJdrqCLEdowGw,330
@@ -16,7 +16,7 @@ vellum/errors/not_found_error.py,sha256=P65k-Lm2RuefAVSNLER5hH-4P99SGohKy2cOPSrI
16
16
  vellum/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
17
17
  vellum/resources/__init__.py,sha256=E7dvnCySQgcXn9AADWlkZw4zNN84-8dH3WZ-BgPclhs,675
18
18
  vellum/resources/deployments/__init__.py,sha256=AE0TcFwLrLBljM0ZDX-pPw4Kqt-1f5JDpIok2HS80QI,157
19
- vellum/resources/deployments/client.py,sha256=rqD2zsLBlRwWE619Nb9m3wSEC9DAkz8RLJX8lVx_Ags,10812
19
+ vellum/resources/deployments/client.py,sha256=Kd7M8vjEq8tYgl0lZIX48FT-TnTogpIZC_8ylulWLpg,10752
20
20
  vellum/resources/deployments/types/__init__.py,sha256=IhwnmoXJ0r_QEhh1b2tBcaAm_x3fWMVuIhYmAapp_ZA,183
21
21
  vellum/resources/deployments/types/deployments_list_request_status.py,sha256=phuWe_3mJi4tJh2XR9BFw5QimgzBBWKzKRG2huILy8o,518
22
22
  vellum/resources/document_indexes/__init__.py,sha256=FTtvy8EDg9nNNg9WCatVgKTRYV8-_v1roeGPAKoa_pw,65
@@ -34,19 +34,22 @@ vellum/resources/sandboxes/client.py,sha256=qf7rJ72xWkfmA1ae2NY2yaGJ9It-Q-ha1oX6
34
34
  vellum/resources/test_suites/__init__.py,sha256=FTtvy8EDg9nNNg9WCatVgKTRYV8-_v1roeGPAKoa_pw,65
35
35
  vellum/resources/test_suites/client.py,sha256=3aySNI0qa-aD-NGZ_zOZOvHmV94i7h8BjBsxH096Ee8,8693
36
36
  vellum/resources/workflow_deployments/__init__.py,sha256=-5BCA0kSmW6WUh4gqLuQtHv4zFdt9lccuDwMU5YvEu4,173
37
- vellum/resources/workflow_deployments/client.py,sha256=KnJAvDe2Z1jlcDj8IHS1ADKZYdVUT1gHefa4P4_QdXA,4776
37
+ vellum/resources/workflow_deployments/client.py,sha256=9MTY1hrzOjy1n7uMD6PDHZ1rFvdKGI2YEQHGJeLbLiw,6711
38
38
  vellum/resources/workflow_deployments/types/__init__.py,sha256=rmS_4dtbgLHGNQJ_pOloygrjl4sNbKZjTEKBxbMyz6E,208
39
39
  vellum/resources/workflow_deployments/types/workflow_deployments_list_request_status.py,sha256=8-G1SalBR6-AfRnb6POOR9M3tvZa3CGwFIs1ArZb6uw,542
40
- vellum/types/__init__.py,sha256=CqTNi5g_hU7CHLrxu-SmSeRvp1y-oVmhv-ulduiGBz8,33919
40
+ vellum/types/__init__.py,sha256=_W9IryjRriGE6RI2xPpSQKNjyq7PHUAhGLJAi8HTjqk,35563
41
41
  vellum/types/api_node_result.py,sha256=ESEn5ydtAWsyEI1H3vYbhh1eiByPWNlNzsgQcUWPIfw,1003
42
42
  vellum/types/api_node_result_data.py,sha256=HvpZaAKYXsoBOnobACIYCmIdxbRc7Zp-ibIohiz_Nzc,1125
43
43
  vellum/types/array_chat_message_content.py,sha256=9aHCzT66f7zTX0oWEL-yvIL8L81joe2Qe5L_DaRDqnU,1050
44
44
  vellum/types/array_chat_message_content_item.py,sha256=a383gaeYCucVDvnY1Xk1z8INbPt-qch4VCT6i_JD3OA,1221
45
45
  vellum/types/array_chat_message_content_item_request.py,sha256=Plg6Ny8pwn-na1r1vPeJSdg1IovFcJqcyT_0UiYqfWs,1345
46
46
  vellum/types/array_chat_message_content_request.py,sha256=nXvKOArX2Bx_T2S4-ZK_09bfsSkCQb69OahL1Q_h3bU,1079
47
+ vellum/types/array_enum.py,sha256=ZpwcTHF6WuYeP8QlVfkuJ_YSyPH0iYjeydvHV5kF0HU,138
48
+ vellum/types/array_variable_value_item.py,sha256=eulneISKZV9OtR0R4Z2QqzKmejNpLRY17gsEjRBcojM,2451
47
49
  vellum/types/block_type_enum.py,sha256=w6z5D3RTe75YQBG6HpX8NCbO_kSZxIL0Xy1xss2RKS8,1051
48
50
  vellum/types/chat_history_enum.py,sha256=aiUhxKMC4D83EjGnKNPSzSwoBT5J6G0O-TvBTKr4Oek,151
49
51
  vellum/types/chat_history_input_request.py,sha256=VyGS0Mv_He-fI2d22ygpC2k5ddXKnzWDRFc7-Xkryog,1130
52
+ vellum/types/chat_history_variable_value.py,sha256=koLGjfczUqLz56JWV0lWFXfE0NkjHFHfbIX1qdD7im0,958
50
53
  vellum/types/chat_message.py,sha256=oQAvsjlhbLWANAiQgdNCOpU1OBRDa9RyiywRklG5M9I,1060
51
54
  vellum/types/chat_message_content.py,sha256=2NQqu8qgDlsYs5-ka7OMYAyZXA0Ft2n2I2efvNDBFg8,1466
52
55
  vellum/types/chat_message_content_request.py,sha256=V0Q4CI4TYeqD4b7flSI69L1XkLSxrgadK4GpMhWo8Yg,1630
@@ -135,23 +138,27 @@ vellum/types/named_test_case_number_variable_value_request.py,sha256=nmpFOi4JDlU
135
138
  vellum/types/named_test_case_search_results_variable_value_request.py,sha256=vazWctXunVP4FbOy97UpAY5nmggd4FpdRnBHp_eRQI4,1019
136
139
  vellum/types/named_test_case_string_variable_value_request.py,sha256=xazwNVwD3LDL8w1AUAwMnCP7-X06ZNSISWvA597pQxw,928
137
140
  vellum/types/named_test_case_variable_value_request.py,sha256=k5TGiJ8P1Pqm16cLniKchYq1bQ6Y73SeJjJ6P7rHAWY,2630
141
+ vellum/types/node_input_compiled_array_value.py,sha256=S7LX6gmvi7sEgmvLKjZS_gL9ZVv-v2lORSffUUYgskw,1015
138
142
  vellum/types/node_input_compiled_chat_history_value.py,sha256=ZVUjSYuz4DeJU7sUcexHTcJSxhOSha1XNBjNlmL-QE8,1003
139
143
  vellum/types/node_input_compiled_error_value.py,sha256=nbFNdikbmqLutApUmpKXI0k3ukAkPMkLEopo-WNWa8g,984
140
144
  vellum/types/node_input_compiled_json_value.py,sha256=-GCgER6yFl3jOu4W4Ktjy9nM_vKYtBj8vqVitOvHd5I,962
141
145
  vellum/types/node_input_compiled_number_value.py,sha256=DC6m1WE6jQsa1fGwei4Gt0U4CLO2bjo6Kn4pxMHRE_E,941
142
146
  vellum/types/node_input_compiled_search_results_value.py,sha256=p9K0LpWvAg9TMzjTNzmODHSCadmfPdDHMF5CnivGHcc,1008
143
147
  vellum/types/node_input_compiled_string_value.py,sha256=lrOr8WhK5wZrsUb1-7bYQ7M2deap8JvnVMtqh8887Zc,939
144
- vellum/types/node_input_variable_compiled_value.py,sha256=6PhquhSskdpslUfbS0roxl8H2iQC_WLOGy3IagsZLQs,2381
148
+ vellum/types/node_input_variable_compiled_value.py,sha256=x53Ex-SzLypkleBw7exiN1QvjkBni4IQ5oegHLC9sIk,2730
149
+ vellum/types/node_output_compiled_array_value.py,sha256=mFen333s-uQMrYdtOqnh6I-7cmaO8KtmvO2hQdngsRo,1004
145
150
  vellum/types/node_output_compiled_chat_history_value.py,sha256=MHoBSeJuzPB_aJqMWH4wp-uqixsU1UjVmDAvts5RGRg,992
146
151
  vellum/types/node_output_compiled_error_value.py,sha256=-H6BghCPoM-EH2pGBmQlDBS6DviiqU6agVf92eNClmQ,973
152
+ vellum/types/node_output_compiled_function_value.py,sha256=iN7_clmEI-2bnBVnrlb5oc9gnvfUop5Eq4ZrUxv5a58,979
147
153
  vellum/types/node_output_compiled_json_value.py,sha256=0XY2zVrCdDgoNdVbWqckbY3W4t-xp86R-uZqQygRtpQ,951
148
154
  vellum/types/node_output_compiled_number_value.py,sha256=y924rxk72uRpRcdUz7mPCOL41JZluoatnDr92eSkzpQ,930
149
155
  vellum/types/node_output_compiled_search_results_value.py,sha256=CVjwk4PhBHv3Cvsl-6-Il7xMLVeS4O_kI9emuyi3Wts,997
150
156
  vellum/types/node_output_compiled_string_value.py,sha256=sy7iRnSSvnS1SK8pRsHpBkBRQ8IpnjM1IEOp_q6n18k,928
151
- vellum/types/node_output_compiled_value.py,sha256=R4-AO22SP-yVg7cBLQxGsot8oK9mR6piKYFymFAXd8I,2308
157
+ vellum/types/node_output_compiled_value.py,sha256=GA8t4odEkzLLSs6td0HqAsqDXVOiqTYNMlWGsG8V9dc,3015
152
158
  vellum/types/normalized_log_probs.py,sha256=XhiqVdoFYWbVhYWinsiDzkIRSs1t2DCMEX18EwK-c24,1013
153
159
  vellum/types/normalized_token_log_probs.py,sha256=ZIEr6evXULAv5GFhkekr1Qc6QsJjr2vsTdumMooO4oc,1014
154
160
  vellum/types/number_enum.py,sha256=NBfcHwHjWrS5-SSV82JsoX7EW-SU9yKcHHYAemRt_Gs,140
161
+ vellum/types/number_variable_value.py,sha256=fKWlCu-Roel4CYQ7go_cPok0bvTEbU6JOaReymrUjSU,896
155
162
  vellum/types/paginated_slim_deployment_read_list.py,sha256=MeOByJstYNcBpqfnsmZ7NIOMilo5DerIALc01FNrU0Q,1087
156
163
  vellum/types/paginated_slim_document_list.py,sha256=rfm_k539tWn6jVBjtgUG1M0AqtPvxtwPXwBJLPBiE6Q,1062
157
164
  vellum/types/paginated_slim_workflow_deployment_list.py,sha256=HSnI0CeB7-gJuCkjCvFZVE2Om00OYCTOs4I5Rzaudm8,1103
@@ -161,7 +168,7 @@ vellum/types/prompt_deployment_expand_meta_request_request.py,sha256=6pPGEk_dKi1
161
168
  vellum/types/prompt_deployment_input_request.py,sha256=pwI4mGEz88s8gJr1j_5-4t501tAVwsFNZrEVfPYWLmk,1159
162
169
  vellum/types/prompt_execution_meta.py,sha256=tF9eMOh_CAMvtq2lXVRfVOaWp12jDhuoEUY2S2aENsM,1266
163
170
  vellum/types/prompt_node_result.py,sha256=M4e37S30KFoMYs2khcxG-BxCWSLdwIxBYIjXWEfQbxQ,1017
164
- vellum/types/prompt_node_result_data.py,sha256=LyNkZz-9lYejVtIaej1m7u5CiWmXVFG8IAr6hVQBgZg,945
171
+ vellum/types/prompt_node_result_data.py,sha256=NjlHXcFbxvP15tDrsgWsj9s6OcDJDcy4LdXCrWAmVZ8,987
165
172
  vellum/types/prompt_output.py,sha256=Bz8hTTGUdg0GAmvTw0_gSCoB3jzs_zhF7kPbpKDMSD0,1336
166
173
  vellum/types/prompt_template_block.py,sha256=2UfBd8ktRrvVp_gZFLWevrV5D1UjXCji4YbeHPAVl0c,1164
167
174
  vellum/types/prompt_template_block_data.py,sha256=fEveYsxf-CAPNhxjirVRNCcqTtmNBxFdjMks-W9-02c,983
@@ -204,6 +211,7 @@ vellum/types/search_result_document_request.py,sha256=MeleItFXTTvx45hPmI4mhKdQSV
204
211
  vellum/types/search_result_merging_request.py,sha256=lLgp8q1WwvdUJcR1YWpLRjmZ3SgYZj2-Bbg450xWxDg,970
205
212
  vellum/types/search_result_request.py,sha256=SMjICHnxr3l8-KCe7ftWMZiKPdlvdMAPZd4zRXNxpQ8,1335
206
213
  vellum/types/search_results_enum.py,sha256=Duyq99BLaCcFw_-VOpHff-tP8QSFP-FfzLRN81Avgjw,155
214
+ vellum/types/search_results_variable_value.py,sha256=vyVdzPmriQPVvQu52CM7z8LZup3tFh5dl5BFnarPMI8,963
207
215
  vellum/types/search_weights_request.py,sha256=guPgN3N0b5Mg0sIpw8ts80iBOT_nUsRNZqjDMKJIphI,1117
208
216
  vellum/types/slim_deployment_read.py,sha256=80-xQdAlZaIwqg_QB6FWRDNGRmXTeHkK8-SHGCJOLFs,1811
209
217
  vellum/types/slim_document.py,sha256=AcFFqAHpE067rn3j4x0qQt6Y2yN5La-pPPLB3s6QfD8,3074
@@ -255,6 +263,7 @@ vellum/types/vellum_image.py,sha256=1lbzLpkpvJ1Te3ZNtCAKCe2y8uHoDog5u5Sk97UBRek,
255
263
  vellum/types/vellum_image_request.py,sha256=7ZSlLAN5YDFLPy3O2j7Lfv7oEdvyZEZRxKTv6pDPS3M,934
256
264
  vellum/types/vellum_variable.py,sha256=mVchGYwlkdti5QKb4nTqalA_rotmwhI0fLlT-dmrweQ,964
257
265
  vellum/types/vellum_variable_type.py,sha256=noEyyIxh9AutFdSnL9hdkngSWSEzF_xHRJVte19RX_E,1855
266
+ vellum/types/workflow_deployment_read.py,sha256=Z_Mfc9uUqDWSKADoUvj4xksM5m7saE192YeQYqqNCR0,2211
258
267
  vellum/types/workflow_event_error.py,sha256=X1jEuhnsZoh75FN6XpTvtbO67UD_1SiACsBk5bhn3wQ,1001
259
268
  vellum/types/workflow_execution_actual_chat_history_request.py,sha256=skI-SuvBfJc8wxH2EDMqyKCGUgjfFFBUPkCLyncHgmM,2014
260
269
  vellum/types/workflow_execution_actual_json_request.py,sha256=hVKpBukLehwDUopO7iiKv-wTvxDDg4SXMYmmexZDMo0,1951
@@ -275,11 +284,11 @@ vellum/types/workflow_output_json.py,sha256=3jqhAl2siI2UIWlNa_08Vd0joioJQ5JxikLR
275
284
  vellum/types/workflow_output_number.py,sha256=8zoGZLnmF1dmO48puGxJWw7T0XQp3EFHj8c5GWj4TXo,1048
276
285
  vellum/types/workflow_output_search_results.py,sha256=6F1iLjcNWbw50PrKnci-JygXYGPlTkGwhU6qqMKZGCs,1123
277
286
  vellum/types/workflow_output_string.py,sha256=WzualuRO4-P9Byg2YbX7icXNRkOirVNbJQ-VHY6M62w,1046
278
- vellum/types/workflow_request_chat_history_input_request.py,sha256=qnbW2l-3k0AgwKNDAam29pvYmMGMn0V4aTXSR2YlXuQ,1072
287
+ vellum/types/workflow_request_chat_history_input_request.py,sha256=uN7LFgwBjoJSvUd2rID9fJriToK8JXFRk93D5wpQPnI,1146
279
288
  vellum/types/workflow_request_input_request.py,sha256=ZYmEH0-gRMGcMSSKDD2aBtfDjwMU_m4hmt17NPZ7uQA,1666
280
- vellum/types/workflow_request_json_input_request.py,sha256=VbcQsnTp4myLN_wRSmkxMJILaDgaPjZQKovNTpkp1Is,1009
281
- vellum/types/workflow_request_number_input_request.py,sha256=E7d2_QE-o1vv_VVfR6CFEGiGLYxrMdkZ7d3sZUN-6cU,988
282
- vellum/types/workflow_request_string_input_request.py,sha256=L1Zl1_K7Tlqjaz5pJfb8Q4GG2BVKWJzw2Wos6IEJpxM,986
289
+ vellum/types/workflow_request_json_input_request.py,sha256=cP-FDnuNjabM2gDm7XR8uWE_9ubIHwwN_a_FHDO1fZc,1075
290
+ vellum/types/workflow_request_number_input_request.py,sha256=FzyzrBiE1QRjGyho6rV6zDmTwUKEiHSxJDa_OXtVxxg,1056
291
+ vellum/types/workflow_request_string_input_request.py,sha256=cE_fci04ITrXC5PNhz-WByw40hTmFpnCBSSjnkXzwHE,1054
283
292
  vellum/types/workflow_result_event.py,sha256=5-HN3_dqTgEiKPnXoxCdzv1C3P9ZP1qL7Y_gDeh9k9w,1347
284
293
  vellum/types/workflow_result_event_output_data.py,sha256=WugPeifmg-x5Ef6hFZ6L3gQC68_e57Q-xThlcWEBhlA,2500
285
294
  vellum/types/workflow_result_event_output_data_chat_history.py,sha256=rvSMvssqF8GqYDIVA-7c48O2qa1bKvE3rULM26OEhao,1397
@@ -289,7 +298,7 @@ vellum/types/workflow_result_event_output_data_number.py,sha256=5IG_4XZhUZjwCfX1
289
298
  vellum/types/workflow_result_event_output_data_search_results.py,sha256=FZeTLuHIBJp0AZUqBOzzMN4ntf_Q3hKP4m3vIzVq2cQ,1404
290
299
  vellum/types/workflow_result_event_output_data_string.py,sha256=XJ7ZFTS2eqIMwa-zXFPDowu3o3JnRUfxC1MJIk8nPDI,1478
291
300
  vellum/types/workflow_stream_event.py,sha256=OQUSzwoM-OCfWxNzeOVVLsjCue_WWqin3tGMtwvp_rc,873
292
- vellum_ai-0.3.7.dist-info/LICENSE,sha256=CcaljEIoOBaU-wItPH4PmM_mDCGpyuUY0Er1BGu5Ti8,1073
293
- vellum_ai-0.3.7.dist-info/METADATA,sha256=-ckpfJoQ8AQlGQ3m58d4zbzH8bVV-GnvdYwcOTWySnk,3486
294
- vellum_ai-0.3.7.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
295
- vellum_ai-0.3.7.dist-info/RECORD,,
301
+ vellum_ai-0.3.8.dist-info/LICENSE,sha256=CcaljEIoOBaU-wItPH4PmM_mDCGpyuUY0Er1BGu5Ti8,1073
302
+ vellum_ai-0.3.8.dist-info/METADATA,sha256=YmyQSboMgCfikBj1x8D0uy8hqkElX6GreNklIhqWLQA,3486
303
+ vellum_ai-0.3.8.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
304
+ vellum_ai-0.3.8.dist-info/RECORD,,