vellum-ai 0.8.14__py3-none-any.whl → 0.8.16__py3-none-any.whl

Sign up to get free protection for your applications and to get access to all the features.
Files changed (65) hide show
  1. vellum/__init__.py +18 -0
  2. vellum/core/client_wrapper.py +3 -3
  3. vellum/core/http_client.py +22 -16
  4. vellum/core/pydantic_utilities.py +26 -3
  5. vellum/types/__init__.py +18 -0
  6. vellum/types/array_variable_value.py +27 -0
  7. vellum/types/array_variable_value_item.py +9 -0
  8. vellum/types/array_vellum_value.py +31 -0
  9. vellum/types/array_vellum_value_item.py +15 -1
  10. vellum/types/array_vellum_value_item_request.py +9 -0
  11. vellum/types/array_vellum_value_request.py +31 -0
  12. vellum/types/chat_history_variable_value.py +21 -0
  13. vellum/types/chat_history_vellum_value.py +25 -0
  14. vellum/types/chat_history_vellum_value_request.py +25 -0
  15. vellum/types/code_execution_node_array_result.py +6 -0
  16. vellum/types/code_execution_node_result.py +6 -0
  17. vellum/types/code_execution_node_result_data.py +6 -0
  18. vellum/types/create_test_suite_test_case_request.py +6 -0
  19. vellum/types/execute_workflow_response.py +6 -0
  20. vellum/types/execution_array_vellum_value.py +6 -0
  21. vellum/types/external_test_case_execution.py +6 -0
  22. vellum/types/external_test_case_execution_request.py +6 -0
  23. vellum/types/fulfilled_execute_workflow_workflow_result_event.py +8 -0
  24. vellum/types/fulfilled_workflow_node_result_event.py +8 -0
  25. vellum/types/initiated_workflow_node_result_event.py +6 -0
  26. vellum/types/named_test_case_array_variable_value.py +6 -0
  27. vellum/types/named_test_case_array_variable_value_request.py +8 -0
  28. vellum/types/node_input_compiled_array_value.py +6 -0
  29. vellum/types/node_output_compiled_array_value.py +6 -0
  30. vellum/types/paginated_test_suite_run_execution_list.py +6 -0
  31. vellum/types/paginated_test_suite_test_case_list.py +6 -0
  32. vellum/types/rejected_workflow_node_result_event.py +6 -0
  33. vellum/types/replace_test_suite_test_case_request.py +6 -0
  34. vellum/types/search_results_variable_value.py +21 -0
  35. vellum/types/search_results_vellum_value.py +25 -0
  36. vellum/types/search_results_vellum_value_request.py +25 -0
  37. vellum/types/streaming_workflow_node_result_event.py +8 -0
  38. vellum/types/templating_node_array_result.py +6 -0
  39. vellum/types/templating_node_result.py +6 -0
  40. vellum/types/templating_node_result_data.py +6 -0
  41. vellum/types/terminal_node_array_result.py +6 -0
  42. vellum/types/terminal_node_result.py +6 -0
  43. vellum/types/terminal_node_result_data.py +6 -0
  44. vellum/types/test_case_array_variable_value.py +6 -0
  45. vellum/types/test_suite_run_execution.py +6 -0
  46. vellum/types/test_suite_run_execution_array_output.py +6 -0
  47. vellum/types/test_suite_run_external_exec_config.py +6 -0
  48. vellum/types/test_suite_run_external_exec_config_data.py +6 -0
  49. vellum/types/test_suite_run_external_exec_config_data_request.py +8 -0
  50. vellum/types/test_suite_run_external_exec_config_request.py +8 -0
  51. vellum/types/test_suite_run_read.py +6 -0
  52. vellum/types/test_suite_test_case.py +6 -0
  53. vellum/types/test_suite_test_case_create_bulk_operation_request.py +8 -0
  54. vellum/types/test_suite_test_case_replace_bulk_operation_request.py +8 -0
  55. vellum/types/test_suite_test_case_upsert_bulk_operation_request.py +8 -0
  56. vellum/types/upsert_test_suite_test_case_request.py +6 -0
  57. vellum/types/workflow_execution_node_result_event.py +8 -0
  58. vellum/types/workflow_execution_workflow_result_event.py +8 -0
  59. vellum/types/workflow_output_array.py +6 -0
  60. vellum/types/workflow_result_event.py +8 -0
  61. vellum/types/workflow_result_event_output_data_array.py +6 -0
  62. {vellum_ai-0.8.14.dist-info → vellum_ai-0.8.16.dist-info}/METADATA +1 -1
  63. {vellum_ai-0.8.14.dist-info → vellum_ai-0.8.16.dist-info}/RECORD +65 -56
  64. {vellum_ai-0.8.14.dist-info → vellum_ai-0.8.16.dist-info}/LICENSE +0 -0
  65. {vellum_ai-0.8.14.dist-info → vellum_ai-0.8.16.dist-info}/WHEEL +0 -0
