vellum-ai 0.3.8__py3-none-any.whl → 0.3.9__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
@@ -259,6 +259,8 @@ from .types import (
259
259
  SubmitWorkflowExecutionActualRequest_ChatHistory,
260
260
  SubmitWorkflowExecutionActualRequest_Json,
261
261
  SubmitWorkflowExecutionActualRequest_String,
262
+ SubworkflowEnum,
263
+ SubworkflowNodeResult,
262
264
  TemplatingNodeChatHistoryResult,
263
265
  TemplatingNodeErrorResult,
264
266
  TemplatingNodeJsonResult,
@@ -274,15 +276,19 @@ from .types import (
274
276
  TemplatingNodeResultOutput_String,
275
277
  TemplatingNodeSearchResultsResult,
276
278
  TemplatingNodeStringResult,
279
+ TerminalNodeArrayResult,
277
280
  TerminalNodeChatHistoryResult,
278
281
  TerminalNodeErrorResult,
282
+ TerminalNodeFunctionCallResult,
279
283
  TerminalNodeJsonResult,
280
284
  TerminalNodeNumberResult,
281
285
  TerminalNodeResult,
282
286
  TerminalNodeResultData,
283
287
  TerminalNodeResultOutput,
288
+ TerminalNodeResultOutput_Array,
284
289
  TerminalNodeResultOutput_ChatHistory,
285
290
  TerminalNodeResultOutput_Error,
291
+ TerminalNodeResultOutput_FunctionCall,
286
292
  TerminalNodeResultOutput_Json,
287
293
  TerminalNodeResultOutput_Number,
288
294
  TerminalNodeResultOutput_SearchResults,
@@ -327,6 +333,7 @@ from .types import (
327
333
  WorkflowNodeResultData_Conditional,
328
334
  WorkflowNodeResultData_Prompt,
329
335
  WorkflowNodeResultData_Search,
336
+ WorkflowNodeResultData_Subworkflow,
330
337
  WorkflowNodeResultData_Templating,
331
338
  WorkflowNodeResultData_Terminal,
332
339
  WorkflowNodeResultEvent,
@@ -336,6 +343,7 @@ from .types import (
336
343
  WorkflowNodeResultEvent_Rejected,
337
344
  WorkflowNodeResultEvent_Streaming,
338
345
  WorkflowOutput,
346
+ WorkflowOutputArray,
339
347
  WorkflowOutputChatHistory,
340
348
  WorkflowOutputError,
341
349
  WorkflowOutputFunctionCall,
@@ -344,6 +352,7 @@ from .types import (
344
352
  WorkflowOutputNumber,
345
353
  WorkflowOutputSearchResults,
346
354
  WorkflowOutputString,
355
+ WorkflowOutput_Array,
347
356
  WorkflowOutput_ChatHistory,
348
357
  WorkflowOutput_Error,
349
358
  WorkflowOutput_FunctionCall,
@@ -363,14 +372,18 @@ from .types import (
363
372
  WorkflowRequestStringInputRequest,
364
373
  WorkflowResultEvent,
365
374
  WorkflowResultEventOutputData,
375
+ WorkflowResultEventOutputDataArray,
366
376
  WorkflowResultEventOutputDataChatHistory,
367
377
  WorkflowResultEventOutputDataError,
378
+ WorkflowResultEventOutputDataFunctionCall,
368
379
  WorkflowResultEventOutputDataJson,
369
380
  WorkflowResultEventOutputDataNumber,
370
381
  WorkflowResultEventOutputDataSearchResults,
371
382
  WorkflowResultEventOutputDataString,
383
+ WorkflowResultEventOutputData_Array,
372
384
  WorkflowResultEventOutputData_ChatHistory,
373
385
  WorkflowResultEventOutputData_Error,
386
+ WorkflowResultEventOutputData_FunctionCall,
374
387
  WorkflowResultEventOutputData_Json,
375
388
  WorkflowResultEventOutputData_Number,
376
389
  WorkflowResultEventOutputData_SearchResults,
@@ -660,6 +673,8 @@ __all__ = [
660
673
  "SubmitWorkflowExecutionActualRequest_ChatHistory",
661
674
  "SubmitWorkflowExecutionActualRequest_Json",
662
675
  "SubmitWorkflowExecutionActualRequest_String",
676
+ "SubworkflowEnum",
677
+ "SubworkflowNodeResult",
663
678
  "TemplatingNodeChatHistoryResult",
664
679
  "TemplatingNodeErrorResult",
665
680
  "TemplatingNodeJsonResult",
@@ -675,15 +690,19 @@ __all__ = [
675
690
  "TemplatingNodeResultOutput_String",
676
691
  "TemplatingNodeSearchResultsResult",
677
692
  "TemplatingNodeStringResult",
693
+ "TerminalNodeArrayResult",
678
694
  "TerminalNodeChatHistoryResult",
679
695
  "TerminalNodeErrorResult",
696
+ "TerminalNodeFunctionCallResult",
680
697
  "TerminalNodeJsonResult",
681
698
  "TerminalNodeNumberResult",
682
699
  "TerminalNodeResult",
683
700
  "TerminalNodeResultData",
684
701
  "TerminalNodeResultOutput",
702
+ "TerminalNodeResultOutput_Array",
685
703
  "TerminalNodeResultOutput_ChatHistory",
686
704
  "TerminalNodeResultOutput_Error",
705
+ "TerminalNodeResultOutput_FunctionCall",
687
706
  "TerminalNodeResultOutput_Json",
688
707
  "TerminalNodeResultOutput_Number",
689
708
  "TerminalNodeResultOutput_SearchResults",
@@ -730,6 +749,7 @@ __all__ = [
730
749
  "WorkflowNodeResultData_Conditional",
731
750
  "WorkflowNodeResultData_Prompt",
732
751
  "WorkflowNodeResultData_Search",
752
+ "WorkflowNodeResultData_Subworkflow",
733
753
  "WorkflowNodeResultData_Templating",
734
754
  "WorkflowNodeResultData_Terminal",
735
755
  "WorkflowNodeResultEvent",
@@ -739,6 +759,7 @@ __all__ = [
739
759
  "WorkflowNodeResultEvent_Rejected",
740
760
  "WorkflowNodeResultEvent_Streaming",
741
761
  "WorkflowOutput",
762
+ "WorkflowOutputArray",
742
763
  "WorkflowOutputChatHistory",
743
764
  "WorkflowOutputError",
744
765
  "WorkflowOutputFunctionCall",
@@ -747,6 +768,7 @@ __all__ = [
747
768
  "WorkflowOutputNumber",
748
769
  "WorkflowOutputSearchResults",
749
770
  "WorkflowOutputString",
771
+ "WorkflowOutput_Array",
750
772
  "WorkflowOutput_ChatHistory",
751
773
  "WorkflowOutput_Error",
752
774
  "WorkflowOutput_FunctionCall",
@@ -766,14 +788,18 @@ __all__ = [
766
788
  "WorkflowRequestStringInputRequest",
767
789
  "WorkflowResultEvent",
768
790
  "WorkflowResultEventOutputData",
791
+ "WorkflowResultEventOutputDataArray",
769
792
  "WorkflowResultEventOutputDataChatHistory",
770
793
  "WorkflowResultEventOutputDataError",
794
+ "WorkflowResultEventOutputDataFunctionCall",
771
795
  "WorkflowResultEventOutputDataJson",
772
796
  "WorkflowResultEventOutputDataNumber",
773
797
  "WorkflowResultEventOutputDataSearchResults",
774
798
  "WorkflowResultEventOutputDataString",
799
+ "WorkflowResultEventOutputData_Array",
775
800
  "WorkflowResultEventOutputData_ChatHistory",
776
801
  "WorkflowResultEventOutputData_Error",
802
+ "WorkflowResultEventOutputData_FunctionCall",
777
803
  "WorkflowResultEventOutputData_Json",
778
804
  "WorkflowResultEventOutputData_Number",
779
805
  "WorkflowResultEventOutputData_SearchResults",
@@ -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.8",
19
+ "X-Fern-SDK-Version": "0.3.9",
20
20
  }
21
21
  headers["X_API_KEY"] = self.api_key
22
22
  return headers
vellum/types/__init__.py CHANGED
@@ -286,6 +286,8 @@ from .submit_workflow_execution_actual_request import (
286
286
  SubmitWorkflowExecutionActualRequest_Json,
287
287
  SubmitWorkflowExecutionActualRequest_String,
288
288
  )
289
+ from .subworkflow_enum import SubworkflowEnum
290
+ from .subworkflow_node_result import SubworkflowNodeResult
289
291
  from .templating_node_chat_history_result import TemplatingNodeChatHistoryResult
290
292
  from .templating_node_error_result import TemplatingNodeErrorResult
291
293
  from .templating_node_json_result import TemplatingNodeJsonResult
@@ -303,16 +305,20 @@ from .templating_node_result_output import (
303
305
  )
304
306
  from .templating_node_search_results_result import TemplatingNodeSearchResultsResult
305
307
  from .templating_node_string_result import TemplatingNodeStringResult
308
+ from .terminal_node_array_result import TerminalNodeArrayResult
306
309
  from .terminal_node_chat_history_result import TerminalNodeChatHistoryResult
307
310
  from .terminal_node_error_result import TerminalNodeErrorResult
311
+ from .terminal_node_function_call_result import TerminalNodeFunctionCallResult
308
312
  from .terminal_node_json_result import TerminalNodeJsonResult
309
313
  from .terminal_node_number_result import TerminalNodeNumberResult
310
314
  from .terminal_node_result import TerminalNodeResult
311
315
  from .terminal_node_result_data import TerminalNodeResultData
312
316
  from .terminal_node_result_output import (
313
317
  TerminalNodeResultOutput,
318
+ TerminalNodeResultOutput_Array,
314
319
  TerminalNodeResultOutput_ChatHistory,
315
320
  TerminalNodeResultOutput_Error,
321
+ TerminalNodeResultOutput_FunctionCall,
316
322
  TerminalNodeResultOutput_Json,
317
323
  TerminalNodeResultOutput_Number,
318
324
  TerminalNodeResultOutput_SearchResults,
@@ -361,6 +367,7 @@ from .workflow_node_result_data import (
361
367
  WorkflowNodeResultData_Conditional,
362
368
  WorkflowNodeResultData_Prompt,
363
369
  WorkflowNodeResultData_Search,
370
+ WorkflowNodeResultData_Subworkflow,
364
371
  WorkflowNodeResultData_Templating,
365
372
  WorkflowNodeResultData_Terminal,
366
373
  )
@@ -374,6 +381,7 @@ from .workflow_node_result_event import (
374
381
  from .workflow_node_result_event_state import WorkflowNodeResultEventState
375
382
  from .workflow_output import (
376
383
  WorkflowOutput,
384
+ WorkflowOutput_Array,
377
385
  WorkflowOutput_ChatHistory,
378
386
  WorkflowOutput_Error,
379
387
  WorkflowOutput_FunctionCall,
@@ -383,6 +391,7 @@ from .workflow_output import (
383
391
  WorkflowOutput_SearchResults,
384
392
  WorkflowOutput_String,
385
393
  )
394
+ from .workflow_output_array import WorkflowOutputArray
386
395
  from .workflow_output_chat_history import WorkflowOutputChatHistory
387
396
  from .workflow_output_error import WorkflowOutputError
388
397
  from .workflow_output_function_call import WorkflowOutputFunctionCall
@@ -405,15 +414,19 @@ from .workflow_request_string_input_request import WorkflowRequestStringInputReq
405
414
  from .workflow_result_event import WorkflowResultEvent
406
415
  from .workflow_result_event_output_data import (
407
416
  WorkflowResultEventOutputData,
417
+ WorkflowResultEventOutputData_Array,
408
418
  WorkflowResultEventOutputData_ChatHistory,
409
419
  WorkflowResultEventOutputData_Error,
420
+ WorkflowResultEventOutputData_FunctionCall,
410
421
  WorkflowResultEventOutputData_Json,
411
422
  WorkflowResultEventOutputData_Number,
412
423
  WorkflowResultEventOutputData_SearchResults,
413
424
  WorkflowResultEventOutputData_String,
414
425
  )
426
+ from .workflow_result_event_output_data_array import WorkflowResultEventOutputDataArray
415
427
  from .workflow_result_event_output_data_chat_history import WorkflowResultEventOutputDataChatHistory
416
428
  from .workflow_result_event_output_data_error import WorkflowResultEventOutputDataError
429
+ from .workflow_result_event_output_data_function_call import WorkflowResultEventOutputDataFunctionCall
417
430
  from .workflow_result_event_output_data_json import WorkflowResultEventOutputDataJson
418
431
  from .workflow_result_event_output_data_number import WorkflowResultEventOutputDataNumber
419
432
  from .workflow_result_event_output_data_search_results import WorkflowResultEventOutputDataSearchResults
@@ -679,6 +692,8 @@ __all__ = [
679
692
  "SubmitWorkflowExecutionActualRequest_ChatHistory",
680
693
  "SubmitWorkflowExecutionActualRequest_Json",
681
694
  "SubmitWorkflowExecutionActualRequest_String",
695
+ "SubworkflowEnum",
696
+ "SubworkflowNodeResult",
682
697
  "TemplatingNodeChatHistoryResult",
683
698
  "TemplatingNodeErrorResult",
684
699
  "TemplatingNodeJsonResult",
@@ -694,15 +709,19 @@ __all__ = [
694
709
  "TemplatingNodeResultOutput_String",
695
710
  "TemplatingNodeSearchResultsResult",
696
711
  "TemplatingNodeStringResult",
712
+ "TerminalNodeArrayResult",
697
713
  "TerminalNodeChatHistoryResult",
698
714
  "TerminalNodeErrorResult",
715
+ "TerminalNodeFunctionCallResult",
699
716
  "TerminalNodeJsonResult",
700
717
  "TerminalNodeNumberResult",
701
718
  "TerminalNodeResult",
702
719
  "TerminalNodeResultData",
703
720
  "TerminalNodeResultOutput",
721
+ "TerminalNodeResultOutput_Array",
704
722
  "TerminalNodeResultOutput_ChatHistory",
705
723
  "TerminalNodeResultOutput_Error",
724
+ "TerminalNodeResultOutput_FunctionCall",
706
725
  "TerminalNodeResultOutput_Json",
707
726
  "TerminalNodeResultOutput_Number",
708
727
  "TerminalNodeResultOutput_SearchResults",
@@ -747,6 +766,7 @@ __all__ = [
747
766
  "WorkflowNodeResultData_Conditional",
748
767
  "WorkflowNodeResultData_Prompt",
749
768
  "WorkflowNodeResultData_Search",
769
+ "WorkflowNodeResultData_Subworkflow",
750
770
  "WorkflowNodeResultData_Templating",
751
771
  "WorkflowNodeResultData_Terminal",
752
772
  "WorkflowNodeResultEvent",
@@ -756,6 +776,7 @@ __all__ = [
756
776
  "WorkflowNodeResultEvent_Rejected",
757
777
  "WorkflowNodeResultEvent_Streaming",
758
778
  "WorkflowOutput",
779
+ "WorkflowOutputArray",
759
780
  "WorkflowOutputChatHistory",
760
781
  "WorkflowOutputError",
761
782
  "WorkflowOutputFunctionCall",
@@ -764,6 +785,7 @@ __all__ = [
764
785
  "WorkflowOutputNumber",
765
786
  "WorkflowOutputSearchResults",
766
787
  "WorkflowOutputString",
788
+ "WorkflowOutput_Array",
767
789
  "WorkflowOutput_ChatHistory",
768
790
  "WorkflowOutput_Error",
769
791
  "WorkflowOutput_FunctionCall",
@@ -783,14 +805,18 @@ __all__ = [
783
805
  "WorkflowRequestStringInputRequest",
784
806
  "WorkflowResultEvent",
785
807
  "WorkflowResultEventOutputData",
808
+ "WorkflowResultEventOutputDataArray",
786
809
  "WorkflowResultEventOutputDataChatHistory",
787
810
  "WorkflowResultEventOutputDataError",
811
+ "WorkflowResultEventOutputDataFunctionCall",
788
812
  "WorkflowResultEventOutputDataJson",
789
813
  "WorkflowResultEventOutputDataNumber",
790
814
  "WorkflowResultEventOutputDataSearchResults",
791
815
  "WorkflowResultEventOutputDataString",
816
+ "WorkflowResultEventOutputData_Array",
792
817
  "WorkflowResultEventOutputData_ChatHistory",
793
818
  "WorkflowResultEventOutputData_Error",
819
+ "WorkflowResultEventOutputData_FunctionCall",
794
820
  "WorkflowResultEventOutputData_Json",
795
821
  "WorkflowResultEventOutputData_Number",
796
822
  "WorkflowResultEventOutputData_SearchResults",
@@ -14,6 +14,7 @@ except ImportError:
14
14
 
15
15
  class CodeExecutionNodeResultData(pydantic.BaseModel):
16
16
  output: CodeExecutionNodeResultOutput
17
+ log_output_id: typing.Optional[str]
17
18
 
18
19
  def json(self, **kwargs: typing.Any) -> str:
19
20
  kwargs_with_defaults: typing.Any = {"by_alias": True, "exclude_unset": True, **kwargs}
@@ -15,7 +15,7 @@ except ImportError:
15
15
  class NodeInputCompiledArrayValue(pydantic.BaseModel):
16
16
  node_input_id: str
17
17
  key: str
18
- value: typing.List[ArrayVariableValueItem]
18
+ value: typing.Optional[typing.List[ArrayVariableValueItem]]
19
19
 
20
20
  def json(self, **kwargs: typing.Any) -> str:
21
21
  kwargs_with_defaults: typing.Any = {"by_alias": True, "exclude_unset": True, **kwargs}
@@ -14,7 +14,7 @@ except ImportError:
14
14
 
15
15
  class NodeOutputCompiledArrayValue(pydantic.BaseModel):
16
16
  node_output_id: str
17
- value: typing.List[ArrayVariableValueItem]
17
+ value: typing.Optional[typing.List[ArrayVariableValueItem]]
18
18
 
19
19
  def json(self, **kwargs: typing.Any) -> str:
20
20
  kwargs_with_defaults: typing.Any = {"by_alias": True, "exclude_unset": True, **kwargs}
@@ -0,0 +1,5 @@
1
+ # This file was auto-generated by Fern from our API Definition.
2
+
3
+ import typing_extensions
4
+
5
+ SubworkflowEnum = typing_extensions.Literal["SUBWORKFLOW"]
@@ -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
+
8
+ try:
9
+ import pydantic.v1 as pydantic # type: ignore
10
+ except ImportError:
11
+ import pydantic # type: ignore
12
+
13
+
14
+ class SubworkflowNodeResult(pydantic.BaseModel):
15
+ """
16
+ A Node Result Event emitted from a Subworkflow Node.
17
+ """
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,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 TerminalNodeArrayResult(pydantic.BaseModel):
16
+ id: typing.Optional[str]
17
+ name: str = pydantic.Field(description="The unique name given to the terminal node that produced this output.")
18
+ value: typing.Optional[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}
@@ -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 .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 TerminalNodeFunctionCallResult(pydantic.BaseModel):
16
+ id: typing.Optional[str]
17
+ name: str = pydantic.Field(description="The unique name given to the terminal node that produced this output.")
18
+ value: typing.Optional[FunctionCall]
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,8 +6,10 @@ import typing
6
6
 
7
7
  import typing_extensions
8
8
 
9
+ from .terminal_node_array_result import TerminalNodeArrayResult
9
10
  from .terminal_node_chat_history_result import TerminalNodeChatHistoryResult
10
11
  from .terminal_node_error_result import TerminalNodeErrorResult
12
+ from .terminal_node_function_call_result import TerminalNodeFunctionCallResult
11
13
  from .terminal_node_json_result import TerminalNodeJsonResult
12
14
  from .terminal_node_number_result import TerminalNodeNumberResult
13
15
  from .terminal_node_search_results_result import TerminalNodeSearchResultsResult
@@ -59,6 +61,24 @@ class TerminalNodeResultOutput_SearchResults(TerminalNodeSearchResultsResult):
59
61
  allow_population_by_field_name = True
60
62
 
61
63
 
64
+ class TerminalNodeResultOutput_Array(TerminalNodeArrayResult):
65
+ type: typing_extensions.Literal["ARRAY"]
66
+
67
+ class Config:
68
+ frozen = True
69
+ smart_union = True
70
+ allow_population_by_field_name = True
71
+
72
+
73
+ class TerminalNodeResultOutput_FunctionCall(TerminalNodeFunctionCallResult):
74
+ type: typing_extensions.Literal["FUNCTION_CALL"]
75
+
76
+ class Config:
77
+ frozen = True
78
+ smart_union = True
79
+ allow_population_by_field_name = True
80
+
81
+
62
82
  class TerminalNodeResultOutput_Error(TerminalNodeErrorResult):
63
83
  type: typing_extensions.Literal["ERROR"]
64
84
 
@@ -74,5 +94,7 @@ TerminalNodeResultOutput = typing.Union[
74
94
  TerminalNodeResultOutput_Json,
75
95
  TerminalNodeResultOutput_ChatHistory,
76
96
  TerminalNodeResultOutput_SearchResults,
97
+ TerminalNodeResultOutput_Array,
98
+ TerminalNodeResultOutput_FunctionCall,
77
99
  TerminalNodeResultOutput_Error,
78
100
  ]
@@ -11,17 +11,20 @@ class VellumErrorCodeEnum(str, enum.Enum):
11
11
  - `INVALID_REQUEST` - INVALID_REQUEST
12
12
  - `PROVIDER_ERROR` - PROVIDER_ERROR
13
13
  - `INTERNAL_SERVER_ERROR` - INTERNAL_SERVER_ERROR
14
+ - `USER_DEFINED_ERROR` - USER_DEFINED_ERROR
14
15
  """
15
16
 
16
17
  INVALID_REQUEST = "INVALID_REQUEST"
17
18
  PROVIDER_ERROR = "PROVIDER_ERROR"
18
19
  INTERNAL_SERVER_ERROR = "INTERNAL_SERVER_ERROR"
20
+ USER_DEFINED_ERROR = "USER_DEFINED_ERROR"
19
21
 
20
22
  def visit(
21
23
  self,
22
24
  invalid_request: typing.Callable[[], T_Result],
23
25
  provider_error: typing.Callable[[], T_Result],
24
26
  internal_server_error: typing.Callable[[], T_Result],
27
+ user_defined_error: typing.Callable[[], T_Result],
25
28
  ) -> T_Result:
26
29
  if self is VellumErrorCodeEnum.INVALID_REQUEST:
27
30
  return invalid_request()
@@ -29,3 +32,5 @@ class VellumErrorCodeEnum(str, enum.Enum):
29
32
  return provider_error()
30
33
  if self is VellumErrorCodeEnum.INTERNAL_SERVER_ERROR:
31
34
  return internal_server_error()
35
+ if self is VellumErrorCodeEnum.USER_DEFINED_ERROR:
36
+ return user_defined_error()
@@ -14,6 +14,7 @@ class WorkflowExecutionEventErrorCode(str, enum.Enum):
14
14
  - `NODE_EXECUTION` - NODE_EXECUTION
15
15
  - `LLM_PROVIDER` - LLM_PROVIDER
16
16
  - `INVALID_TEMPLATE` - INVALID_TEMPLATE
17
+ - `USER_DEFINED_ERROR` - USER_DEFINED_ERROR
17
18
  """
18
19
 
19
20
  WORKFLOW_INITIALIZATION = "WORKFLOW_INITIALIZATION"
@@ -22,6 +23,7 @@ class WorkflowExecutionEventErrorCode(str, enum.Enum):
22
23
  NODE_EXECUTION = "NODE_EXECUTION"
23
24
  LLM_PROVIDER = "LLM_PROVIDER"
24
25
  INVALID_TEMPLATE = "INVALID_TEMPLATE"
26
+ USER_DEFINED_ERROR = "USER_DEFINED_ERROR"
25
27
 
26
28
  def visit(
27
29
  self,
@@ -31,6 +33,7 @@ class WorkflowExecutionEventErrorCode(str, enum.Enum):
31
33
  node_execution: typing.Callable[[], T_Result],
32
34
  llm_provider: typing.Callable[[], T_Result],
33
35
  invalid_template: typing.Callable[[], T_Result],
36
+ user_defined_error: typing.Callable[[], T_Result],
34
37
  ) -> T_Result:
35
38
  if self is WorkflowExecutionEventErrorCode.WORKFLOW_INITIALIZATION:
36
39
  return workflow_initialization()
@@ -44,3 +47,5 @@ class WorkflowExecutionEventErrorCode(str, enum.Enum):
44
47
  return llm_provider()
45
48
  if self is WorkflowExecutionEventErrorCode.INVALID_TEMPLATE:
46
49
  return invalid_template()
50
+ if self is WorkflowExecutionEventErrorCode.USER_DEFINED_ERROR:
51
+ return user_defined_error()
@@ -11,6 +11,7 @@ from .code_execution_node_result import CodeExecutionNodeResult
11
11
  from .conditional_node_result import ConditionalNodeResult
12
12
  from .prompt_node_result import PromptNodeResult
13
13
  from .search_node_result import SearchNodeResult
14
+ from .subworkflow_node_result import SubworkflowNodeResult
14
15
  from .templating_node_result import TemplatingNodeResult
15
16
  from .terminal_node_result import TerminalNodeResult
16
17
 
@@ -78,6 +79,15 @@ class WorkflowNodeResultData_Terminal(TerminalNodeResult):
78
79
  allow_population_by_field_name = True
79
80
 
80
81
 
82
+ class WorkflowNodeResultData_Subworkflow(SubworkflowNodeResult):
83
+ type: typing_extensions.Literal["SUBWORKFLOW"]
84
+
85
+ class Config:
86
+ frozen = True
87
+ smart_union = True
88
+ allow_population_by_field_name = True
89
+
90
+
81
91
  WorkflowNodeResultData = typing.Union[
82
92
  WorkflowNodeResultData_Prompt,
83
93
  WorkflowNodeResultData_Search,
@@ -86,4 +96,5 @@ WorkflowNodeResultData = typing.Union[
86
96
  WorkflowNodeResultData_Conditional,
87
97
  WorkflowNodeResultData_Api,
88
98
  WorkflowNodeResultData_Terminal,
99
+ WorkflowNodeResultData_Subworkflow,
89
100
  ]
@@ -6,6 +6,7 @@ import typing
6
6
 
7
7
  import typing_extensions
8
8
 
9
+ from .workflow_output_array import WorkflowOutputArray
9
10
  from .workflow_output_chat_history import WorkflowOutputChatHistory
10
11
  from .workflow_output_error import WorkflowOutputError
11
12
  from .workflow_output_function_call import WorkflowOutputFunctionCall
@@ -61,6 +62,15 @@ class WorkflowOutput_SearchResults(WorkflowOutputSearchResults):
61
62
  allow_population_by_field_name = True
62
63
 
63
64
 
65
+ class WorkflowOutput_Array(WorkflowOutputArray):
66
+ type: typing_extensions.Literal["ARRAY"]
67
+
68
+ class Config:
69
+ frozen = True
70
+ smart_union = True
71
+ allow_population_by_field_name = True
72
+
73
+
64
74
  class WorkflowOutput_Error(WorkflowOutputError):
65
75
  type: typing_extensions.Literal["ERROR"]
66
76
 
@@ -94,6 +104,7 @@ WorkflowOutput = typing.Union[
94
104
  WorkflowOutput_Json,
95
105
  WorkflowOutput_ChatHistory,
96
106
  WorkflowOutput_SearchResults,
107
+ WorkflowOutput_Array,
97
108
  WorkflowOutput_Error,
98
109
  WorkflowOutput_FunctionCall,
99
110
  WorkflowOutput_Image,
@@ -0,0 +1,35 @@
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 WorkflowOutputArray(pydantic.BaseModel):
16
+ """
17
+ An array output from a Workflow execution.
18
+ """
19
+
20
+ id: str
21
+ name: str = pydantic.Field(description="The output's name, as defined in the workflow")
22
+ value: typing.List[ArrayVariableValueItem]
23
+
24
+ def json(self, **kwargs: typing.Any) -> str:
25
+ kwargs_with_defaults: typing.Any = {"by_alias": True, "exclude_unset": True, **kwargs}
26
+ return super().json(**kwargs_with_defaults)
27
+
28
+ def dict(self, **kwargs: typing.Any) -> typing.Dict[str, typing.Any]:
29
+ kwargs_with_defaults: typing.Any = {"by_alias": True, "exclude_unset": True, **kwargs}
30
+ return super().dict(**kwargs_with_defaults)
31
+
32
+ class Config:
33
+ frozen = True
34
+ smart_union = True
35
+ json_encoders = {dt.datetime: serialize_datetime}
@@ -6,8 +6,10 @@ import typing
6
6
 
7
7
  import typing_extensions
8
8
 
9
+ from .workflow_result_event_output_data_array import WorkflowResultEventOutputDataArray
9
10
  from .workflow_result_event_output_data_chat_history import WorkflowResultEventOutputDataChatHistory
10
11
  from .workflow_result_event_output_data_error import WorkflowResultEventOutputDataError
12
+ from .workflow_result_event_output_data_function_call import WorkflowResultEventOutputDataFunctionCall
11
13
  from .workflow_result_event_output_data_json import WorkflowResultEventOutputDataJson
12
14
  from .workflow_result_event_output_data_number import WorkflowResultEventOutputDataNumber
13
15
  from .workflow_result_event_output_data_search_results import WorkflowResultEventOutputDataSearchResults
@@ -59,6 +61,24 @@ class WorkflowResultEventOutputData_SearchResults(WorkflowResultEventOutputDataS
59
61
  allow_population_by_field_name = True
60
62
 
61
63
 
64
+ class WorkflowResultEventOutputData_Array(WorkflowResultEventOutputDataArray):
65
+ type: typing_extensions.Literal["ARRAY"]
66
+
67
+ class Config:
68
+ frozen = True
69
+ smart_union = True
70
+ allow_population_by_field_name = True
71
+
72
+
73
+ class WorkflowResultEventOutputData_FunctionCall(WorkflowResultEventOutputDataFunctionCall):
74
+ type: typing_extensions.Literal["FUNCTION_CALL"]
75
+
76
+ class Config:
77
+ frozen = True
78
+ smart_union = True
79
+ allow_population_by_field_name = True
80
+
81
+
62
82
  class WorkflowResultEventOutputData_Error(WorkflowResultEventOutputDataError):
63
83
  type: typing_extensions.Literal["ERROR"]
64
84
 
@@ -74,5 +94,7 @@ WorkflowResultEventOutputData = typing.Union[
74
94
  WorkflowResultEventOutputData_Json,
75
95
  WorkflowResultEventOutputData_ChatHistory,
76
96
  WorkflowResultEventOutputData_SearchResults,
97
+ WorkflowResultEventOutputData_Array,
98
+ WorkflowResultEventOutputData_FunctionCall,
77
99
  WorkflowResultEventOutputData_Error,
78
100
  ]
@@ -0,0 +1,41 @@
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
+ from .workflow_node_result_event_state import WorkflowNodeResultEventState
9
+
10
+ try:
11
+ import pydantic.v1 as pydantic # type: ignore
12
+ except ImportError:
13
+ import pydantic # type: ignore
14
+
15
+
16
+ class WorkflowResultEventOutputDataArray(pydantic.BaseModel):
17
+ """
18
+ An Array output returned from a Workflow execution.
19
+ """
20
+
21
+ id: typing.Optional[str]
22
+ name: str
23
+ state: WorkflowNodeResultEventState
24
+ node_id: str
25
+ delta: typing.Optional[str] = pydantic.Field(
26
+ description="The newly output string value. Only relevant for string outputs with a state of STREAMING."
27
+ )
28
+ value: typing.Optional[typing.List[ArrayVariableValueItem]]
29
+
30
+ def json(self, **kwargs: typing.Any) -> str:
31
+ kwargs_with_defaults: typing.Any = {"by_alias": True, "exclude_unset": True, **kwargs}
32
+ return super().json(**kwargs_with_defaults)
33
+
34
+ def dict(self, **kwargs: typing.Any) -> typing.Dict[str, typing.Any]:
35
+ kwargs_with_defaults: typing.Any = {"by_alias": True, "exclude_unset": True, **kwargs}
36
+ return super().dict(**kwargs_with_defaults)
37
+
38
+ class Config:
39
+ frozen = True
40
+ smart_union = True
41
+ json_encoders = {dt.datetime: serialize_datetime}
@@ -0,0 +1,41 @@
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
+ from .workflow_node_result_event_state import WorkflowNodeResultEventState
9
+
10
+ try:
11
+ import pydantic.v1 as pydantic # type: ignore
12
+ except ImportError:
13
+ import pydantic # type: ignore
14
+
15
+
16
+ class WorkflowResultEventOutputDataFunctionCall(pydantic.BaseModel):
17
+ """
18
+ A Function Call output returned from a Workflow execution.
19
+ """
20
+
21
+ id: typing.Optional[str]
22
+ name: str
23
+ state: WorkflowNodeResultEventState
24
+ node_id: str
25
+ delta: typing.Optional[str] = pydantic.Field(
26
+ description="The newly output string value. Only relevant for string outputs with a state of STREAMING."
27
+ )
28
+ value: typing.Optional[FunctionCall]
29
+
30
+ def json(self, **kwargs: typing.Any) -> str:
31
+ kwargs_with_defaults: typing.Any = {"by_alias": True, "exclude_unset": True, **kwargs}
32
+ return super().json(**kwargs_with_defaults)
33
+
34
+ def dict(self, **kwargs: typing.Any) -> typing.Dict[str, typing.Any]:
35
+ kwargs_with_defaults: typing.Any = {"by_alias": True, "exclude_unset": True, **kwargs}
36
+ return super().dict(**kwargs_with_defaults)
37
+
38
+ class Config:
39
+ frozen = True
40
+ smart_union = True
41
+ json_encoders = {dt.datetime: serialize_datetime}
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: vellum-ai
3
- Version: 0.3.8
3
+ Version: 0.3.9
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=qeTY0dYPAqebPUUPMyoNptrmmwEIdseQG0IlpCDfQrY,26703
1
+ vellum/__init__.py,sha256=xfJ8bAfhBkJsnUAc7b_GTEjggMVq3X3tzPUzkdC--90,27647
2
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=EFru019KX5sHGeDkk3brv26aGALQgiSWhz9zmEzwR7k,1212
5
+ vellum/core/client_wrapper.py,sha256=vH6Sdq6Kx0z6lddXYl6c5qAv6gpqp2wSQwIalVgb4yU,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
@@ -37,7 +37,7 @@ vellum/resources/workflow_deployments/__init__.py,sha256=-5BCA0kSmW6WUh4gqLuQtHv
37
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=_W9IryjRriGE6RI2xPpSQKNjyq7PHUAhGLJAi8HTjqk,35563
40
+ vellum/types/__init__.py,sha256=-JUsBcJyop1R_5u1K2q6kr-ZrKvAQC02LGOpoOAwK5E,36776
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
@@ -60,7 +60,7 @@ vellum/types/code_execution_node_error_result.py,sha256=PGGBH6brCG_eomL8aiBj2M2S
60
60
  vellum/types/code_execution_node_json_result.py,sha256=p8bs5eEYEZdJJuak0Nx5tmJy4uwrBs7MlVP3KZfa2NY,939
61
61
  vellum/types/code_execution_node_number_result.py,sha256=YYG0AjtGCp3clTXcPX-JF1EonA9_YmAtD4Z980HGop0,918
62
62
  vellum/types/code_execution_node_result.py,sha256=JGC4dCBNsQuR_mAkE6JxWRIUuoeHLgbDXrvxNX_h8nI,1054
63
- vellum/types/code_execution_node_result_data.py,sha256=kDU4s2_lrn1U1i20cg3R8SHawEfNn0XZwYh8Z-lmGKk,989
63
+ vellum/types/code_execution_node_result_data.py,sha256=OjOS-j3ts4g9OkMehxtTTPMKxp1TI29FGTtHQhcUIFs,1029
64
64
  vellum/types/code_execution_node_result_output.py,sha256=GbxJ6hPGISzt5uSoFS62pKNXK3nHaBKwu4r5XwLFP0M,2386
65
65
  vellum/types/code_execution_node_search_results_result.py,sha256=MpetJW8kXFu-aAFEdvvX8m8t2XeEQrvvFifQrtHyvvw,985
66
66
  vellum/types/code_execution_node_string_result.py,sha256=lJeXmeW81lFsObggD-lw5bw-LEs9EHCzv91KZ4GTVuI,916
@@ -138,7 +138,7 @@ vellum/types/named_test_case_number_variable_value_request.py,sha256=nmpFOi4JDlU
138
138
  vellum/types/named_test_case_search_results_variable_value_request.py,sha256=vazWctXunVP4FbOy97UpAY5nmggd4FpdRnBHp_eRQI4,1019
139
139
  vellum/types/named_test_case_string_variable_value_request.py,sha256=xazwNVwD3LDL8w1AUAwMnCP7-X06ZNSISWvA597pQxw,928
140
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
141
+ vellum/types/node_input_compiled_array_value.py,sha256=fGNwMEox_UG5qsoblB9db4sXXFlxEzFd3Xv4zoFGj-g,1032
142
142
  vellum/types/node_input_compiled_chat_history_value.py,sha256=ZVUjSYuz4DeJU7sUcexHTcJSxhOSha1XNBjNlmL-QE8,1003
143
143
  vellum/types/node_input_compiled_error_value.py,sha256=nbFNdikbmqLutApUmpKXI0k3ukAkPMkLEopo-WNWa8g,984
144
144
  vellum/types/node_input_compiled_json_value.py,sha256=-GCgER6yFl3jOu4W4Ktjy9nM_vKYtBj8vqVitOvHd5I,962
@@ -146,7 +146,7 @@ vellum/types/node_input_compiled_number_value.py,sha256=DC6m1WE6jQsa1fGwei4Gt0U4
146
146
  vellum/types/node_input_compiled_search_results_value.py,sha256=p9K0LpWvAg9TMzjTNzmODHSCadmfPdDHMF5CnivGHcc,1008
147
147
  vellum/types/node_input_compiled_string_value.py,sha256=lrOr8WhK5wZrsUb1-7bYQ7M2deap8JvnVMtqh8887Zc,939
148
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
149
+ vellum/types/node_output_compiled_array_value.py,sha256=Px5hDToLWRlGgcJL4mft8qGnkHBLOy9cYj8s-6FGBxE,1021
150
150
  vellum/types/node_output_compiled_chat_history_value.py,sha256=MHoBSeJuzPB_aJqMWH4wp-uqixsU1UjVmDAvts5RGRg,992
151
151
  vellum/types/node_output_compiled_error_value.py,sha256=-H6BghCPoM-EH2pGBmQlDBS6DviiqU6agVf92eNClmQ,973
152
152
  vellum/types/node_output_compiled_function_value.py,sha256=iN7_clmEI-2bnBVnrlb5oc9gnvfUop5Eq4ZrUxv5a58,979
@@ -228,6 +228,8 @@ vellum/types/string_variable_value.py,sha256=nrAkxRMNHn3-RGyRcwJaA1L3-KJX8ogbRQy
228
228
  vellum/types/submit_completion_actual_request.py,sha256=krKZefK_-0LAEJYIKilUemEwc6v0RELpusQvyj1XUJQ,1787
229
229
  vellum/types/submit_completion_actuals_error_response.py,sha256=AJTkBM60F8rxGKXfz0TcjdP5v_OgRnF3zUrDG1CtNDo,895
230
230
  vellum/types/submit_workflow_execution_actual_request.py,sha256=hazWw_rBxap8g0QAqlrO-qYFu3gJV_XXVgquWkDVsi0,1413
231
+ vellum/types/subworkflow_enum.py,sha256=6WIGJjKlxon7hAt_AbSq1po-YMxAHyxIfJYyl0C-0IA,150
232
+ vellum/types/subworkflow_node_result.py,sha256=Lc3yBneO24uuMQciOv8NiOepJuAQdsUSBPz1F2y1HEc,937
231
233
  vellum/types/templating_node_chat_history_result.py,sha256=hSnL_WbnG0vMq6_4vBo-JJobMb2BzhSN0HKZpt-dHmU,977
232
234
  vellum/types/templating_node_error_result.py,sha256=0zosQlkEZTMVY1MzzSPWCFEGWAK5kky6pKPd384urGc,958
233
235
  vellum/types/templating_node_json_result.py,sha256=_vHc09B-SU0GhFSE6GgNRspvgoxkuf48Lw8uKiaeUj4,936
@@ -237,13 +239,15 @@ vellum/types/templating_node_result_data.py,sha256=kyDRROaumQFof-kIiKrchvOfh2umq
237
239
  vellum/types/templating_node_result_output.py,sha256=2pONPFz_AbYkZ9m5vBcPVBtP0xYzzGekb2eNPAijKEY,2287
238
240
  vellum/types/templating_node_search_results_result.py,sha256=jvR3bWQsKawjlV3e2rpakTkrb7pBR1InZVV1Gzg3OjQ,982
239
241
  vellum/types/templating_node_string_result.py,sha256=6RDWtxGZSPFJPSNncbT0hXRDdMjBfoftDdQfTnGwLlw,913
242
+ vellum/types/terminal_node_array_result.py,sha256=HOtSLSnVN0gp8D_5P5-ibrJJDYX46XR5h6BJC6zTQRE,1137
240
243
  vellum/types/terminal_node_chat_history_result.py,sha256=4uj65lHbRA_XDKme7RKT2uKDm4pGyMjuH3qvcsnIOX0,1108
241
244
  vellum/types/terminal_node_error_result.py,sha256=8Q1IJbju9DgHQQysFyk5cfBw75dQJx1vv4xhC94Ll4Y,1089
245
+ vellum/types/terminal_node_function_call_result.py,sha256=ZMtC17DrHKRs4VIOzkD-h6V8lwsGLt0HZALjpg4Cuq4,1099
242
246
  vellum/types/terminal_node_json_result.py,sha256=cXfFWr355b0C45jBIMmZC59JRMKLMWPVLctdH6bonGM,1067
243
247
  vellum/types/terminal_node_number_result.py,sha256=MKZwjcFzWdELHN42FjdbwYLsReaVRgeB_UwCBNJW5hQ,1046
244
248
  vellum/types/terminal_node_result.py,sha256=wTYogXnBjtkIiahJALpp_kCN7B-jf9_xJ_pMWlRVMx8,1027
245
249
  vellum/types/terminal_node_result_data.py,sha256=Ev4xZWdWp6vu0YQljVvSpV5J360pf-K-hE3s10C5Ijs,968
246
- vellum/types/terminal_node_result_output.py,sha256=KVM-9BYiIsOli3c_1UJcABY56vuBuFHjBhpAc8UfugM,2225
250
+ vellum/types/terminal_node_result_output.py,sha256=sF-9Ycr_YwpSdlgLJ6NzjHMjcsaPOaODU2ntsovtBL0,2917
247
251
  vellum/types/terminal_node_search_results_result.py,sha256=McUYdCDNtbQGxTLhdOEevdowY0tok4on8ylMMLXYm24,1113
248
252
  vellum/types/terminal_node_string_result.py,sha256=iAtk5T5y9m1bee93BKsJZlLavow5H0Xf2hKa0F_nnD8,1044
249
253
  vellum/types/test_case_chat_history_variable_value.py,sha256=8aaW-k5EDOWPP0qFAIpMWCd13kdi2JrUPt7DcflB4fM,987
@@ -257,7 +261,7 @@ vellum/types/test_suite_test_case.py,sha256=X0ofIlD4wL7zgybJFptuUqpCGjIyS916fch5
257
261
  vellum/types/upload_document_error_response.py,sha256=j2NahdS7jnklF9sGIaw7SbDEa3QhnzsDG3mG6prbGSQ,886
258
262
  vellum/types/upload_document_response.py,sha256=6SY4OqEHIg_EUgOwU2rSdWeNDQULUt2LZv6zN-QCJ7Y,956
259
263
  vellum/types/vellum_error.py,sha256=rO2oP5qbRRpk17X5D-Gf8Ea2oSkqkZpp7n71Dz-Qivw,957
260
- vellum/types/vellum_error_code_enum.py,sha256=X7aUaKZR1jiYnaa9OxPu-bze3Tua31Gh22HJAxw6fyI,969
264
+ vellum/types/vellum_error_code_enum.py,sha256=YtfS3VEJKTJTBwNyirfkk4cmlH03L7C9qZ-hqxJDkrQ,1221
261
265
  vellum/types/vellum_error_request.py,sha256=kMDn9F-Cg4IWQeaX_nCdvadu7JlaIvtf6Rmm3tdVkD0,964
262
266
  vellum/types/vellum_image.py,sha256=1lbzLpkpvJ1Te3ZNtCAKCe2y8uHoDog5u5Sk97UBRek,927
263
267
  vellum/types/vellum_image_request.py,sha256=7ZSlLAN5YDFLPy3O2j7Lfv7oEdvyZEZRxKTv6pDPS3M,934
@@ -268,14 +272,15 @@ vellum/types/workflow_event_error.py,sha256=X1jEuhnsZoh75FN6XpTvtbO67UD_1SiACsBk
268
272
  vellum/types/workflow_execution_actual_chat_history_request.py,sha256=skI-SuvBfJc8wxH2EDMqyKCGUgjfFFBUPkCLyncHgmM,2014
269
273
  vellum/types/workflow_execution_actual_json_request.py,sha256=hVKpBukLehwDUopO7iiKv-wTvxDDg4SXMYmmexZDMo0,1951
270
274
  vellum/types/workflow_execution_actual_string_request.py,sha256=uKnv8Ds88GF-Jjc1BoaFhhqmw89MnWeD4JyrpUjjttA,1928
271
- vellum/types/workflow_execution_event_error_code.py,sha256=K_kDBX8NHEdE9bchiQ-uyIqmz3t2fNH7LJ6Vyb8tiM8,1921
275
+ vellum/types/workflow_execution_event_error_code.py,sha256=bFqwC9XU27y5ydVlLTGSWhxWYQg31GXbUjdTHtOn2AQ,2185
272
276
  vellum/types/workflow_execution_event_type.py,sha256=4X7xWU9xymJEsIsA0FNnk1kld8kRmIaZS4dMAkEE4DQ,567
273
277
  vellum/types/workflow_execution_node_result_event.py,sha256=Bt1G9Oh0vX5eQQiWR1EW0meerlZbfWexYwdlOxNXuFQ,1145
274
278
  vellum/types/workflow_execution_workflow_result_event.py,sha256=OjXgi0Z7dmX3aY1CDF2PLzFQhtsfb80dgtMlecvKOXo,1140
275
- vellum/types/workflow_node_result_data.py,sha256=PRa9r7LZzZULEVI56Pj2JFZ8eAxiYO7lMeNRB6T3Lbs,2384
279
+ vellum/types/workflow_node_result_data.py,sha256=XQ3gc1M5DM-NUWtoXtoR2mNJ_KuiHfWoibEN3bVjKYg,2715
276
280
  vellum/types/workflow_node_result_event.py,sha256=4HaS7LzSi0ThPc2xe0k7pjhvvfMB40wajk3zdSEuKJw,1632
277
281
  vellum/types/workflow_node_result_event_state.py,sha256=PwWxuO6cqCPQOoH1woYEahxr3za7yEr2YiS0zuICj4I,1035
278
- vellum/types/workflow_output.py,sha256=IA5FN18UclZiAlcXDODMo2Nb8USsItdxGFOEAz5iMHw,2643
282
+ vellum/types/workflow_output.py,sha256=gmepOAlz9kE4p6wXoJSSpQLb9iURRGQ0JPXxZCiWZtQ,2934
283
+ vellum/types/workflow_output_array.py,sha256=djkrZ-u8joFm0d2d0_8gYTjwqES-KizomcehVdbNG9Y,1139
279
284
  vellum/types/workflow_output_chat_history.py,sha256=--RXF39zD7Ywtk8GQ5zJWY5L6uLIaObZjswrrRTRX2A,1116
280
285
  vellum/types/workflow_output_error.py,sha256=hZEh0Xi2_MuHhfDsl6jRTAvH7-ptqtpTB_rtv2FzWBY,1091
281
286
  vellum/types/workflow_output_function_call.py,sha256=wFzWd38erYxy9f-bmVyQbSUNnxsOfAskLmtmYnf32FY,1108
@@ -290,15 +295,17 @@ vellum/types/workflow_request_json_input_request.py,sha256=cP-FDnuNjabM2gDm7XR8u
290
295
  vellum/types/workflow_request_number_input_request.py,sha256=FzyzrBiE1QRjGyho6rV6zDmTwUKEiHSxJDa_OXtVxxg,1056
291
296
  vellum/types/workflow_request_string_input_request.py,sha256=cE_fci04ITrXC5PNhz-WByw40hTmFpnCBSSjnkXzwHE,1054
292
297
  vellum/types/workflow_result_event.py,sha256=5-HN3_dqTgEiKPnXoxCdzv1C3P9ZP1qL7Y_gDeh9k9w,1347
293
- vellum/types/workflow_result_event_output_data.py,sha256=WugPeifmg-x5Ef6hFZ6L3gQC68_e57Q-xThlcWEBhlA,2500
298
+ vellum/types/workflow_result_event_output_data.py,sha256=-AmGgIALMYoXmYut_pJwWpCM-cebqcXb8coaW7E2aBE,3282
299
+ vellum/types/workflow_result_event_output_data_array.py,sha256=3Eb3_ISQpQASxSyeJQGwWgekfFQpvPQVD4Voynd9od4,1420
294
300
  vellum/types/workflow_result_event_output_data_chat_history.py,sha256=rvSMvssqF8GqYDIVA-7c48O2qa1bKvE3rULM26OEhao,1397
295
301
  vellum/types/workflow_result_event_output_data_error.py,sha256=PMLhZvzVSL3rvbunJAMHUF9Bvjee9P-22oYgzgOoBhk,1372
302
+ vellum/types/workflow_result_event_output_data_function_call.py,sha256=qtxvPDM4vYOEeF8AKhoJIrxld3Lg03CJTbvl2A7dAS0,1389
296
303
  vellum/types/workflow_result_event_output_data_json.py,sha256=SwmsLqJ1kg3WTGfi2lHMxe7AbgLMK7DmDL3rh_iV3Eg,1348
297
304
  vellum/types/workflow_result_event_output_data_number.py,sha256=5IG_4XZhUZjwCfX1KGJD6WwfUxN9TjrkmSMSxH2zMbI,1329
298
305
  vellum/types/workflow_result_event_output_data_search_results.py,sha256=FZeTLuHIBJp0AZUqBOzzMN4ntf_Q3hKP4m3vIzVq2cQ,1404
299
306
  vellum/types/workflow_result_event_output_data_string.py,sha256=XJ7ZFTS2eqIMwa-zXFPDowu3o3JnRUfxC1MJIk8nPDI,1478
300
307
  vellum/types/workflow_stream_event.py,sha256=OQUSzwoM-OCfWxNzeOVVLsjCue_WWqin3tGMtwvp_rc,873
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,,
308
+ vellum_ai-0.3.9.dist-info/LICENSE,sha256=CcaljEIoOBaU-wItPH4PmM_mDCGpyuUY0Er1BGu5Ti8,1073
309
+ vellum_ai-0.3.9.dist-info/METADATA,sha256=TwLtITafP2EkpCPPGOAcCajFcID_8huoAah9OL8HiNk,3486
310
+ vellum_ai-0.3.9.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
311
+ vellum_ai-0.3.9.dist-info/RECORD,,