vellum-ai 1.11.2__py3-none-any.whl → 1.13.5__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of vellum-ai might be problematic. Click here for more details.
- vellum/__init__.py +18 -0
- vellum/client/README.md +1 -1
- vellum/client/core/client_wrapper.py +2 -2
- vellum/client/core/force_multipart.py +4 -2
- vellum/client/core/http_response.py +1 -1
- vellum/client/core/pydantic_utilities.py +7 -4
- vellum/client/errors/too_many_requests_error.py +1 -2
- vellum/client/reference.md +677 -76
- vellum/client/resources/container_images/client.py +299 -0
- vellum/client/resources/container_images/raw_client.py +286 -0
- vellum/client/resources/documents/client.py +20 -10
- vellum/client/resources/documents/raw_client.py +20 -10
- vellum/client/resources/events/raw_client.py +4 -4
- vellum/client/resources/integration_auth_configs/client.py +2 -0
- vellum/client/resources/integration_auth_configs/raw_client.py +2 -0
- vellum/client/resources/integration_providers/client.py +28 -2
- vellum/client/resources/integration_providers/raw_client.py +24 -0
- vellum/client/resources/integrations/client.py +52 -4
- vellum/client/resources/integrations/raw_client.py +61 -0
- vellum/client/resources/workflow_deployments/client.py +156 -0
- vellum/client/resources/workflow_deployments/raw_client.py +334 -0
- vellum/client/resources/workflows/client.py +212 -8
- vellum/client/resources/workflows/raw_client.py +343 -6
- vellum/client/types/__init__.py +18 -0
- vellum/client/types/api_actor_type_enum.py +1 -1
- vellum/client/types/check_workflow_execution_status_error.py +21 -0
- vellum/client/types/check_workflow_execution_status_response.py +29 -0
- vellum/client/types/code_execution_package_request.py +21 -0
- vellum/client/types/composio_execute_tool_request.py +5 -0
- vellum/client/types/composio_tool_definition.py +1 -0
- vellum/client/types/container_image_build_config.py +1 -0
- vellum/client/types/container_image_container_image_tag.py +1 -0
- vellum/client/types/dataset_row_push_request.py +3 -0
- vellum/client/types/document_document_to_document_index.py +1 -0
- vellum/client/types/integration_name.py +24 -0
- vellum/client/types/node_execution_fulfilled_body.py +1 -0
- vellum/client/types/node_execution_log_body.py +24 -0
- vellum/client/types/node_execution_log_event.py +47 -0
- vellum/client/types/prompt_deployment_release_prompt_deployment.py +1 -0
- vellum/client/types/runner_config_request.py +24 -0
- vellum/client/types/severity_enum.py +5 -0
- vellum/client/types/slim_composio_tool_definition.py +1 -0
- vellum/client/types/slim_document_document_to_document_index.py +2 -0
- vellum/client/types/type_checker_enum.py +5 -0
- vellum/client/types/vellum_audio.py +5 -1
- vellum/client/types/vellum_audio_request.py +5 -1
- vellum/client/types/vellum_document.py +5 -1
- vellum/client/types/vellum_document_request.py +5 -1
- vellum/client/types/vellum_image.py +5 -1
- vellum/client/types/vellum_image_request.py +5 -1
- vellum/client/types/vellum_node_execution_event.py +2 -0
- vellum/client/types/vellum_variable.py +5 -0
- vellum/client/types/vellum_variable_extensions.py +1 -0
- vellum/client/types/vellum_variable_type.py +1 -0
- vellum/client/types/vellum_video.py +5 -1
- vellum/client/types/vellum_video_request.py +5 -1
- vellum/client/types/workflow_deployment_release_workflow_deployment.py +1 -0
- vellum/client/types/workflow_event.py +2 -0
- vellum/client/types/workflow_execution_fulfilled_body.py +1 -0
- vellum/client/types/workflow_result_event_output_data_array.py +1 -1
- vellum/client/types/workflow_result_event_output_data_chat_history.py +1 -1
- vellum/client/types/workflow_result_event_output_data_error.py +1 -1
- vellum/client/types/workflow_result_event_output_data_function_call.py +1 -1
- vellum/client/types/workflow_result_event_output_data_json.py +1 -1
- vellum/client/types/workflow_result_event_output_data_number.py +1 -1
- vellum/client/types/workflow_result_event_output_data_search_results.py +1 -1
- vellum/client/types/workflow_result_event_output_data_string.py +1 -1
- vellum/client/types/workflow_sandbox_execute_node_response.py +8 -0
- vellum/plugins/vellum_mypy.py +37 -2
- vellum/types/check_workflow_execution_status_error.py +3 -0
- vellum/types/check_workflow_execution_status_response.py +3 -0
- vellum/types/code_execution_package_request.py +3 -0
- vellum/types/node_execution_log_body.py +3 -0
- vellum/types/node_execution_log_event.py +3 -0
- vellum/types/runner_config_request.py +3 -0
- vellum/types/severity_enum.py +3 -0
- vellum/types/type_checker_enum.py +3 -0
- vellum/types/workflow_sandbox_execute_node_response.py +3 -0
- vellum/utils/files/mixin.py +26 -0
- vellum/utils/files/tests/test_mixin.py +62 -0
- vellum/utils/tests/test_vellum_client.py +95 -0
- vellum/utils/uuid.py +19 -2
- vellum/utils/vellum_client.py +10 -3
- vellum/workflows/__init__.py +7 -1
- vellum/workflows/descriptors/base.py +86 -0
- vellum/workflows/descriptors/tests/test_utils.py +9 -0
- vellum/workflows/errors/tests/__init__.py +0 -0
- vellum/workflows/errors/tests/test_types.py +52 -0
- vellum/workflows/errors/types.py +1 -0
- vellum/workflows/events/node.py +24 -0
- vellum/workflows/events/tests/test_event.py +123 -0
- vellum/workflows/events/types.py +2 -1
- vellum/workflows/events/workflow.py +28 -2
- vellum/workflows/expressions/add.py +3 -0
- vellum/workflows/expressions/tests/test_add.py +24 -0
- vellum/workflows/graph/graph.py +26 -5
- vellum/workflows/graph/tests/test_graph.py +228 -1
- vellum/workflows/inputs/base.py +22 -6
- vellum/workflows/inputs/dataset_row.py +121 -16
- vellum/workflows/inputs/tests/test_inputs.py +3 -3
- vellum/workflows/integrations/tests/test_vellum_integration_service.py +84 -0
- vellum/workflows/integrations/vellum_integration_service.py +12 -1
- vellum/workflows/loaders/base.py +2 -0
- vellum/workflows/nodes/bases/base.py +37 -16
- vellum/workflows/nodes/bases/tests/test_base_node.py +104 -1
- vellum/workflows/nodes/core/inline_subworkflow_node/node.py +1 -0
- vellum/workflows/nodes/core/inline_subworkflow_node/tests/test_node.py +1 -1
- vellum/workflows/nodes/core/map_node/node.py +7 -5
- vellum/workflows/nodes/core/map_node/tests/test_node.py +33 -0
- vellum/workflows/nodes/core/retry_node/node.py +1 -0
- vellum/workflows/nodes/core/try_node/node.py +1 -0
- vellum/workflows/nodes/displayable/api_node/node.py +3 -2
- vellum/workflows/nodes/displayable/api_node/tests/test_api_node.py +38 -0
- vellum/workflows/nodes/displayable/bases/api_node/node.py +1 -1
- vellum/workflows/nodes/displayable/bases/base_prompt_node/node.py +18 -1
- vellum/workflows/nodes/displayable/bases/inline_prompt_node/node.py +109 -2
- vellum/workflows/nodes/displayable/bases/prompt_deployment_node.py +13 -2
- vellum/workflows/nodes/displayable/code_execution_node/node.py +9 -15
- vellum/workflows/nodes/displayable/code_execution_node/tests/test_node.py +65 -24
- vellum/workflows/nodes/displayable/code_execution_node/utils.py +3 -0
- vellum/workflows/nodes/displayable/final_output_node/node.py +24 -69
- vellum/workflows/nodes/displayable/final_output_node/tests/test_node.py +53 -3
- vellum/workflows/nodes/displayable/note_node/node.py +4 -1
- vellum/workflows/nodes/displayable/subworkflow_deployment_node/node.py +16 -5
- vellum/workflows/nodes/displayable/tests/test_text_prompt_deployment_node.py +47 -0
- vellum/workflows/nodes/displayable/tool_calling_node/node.py +74 -34
- vellum/workflows/nodes/displayable/tool_calling_node/tests/test_node.py +204 -8
- vellum/workflows/nodes/displayable/tool_calling_node/utils.py +92 -71
- vellum/workflows/nodes/mocks.py +47 -213
- vellum/workflows/nodes/tests/test_mocks.py +0 -177
- vellum/workflows/nodes/utils.py +23 -8
- vellum/workflows/outputs/base.py +36 -3
- vellum/workflows/references/environment_variable.py +1 -11
- vellum/workflows/references/lazy.py +8 -0
- vellum/workflows/references/state_value.py +24 -1
- vellum/workflows/references/tests/test_lazy.py +58 -0
- vellum/workflows/references/trigger.py +8 -3
- vellum/workflows/references/workflow_input.py +8 -0
- vellum/workflows/resolvers/resolver.py +13 -3
- vellum/workflows/resolvers/tests/test_resolver.py +31 -0
- vellum/workflows/runner/runner.py +159 -14
- vellum/workflows/runner/tests/__init__.py +0 -0
- vellum/workflows/runner/tests/test_runner.py +170 -0
- vellum/workflows/sandbox.py +7 -8
- vellum/workflows/state/base.py +89 -30
- vellum/workflows/state/context.py +74 -3
- vellum/workflows/state/tests/test_state.py +269 -1
- vellum/workflows/tests/test_dataset_row.py +8 -7
- vellum/workflows/tests/test_sandbox.py +97 -8
- vellum/workflows/triggers/__init__.py +2 -1
- vellum/workflows/triggers/base.py +160 -28
- vellum/workflows/triggers/chat_message.py +141 -0
- vellum/workflows/triggers/integration.py +12 -0
- vellum/workflows/triggers/manual.py +3 -1
- vellum/workflows/triggers/schedule.py +3 -1
- vellum/workflows/triggers/tests/test_chat_message.py +257 -0
- vellum/workflows/types/core.py +18 -0
- vellum/workflows/types/definition.py +6 -13
- vellum/workflows/types/generics.py +12 -0
- vellum/workflows/types/tests/test_utils.py +12 -0
- vellum/workflows/types/utils.py +32 -2
- vellum/workflows/types/workflow_metadata.py +124 -0
- vellum/workflows/utils/functions.py +152 -16
- vellum/workflows/utils/pydantic_schema.py +19 -1
- vellum/workflows/utils/tests/test_functions.py +123 -8
- vellum/workflows/utils/tests/test_validate.py +79 -0
- vellum/workflows/utils/tests/test_vellum_variables.py +62 -2
- vellum/workflows/utils/uuids.py +90 -0
- vellum/workflows/utils/validate.py +108 -0
- vellum/workflows/utils/vellum_variables.py +96 -16
- vellum/workflows/workflows/base.py +177 -35
- vellum/workflows/workflows/tests/test_base_workflow.py +51 -0
- {vellum_ai-1.11.2.dist-info → vellum_ai-1.13.5.dist-info}/METADATA +6 -1
- {vellum_ai-1.11.2.dist-info → vellum_ai-1.13.5.dist-info}/RECORD +274 -227
- vellum_cli/__init__.py +21 -0
- vellum_cli/config.py +16 -2
- vellum_cli/pull.py +2 -0
- vellum_cli/push.py +23 -10
- vellum_cli/tests/conftest.py +8 -13
- vellum_cli/tests/test_image_push.py +4 -11
- vellum_cli/tests/test_pull.py +83 -68
- vellum_cli/tests/test_push.py +251 -2
- vellum_ee/assets/node-definitions.json +225 -12
- vellum_ee/scripts/generate_node_definitions.py +15 -3
- vellum_ee/workflows/display/base.py +4 -3
- vellum_ee/workflows/display/nodes/base_node_display.py +44 -11
- vellum_ee/workflows/display/nodes/tests/test_base_node_display.py +93 -0
- vellum_ee/workflows/display/nodes/types.py +1 -0
- vellum_ee/workflows/display/nodes/vellum/__init__.py +0 -2
- vellum_ee/workflows/display/nodes/vellum/base_adornment_node.py +5 -2
- vellum_ee/workflows/display/nodes/vellum/code_execution_node.py +1 -1
- vellum_ee/workflows/display/nodes/vellum/inline_prompt_node.py +10 -2
- vellum_ee/workflows/display/nodes/vellum/inline_subworkflow_node.py +17 -14
- vellum_ee/workflows/display/nodes/vellum/map_node.py +2 -0
- vellum_ee/workflows/display/nodes/vellum/note_node.py +18 -3
- vellum_ee/workflows/display/nodes/vellum/subworkflow_deployment_node.py +37 -14
- vellum_ee/workflows/display/nodes/vellum/tests/test_code_execution_node.py +62 -2
- vellum_ee/workflows/display/nodes/vellum/tests/test_final_output_node.py +136 -0
- vellum_ee/workflows/display/nodes/vellum/tests/test_note_node.py +44 -7
- vellum_ee/workflows/display/nodes/vellum/tests/test_prompt_node.py +5 -13
- vellum_ee/workflows/display/nodes/vellum/tests/test_subworkflow_deployment_node.py +27 -17
- vellum_ee/workflows/display/nodes/vellum/tests/test_tool_calling_node.py +145 -22
- vellum_ee/workflows/display/nodes/vellum/tests/test_utils.py +107 -2
- vellum_ee/workflows/display/nodes/vellum/utils.py +54 -12
- vellum_ee/workflows/display/tests/test_base_workflow_display.py +13 -16
- vellum_ee/workflows/display/tests/test_json_schema_validation.py +190 -0
- vellum_ee/workflows/display/tests/test_mocks.py +912 -0
- vellum_ee/workflows/display/tests/workflow_serialization/generic_nodes/test_adornments_serialization.py +14 -2
- vellum_ee/workflows/display/tests/workflow_serialization/generic_nodes/test_attributes_serialization.py +109 -0
- vellum_ee/workflows/display/tests/workflow_serialization/generic_nodes/test_outputs_serialization.py +3 -0
- vellum_ee/workflows/display/tests/workflow_serialization/generic_nodes/test_ports_serialization.py +187 -1
- vellum_ee/workflows/display/tests/workflow_serialization/test_basic_api_node_serialization.py +34 -325
- vellum_ee/workflows/display/tests/workflow_serialization/test_basic_code_execution_node_serialization.py +42 -393
- vellum_ee/workflows/display/tests/workflow_serialization/test_basic_conditional_node_serialization.py +13 -315
- vellum_ee/workflows/display/tests/workflow_serialization/test_basic_default_state_serialization.py +2 -122
- vellum_ee/workflows/display/tests/workflow_serialization/test_basic_error_node_serialization.py +24 -115
- vellum_ee/workflows/display/tests/workflow_serialization/test_basic_generic_node_serialization.py +4 -93
- vellum_ee/workflows/display/tests/workflow_serialization/test_basic_guardrail_node_serialization.py +7 -80
- vellum_ee/workflows/display/tests/workflow_serialization/test_basic_inline_prompt_node_serialization.py +9 -101
- vellum_ee/workflows/display/tests/workflow_serialization/test_basic_inline_subworkflow_serialization.py +77 -308
- vellum_ee/workflows/display/tests/workflow_serialization/test_basic_map_node_serialization.py +62 -324
- vellum_ee/workflows/display/tests/workflow_serialization/test_basic_merge_node_serialization.py +3 -82
- vellum_ee/workflows/display/tests/workflow_serialization/test_basic_prompt_deployment_serialization.py +4 -142
- vellum_ee/workflows/display/tests/workflow_serialization/test_basic_search_node_serialization.py +1 -61
- vellum_ee/workflows/display/tests/workflow_serialization/test_basic_set_state_node_serialization.py +4 -4
- vellum_ee/workflows/display/tests/workflow_serialization/test_basic_subworkflow_deployment_serialization.py +205 -134
- vellum_ee/workflows/display/tests/workflow_serialization/test_basic_templating_node_serialization.py +34 -146
- vellum_ee/workflows/display/tests/workflow_serialization/test_basic_terminal_node_serialization.py +2 -0
- vellum_ee/workflows/display/tests/workflow_serialization/test_basic_tool_calling_node_composio_serialization.py +8 -6
- vellum_ee/workflows/display/tests/workflow_serialization/test_basic_tool_calling_node_inline_workflow_serialization.py +137 -266
- vellum_ee/workflows/display/tests/workflow_serialization/test_basic_tool_calling_node_inline_workflow_tool_wrapper_serialization.py +84 -0
- vellum_ee/workflows/display/tests/workflow_serialization/test_basic_tool_calling_node_mcp_serialization.py +55 -16
- vellum_ee/workflows/display/tests/workflow_serialization/test_basic_tool_calling_node_serialization.py +15 -1
- vellum_ee/workflows/display/tests/workflow_serialization/test_basic_tool_calling_node_tool_wrapper_serialization.py +71 -0
- vellum_ee/workflows/display/tests/workflow_serialization/test_basic_tool_calling_node_vellum_integration_serialization.py +119 -0
- vellum_ee/workflows/display/tests/workflow_serialization/test_basic_tool_calling_node_workflow_deployment_serialization.py +1 -1
- vellum_ee/workflows/display/tests/workflow_serialization/test_basic_try_node_serialization.py +0 -2
- vellum_ee/workflows/display/tests/workflow_serialization/test_chat_message_dict_reference_serialization.py +22 -1
- vellum_ee/workflows/display/tests/workflow_serialization/test_chat_message_trigger_serialization.py +412 -0
- vellum_ee/workflows/display/tests/workflow_serialization/test_code_tool_node_reference_error.py +106 -0
- vellum_ee/workflows/display/tests/workflow_serialization/test_complex_terminal_node_serialization.py +9 -41
- vellum_ee/workflows/display/tests/workflow_serialization/test_duplicate_trigger_name_validation.py +208 -0
- vellum_ee/workflows/display/tests/workflow_serialization/test_final_output_node_not_referenced_by_workflow_outputs.py +45 -0
- vellum_ee/workflows/display/tests/workflow_serialization/test_infinite_loop_validation.py +66 -0
- vellum_ee/workflows/display/tests/workflow_serialization/test_int_input_serialization.py +40 -0
- vellum_ee/workflows/display/tests/workflow_serialization/test_integration_trigger_serialization.py +8 -14
- vellum_ee/workflows/display/tests/workflow_serialization/test_integration_trigger_validation.py +173 -0
- vellum_ee/workflows/display/tests/workflow_serialization/test_integration_trigger_with_entrypoint_node_id.py +16 -13
- vellum_ee/workflows/display/tests/workflow_serialization/test_list_vellum_document_serialization.py +5 -1
- vellum_ee/workflows/display/tests/workflow_serialization/test_manual_trigger_serialization.py +12 -2
- vellum_ee/workflows/display/tests/workflow_serialization/test_multi_trigger_same_node_serialization.py +111 -0
- vellum_ee/workflows/display/tests/workflow_serialization/test_no_triggers_no_entrypoint_validation.py +64 -0
- vellum_ee/workflows/display/tests/workflow_serialization/test_partial_workflow_meta_display_override.py +55 -0
- vellum_ee/workflows/display/tests/workflow_serialization/test_sandbox_dataset_mocks_serialization.py +268 -0
- vellum_ee/workflows/display/tests/workflow_serialization/test_sandbox_invalid_pdf_data_url.py +49 -0
- vellum_ee/workflows/display/tests/workflow_serialization/test_sandbox_validation_errors.py +112 -0
- vellum_ee/workflows/display/tests/workflow_serialization/test_scheduled_trigger_serialization.py +25 -16
- vellum_ee/workflows/display/tests/workflow_serialization/test_terminal_node_in_unused_graphs_serialization.py +53 -0
- vellum_ee/workflows/display/utils/exceptions.py +34 -0
- vellum_ee/workflows/display/utils/expressions.py +463 -52
- vellum_ee/workflows/display/utils/metadata.py +98 -33
- vellum_ee/workflows/display/utils/tests/test_metadata.py +31 -0
- vellum_ee/workflows/display/utils/triggers.py +153 -0
- vellum_ee/workflows/display/utils/vellum.py +59 -5
- vellum_ee/workflows/display/workflows/base_workflow_display.py +656 -254
- vellum_ee/workflows/display/workflows/get_vellum_workflow_display_class.py +26 -0
- vellum_ee/workflows/display/workflows/tests/test_workflow_display.py +77 -29
- vellum_ee/workflows/server/namespaces.py +18 -0
- vellum_ee/workflows/tests/test_display_meta.py +2 -0
- vellum_ee/workflows/tests/test_serialize_module.py +174 -7
- vellum_ee/workflows/tests/test_server.py +0 -3
- vellum_ee/workflows/display/nodes/vellum/function_node.py +0 -14
- {vellum_ai-1.11.2.dist-info → vellum_ai-1.13.5.dist-info}/LICENSE +0 -0
- {vellum_ai-1.11.2.dist-info → vellum_ai-1.13.5.dist-info}/WHEEL +0 -0
- {vellum_ai-1.11.2.dist-info → vellum_ai-1.13.5.dist-info}/entry_points.txt +0 -0
vellum/client/reference.md
CHANGED
|
@@ -1457,6 +1457,14 @@ client.integrations.retrieve_integration_tool_definition(
|
|
|
1457
1457
|
<dl>
|
|
1458
1458
|
<dd>
|
|
1459
1459
|
|
|
1460
|
+
**toolkit_version:** `typing.Optional[str]` — The version of the toolkit to use. Pass 'latest' to get the latest version, or a specific version string to pin it. If not provided, uses the provider's default.
|
|
1461
|
+
|
|
1462
|
+
</dd>
|
|
1463
|
+
</dl>
|
|
1464
|
+
|
|
1465
|
+
<dl>
|
|
1466
|
+
<dd>
|
|
1467
|
+
|
|
1460
1468
|
**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
|
|
1461
1469
|
|
|
1462
1470
|
</dd>
|
|
@@ -1509,7 +1517,7 @@ client.integrations.execute_integration_tool(
|
|
|
1509
1517
|
<dl>
|
|
1510
1518
|
<dd>
|
|
1511
1519
|
|
|
1512
|
-
**
|
|
1520
|
+
**integration_name_:** `str` — The integration name
|
|
1513
1521
|
|
|
1514
1522
|
</dd>
|
|
1515
1523
|
</dl>
|
|
@@ -1525,7 +1533,7 @@ client.integrations.execute_integration_tool(
|
|
|
1525
1533
|
<dl>
|
|
1526
1534
|
<dd>
|
|
1527
1535
|
|
|
1528
|
-
**
|
|
1536
|
+
**tool_name_:** `str` — The tool's unique name, as specified by the integration provider
|
|
1529
1537
|
|
|
1530
1538
|
</dd>
|
|
1531
1539
|
</dl>
|
|
@@ -1541,6 +1549,46 @@ client.integrations.execute_integration_tool(
|
|
|
1541
1549
|
<dl>
|
|
1542
1550
|
<dd>
|
|
1543
1551
|
|
|
1552
|
+
**toolkit_version:** `typing.Optional[str]`
|
|
1553
|
+
|
|
1554
|
+
</dd>
|
|
1555
|
+
</dl>
|
|
1556
|
+
|
|
1557
|
+
<dl>
|
|
1558
|
+
<dd>
|
|
1559
|
+
|
|
1560
|
+
**integration_name:** `typing.Optional[str]`
|
|
1561
|
+
|
|
1562
|
+
</dd>
|
|
1563
|
+
</dl>
|
|
1564
|
+
|
|
1565
|
+
<dl>
|
|
1566
|
+
<dd>
|
|
1567
|
+
|
|
1568
|
+
**integration:** `typing.Optional[str]`
|
|
1569
|
+
|
|
1570
|
+
</dd>
|
|
1571
|
+
</dl>
|
|
1572
|
+
|
|
1573
|
+
<dl>
|
|
1574
|
+
<dd>
|
|
1575
|
+
|
|
1576
|
+
**tool_name:** `typing.Optional[str]`
|
|
1577
|
+
|
|
1578
|
+
</dd>
|
|
1579
|
+
</dl>
|
|
1580
|
+
|
|
1581
|
+
<dl>
|
|
1582
|
+
<dd>
|
|
1583
|
+
|
|
1584
|
+
**tool:** `typing.Optional[str]`
|
|
1585
|
+
|
|
1586
|
+
</dd>
|
|
1587
|
+
</dl>
|
|
1588
|
+
|
|
1589
|
+
<dl>
|
|
1590
|
+
<dd>
|
|
1591
|
+
|
|
1544
1592
|
**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
|
|
1545
1593
|
|
|
1546
1594
|
</dd>
|
|
@@ -2230,6 +2278,128 @@ client.container_images.list()
|
|
|
2230
2278
|
</dl>
|
|
2231
2279
|
|
|
2232
2280
|
|
|
2281
|
+
</dd>
|
|
2282
|
+
</dl>
|
|
2283
|
+
</details>
|
|
2284
|
+
|
|
2285
|
+
<details><summary><code>client.container_images.<a href="src/vellum/resources/container_images/client.py">create_container_image</a>(...)</code></summary>
|
|
2286
|
+
<dl>
|
|
2287
|
+
<dd>
|
|
2288
|
+
|
|
2289
|
+
#### 📝 Description
|
|
2290
|
+
|
|
2291
|
+
<dl>
|
|
2292
|
+
<dd>
|
|
2293
|
+
|
|
2294
|
+
<dl>
|
|
2295
|
+
<dd>
|
|
2296
|
+
|
|
2297
|
+
Create a new Container Image.
|
|
2298
|
+
</dd>
|
|
2299
|
+
</dl>
|
|
2300
|
+
</dd>
|
|
2301
|
+
</dl>
|
|
2302
|
+
|
|
2303
|
+
#### 🔌 Usage
|
|
2304
|
+
|
|
2305
|
+
<dl>
|
|
2306
|
+
<dd>
|
|
2307
|
+
|
|
2308
|
+
<dl>
|
|
2309
|
+
<dd>
|
|
2310
|
+
|
|
2311
|
+
```python
|
|
2312
|
+
from vellum import CodeExecutionPackageRequest, Vellum
|
|
2313
|
+
|
|
2314
|
+
client = Vellum(
|
|
2315
|
+
api_version="YOUR_API_VERSION",
|
|
2316
|
+
api_key="YOUR_API_KEY",
|
|
2317
|
+
)
|
|
2318
|
+
client.container_images.create_container_image(
|
|
2319
|
+
name="x",
|
|
2320
|
+
packages=[
|
|
2321
|
+
CodeExecutionPackageRequest(
|
|
2322
|
+
version="x",
|
|
2323
|
+
name="x",
|
|
2324
|
+
),
|
|
2325
|
+
CodeExecutionPackageRequest(
|
|
2326
|
+
version="x",
|
|
2327
|
+
name="x",
|
|
2328
|
+
),
|
|
2329
|
+
],
|
|
2330
|
+
tag="x",
|
|
2331
|
+
)
|
|
2332
|
+
|
|
2333
|
+
```
|
|
2334
|
+
</dd>
|
|
2335
|
+
</dl>
|
|
2336
|
+
</dd>
|
|
2337
|
+
</dl>
|
|
2338
|
+
|
|
2339
|
+
#### ⚙️ Parameters
|
|
2340
|
+
|
|
2341
|
+
<dl>
|
|
2342
|
+
<dd>
|
|
2343
|
+
|
|
2344
|
+
<dl>
|
|
2345
|
+
<dd>
|
|
2346
|
+
|
|
2347
|
+
**name:** `str`
|
|
2348
|
+
|
|
2349
|
+
</dd>
|
|
2350
|
+
</dl>
|
|
2351
|
+
|
|
2352
|
+
<dl>
|
|
2353
|
+
<dd>
|
|
2354
|
+
|
|
2355
|
+
**packages:** `typing.Sequence[CodeExecutionPackageRequest]`
|
|
2356
|
+
|
|
2357
|
+
</dd>
|
|
2358
|
+
</dl>
|
|
2359
|
+
|
|
2360
|
+
<dl>
|
|
2361
|
+
<dd>
|
|
2362
|
+
|
|
2363
|
+
**tag:** `str`
|
|
2364
|
+
|
|
2365
|
+
</dd>
|
|
2366
|
+
</dl>
|
|
2367
|
+
|
|
2368
|
+
<dl>
|
|
2369
|
+
<dd>
|
|
2370
|
+
|
|
2371
|
+
**user_script:** `typing.Optional[str]`
|
|
2372
|
+
|
|
2373
|
+
</dd>
|
|
2374
|
+
</dl>
|
|
2375
|
+
|
|
2376
|
+
<dl>
|
|
2377
|
+
<dd>
|
|
2378
|
+
|
|
2379
|
+
**is_hotswappable:** `typing.Optional[bool]`
|
|
2380
|
+
|
|
2381
|
+
</dd>
|
|
2382
|
+
</dl>
|
|
2383
|
+
|
|
2384
|
+
<dl>
|
|
2385
|
+
<dd>
|
|
2386
|
+
|
|
2387
|
+
**server_version:** `typing.Optional[str]`
|
|
2388
|
+
|
|
2389
|
+
</dd>
|
|
2390
|
+
</dl>
|
|
2391
|
+
|
|
2392
|
+
<dl>
|
|
2393
|
+
<dd>
|
|
2394
|
+
|
|
2395
|
+
**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
|
|
2396
|
+
|
|
2397
|
+
</dd>
|
|
2398
|
+
</dl>
|
|
2399
|
+
</dd>
|
|
2400
|
+
</dl>
|
|
2401
|
+
|
|
2402
|
+
|
|
2233
2403
|
</dd>
|
|
2234
2404
|
</dl>
|
|
2235
2405
|
</details>
|
|
@@ -2301,6 +2471,128 @@ client.container_images.retrieve(
|
|
|
2301
2471
|
</dl>
|
|
2302
2472
|
|
|
2303
2473
|
|
|
2474
|
+
</dd>
|
|
2475
|
+
</dl>
|
|
2476
|
+
</details>
|
|
2477
|
+
|
|
2478
|
+
<details><summary><code>client.container_images.<a href="src/vellum/resources/container_images/client.py">update_container_image</a>(...)</code></summary>
|
|
2479
|
+
<dl>
|
|
2480
|
+
<dd>
|
|
2481
|
+
|
|
2482
|
+
#### 📝 Description
|
|
2483
|
+
|
|
2484
|
+
<dl>
|
|
2485
|
+
<dd>
|
|
2486
|
+
|
|
2487
|
+
<dl>
|
|
2488
|
+
<dd>
|
|
2489
|
+
|
|
2490
|
+
Update an existing Container Image.
|
|
2491
|
+
</dd>
|
|
2492
|
+
</dl>
|
|
2493
|
+
</dd>
|
|
2494
|
+
</dl>
|
|
2495
|
+
|
|
2496
|
+
#### 🔌 Usage
|
|
2497
|
+
|
|
2498
|
+
<dl>
|
|
2499
|
+
<dd>
|
|
2500
|
+
|
|
2501
|
+
<dl>
|
|
2502
|
+
<dd>
|
|
2503
|
+
|
|
2504
|
+
```python
|
|
2505
|
+
from vellum import CodeExecutionPackageRequest, Vellum
|
|
2506
|
+
|
|
2507
|
+
client = Vellum(
|
|
2508
|
+
api_version="YOUR_API_VERSION",
|
|
2509
|
+
api_key="YOUR_API_KEY",
|
|
2510
|
+
)
|
|
2511
|
+
client.container_images.update_container_image(
|
|
2512
|
+
id="id",
|
|
2513
|
+
packages=[
|
|
2514
|
+
CodeExecutionPackageRequest(
|
|
2515
|
+
version="x",
|
|
2516
|
+
name="x",
|
|
2517
|
+
),
|
|
2518
|
+
CodeExecutionPackageRequest(
|
|
2519
|
+
version="x",
|
|
2520
|
+
name="x",
|
|
2521
|
+
),
|
|
2522
|
+
],
|
|
2523
|
+
tag="x",
|
|
2524
|
+
)
|
|
2525
|
+
|
|
2526
|
+
```
|
|
2527
|
+
</dd>
|
|
2528
|
+
</dl>
|
|
2529
|
+
</dd>
|
|
2530
|
+
</dl>
|
|
2531
|
+
|
|
2532
|
+
#### ⚙️ Parameters
|
|
2533
|
+
|
|
2534
|
+
<dl>
|
|
2535
|
+
<dd>
|
|
2536
|
+
|
|
2537
|
+
<dl>
|
|
2538
|
+
<dd>
|
|
2539
|
+
|
|
2540
|
+
**id:** `str` — A UUID string identifying this container image.
|
|
2541
|
+
|
|
2542
|
+
</dd>
|
|
2543
|
+
</dl>
|
|
2544
|
+
|
|
2545
|
+
<dl>
|
|
2546
|
+
<dd>
|
|
2547
|
+
|
|
2548
|
+
**packages:** `typing.Sequence[CodeExecutionPackageRequest]`
|
|
2549
|
+
|
|
2550
|
+
</dd>
|
|
2551
|
+
</dl>
|
|
2552
|
+
|
|
2553
|
+
<dl>
|
|
2554
|
+
<dd>
|
|
2555
|
+
|
|
2556
|
+
**tag:** `str`
|
|
2557
|
+
|
|
2558
|
+
</dd>
|
|
2559
|
+
</dl>
|
|
2560
|
+
|
|
2561
|
+
<dl>
|
|
2562
|
+
<dd>
|
|
2563
|
+
|
|
2564
|
+
**user_script:** `typing.Optional[str]`
|
|
2565
|
+
|
|
2566
|
+
</dd>
|
|
2567
|
+
</dl>
|
|
2568
|
+
|
|
2569
|
+
<dl>
|
|
2570
|
+
<dd>
|
|
2571
|
+
|
|
2572
|
+
**is_hotswappable:** `typing.Optional[bool]`
|
|
2573
|
+
|
|
2574
|
+
</dd>
|
|
2575
|
+
</dl>
|
|
2576
|
+
|
|
2577
|
+
<dl>
|
|
2578
|
+
<dd>
|
|
2579
|
+
|
|
2580
|
+
**server_version:** `typing.Optional[str]`
|
|
2581
|
+
|
|
2582
|
+
</dd>
|
|
2583
|
+
</dl>
|
|
2584
|
+
|
|
2585
|
+
<dl>
|
|
2586
|
+
<dd>
|
|
2587
|
+
|
|
2588
|
+
**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
|
|
2589
|
+
|
|
2590
|
+
</dd>
|
|
2591
|
+
</dl>
|
|
2592
|
+
</dd>
|
|
2593
|
+
</dl>
|
|
2594
|
+
|
|
2595
|
+
|
|
2304
2596
|
</dd>
|
|
2305
2597
|
</dl>
|
|
2306
2598
|
</details>
|
|
@@ -4548,6 +4840,7 @@ client.integration_auth_configs.list_integration_auth_configs()
|
|
|
4548
4840
|
|
|
4549
4841
|
The response fields to expand for more information.
|
|
4550
4842
|
- 'integration_credentials' expands the list of integration credentials that the authenticated entity has access to for the auth config.
|
|
4843
|
+
- 'additional_parameters' (retrieve only) fetches additional parameter requirements for the auth config.
|
|
4551
4844
|
|
|
4552
4845
|
</dd>
|
|
4553
4846
|
</dl>
|
|
@@ -4693,6 +4986,14 @@ client.integration_providers.retrieve_integration_provider_tool_definition(
|
|
|
4693
4986
|
<dl>
|
|
4694
4987
|
<dd>
|
|
4695
4988
|
|
|
4989
|
+
**toolkit_version:** `typing.Optional[str]` — The version of the toolkit to use. Pass 'latest' to get the latest version, or a specific version string to pin it. If not provided, uses the provider's default.
|
|
4990
|
+
|
|
4991
|
+
</dd>
|
|
4992
|
+
</dl>
|
|
4993
|
+
|
|
4994
|
+
<dl>
|
|
4995
|
+
<dd>
|
|
4996
|
+
|
|
4696
4997
|
**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
|
|
4697
4998
|
|
|
4698
4999
|
</dd>
|
|
@@ -4812,6 +5113,14 @@ client.integration_providers.list_integration_tools(
|
|
|
4812
5113
|
<dl>
|
|
4813
5114
|
<dd>
|
|
4814
5115
|
|
|
5116
|
+
**toolkit_version:** `typing.Optional[str]` — The version of the toolkit to lookup. Pass 'latest' to get the latest version, or a specific version string to pin it. If not provided, uses the provider's default.
|
|
5117
|
+
|
|
5118
|
+
</dd>
|
|
5119
|
+
</dl>
|
|
5120
|
+
|
|
5121
|
+
<dl>
|
|
5122
|
+
<dd>
|
|
5123
|
+
|
|
4815
5124
|
**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
|
|
4816
5125
|
|
|
4817
5126
|
</dd>
|
|
@@ -6264,7 +6573,165 @@ client.test_suites.delete_test_suite_test_case(
|
|
|
6264
6573
|
<dl>
|
|
6265
6574
|
<dd>
|
|
6266
6575
|
|
|
6267
|
-
**id:** `str` — Either the Test Suites' ID or its unique name
|
|
6576
|
+
**id:** `str` — Either the Test Suites' ID or its unique name
|
|
6577
|
+
|
|
6578
|
+
</dd>
|
|
6579
|
+
</dl>
|
|
6580
|
+
|
|
6581
|
+
<dl>
|
|
6582
|
+
<dd>
|
|
6583
|
+
|
|
6584
|
+
**test_case_id:** `str` — An id identifying the test case that you'd like to delete
|
|
6585
|
+
|
|
6586
|
+
</dd>
|
|
6587
|
+
</dl>
|
|
6588
|
+
|
|
6589
|
+
<dl>
|
|
6590
|
+
<dd>
|
|
6591
|
+
|
|
6592
|
+
**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
|
|
6593
|
+
|
|
6594
|
+
</dd>
|
|
6595
|
+
</dl>
|
|
6596
|
+
</dd>
|
|
6597
|
+
</dl>
|
|
6598
|
+
|
|
6599
|
+
|
|
6600
|
+
</dd>
|
|
6601
|
+
</dl>
|
|
6602
|
+
</details>
|
|
6603
|
+
|
|
6604
|
+
## UploadedFiles
|
|
6605
|
+
<details><summary><code>client.uploaded_files.<a href="src/vellum/resources/uploaded_files/client.py">retrieve</a>(...)</code></summary>
|
|
6606
|
+
<dl>
|
|
6607
|
+
<dd>
|
|
6608
|
+
|
|
6609
|
+
#### 📝 Description
|
|
6610
|
+
|
|
6611
|
+
<dl>
|
|
6612
|
+
<dd>
|
|
6613
|
+
|
|
6614
|
+
<dl>
|
|
6615
|
+
<dd>
|
|
6616
|
+
|
|
6617
|
+
Retrieve a previously uploaded file by its ID
|
|
6618
|
+
</dd>
|
|
6619
|
+
</dl>
|
|
6620
|
+
</dd>
|
|
6621
|
+
</dl>
|
|
6622
|
+
|
|
6623
|
+
#### 🔌 Usage
|
|
6624
|
+
|
|
6625
|
+
<dl>
|
|
6626
|
+
<dd>
|
|
6627
|
+
|
|
6628
|
+
<dl>
|
|
6629
|
+
<dd>
|
|
6630
|
+
|
|
6631
|
+
```python
|
|
6632
|
+
from vellum import Vellum
|
|
6633
|
+
|
|
6634
|
+
client = Vellum(
|
|
6635
|
+
api_version="YOUR_API_VERSION",
|
|
6636
|
+
api_key="YOUR_API_KEY",
|
|
6637
|
+
)
|
|
6638
|
+
client.uploaded_files.retrieve(
|
|
6639
|
+
id="id",
|
|
6640
|
+
)
|
|
6641
|
+
|
|
6642
|
+
```
|
|
6643
|
+
</dd>
|
|
6644
|
+
</dl>
|
|
6645
|
+
</dd>
|
|
6646
|
+
</dl>
|
|
6647
|
+
|
|
6648
|
+
#### ⚙️ Parameters
|
|
6649
|
+
|
|
6650
|
+
<dl>
|
|
6651
|
+
<dd>
|
|
6652
|
+
|
|
6653
|
+
<dl>
|
|
6654
|
+
<dd>
|
|
6655
|
+
|
|
6656
|
+
**id:** `str` — A UUID string identifying this uploaded file.
|
|
6657
|
+
|
|
6658
|
+
</dd>
|
|
6659
|
+
</dl>
|
|
6660
|
+
|
|
6661
|
+
<dl>
|
|
6662
|
+
<dd>
|
|
6663
|
+
|
|
6664
|
+
**expiry_seconds:** `typing.Optional[int]` — The number of seconds until the signed URL expires. Must be > 0 and <= 2592000 (30 days). Non-numeric or out-of-range values fall back to the default (604800 seconds or 7 days).
|
|
6665
|
+
|
|
6666
|
+
</dd>
|
|
6667
|
+
</dl>
|
|
6668
|
+
|
|
6669
|
+
<dl>
|
|
6670
|
+
<dd>
|
|
6671
|
+
|
|
6672
|
+
**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
|
|
6673
|
+
|
|
6674
|
+
</dd>
|
|
6675
|
+
</dl>
|
|
6676
|
+
</dd>
|
|
6677
|
+
</dl>
|
|
6678
|
+
|
|
6679
|
+
|
|
6680
|
+
</dd>
|
|
6681
|
+
</dl>
|
|
6682
|
+
</details>
|
|
6683
|
+
|
|
6684
|
+
## WorkflowDeployments
|
|
6685
|
+
<details><summary><code>client.workflow_deployments.<a href="src/vellum/resources/workflow_deployments/client.py">list</a>(...)</code></summary>
|
|
6686
|
+
<dl>
|
|
6687
|
+
<dd>
|
|
6688
|
+
|
|
6689
|
+
#### 📝 Description
|
|
6690
|
+
|
|
6691
|
+
<dl>
|
|
6692
|
+
<dd>
|
|
6693
|
+
|
|
6694
|
+
<dl>
|
|
6695
|
+
<dd>
|
|
6696
|
+
|
|
6697
|
+
Used to list all Workflow Deployments.
|
|
6698
|
+
</dd>
|
|
6699
|
+
</dl>
|
|
6700
|
+
</dd>
|
|
6701
|
+
</dl>
|
|
6702
|
+
|
|
6703
|
+
#### 🔌 Usage
|
|
6704
|
+
|
|
6705
|
+
<dl>
|
|
6706
|
+
<dd>
|
|
6707
|
+
|
|
6708
|
+
<dl>
|
|
6709
|
+
<dd>
|
|
6710
|
+
|
|
6711
|
+
```python
|
|
6712
|
+
from vellum import Vellum
|
|
6713
|
+
|
|
6714
|
+
client = Vellum(
|
|
6715
|
+
api_version="YOUR_API_VERSION",
|
|
6716
|
+
api_key="YOUR_API_KEY",
|
|
6717
|
+
)
|
|
6718
|
+
client.workflow_deployments.list()
|
|
6719
|
+
|
|
6720
|
+
```
|
|
6721
|
+
</dd>
|
|
6722
|
+
</dl>
|
|
6723
|
+
</dd>
|
|
6724
|
+
</dl>
|
|
6725
|
+
|
|
6726
|
+
#### ⚙️ Parameters
|
|
6727
|
+
|
|
6728
|
+
<dl>
|
|
6729
|
+
<dd>
|
|
6730
|
+
|
|
6731
|
+
<dl>
|
|
6732
|
+
<dd>
|
|
6733
|
+
|
|
6734
|
+
**limit:** `typing.Optional[int]` — Number of results to return per page.
|
|
6268
6735
|
|
|
6269
6736
|
</dd>
|
|
6270
6737
|
</dl>
|
|
@@ -6272,7 +6739,23 @@ client.test_suites.delete_test_suite_test_case(
|
|
|
6272
6739
|
<dl>
|
|
6273
6740
|
<dd>
|
|
6274
6741
|
|
|
6275
|
-
**
|
|
6742
|
+
**offset:** `typing.Optional[int]` — The initial index from which to return the results.
|
|
6743
|
+
|
|
6744
|
+
</dd>
|
|
6745
|
+
</dl>
|
|
6746
|
+
|
|
6747
|
+
<dl>
|
|
6748
|
+
<dd>
|
|
6749
|
+
|
|
6750
|
+
**ordering:** `typing.Optional[str]` — Which field to use when ordering the results.
|
|
6751
|
+
|
|
6752
|
+
</dd>
|
|
6753
|
+
</dl>
|
|
6754
|
+
|
|
6755
|
+
<dl>
|
|
6756
|
+
<dd>
|
|
6757
|
+
|
|
6758
|
+
**status:** `typing.Optional[WorkflowDeploymentsListRequestStatus]` — status
|
|
6276
6759
|
|
|
6277
6760
|
</dd>
|
|
6278
6761
|
</dl>
|
|
@@ -6292,8 +6775,7 @@ client.test_suites.delete_test_suite_test_case(
|
|
|
6292
6775
|
</dl>
|
|
6293
6776
|
</details>
|
|
6294
6777
|
|
|
6295
|
-
|
|
6296
|
-
<details><summary><code>client.uploaded_files.<a href="src/vellum/resources/uploaded_files/client.py">retrieve</a>(...)</code></summary>
|
|
6778
|
+
<details><summary><code>client.workflow_deployments.<a href="src/vellum/resources/workflow_deployments/client.py">retrieve</a>(...)</code></summary>
|
|
6297
6779
|
<dl>
|
|
6298
6780
|
<dd>
|
|
6299
6781
|
|
|
@@ -6305,7 +6787,7 @@ client.test_suites.delete_test_suite_test_case(
|
|
|
6305
6787
|
<dl>
|
|
6306
6788
|
<dd>
|
|
6307
6789
|
|
|
6308
|
-
|
|
6790
|
+
Used to retrieve a workflow deployment given its ID or name.
|
|
6309
6791
|
</dd>
|
|
6310
6792
|
</dl>
|
|
6311
6793
|
</dd>
|
|
@@ -6326,7 +6808,7 @@ client = Vellum(
|
|
|
6326
6808
|
api_version="YOUR_API_VERSION",
|
|
6327
6809
|
api_key="YOUR_API_KEY",
|
|
6328
6810
|
)
|
|
6329
|
-
client.
|
|
6811
|
+
client.workflow_deployments.retrieve(
|
|
6330
6812
|
id="id",
|
|
6331
6813
|
)
|
|
6332
6814
|
|
|
@@ -6344,15 +6826,7 @@ client.uploaded_files.retrieve(
|
|
|
6344
6826
|
<dl>
|
|
6345
6827
|
<dd>
|
|
6346
6828
|
|
|
6347
|
-
**id:** `str` —
|
|
6348
|
-
|
|
6349
|
-
</dd>
|
|
6350
|
-
</dl>
|
|
6351
|
-
|
|
6352
|
-
<dl>
|
|
6353
|
-
<dd>
|
|
6354
|
-
|
|
6355
|
-
**expiry_seconds:** `typing.Optional[int]` — The number of seconds until the signed URL expires. Must be > 0 and <= 2592000 (30 days). Non-numeric or out-of-range values fall back to the default (604800 seconds or 7 days).
|
|
6829
|
+
**id:** `str` — Either the Workflow Deployment's ID or its unique name
|
|
6356
6830
|
|
|
6357
6831
|
</dd>
|
|
6358
6832
|
</dl>
|
|
@@ -6372,8 +6846,7 @@ client.uploaded_files.retrieve(
|
|
|
6372
6846
|
</dl>
|
|
6373
6847
|
</details>
|
|
6374
6848
|
|
|
6375
|
-
|
|
6376
|
-
<details><summary><code>client.workflow_deployments.<a href="src/vellum/resources/workflow_deployments/client.py">list</a>(...)</code></summary>
|
|
6849
|
+
<details><summary><code>client.workflow_deployments.<a href="src/vellum/resources/workflow_deployments/client.py">execute_stream</a>(...)</code></summary>
|
|
6377
6850
|
<dl>
|
|
6378
6851
|
<dd>
|
|
6379
6852
|
|
|
@@ -6385,7 +6858,7 @@ client.uploaded_files.retrieve(
|
|
|
6385
6858
|
<dl>
|
|
6386
6859
|
<dd>
|
|
6387
6860
|
|
|
6388
|
-
|
|
6861
|
+
Executes a deployed Workflow and streams back its results.
|
|
6389
6862
|
</dd>
|
|
6390
6863
|
</dl>
|
|
6391
6864
|
</dd>
|
|
@@ -6406,7 +6879,14 @@ client = Vellum(
|
|
|
6406
6879
|
api_version="YOUR_API_VERSION",
|
|
6407
6880
|
api_key="YOUR_API_KEY",
|
|
6408
6881
|
)
|
|
6409
|
-
client.workflow_deployments.
|
|
6882
|
+
response = client.workflow_deployments.execute_stream(
|
|
6883
|
+
id="my-chat-workflow",
|
|
6884
|
+
trigger="chat",
|
|
6885
|
+
previous_execution_id="550e8400-e29b-41d4-a716-446655440099",
|
|
6886
|
+
inputs={"message": "What is machine learning?"},
|
|
6887
|
+
)
|
|
6888
|
+
for chunk in response.data:
|
|
6889
|
+
yield chunk
|
|
6410
6890
|
|
|
6411
6891
|
```
|
|
6412
6892
|
</dd>
|
|
@@ -6422,7 +6902,7 @@ client.workflow_deployments.list()
|
|
|
6422
6902
|
<dl>
|
|
6423
6903
|
<dd>
|
|
6424
6904
|
|
|
6425
|
-
**
|
|
6905
|
+
**id:** `str` — Either the Workflow Deployment's ID or its unique name
|
|
6426
6906
|
|
|
6427
6907
|
</dd>
|
|
6428
6908
|
</dl>
|
|
@@ -6430,7 +6910,7 @@ client.workflow_deployments.list()
|
|
|
6430
6910
|
<dl>
|
|
6431
6911
|
<dd>
|
|
6432
6912
|
|
|
6433
|
-
**
|
|
6913
|
+
**inputs:** `typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]]` — A mapping from input name to value.
|
|
6434
6914
|
|
|
6435
6915
|
</dd>
|
|
6436
6916
|
</dl>
|
|
@@ -6438,7 +6918,7 @@ client.workflow_deployments.list()
|
|
|
6438
6918
|
<dl>
|
|
6439
6919
|
<dd>
|
|
6440
6920
|
|
|
6441
|
-
**
|
|
6921
|
+
**trigger:** `typing.Optional[str]` — The name or ID of a workflow trigger to use for this execution. If not specified, then a default manual trigger will be chosen.
|
|
6442
6922
|
|
|
6443
6923
|
</dd>
|
|
6444
6924
|
</dl>
|
|
@@ -6446,7 +6926,7 @@ client.workflow_deployments.list()
|
|
|
6446
6926
|
<dl>
|
|
6447
6927
|
<dd>
|
|
6448
6928
|
|
|
6449
|
-
**
|
|
6929
|
+
**release_tag:** `typing.Optional[str]` — Optionally specify a release tag if you want to pin to a specific release of the Workflow Deployment
|
|
6450
6930
|
|
|
6451
6931
|
</dd>
|
|
6452
6932
|
</dl>
|
|
@@ -6454,70 +6934,23 @@ client.workflow_deployments.list()
|
|
|
6454
6934
|
<dl>
|
|
6455
6935
|
<dd>
|
|
6456
6936
|
|
|
6457
|
-
**
|
|
6937
|
+
**external_id:** `typing.Optional[str]` — Optionally include a unique identifier for tracking purposes. Must be unique within a given Workspace.
|
|
6458
6938
|
|
|
6459
6939
|
</dd>
|
|
6460
6940
|
</dl>
|
|
6461
|
-
</dd>
|
|
6462
|
-
</dl>
|
|
6463
|
-
|
|
6464
|
-
|
|
6465
|
-
</dd>
|
|
6466
|
-
</dl>
|
|
6467
|
-
</details>
|
|
6468
|
-
|
|
6469
|
-
<details><summary><code>client.workflow_deployments.<a href="src/vellum/resources/workflow_deployments/client.py">retrieve</a>(...)</code></summary>
|
|
6470
|
-
<dl>
|
|
6471
|
-
<dd>
|
|
6472
|
-
|
|
6473
|
-
#### 📝 Description
|
|
6474
|
-
|
|
6475
|
-
<dl>
|
|
6476
|
-
<dd>
|
|
6477
|
-
|
|
6478
|
-
<dl>
|
|
6479
|
-
<dd>
|
|
6480
|
-
|
|
6481
|
-
Used to retrieve a workflow deployment given its ID or name.
|
|
6482
|
-
</dd>
|
|
6483
|
-
</dl>
|
|
6484
|
-
</dd>
|
|
6485
|
-
</dl>
|
|
6486
|
-
|
|
6487
|
-
#### 🔌 Usage
|
|
6488
6941
|
|
|
6489
6942
|
<dl>
|
|
6490
6943
|
<dd>
|
|
6491
6944
|
|
|
6492
|
-
|
|
6493
|
-
|
|
6494
|
-
|
|
6495
|
-
```python
|
|
6496
|
-
from vellum import Vellum
|
|
6497
|
-
|
|
6498
|
-
client = Vellum(
|
|
6499
|
-
api_version="YOUR_API_VERSION",
|
|
6500
|
-
api_key="YOUR_API_KEY",
|
|
6501
|
-
)
|
|
6502
|
-
client.workflow_deployments.retrieve(
|
|
6503
|
-
id="id",
|
|
6504
|
-
)
|
|
6505
|
-
|
|
6506
|
-
```
|
|
6507
|
-
</dd>
|
|
6508
|
-
</dl>
|
|
6945
|
+
**metadata:** `typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]]` — Arbitrary JSON metadata associated with this request. Can be used to capture additional monitoring data such as user id, session id, etc. for future analysis.
|
|
6946
|
+
|
|
6509
6947
|
</dd>
|
|
6510
6948
|
</dl>
|
|
6511
6949
|
|
|
6512
|
-
#### ⚙️ Parameters
|
|
6513
|
-
|
|
6514
|
-
<dl>
|
|
6515
|
-
<dd>
|
|
6516
|
-
|
|
6517
6950
|
<dl>
|
|
6518
6951
|
<dd>
|
|
6519
6952
|
|
|
6520
|
-
**
|
|
6953
|
+
**previous_execution_id:** `typing.Optional[str]` — The ID of a previous workflow execution to reference for context.
|
|
6521
6954
|
|
|
6522
6955
|
</dd>
|
|
6523
6956
|
</dl>
|
|
@@ -7554,6 +7987,152 @@ client.workflows.retrieve_state(
|
|
|
7554
7987
|
</dl>
|
|
7555
7988
|
|
|
7556
7989
|
|
|
7990
|
+
</dd>
|
|
7991
|
+
</dl>
|
|
7992
|
+
</details>
|
|
7993
|
+
|
|
7994
|
+
<details><summary><code>client.workflows.<a href="src/vellum/resources/workflows/client.py">execute_node</a>(...)</code></summary>
|
|
7995
|
+
<dl>
|
|
7996
|
+
<dd>
|
|
7997
|
+
|
|
7998
|
+
#### 🔌 Usage
|
|
7999
|
+
|
|
8000
|
+
<dl>
|
|
8001
|
+
<dd>
|
|
8002
|
+
|
|
8003
|
+
<dl>
|
|
8004
|
+
<dd>
|
|
8005
|
+
|
|
8006
|
+
```python
|
|
8007
|
+
from vellum import Vellum
|
|
8008
|
+
|
|
8009
|
+
client = Vellum(
|
|
8010
|
+
api_version="YOUR_API_VERSION",
|
|
8011
|
+
api_key="YOUR_API_KEY",
|
|
8012
|
+
)
|
|
8013
|
+
client.workflows.execute_node(
|
|
8014
|
+
files={"files": "files"},
|
|
8015
|
+
node="x",
|
|
8016
|
+
)
|
|
8017
|
+
|
|
8018
|
+
```
|
|
8019
|
+
</dd>
|
|
8020
|
+
</dl>
|
|
8021
|
+
</dd>
|
|
8022
|
+
</dl>
|
|
8023
|
+
|
|
8024
|
+
#### ⚙️ Parameters
|
|
8025
|
+
|
|
8026
|
+
<dl>
|
|
8027
|
+
<dd>
|
|
8028
|
+
|
|
8029
|
+
<dl>
|
|
8030
|
+
<dd>
|
|
8031
|
+
|
|
8032
|
+
**files:** `typing.Dict[str, str]`
|
|
8033
|
+
|
|
8034
|
+
</dd>
|
|
8035
|
+
</dl>
|
|
8036
|
+
|
|
8037
|
+
<dl>
|
|
8038
|
+
<dd>
|
|
8039
|
+
|
|
8040
|
+
**node:** `str`
|
|
8041
|
+
|
|
8042
|
+
</dd>
|
|
8043
|
+
</dl>
|
|
8044
|
+
|
|
8045
|
+
<dl>
|
|
8046
|
+
<dd>
|
|
8047
|
+
|
|
8048
|
+
**inputs:** `typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]]`
|
|
8049
|
+
|
|
8050
|
+
</dd>
|
|
8051
|
+
</dl>
|
|
8052
|
+
|
|
8053
|
+
<dl>
|
|
8054
|
+
<dd>
|
|
8055
|
+
|
|
8056
|
+
**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
|
|
8057
|
+
|
|
8058
|
+
</dd>
|
|
8059
|
+
</dl>
|
|
8060
|
+
</dd>
|
|
8061
|
+
</dl>
|
|
8062
|
+
|
|
8063
|
+
|
|
8064
|
+
</dd>
|
|
8065
|
+
</dl>
|
|
8066
|
+
</details>
|
|
8067
|
+
|
|
8068
|
+
<details><summary><code>client.workflows.<a href="src/vellum/resources/workflows/client.py">workflow_execution_status</a>(...)</code></summary>
|
|
8069
|
+
<dl>
|
|
8070
|
+
<dd>
|
|
8071
|
+
|
|
8072
|
+
#### 📝 Description
|
|
8073
|
+
|
|
8074
|
+
<dl>
|
|
8075
|
+
<dd>
|
|
8076
|
+
|
|
8077
|
+
<dl>
|
|
8078
|
+
<dd>
|
|
8079
|
+
|
|
8080
|
+
Checks if a workflow execution is currently executing (not fulfilled, not rejected, and has no end time).
|
|
8081
|
+
Uses the ClickHouse Prime summary materialized view.
|
|
8082
|
+
</dd>
|
|
8083
|
+
</dl>
|
|
8084
|
+
</dd>
|
|
8085
|
+
</dl>
|
|
8086
|
+
|
|
8087
|
+
#### 🔌 Usage
|
|
8088
|
+
|
|
8089
|
+
<dl>
|
|
8090
|
+
<dd>
|
|
8091
|
+
|
|
8092
|
+
<dl>
|
|
8093
|
+
<dd>
|
|
8094
|
+
|
|
8095
|
+
```python
|
|
8096
|
+
from vellum import Vellum
|
|
8097
|
+
|
|
8098
|
+
client = Vellum(
|
|
8099
|
+
api_version="YOUR_API_VERSION",
|
|
8100
|
+
api_key="YOUR_API_KEY",
|
|
8101
|
+
)
|
|
8102
|
+
client.workflows.workflow_execution_status(
|
|
8103
|
+
execution_id="execution_id",
|
|
8104
|
+
)
|
|
8105
|
+
|
|
8106
|
+
```
|
|
8107
|
+
</dd>
|
|
8108
|
+
</dl>
|
|
8109
|
+
</dd>
|
|
8110
|
+
</dl>
|
|
8111
|
+
|
|
8112
|
+
#### ⚙️ Parameters
|
|
8113
|
+
|
|
8114
|
+
<dl>
|
|
8115
|
+
<dd>
|
|
8116
|
+
|
|
8117
|
+
<dl>
|
|
8118
|
+
<dd>
|
|
8119
|
+
|
|
8120
|
+
**execution_id:** `str`
|
|
8121
|
+
|
|
8122
|
+
</dd>
|
|
8123
|
+
</dl>
|
|
8124
|
+
|
|
8125
|
+
<dl>
|
|
8126
|
+
<dd>
|
|
8127
|
+
|
|
8128
|
+
**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
|
|
8129
|
+
|
|
8130
|
+
</dd>
|
|
8131
|
+
</dl>
|
|
8132
|
+
</dd>
|
|
8133
|
+
</dl>
|
|
8134
|
+
|
|
8135
|
+
|
|
7557
8136
|
</dd>
|
|
7558
8137
|
</dl>
|
|
7559
8138
|
</details>
|
|
@@ -7625,6 +8204,28 @@ client.workflows.serialize_workflow_files(
|
|
|
7625
8204
|
<dl>
|
|
7626
8205
|
<dd>
|
|
7627
8206
|
|
|
8207
|
+
**runner_config:** `typing.Optional[RunnerConfigRequest]`
|
|
8208
|
+
|
|
8209
|
+
</dd>
|
|
8210
|
+
</dl>
|
|
8211
|
+
|
|
8212
|
+
<dl>
|
|
8213
|
+
<dd>
|
|
8214
|
+
|
|
8215
|
+
**type_checker:** `typing.Optional[TypeCheckerEnum]`
|
|
8216
|
+
|
|
8217
|
+
Optional type checker to run during serialization. Supported values: mypy, zuban, default.
|
|
8218
|
+
|
|
8219
|
+
* `mypy` - Mypy
|
|
8220
|
+
* `zuban` - Zuban
|
|
8221
|
+
* `default` - Default
|
|
8222
|
+
|
|
8223
|
+
</dd>
|
|
8224
|
+
</dl>
|
|
8225
|
+
|
|
8226
|
+
<dl>
|
|
8227
|
+
<dd>
|
|
8228
|
+
|
|
7628
8229
|
**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
|
|
7629
8230
|
|
|
7630
8231
|
</dd>
|