@@ -1,10 +1,13 @@
1
1
  # This file was auto-generated by Fern from our API Definition.
2
2
 
3
+ from __future__ import annotations
3
4
  from ..core.pydantic_utilities import UniversalBaseModel
5
+ from .array_vellum_value import ArrayVellumValue
4
6
  import typing
5
7
  from .external_test_case_execution import ExternalTestCaseExecution
6
8
  import pydantic
7
9
  from ..core.pydantic_utilities import IS_PYDANTIC_V2
10
+ from ..core.pydantic_utilities import update_forward_refs
8
11
 
9
12
 
10
13
  class TestSuiteRunExternalExecConfigData(UniversalBaseModel):
@@ -21,3 +24,6 @@ class TestSuiteRunExternalExecConfigData(UniversalBaseModel):
21
24
  frozen = True
22
25
  smart_union = True
23
26
  extra = pydantic.Extra.allow
27
+
28
+
29
+ update_forward_refs(ArrayVellumValue, TestSuiteRunExternalExecConfigData=TestSuiteRunExternalExecConfigData)
@@ -1,10 +1,13 @@
1
1
  # This file was auto-generated by Fern from our API Definition.
2
2
 
3
+ from __future__ import annotations
3
4
  from ..core.pydantic_utilities import UniversalBaseModel
5
+ from .array_vellum_value_request import ArrayVellumValueRequest
4
6
  import typing
5
7
  from .external_test_case_execution_request import ExternalTestCaseExecutionRequest
6
8
  import pydantic
7
9
  from ..core.pydantic_utilities import IS_PYDANTIC_V2
10
+ from ..core.pydantic_utilities import update_forward_refs
8
11
 
9
12
 
10
13
  class TestSuiteRunExternalExecConfigDataRequest(UniversalBaseModel):
@@ -21,3 +24,8 @@ class TestSuiteRunExternalExecConfigDataRequest(UniversalBaseModel):
21
24
  frozen = True
22
25
  smart_union = True
23
26
  extra = pydantic.Extra.allow
27
+
28
+
29
+ update_forward_refs(
30
+ ArrayVellumValueRequest, TestSuiteRunExternalExecConfigDataRequest=TestSuiteRunExternalExecConfigDataRequest
31
+ )
@@ -1,10 +1,13 @@
1
1
  # This file was auto-generated by Fern from our API Definition.
2
2
 
3
+ from __future__ import annotations
3
4
  from ..core.pydantic_utilities import UniversalBaseModel
5
+ from .array_vellum_value_request import ArrayVellumValueRequest
4
6
  from .test_suite_run_external_exec_config_data_request import TestSuiteRunExternalExecConfigDataRequest
5
7
  import typing
6
8
  import pydantic
7
9
  from ..core.pydantic_utilities import IS_PYDANTIC_V2
10
+ from ..core.pydantic_utilities import update_forward_refs
8
11
 
9
12
 
10
13
  class TestSuiteRunExternalExecConfigRequest(UniversalBaseModel):
@@ -28,3 +31,8 @@ class TestSuiteRunExternalExecConfigRequest(UniversalBaseModel):
28
31
  frozen = True
29
32
  smart_union = True
30
33
  extra = pydantic.Extra.allow
34
+
35
+
36
+ update_forward_refs(
37
+ ArrayVellumValueRequest, TestSuiteRunExternalExecConfigRequest=TestSuiteRunExternalExecConfigRequest
38
+ )
@@ -1,6 +1,8 @@
1
1
  # This file was auto-generated by Fern from our API Definition.
2
2
 
3
+ from __future__ import annotations
3
4
  from ..core.pydantic_utilities import UniversalBaseModel
5
+ from .array_vellum_value import ArrayVellumValue
4
6
  import datetime as dt
5
7
  from .test_suite_run_test_suite import TestSuiteRunTestSuite
6
8
  from .test_suite_run_state import TestSuiteRunState
@@ -8,6 +10,7 @@ import pydantic
8
10
  import typing
9
11
  from .test_suite_run_exec_config import TestSuiteRunExecConfig
10
12
  from ..core.pydantic_utilities import IS_PYDANTIC_V2
13
+ from ..core.pydantic_utilities import update_forward_refs
11
14
 
12
15
 
13
16
  class TestSuiteRunRead(UniversalBaseModel):
@@ -38,3 +41,6 @@ class TestSuiteRunRead(UniversalBaseModel):
38
41
  frozen = True
39
42
  smart_union = True
40
43
  extra = pydantic.Extra.allow
44
+
45
+
46
+ update_forward_refs(ArrayVellumValue, TestSuiteRunRead=TestSuiteRunRead)
@@ -1,10 +1,13 @@
1
1
  # This file was auto-generated by Fern from our API Definition.
2
2
 
3
+ from __future__ import annotations
3
4
  from ..core.pydantic_utilities import UniversalBaseModel
5
+ from .array_vellum_value import ArrayVellumValue
4
6
  import typing
5
7
  from .test_case_variable_value import TestCaseVariableValue
6
8
  from ..core.pydantic_utilities import IS_PYDANTIC_V2
7
9
  import pydantic
10
+ from ..core.pydantic_utilities import update_forward_refs
8
11
 
9
12
 
10
13
  class TestSuiteTestCase(UniversalBaseModel):
@@ -22,3 +25,6 @@ class TestSuiteTestCase(UniversalBaseModel):
22
25
  frozen = True
23
26
  smart_union = True
24
27
  extra = pydantic.Extra.allow
28
+
29
+
30
+ update_forward_refs(ArrayVellumValue, TestSuiteTestCase=TestSuiteTestCase)
@@ -1,10 +1,13 @@
1
1
  # This file was auto-generated by Fern from our API Definition.
2
2
 
3
+ from __future__ import annotations
3
4
  from ..core.pydantic_utilities import UniversalBaseModel
5
+ from .array_vellum_value_request import ArrayVellumValueRequest
4
6
  import pydantic
5
7
  import typing
6
8
  from .create_test_suite_test_case_request import CreateTestSuiteTestCaseRequest
7
9
  from ..core.pydantic_utilities import IS_PYDANTIC_V2
10
+ from ..core.pydantic_utilities import update_forward_refs
8
11
 
9
12
 
10
13
  class TestSuiteTestCaseCreateBulkOperationRequest(UniversalBaseModel):
@@ -28,3 +31,8 @@ class TestSuiteTestCaseCreateBulkOperationRequest(UniversalBaseModel):
28
31
  frozen = True
29
32
  smart_union = True
30
33
  extra = pydantic.Extra.allow
34
+
35
+
36
+ update_forward_refs(
37
+ ArrayVellumValueRequest, TestSuiteTestCaseCreateBulkOperationRequest=TestSuiteTestCaseCreateBulkOperationRequest
38
+ )
@@ -1,10 +1,13 @@
1
1
  # This file was auto-generated by Fern from our API Definition.
2
2
 
3
+ from __future__ import annotations
3
4
  from ..core.pydantic_utilities import UniversalBaseModel
5
+ from .array_vellum_value_request import ArrayVellumValueRequest
4
6
  import pydantic
5
7
  import typing
6
8
  from .replace_test_suite_test_case_request import ReplaceTestSuiteTestCaseRequest
7
9
  from ..core.pydantic_utilities import IS_PYDANTIC_V2
10
+ from ..core.pydantic_utilities import update_forward_refs
8
11
 
9
12
 
10
13
  class TestSuiteTestCaseReplaceBulkOperationRequest(UniversalBaseModel):
@@ -28,3 +31,8 @@ class TestSuiteTestCaseReplaceBulkOperationRequest(UniversalBaseModel):
28
31
  frozen = True
29
32
  smart_union = True
30
33
  extra = pydantic.Extra.allow
34
+
35
+
36
+ update_forward_refs(
37
+ ArrayVellumValueRequest, TestSuiteTestCaseReplaceBulkOperationRequest=TestSuiteTestCaseReplaceBulkOperationRequest
38
+ )
@@ -1,10 +1,13 @@
1
1
  # This file was auto-generated by Fern from our API Definition.
2
2
 
3
+ from __future__ import annotations
3
4
  from ..core.pydantic_utilities import UniversalBaseModel
5
+ from .array_vellum_value_request import ArrayVellumValueRequest
4
6
  import pydantic
5
7
  import typing
6
8
  from .upsert_test_suite_test_case_request import UpsertTestSuiteTestCaseRequest
7
9
  from ..core.pydantic_utilities import IS_PYDANTIC_V2
10
+ from ..core.pydantic_utilities import update_forward_refs
8
11
 
9
12
 
10
13
  class TestSuiteTestCaseUpsertBulkOperationRequest(UniversalBaseModel):
@@ -28,3 +31,8 @@ class TestSuiteTestCaseUpsertBulkOperationRequest(UniversalBaseModel):
28
31
  frozen = True
29
32
  smart_union = True
30
33
  extra = pydantic.Extra.allow
34
+
35
+
36
+ update_forward_refs(
37
+ ArrayVellumValueRequest, TestSuiteTestCaseUpsertBulkOperationRequest=TestSuiteTestCaseUpsertBulkOperationRequest
38
+ )
@@ -1,10 +1,13 @@
1
1
  # This file was auto-generated by Fern from our API Definition.
2
2
 
3
+ from __future__ import annotations
3
4
  from ..core.pydantic_utilities import UniversalBaseModel
5
+ from .array_vellum_value_request import ArrayVellumValueRequest
4
6
  import typing
5
7
  import pydantic
6
8
  from .named_test_case_variable_value_request import NamedTestCaseVariableValueRequest
7
9
  from ..core.pydantic_utilities import IS_PYDANTIC_V2
10
+ from ..core.pydantic_utilities import update_forward_refs
8
11
 
9
12
 
10
13
  class UpsertTestSuiteTestCaseRequest(UniversalBaseModel):
@@ -41,3 +44,6 @@ class UpsertTestSuiteTestCaseRequest(UniversalBaseModel):
41
44
  frozen = True
42
45
  smart_union = True
43
46
  extra = pydantic.Extra.allow
47
+
48
+
49
+ update_forward_refs(ArrayVellumValueRequest, UpsertTestSuiteTestCaseRequest=UpsertTestSuiteTestCaseRequest)
@@ -1,10 +1,14 @@
1
1
  # This file was auto-generated by Fern from our API Definition.
2
2
 
3
+ from __future__ import annotations
3
4
  from ..core.pydantic_utilities import UniversalBaseModel
5
+ from .array_variable_value import ArrayVariableValue
6
+ from .array_vellum_value import ArrayVellumValue
4
7
  import typing
5
8
  from .workflow_node_result_event import WorkflowNodeResultEvent
6
9
  from ..core.pydantic_utilities import IS_PYDANTIC_V2
7
10
  import pydantic
11
+ from ..core.pydantic_utilities import update_forward_refs
8
12
 
9
13
 
10
14
  class WorkflowExecutionNodeResultEvent(UniversalBaseModel):
@@ -26,3 +30,7 @@ class WorkflowExecutionNodeResultEvent(UniversalBaseModel):
26
30
  frozen = True
27
31
  smart_union = True
28
32
  extra = pydantic.Extra.allow
33
+
34
+
35
+ update_forward_refs(ArrayVariableValue, WorkflowExecutionNodeResultEvent=WorkflowExecutionNodeResultEvent)
36
+ update_forward_refs(ArrayVellumValue, WorkflowExecutionNodeResultEvent=WorkflowExecutionNodeResultEvent)
@@ -1,10 +1,14 @@
1
1
  # This file was auto-generated by Fern from our API Definition.
2
2
 
3
+ from __future__ import annotations
3
4
  from ..core.pydantic_utilities import UniversalBaseModel
5
+ from .array_variable_value import ArrayVariableValue
6
+ from .array_vellum_value import ArrayVellumValue
4
7
  import typing
5
8
  from .workflow_result_event import WorkflowResultEvent
6
9
  from ..core.pydantic_utilities import IS_PYDANTIC_V2
7
10
  import pydantic
11
+ from ..core.pydantic_utilities import update_forward_refs
8
12
 
9
13
 
10
14
  class WorkflowExecutionWorkflowResultEvent(UniversalBaseModel):
@@ -26,3 +30,7 @@ class WorkflowExecutionWorkflowResultEvent(UniversalBaseModel):
26
30
  frozen = True
27
31
  smart_union = True
28
32
  extra = pydantic.Extra.allow
33
+
34
+
35
+ update_forward_refs(ArrayVariableValue, WorkflowExecutionWorkflowResultEvent=WorkflowExecutionWorkflowResultEvent)
36
+ update_forward_refs(ArrayVellumValue, WorkflowExecutionWorkflowResultEvent=WorkflowExecutionWorkflowResultEvent)
@@ -1,10 +1,13 @@
1
1
  # This file was auto-generated by Fern from our API Definition.
2
2
 
3
+ from __future__ import annotations
3
4
  from ..core.pydantic_utilities import UniversalBaseModel
5
+ from .array_vellum_value import ArrayVellumValue
4
6
  import pydantic
5
7
  import typing
6
8
  from .array_vellum_value_item import ArrayVellumValueItem
7
9
  from ..core.pydantic_utilities import IS_PYDANTIC_V2
10
+ from ..core.pydantic_utilities import update_forward_refs
8
11
 
9
12
 
10
13
  class WorkflowOutputArray(UniversalBaseModel):
@@ -29,3 +32,6 @@ class WorkflowOutputArray(UniversalBaseModel):
29
32
  frozen = True
30
33
  smart_union = True
31
34
  extra = pydantic.Extra.allow
35
+
36
+
37
+ update_forward_refs(ArrayVellumValue, WorkflowOutputArray=WorkflowOutputArray)
@@ -1,6 +1,9 @@
1
1
  # This file was auto-generated by Fern from our API Definition.
2
2
 
3
+ from __future__ import annotations
3
4
  from ..core.pydantic_utilities import UniversalBaseModel
5
+ from .array_variable_value import ArrayVariableValue
6
+ from .array_vellum_value import ArrayVellumValue
4
7
  from .workflow_node_result_event_state import WorkflowNodeResultEventState
5
8
  import datetime as dt
6
9
  import typing
@@ -10,6 +13,7 @@ from .workflow_output import WorkflowOutput
10
13
  from .execution_vellum_value import ExecutionVellumValue
11
14
  from ..core.pydantic_utilities import IS_PYDANTIC_V2
12
15
  import pydantic
16
+ from ..core.pydantic_utilities import update_forward_refs
13
17
 
14
18
 
15
19
  class WorkflowResultEvent(UniversalBaseModel):
@@ -29,3 +33,7 @@ class WorkflowResultEvent(UniversalBaseModel):
29
33
  frozen = True
30
34
  smart_union = True
31
35
  extra = pydantic.Extra.allow
36
+
37
+
38
+ update_forward_refs(ArrayVariableValue, WorkflowResultEvent=WorkflowResultEvent)
39
+ update_forward_refs(ArrayVellumValue, WorkflowResultEvent=WorkflowResultEvent)
@@ -1,11 +1,14 @@
1
1
  # This file was auto-generated by Fern from our API Definition.
2
2
 
3
+ from __future__ import annotations
3
4
  from ..core.pydantic_utilities import UniversalBaseModel
5
+ from .array_variable_value import ArrayVariableValue
4
6
  import typing
5
7
  from .workflow_node_result_event_state import WorkflowNodeResultEventState
6
8
  import pydantic
7
9
  from .array_variable_value_item import ArrayVariableValueItem
8
10
  from ..core.pydantic_utilities import IS_PYDANTIC_V2
11
+ from ..core.pydantic_utilities import update_forward_refs
9
12
 
10
13
 
11
14
  class WorkflowResultEventOutputDataArray(UniversalBaseModel):
@@ -33,3 +36,6 @@ class WorkflowResultEventOutputDataArray(UniversalBaseModel):
33
36
  frozen = True
34
37
  smart_union = True
35
38
  extra = pydantic.Extra.allow
39
+
40
+
41
+ update_forward_refs(ArrayVariableValue, WorkflowResultEventOutputDataArray=WorkflowResultEventOutputDataArray)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: vellum-ai
3
- Version: 0.8.14
3
+ Version: 0.8.16
4
4
  Summary:
5
5
  License: MIT
6
6
  Requires-Python: >=3.8,<4.0