vellum-ai 0.3.7__tar.gz → 0.3.8__tar.gz
Sign up to get free protection for your applications and to get access to all the features.
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/PKG-INFO +1 -1
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/pyproject.toml +1 -1
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/__init__.py +38 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/client.py +8 -8
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/core/client_wrapper.py +1 -1
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/resources/deployments/client.py +2 -2
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/resources/workflow_deployments/client.py +65 -8
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/__init__.py +40 -0
- vellum_ai-0.3.8/src/vellum/types/array_enum.py +5 -0
- vellum_ai-0.3.8/src/vellum/types/array_variable_value_item.py +89 -0
- vellum_ai-0.3.8/src/vellum/types/chat_history_variable_value.py +29 -0
- vellum_ai-0.3.8/src/vellum/types/node_input_compiled_array_value.py +31 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/node_input_variable_compiled_value.py +11 -0
- vellum_ai-0.3.8/src/vellum/types/node_output_compiled_array_value.py +30 -0
- vellum_ai-0.3.8/src/vellum/types/node_output_compiled_function_value.py +30 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/node_output_compiled_value.py +22 -0
- vellum_ai-0.3.8/src/vellum/types/number_variable_value.py +28 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/prompt_node_result_data.py +1 -0
- vellum_ai-0.3.8/src/vellum/types/search_results_variable_value.py +29 -0
- vellum_ai-0.3.8/src/vellum/types/workflow_deployment_read.py +57 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/workflow_request_chat_history_input_request.py +4 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/workflow_request_json_input_request.py +4 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/workflow_request_number_input_request.py +4 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/workflow_request_string_input_request.py +4 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/LICENSE +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/README.md +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/core/__init__.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/core/api_error.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/core/datetime_utils.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/core/jsonable_encoder.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/core/remove_none_from_dict.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/environment.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/errors/__init__.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/errors/bad_request_error.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/errors/conflict_error.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/errors/forbidden_error.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/errors/internal_server_error.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/errors/not_found_error.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/py.typed +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/resources/__init__.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/resources/deployments/__init__.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/resources/deployments/types/__init__.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/resources/deployments/types/deployments_list_request_status.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/resources/document_indexes/__init__.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/resources/document_indexes/client.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/resources/documents/__init__.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/resources/documents/client.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/resources/folder_entities/__init__.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/resources/folder_entities/client.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/resources/model_versions/__init__.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/resources/model_versions/client.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/resources/registered_prompts/__init__.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/resources/registered_prompts/client.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/resources/sandboxes/__init__.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/resources/sandboxes/client.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/resources/test_suites/__init__.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/resources/test_suites/client.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/resources/workflow_deployments/__init__.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/resources/workflow_deployments/types/__init__.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/resources/workflow_deployments/types/workflow_deployments_list_request_status.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/api_node_result.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/api_node_result_data.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/array_chat_message_content.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/array_chat_message_content_item.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/array_chat_message_content_item_request.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/array_chat_message_content_request.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/block_type_enum.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/chat_history_enum.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/chat_history_input_request.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/chat_message.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/chat_message_content.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/chat_message_content_request.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/chat_message_request.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/chat_message_role.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/code_execution_node_chat_history_result.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/code_execution_node_error_result.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/code_execution_node_json_result.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/code_execution_node_number_result.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/code_execution_node_result.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/code_execution_node_result_data.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/code_execution_node_result_output.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/code_execution_node_search_results_result.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/code_execution_node_string_result.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/conditional_node_result.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/conditional_node_result_data.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/deployment_provider_payload_response.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/deployment_read.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/document_document_to_document_index.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/document_index_read.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/document_read.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/document_status.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/enriched_normalized_completion.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/entity_status.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/environment_enum.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/error_enum.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/error_variable_value.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/execute_prompt_api_error_response.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/execute_prompt_event.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/execute_prompt_response.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/execute_workflow_error_response.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/execute_workflow_response.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/execute_workflow_stream_error_response.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/execute_workflow_workflow_result_event.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/finish_reason_enum.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/fulfilled_enum.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/fulfilled_execute_prompt_event.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/fulfilled_execute_prompt_response.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/fulfilled_execute_workflow_workflow_result_event.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/fulfilled_function_call.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/fulfilled_prompt_execution_meta.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/fulfilled_workflow_node_result_event.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/function_call.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/function_call_chat_message_content.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/function_call_chat_message_content_request.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/function_call_chat_message_content_value.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/function_call_chat_message_content_value_request.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/function_call_enum.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/function_call_variable_value.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/generate_error_response.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/generate_options_request.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/generate_request.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/generate_response.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/generate_result.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/generate_result_data.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/generate_result_error.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/generate_stream_response.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/generate_stream_result.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/generate_stream_result_data.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/image_chat_message_content.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/image_chat_message_content_request.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/image_enum.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/indexing_state_enum.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/initiated_enum.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/initiated_execute_prompt_event.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/initiated_prompt_execution_meta.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/initiated_workflow_node_result_event.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/json_enum.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/json_input_request.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/json_variable_value.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/logical_operator.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/logprobs_enum.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/metadata_filter_config_request.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/metadata_filter_rule_combinator.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/metadata_filter_rule_request.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/model_version_build_config.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/model_version_exec_config.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/model_version_exec_config_parameters.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/model_version_read.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/model_version_read_status_enum.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/model_version_sandbox_snapshot.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/named_test_case_chat_history_variable_value_request.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/named_test_case_error_variable_value_request.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/named_test_case_json_variable_value_request.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/named_test_case_number_variable_value_request.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/named_test_case_search_results_variable_value_request.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/named_test_case_string_variable_value_request.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/named_test_case_variable_value_request.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/node_input_compiled_chat_history_value.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/node_input_compiled_error_value.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/node_input_compiled_json_value.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/node_input_compiled_number_value.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/node_input_compiled_search_results_value.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/node_input_compiled_string_value.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/node_output_compiled_chat_history_value.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/node_output_compiled_error_value.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/node_output_compiled_json_value.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/node_output_compiled_number_value.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/node_output_compiled_search_results_value.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/node_output_compiled_string_value.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/normalized_log_probs.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/normalized_token_log_probs.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/number_enum.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/paginated_slim_deployment_read_list.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/paginated_slim_document_list.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/paginated_slim_workflow_deployment_list.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/processing_failure_reason_enum.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/processing_state_enum.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/prompt_deployment_expand_meta_request_request.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/prompt_deployment_input_request.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/prompt_execution_meta.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/prompt_node_result.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/prompt_output.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/prompt_template_block.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/prompt_template_block_data.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/prompt_template_block_data_request.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/prompt_template_block_properties.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/prompt_template_block_properties_request.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/prompt_template_block_request.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/provider_enum.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/raw_prompt_execution_overrides_request.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/register_prompt_error_response.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/register_prompt_model_parameters_request.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/register_prompt_prompt.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/register_prompt_prompt_info_request.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/register_prompt_response.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/registered_prompt_deployment.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/registered_prompt_input_variable_request.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/registered_prompt_model_version.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/registered_prompt_sandbox.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/registered_prompt_sandbox_snapshot.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/rejected_enum.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/rejected_execute_prompt_event.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/rejected_execute_prompt_response.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/rejected_execute_workflow_workflow_result_event.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/rejected_function_call.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/rejected_prompt_execution_meta.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/rejected_workflow_node_result_event.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/sandbox_scenario.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/scenario_input.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/scenario_input_request.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/scenario_input_type_enum.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/search_error_response.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/search_filters_request.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/search_node_result.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/search_node_result_data.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/search_request_options_request.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/search_response.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/search_result.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/search_result_document.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/search_result_document_request.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/search_result_merging_request.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/search_result_request.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/search_results_enum.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/search_weights_request.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/slim_deployment_read.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/slim_document.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/slim_workflow_deployment.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/streaming_enum.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/streaming_execute_prompt_event.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/streaming_prompt_execution_meta.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/streaming_workflow_node_result_event.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/string_chat_message_content.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/string_chat_message_content_request.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/string_enum.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/string_input_request.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/string_variable_value.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/submit_completion_actual_request.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/submit_completion_actuals_error_response.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/submit_workflow_execution_actual_request.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/templating_node_chat_history_result.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/templating_node_error_result.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/templating_node_json_result.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/templating_node_number_result.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/templating_node_result.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/templating_node_result_data.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/templating_node_result_output.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/templating_node_search_results_result.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/templating_node_string_result.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/terminal_node_chat_history_result.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/terminal_node_error_result.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/terminal_node_json_result.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/terminal_node_number_result.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/terminal_node_result.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/terminal_node_result_data.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/terminal_node_result_output.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/terminal_node_search_results_result.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/terminal_node_string_result.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/test_case_chat_history_variable_value.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/test_case_error_variable_value.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/test_case_json_variable_value.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/test_case_number_variable_value.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/test_case_search_results_variable_value.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/test_case_string_variable_value.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/test_case_variable_value.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/test_suite_test_case.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/upload_document_error_response.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/upload_document_response.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/vellum_error.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/vellum_error_code_enum.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/vellum_error_request.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/vellum_image.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/vellum_image_request.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/vellum_variable.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/vellum_variable_type.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/workflow_event_error.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/workflow_execution_actual_chat_history_request.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/workflow_execution_actual_json_request.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/workflow_execution_actual_string_request.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/workflow_execution_event_error_code.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/workflow_execution_event_type.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/workflow_execution_node_result_event.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/workflow_execution_workflow_result_event.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/workflow_node_result_data.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/workflow_node_result_event.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/workflow_node_result_event_state.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/workflow_output.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/workflow_output_chat_history.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/workflow_output_error.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/workflow_output_function_call.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/workflow_output_image.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/workflow_output_json.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/workflow_output_number.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/workflow_output_search_results.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/workflow_output_string.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/workflow_request_input_request.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/workflow_result_event.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/workflow_result_event_output_data.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/workflow_result_event_output_data_chat_history.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/workflow_result_event_output_data_error.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/workflow_result_event_output_data_json.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/workflow_result_event_output_data_number.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/workflow_result_event_output_data_search_results.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/workflow_result_event_output_data_string.py +0 -0
- {vellum_ai-0.3.7 → vellum_ai-0.3.8}/src/vellum/types/workflow_stream_event.py +0 -0
@@ -13,9 +13,19 @@ from .types import (
|
|
13
13
|
ArrayChatMessageContentItem_Image,
|
14
14
|
ArrayChatMessageContentItem_String,
|
15
15
|
ArrayChatMessageContentRequest,
|
16
|
+
ArrayEnum,
|
17
|
+
ArrayVariableValueItem,
|
18
|
+
ArrayVariableValueItem_ChatHistory,
|
19
|
+
ArrayVariableValueItem_Error,
|
20
|
+
ArrayVariableValueItem_FunctionCall,
|
21
|
+
ArrayVariableValueItem_Json,
|
22
|
+
ArrayVariableValueItem_Number,
|
23
|
+
ArrayVariableValueItem_SearchResults,
|
24
|
+
ArrayVariableValueItem_String,
|
16
25
|
BlockTypeEnum,
|
17
26
|
ChatHistoryEnum,
|
18
27
|
ChatHistoryInputRequest,
|
28
|
+
ChatHistoryVariableValue,
|
19
29
|
ChatMessage,
|
20
30
|
ChatMessageContent,
|
21
31
|
ChatMessageContentRequest,
|
@@ -134,6 +144,7 @@ from .types import (
|
|
134
144
|
NamedTestCaseVariableValueRequest_Number,
|
135
145
|
NamedTestCaseVariableValueRequest_SearchResults,
|
136
146
|
NamedTestCaseVariableValueRequest_String,
|
147
|
+
NodeInputCompiledArrayValue,
|
137
148
|
NodeInputCompiledChatHistoryValue,
|
138
149
|
NodeInputCompiledErrorValue,
|
139
150
|
NodeInputCompiledJsonValue,
|
@@ -141,21 +152,26 @@ from .types import (
|
|
141
152
|
NodeInputCompiledSearchResultsValue,
|
142
153
|
NodeInputCompiledStringValue,
|
143
154
|
NodeInputVariableCompiledValue,
|
155
|
+
NodeInputVariableCompiledValue_Array,
|
144
156
|
NodeInputVariableCompiledValue_ChatHistory,
|
145
157
|
NodeInputVariableCompiledValue_Error,
|
146
158
|
NodeInputVariableCompiledValue_Json,
|
147
159
|
NodeInputVariableCompiledValue_Number,
|
148
160
|
NodeInputVariableCompiledValue_SearchResults,
|
149
161
|
NodeInputVariableCompiledValue_String,
|
162
|
+
NodeOutputCompiledArrayValue,
|
150
163
|
NodeOutputCompiledChatHistoryValue,
|
151
164
|
NodeOutputCompiledErrorValue,
|
165
|
+
NodeOutputCompiledFunctionValue,
|
152
166
|
NodeOutputCompiledJsonValue,
|
153
167
|
NodeOutputCompiledNumberValue,
|
154
168
|
NodeOutputCompiledSearchResultsValue,
|
155
169
|
NodeOutputCompiledStringValue,
|
156
170
|
NodeOutputCompiledValue,
|
171
|
+
NodeOutputCompiledValue_Array,
|
157
172
|
NodeOutputCompiledValue_ChatHistory,
|
158
173
|
NodeOutputCompiledValue_Error,
|
174
|
+
NodeOutputCompiledValue_FunctionCall,
|
159
175
|
NodeOutputCompiledValue_Json,
|
160
176
|
NodeOutputCompiledValue_Number,
|
161
177
|
NodeOutputCompiledValue_SearchResults,
|
@@ -163,6 +179,7 @@ from .types import (
|
|
163
179
|
NormalizedLogProbs,
|
164
180
|
NormalizedTokenLogProbs,
|
165
181
|
NumberEnum,
|
182
|
+
NumberVariableValue,
|
166
183
|
PaginatedSlimDeploymentReadList,
|
167
184
|
PaginatedSlimDocumentList,
|
168
185
|
PaginatedSlimWorkflowDeploymentList,
|
@@ -222,6 +239,7 @@ from .types import (
|
|
222
239
|
SearchResultMergingRequest,
|
223
240
|
SearchResultRequest,
|
224
241
|
SearchResultsEnum,
|
242
|
+
SearchResultsVariableValue,
|
225
243
|
SearchWeightsRequest,
|
226
244
|
SlimDeploymentRead,
|
227
245
|
SlimDocument,
|
@@ -294,6 +312,7 @@ from .types import (
|
|
294
312
|
VellumImageRequest,
|
295
313
|
VellumVariable,
|
296
314
|
VellumVariableType,
|
315
|
+
WorkflowDeploymentRead,
|
297
316
|
WorkflowEventError,
|
298
317
|
WorkflowExecutionActualChatHistoryRequest,
|
299
318
|
WorkflowExecutionActualJsonRequest,
|
@@ -389,10 +408,20 @@ __all__ = [
|
|
389
408
|
"ArrayChatMessageContentItem_Image",
|
390
409
|
"ArrayChatMessageContentItem_String",
|
391
410
|
"ArrayChatMessageContentRequest",
|
411
|
+
"ArrayEnum",
|
412
|
+
"ArrayVariableValueItem",
|
413
|
+
"ArrayVariableValueItem_ChatHistory",
|
414
|
+
"ArrayVariableValueItem_Error",
|
415
|
+
"ArrayVariableValueItem_FunctionCall",
|
416
|
+
"ArrayVariableValueItem_Json",
|
417
|
+
"ArrayVariableValueItem_Number",
|
418
|
+
"ArrayVariableValueItem_SearchResults",
|
419
|
+
"ArrayVariableValueItem_String",
|
392
420
|
"BadRequestError",
|
393
421
|
"BlockTypeEnum",
|
394
422
|
"ChatHistoryEnum",
|
395
423
|
"ChatHistoryInputRequest",
|
424
|
+
"ChatHistoryVariableValue",
|
396
425
|
"ChatMessage",
|
397
426
|
"ChatMessageContent",
|
398
427
|
"ChatMessageContentRequest",
|
@@ -515,6 +544,7 @@ __all__ = [
|
|
515
544
|
"NamedTestCaseVariableValueRequest_Number",
|
516
545
|
"NamedTestCaseVariableValueRequest_SearchResults",
|
517
546
|
"NamedTestCaseVariableValueRequest_String",
|
547
|
+
"NodeInputCompiledArrayValue",
|
518
548
|
"NodeInputCompiledChatHistoryValue",
|
519
549
|
"NodeInputCompiledErrorValue",
|
520
550
|
"NodeInputCompiledJsonValue",
|
@@ -522,21 +552,26 @@ __all__ = [
|
|
522
552
|
"NodeInputCompiledSearchResultsValue",
|
523
553
|
"NodeInputCompiledStringValue",
|
524
554
|
"NodeInputVariableCompiledValue",
|
555
|
+
"NodeInputVariableCompiledValue_Array",
|
525
556
|
"NodeInputVariableCompiledValue_ChatHistory",
|
526
557
|
"NodeInputVariableCompiledValue_Error",
|
527
558
|
"NodeInputVariableCompiledValue_Json",
|
528
559
|
"NodeInputVariableCompiledValue_Number",
|
529
560
|
"NodeInputVariableCompiledValue_SearchResults",
|
530
561
|
"NodeInputVariableCompiledValue_String",
|
562
|
+
"NodeOutputCompiledArrayValue",
|
531
563
|
"NodeOutputCompiledChatHistoryValue",
|
532
564
|
"NodeOutputCompiledErrorValue",
|
565
|
+
"NodeOutputCompiledFunctionValue",
|
533
566
|
"NodeOutputCompiledJsonValue",
|
534
567
|
"NodeOutputCompiledNumberValue",
|
535
568
|
"NodeOutputCompiledSearchResultsValue",
|
536
569
|
"NodeOutputCompiledStringValue",
|
537
570
|
"NodeOutputCompiledValue",
|
571
|
+
"NodeOutputCompiledValue_Array",
|
538
572
|
"NodeOutputCompiledValue_ChatHistory",
|
539
573
|
"NodeOutputCompiledValue_Error",
|
574
|
+
"NodeOutputCompiledValue_FunctionCall",
|
540
575
|
"NodeOutputCompiledValue_Json",
|
541
576
|
"NodeOutputCompiledValue_Number",
|
542
577
|
"NodeOutputCompiledValue_SearchResults",
|
@@ -545,6 +580,7 @@ __all__ = [
|
|
545
580
|
"NormalizedTokenLogProbs",
|
546
581
|
"NotFoundError",
|
547
582
|
"NumberEnum",
|
583
|
+
"NumberVariableValue",
|
548
584
|
"PaginatedSlimDeploymentReadList",
|
549
585
|
"PaginatedSlimDocumentList",
|
550
586
|
"PaginatedSlimWorkflowDeploymentList",
|
@@ -604,6 +640,7 @@ __all__ = [
|
|
604
640
|
"SearchResultMergingRequest",
|
605
641
|
"SearchResultRequest",
|
606
642
|
"SearchResultsEnum",
|
643
|
+
"SearchResultsVariableValue",
|
607
644
|
"SearchWeightsRequest",
|
608
645
|
"SlimDeploymentRead",
|
609
646
|
"SlimDocument",
|
@@ -677,6 +714,7 @@ __all__ = [
|
|
677
714
|
"VellumImageRequest",
|
678
715
|
"VellumVariable",
|
679
716
|
"VellumVariableType",
|
717
|
+
"WorkflowDeploymentRead",
|
680
718
|
"WorkflowDeploymentsListRequestStatus",
|
681
719
|
"WorkflowEventError",
|
682
720
|
"WorkflowExecutionActualChatHistoryRequest",
|
@@ -100,7 +100,7 @@ class Vellum:
|
|
100
100
|
|
101
101
|
- release_tag: typing.Optional[str]. Optionally specify a release tag if you want to pin to a specific release of the Prompt Deployment
|
102
102
|
|
103
|
-
- external_id: typing.Optional[str].
|
103
|
+
- external_id: typing.Optional[str]. "Optionally include a unique identifier for tracking purposes. Must be unique for a given prompt deployment.
|
104
104
|
|
105
105
|
- expand_meta: typing.Optional[PromptDeploymentExpandMetaRequestRequest]. The name of the Prompt Deployment. Must provide either this or prompt_deployment_id.
|
106
106
|
|
@@ -175,7 +175,7 @@ class Vellum:
|
|
175
175
|
|
176
176
|
- release_tag: typing.Optional[str]. Optionally specify a release tag if you want to pin to a specific release of the Prompt Deployment
|
177
177
|
|
178
|
-
- external_id: typing.Optional[str].
|
178
|
+
- external_id: typing.Optional[str]. "Optionally include a unique identifier for tracking purposes. Must be unique for a given prompt deployment.
|
179
179
|
|
180
180
|
- expand_meta: typing.Optional[PromptDeploymentExpandMetaRequestRequest]. The name of the Prompt Deployment. Must provide either this or prompt_deployment_id.
|
181
181
|
|
@@ -251,7 +251,7 @@ class Vellum:
|
|
251
251
|
|
252
252
|
- inputs: typing.List[WorkflowRequestInputRequest]. The list of inputs defined in the Workflow's Deployment with their corresponding values.
|
253
253
|
|
254
|
-
- external_id: typing.Optional[str]. Optionally include a unique identifier for monitoring purposes.
|
254
|
+
- external_id: typing.Optional[str]. Optionally include a unique identifier for monitoring purposes. Must be unique for a given workflow deployment.
|
255
255
|
"""
|
256
256
|
_request: typing.Dict[str, typing.Any] = {"inputs": inputs}
|
257
257
|
if workflow_deployment_id is not OMIT:
|
@@ -305,7 +305,7 @@ class Vellum:
|
|
305
305
|
|
306
306
|
- inputs: typing.List[WorkflowRequestInputRequest]. The list of inputs defined in the Workflow's deployment with their corresponding values.
|
307
307
|
|
308
|
-
- external_id: typing.Optional[str]. Optionally include a unique identifier for tracking purposes.
|
308
|
+
- external_id: typing.Optional[str]. Optionally include a unique identifier for tracking purposes. Must be unique for a given workflow deployment.
|
309
309
|
|
310
310
|
- event_types: typing.Optional[typing.List[WorkflowExecutionEventType]]. Optionally specify which events you want to receive. Defaults to only WORKFLOW events. Note that the schema of non-WORKFLOW events is unstable and should be used with caution.
|
311
311
|
"""
|
@@ -683,7 +683,7 @@ class AsyncVellum:
|
|
683
683
|
|
684
684
|
- release_tag: typing.Optional[str]. Optionally specify a release tag if you want to pin to a specific release of the Prompt Deployment
|
685
685
|
|
686
|
-
- external_id: typing.Optional[str].
|
686
|
+
- external_id: typing.Optional[str]. "Optionally include a unique identifier for tracking purposes. Must be unique for a given prompt deployment.
|
687
687
|
|
688
688
|
- expand_meta: typing.Optional[PromptDeploymentExpandMetaRequestRequest]. The name of the Prompt Deployment. Must provide either this or prompt_deployment_id.
|
689
689
|
|
@@ -758,7 +758,7 @@ class AsyncVellum:
|
|
758
758
|
|
759
759
|
- release_tag: typing.Optional[str]. Optionally specify a release tag if you want to pin to a specific release of the Prompt Deployment
|
760
760
|
|
761
|
-
- external_id: typing.Optional[str].
|
761
|
+
- external_id: typing.Optional[str]. "Optionally include a unique identifier for tracking purposes. Must be unique for a given prompt deployment.
|
762
762
|
|
763
763
|
- expand_meta: typing.Optional[PromptDeploymentExpandMetaRequestRequest]. The name of the Prompt Deployment. Must provide either this or prompt_deployment_id.
|
764
764
|
|
@@ -834,7 +834,7 @@ class AsyncVellum:
|
|
834
834
|
|
835
835
|
- inputs: typing.List[WorkflowRequestInputRequest]. The list of inputs defined in the Workflow's Deployment with their corresponding values.
|
836
836
|
|
837
|
-
- external_id: typing.Optional[str]. Optionally include a unique identifier for monitoring purposes.
|
837
|
+
- external_id: typing.Optional[str]. Optionally include a unique identifier for monitoring purposes. Must be unique for a given workflow deployment.
|
838
838
|
"""
|
839
839
|
_request: typing.Dict[str, typing.Any] = {"inputs": inputs}
|
840
840
|
if workflow_deployment_id is not OMIT:
|
@@ -888,7 +888,7 @@ class AsyncVellum:
|
|
888
888
|
|
889
889
|
- inputs: typing.List[WorkflowRequestInputRequest]. The list of inputs defined in the Workflow's deployment with their corresponding values.
|
890
890
|
|
891
|
-
- external_id: typing.Optional[str]. Optionally include a unique identifier for tracking purposes.
|
891
|
+
- external_id: typing.Optional[str]. Optionally include a unique identifier for tracking purposes. Must be unique for a given workflow deployment.
|
892
892
|
|
893
893
|
- event_types: typing.Optional[typing.List[WorkflowExecutionEventType]]. Optionally specify which events you want to receive. Defaults to only WORKFLOW events. Note that the schema of non-WORKFLOW events is unstable and should be used with caution.
|
894
894
|
"""
|
@@ -43,7 +43,7 @@ class DeploymentsClient:
|
|
43
43
|
|
44
44
|
- ordering: typing.Optional[str]. Which field to use when ordering the results.
|
45
45
|
|
46
|
-
- status: typing.Optional[DeploymentsListRequestStatus].
|
46
|
+
- status: typing.Optional[DeploymentsListRequestStatus]. status
|
47
47
|
---
|
48
48
|
from vellum.client import Vellum
|
49
49
|
|
@@ -164,7 +164,7 @@ class AsyncDeploymentsClient:
|
|
164
164
|
|
165
165
|
- ordering: typing.Optional[str]. Which field to use when ordering the results.
|
166
166
|
|
167
|
-
- status: typing.Optional[DeploymentsListRequestStatus].
|
167
|
+
- status: typing.Optional[DeploymentsListRequestStatus]. status
|
168
168
|
---
|
169
169
|
from vellum.client import AsyncVellum
|
170
170
|
|
@@ -8,6 +8,7 @@ from ...core.api_error import ApiError
|
|
8
8
|
from ...core.client_wrapper import AsyncClientWrapper, SyncClientWrapper
|
9
9
|
from ...core.remove_none_from_dict import remove_none_from_dict
|
10
10
|
from ...types.paginated_slim_workflow_deployment_list import PaginatedSlimWorkflowDeploymentList
|
11
|
+
from ...types.workflow_deployment_read import WorkflowDeploymentRead
|
11
12
|
from .types.workflow_deployments_list_request_status import WorkflowDeploymentsListRequestStatus
|
12
13
|
|
13
14
|
try:
|
@@ -36,10 +37,8 @@ class WorkflowDeploymentsClient:
|
|
36
37
|
|
37
38
|
- ordering: typing.Optional[str]. Which field to use when ordering the results.
|
38
39
|
|
39
|
-
- status: typing.Optional[WorkflowDeploymentsListRequestStatus].
|
40
|
-
|
41
|
-
- `ACTIVE` - Active
|
42
|
-
- `ARCHIVED` - Archived---
|
40
|
+
- status: typing.Optional[WorkflowDeploymentsListRequestStatus]. status
|
41
|
+
---
|
43
42
|
from vellum.client import Vellum
|
44
43
|
|
45
44
|
client = Vellum(
|
@@ -62,6 +61,36 @@ class WorkflowDeploymentsClient:
|
|
62
61
|
raise ApiError(status_code=_response.status_code, body=_response.text)
|
63
62
|
raise ApiError(status_code=_response.status_code, body=_response_json)
|
64
63
|
|
64
|
+
def retrieve(self, id: str) -> WorkflowDeploymentRead:
|
65
|
+
"""
|
66
|
+
Used to retrieve a workflow deployment given its ID or name.
|
67
|
+
|
68
|
+
Parameters:
|
69
|
+
- id: str. Either the Workflow Deployment's ID or its unique name
|
70
|
+
---
|
71
|
+
from vellum.client import Vellum
|
72
|
+
|
73
|
+
client = Vellum(
|
74
|
+
api_key="YOUR_API_KEY",
|
75
|
+
)
|
76
|
+
client.workflow_deployments.retrieve(
|
77
|
+
id="id",
|
78
|
+
)
|
79
|
+
"""
|
80
|
+
_response = self._client_wrapper.httpx_client.request(
|
81
|
+
"GET",
|
82
|
+
urllib.parse.urljoin(f"{self._client_wrapper.get_environment().default}/", f"v1/workflow-deployments/{id}"),
|
83
|
+
headers=self._client_wrapper.get_headers(),
|
84
|
+
timeout=None,
|
85
|
+
)
|
86
|
+
if 200 <= _response.status_code < 300:
|
87
|
+
return pydantic.parse_obj_as(WorkflowDeploymentRead, _response.json()) # type: ignore
|
88
|
+
try:
|
89
|
+
_response_json = _response.json()
|
90
|
+
except JSONDecodeError:
|
91
|
+
raise ApiError(status_code=_response.status_code, body=_response.text)
|
92
|
+
raise ApiError(status_code=_response.status_code, body=_response_json)
|
93
|
+
|
65
94
|
|
66
95
|
class AsyncWorkflowDeploymentsClient:
|
67
96
|
def __init__(self, *, client_wrapper: AsyncClientWrapper):
|
@@ -83,10 +112,8 @@ class AsyncWorkflowDeploymentsClient:
|
|
83
112
|
|
84
113
|
- ordering: typing.Optional[str]. Which field to use when ordering the results.
|
85
114
|
|
86
|
-
- status: typing.Optional[WorkflowDeploymentsListRequestStatus].
|
87
|
-
|
88
|
-
- `ACTIVE` - Active
|
89
|
-
- `ARCHIVED` - Archived---
|
115
|
+
- status: typing.Optional[WorkflowDeploymentsListRequestStatus]. status
|
116
|
+
---
|
90
117
|
from vellum.client import AsyncVellum
|
91
118
|
|
92
119
|
client = AsyncVellum(
|
@@ -108,3 +135,33 @@ class AsyncWorkflowDeploymentsClient:
|
|
108
135
|
except JSONDecodeError:
|
109
136
|
raise ApiError(status_code=_response.status_code, body=_response.text)
|
110
137
|
raise ApiError(status_code=_response.status_code, body=_response_json)
|
138
|
+
|
139
|
+
async def retrieve(self, id: str) -> WorkflowDeploymentRead:
|
140
|
+
"""
|
141
|
+
Used to retrieve a workflow deployment given its ID or name.
|
142
|
+
|
143
|
+
Parameters:
|
144
|
+
- id: str. Either the Workflow Deployment's ID or its unique name
|
145
|
+
---
|
146
|
+
from vellum.client import AsyncVellum
|
147
|
+
|
148
|
+
client = AsyncVellum(
|
149
|
+
api_key="YOUR_API_KEY",
|
150
|
+
)
|
151
|
+
await client.workflow_deployments.retrieve(
|
152
|
+
id="id",
|
153
|
+
)
|
154
|
+
"""
|
155
|
+
_response = await self._client_wrapper.httpx_client.request(
|
156
|
+
"GET",
|
157
|
+
urllib.parse.urljoin(f"{self._client_wrapper.get_environment().default}/", f"v1/workflow-deployments/{id}"),
|
158
|
+
headers=self._client_wrapper.get_headers(),
|
159
|
+
timeout=None,
|
160
|
+
)
|
161
|
+
if 200 <= _response.status_code < 300:
|
162
|
+
return pydantic.parse_obj_as(WorkflowDeploymentRead, _response.json()) # type: ignore
|
163
|
+
try:
|
164
|
+
_response_json = _response.json()
|
165
|
+
except JSONDecodeError:
|
166
|
+
raise ApiError(status_code=_response.status_code, body=_response.text)
|
167
|
+
raise ApiError(status_code=_response.status_code, body=_response_json)
|
@@ -16,9 +16,21 @@ from .array_chat_message_content_item_request import (
|
|
16
16
|
ArrayChatMessageContentItemRequest_String,
|
17
17
|
)
|
18
18
|
from .array_chat_message_content_request import ArrayChatMessageContentRequest
|
19
|
+
from .array_enum import ArrayEnum
|
20
|
+
from .array_variable_value_item import (
|
21
|
+
ArrayVariableValueItem,
|
22
|
+
ArrayVariableValueItem_ChatHistory,
|
23
|
+
ArrayVariableValueItem_Error,
|
24
|
+
ArrayVariableValueItem_FunctionCall,
|
25
|
+
ArrayVariableValueItem_Json,
|
26
|
+
ArrayVariableValueItem_Number,
|
27
|
+
ArrayVariableValueItem_SearchResults,
|
28
|
+
ArrayVariableValueItem_String,
|
29
|
+
)
|
19
30
|
from .block_type_enum import BlockTypeEnum
|
20
31
|
from .chat_history_enum import ChatHistoryEnum
|
21
32
|
from .chat_history_input_request import ChatHistoryInputRequest
|
33
|
+
from .chat_history_variable_value import ChatHistoryVariableValue
|
22
34
|
from .chat_message import ChatMessage
|
23
35
|
from .chat_message_content import (
|
24
36
|
ChatMessageContent,
|
@@ -149,6 +161,7 @@ from .named_test_case_variable_value_request import (
|
|
149
161
|
NamedTestCaseVariableValueRequest_SearchResults,
|
150
162
|
NamedTestCaseVariableValueRequest_String,
|
151
163
|
)
|
164
|
+
from .node_input_compiled_array_value import NodeInputCompiledArrayValue
|
152
165
|
from .node_input_compiled_chat_history_value import NodeInputCompiledChatHistoryValue
|
153
166
|
from .node_input_compiled_error_value import NodeInputCompiledErrorValue
|
154
167
|
from .node_input_compiled_json_value import NodeInputCompiledJsonValue
|
@@ -157,6 +170,7 @@ from .node_input_compiled_search_results_value import NodeInputCompiledSearchRes
|
|
157
170
|
from .node_input_compiled_string_value import NodeInputCompiledStringValue
|
158
171
|
from .node_input_variable_compiled_value import (
|
159
172
|
NodeInputVariableCompiledValue,
|
173
|
+
NodeInputVariableCompiledValue_Array,
|
160
174
|
NodeInputVariableCompiledValue_ChatHistory,
|
161
175
|
NodeInputVariableCompiledValue_Error,
|
162
176
|
NodeInputVariableCompiledValue_Json,
|
@@ -164,16 +178,20 @@ from .node_input_variable_compiled_value import (
|
|
164
178
|
NodeInputVariableCompiledValue_SearchResults,
|
165
179
|
NodeInputVariableCompiledValue_String,
|
166
180
|
)
|
181
|
+
from .node_output_compiled_array_value import NodeOutputCompiledArrayValue
|
167
182
|
from .node_output_compiled_chat_history_value import NodeOutputCompiledChatHistoryValue
|
168
183
|
from .node_output_compiled_error_value import NodeOutputCompiledErrorValue
|
184
|
+
from .node_output_compiled_function_value import NodeOutputCompiledFunctionValue
|
169
185
|
from .node_output_compiled_json_value import NodeOutputCompiledJsonValue
|
170
186
|
from .node_output_compiled_number_value import NodeOutputCompiledNumberValue
|
171
187
|
from .node_output_compiled_search_results_value import NodeOutputCompiledSearchResultsValue
|
172
188
|
from .node_output_compiled_string_value import NodeOutputCompiledStringValue
|
173
189
|
from .node_output_compiled_value import (
|
174
190
|
NodeOutputCompiledValue,
|
191
|
+
NodeOutputCompiledValue_Array,
|
175
192
|
NodeOutputCompiledValue_ChatHistory,
|
176
193
|
NodeOutputCompiledValue_Error,
|
194
|
+
NodeOutputCompiledValue_FunctionCall,
|
177
195
|
NodeOutputCompiledValue_Json,
|
178
196
|
NodeOutputCompiledValue_Number,
|
179
197
|
NodeOutputCompiledValue_SearchResults,
|
@@ -182,6 +200,7 @@ from .node_output_compiled_value import (
|
|
182
200
|
from .normalized_log_probs import NormalizedLogProbs
|
183
201
|
from .normalized_token_log_probs import NormalizedTokenLogProbs
|
184
202
|
from .number_enum import NumberEnum
|
203
|
+
from .number_variable_value import NumberVariableValue
|
185
204
|
from .paginated_slim_deployment_read_list import PaginatedSlimDeploymentReadList
|
186
205
|
from .paginated_slim_document_list import PaginatedSlimDocumentList
|
187
206
|
from .paginated_slim_workflow_deployment_list import PaginatedSlimWorkflowDeploymentList
|
@@ -245,6 +264,7 @@ from .search_result_document_request import SearchResultDocumentRequest
|
|
245
264
|
from .search_result_merging_request import SearchResultMergingRequest
|
246
265
|
from .search_result_request import SearchResultRequest
|
247
266
|
from .search_results_enum import SearchResultsEnum
|
267
|
+
from .search_results_variable_value import SearchResultsVariableValue
|
248
268
|
from .search_weights_request import SearchWeightsRequest
|
249
269
|
from .slim_deployment_read import SlimDeploymentRead
|
250
270
|
from .slim_document import SlimDocument
|
@@ -325,6 +345,7 @@ from .vellum_image import VellumImage
|
|
325
345
|
from .vellum_image_request import VellumImageRequest
|
326
346
|
from .vellum_variable import VellumVariable
|
327
347
|
from .vellum_variable_type import VellumVariableType
|
348
|
+
from .workflow_deployment_read import WorkflowDeploymentRead
|
328
349
|
from .workflow_event_error import WorkflowEventError
|
329
350
|
from .workflow_execution_actual_chat_history_request import WorkflowExecutionActualChatHistoryRequest
|
330
351
|
from .workflow_execution_actual_json_request import WorkflowExecutionActualJsonRequest
|
@@ -412,9 +433,19 @@ __all__ = [
|
|
412
433
|
"ArrayChatMessageContentItem_Image",
|
413
434
|
"ArrayChatMessageContentItem_String",
|
414
435
|
"ArrayChatMessageContentRequest",
|
436
|
+
"ArrayEnum",
|
437
|
+
"ArrayVariableValueItem",
|
438
|
+
"ArrayVariableValueItem_ChatHistory",
|
439
|
+
"ArrayVariableValueItem_Error",
|
440
|
+
"ArrayVariableValueItem_FunctionCall",
|
441
|
+
"ArrayVariableValueItem_Json",
|
442
|
+
"ArrayVariableValueItem_Number",
|
443
|
+
"ArrayVariableValueItem_SearchResults",
|
444
|
+
"ArrayVariableValueItem_String",
|
415
445
|
"BlockTypeEnum",
|
416
446
|
"ChatHistoryEnum",
|
417
447
|
"ChatHistoryInputRequest",
|
448
|
+
"ChatHistoryVariableValue",
|
418
449
|
"ChatMessage",
|
419
450
|
"ChatMessageContent",
|
420
451
|
"ChatMessageContentRequest",
|
@@ -533,6 +564,7 @@ __all__ = [
|
|
533
564
|
"NamedTestCaseVariableValueRequest_Number",
|
534
565
|
"NamedTestCaseVariableValueRequest_SearchResults",
|
535
566
|
"NamedTestCaseVariableValueRequest_String",
|
567
|
+
"NodeInputCompiledArrayValue",
|
536
568
|
"NodeInputCompiledChatHistoryValue",
|
537
569
|
"NodeInputCompiledErrorValue",
|
538
570
|
"NodeInputCompiledJsonValue",
|
@@ -540,21 +572,26 @@ __all__ = [
|
|
540
572
|
"NodeInputCompiledSearchResultsValue",
|
541
573
|
"NodeInputCompiledStringValue",
|
542
574
|
"NodeInputVariableCompiledValue",
|
575
|
+
"NodeInputVariableCompiledValue_Array",
|
543
576
|
"NodeInputVariableCompiledValue_ChatHistory",
|
544
577
|
"NodeInputVariableCompiledValue_Error",
|
545
578
|
"NodeInputVariableCompiledValue_Json",
|
546
579
|
"NodeInputVariableCompiledValue_Number",
|
547
580
|
"NodeInputVariableCompiledValue_SearchResults",
|
548
581
|
"NodeInputVariableCompiledValue_String",
|
582
|
+
"NodeOutputCompiledArrayValue",
|
549
583
|
"NodeOutputCompiledChatHistoryValue",
|
550
584
|
"NodeOutputCompiledErrorValue",
|
585
|
+
"NodeOutputCompiledFunctionValue",
|
551
586
|
"NodeOutputCompiledJsonValue",
|
552
587
|
"NodeOutputCompiledNumberValue",
|
553
588
|
"NodeOutputCompiledSearchResultsValue",
|
554
589
|
"NodeOutputCompiledStringValue",
|
555
590
|
"NodeOutputCompiledValue",
|
591
|
+
"NodeOutputCompiledValue_Array",
|
556
592
|
"NodeOutputCompiledValue_ChatHistory",
|
557
593
|
"NodeOutputCompiledValue_Error",
|
594
|
+
"NodeOutputCompiledValue_FunctionCall",
|
558
595
|
"NodeOutputCompiledValue_Json",
|
559
596
|
"NodeOutputCompiledValue_Number",
|
560
597
|
"NodeOutputCompiledValue_SearchResults",
|
@@ -562,6 +599,7 @@ __all__ = [
|
|
562
599
|
"NormalizedLogProbs",
|
563
600
|
"NormalizedTokenLogProbs",
|
564
601
|
"NumberEnum",
|
602
|
+
"NumberVariableValue",
|
565
603
|
"PaginatedSlimDeploymentReadList",
|
566
604
|
"PaginatedSlimDocumentList",
|
567
605
|
"PaginatedSlimWorkflowDeploymentList",
|
@@ -621,6 +659,7 @@ __all__ = [
|
|
621
659
|
"SearchResultMergingRequest",
|
622
660
|
"SearchResultRequest",
|
623
661
|
"SearchResultsEnum",
|
662
|
+
"SearchResultsVariableValue",
|
624
663
|
"SearchWeightsRequest",
|
625
664
|
"SlimDeploymentRead",
|
626
665
|
"SlimDocument",
|
@@ -693,6 +732,7 @@ __all__ = [
|
|
693
732
|
"VellumImageRequest",
|
694
733
|
"VellumVariable",
|
695
734
|
"VellumVariableType",
|
735
|
+
"WorkflowDeploymentRead",
|
696
736
|
"WorkflowEventError",
|
697
737
|
"WorkflowExecutionActualChatHistoryRequest",
|
698
738
|
"WorkflowExecutionActualJsonRequest",
|
@@ -0,0 +1,89 @@
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
2
|
+
|
3
|
+
from __future__ import annotations
|
4
|
+
|
5
|
+
import typing
|
6
|
+
|
7
|
+
import typing_extensions
|
8
|
+
|
9
|
+
from .chat_history_variable_value import ChatHistoryVariableValue
|
10
|
+
from .error_variable_value import ErrorVariableValue
|
11
|
+
from .function_call_variable_value import FunctionCallVariableValue
|
12
|
+
from .json_variable_value import JsonVariableValue
|
13
|
+
from .number_variable_value import NumberVariableValue
|
14
|
+
from .search_results_variable_value import SearchResultsVariableValue
|
15
|
+
from .string_variable_value import StringVariableValue
|
16
|
+
|
17
|
+
|
18
|
+
class ArrayVariableValueItem_String(StringVariableValue):
|
19
|
+
type: typing_extensions.Literal["STRING"]
|
20
|
+
|
21
|
+
class Config:
|
22
|
+
frozen = True
|
23
|
+
smart_union = True
|
24
|
+
allow_population_by_field_name = True
|
25
|
+
|
26
|
+
|
27
|
+
class ArrayVariableValueItem_Number(NumberVariableValue):
|
28
|
+
type: typing_extensions.Literal["NUMBER"]
|
29
|
+
|
30
|
+
class Config:
|
31
|
+
frozen = True
|
32
|
+
smart_union = True
|
33
|
+
allow_population_by_field_name = True
|
34
|
+
|
35
|
+
|
36
|
+
class ArrayVariableValueItem_Json(JsonVariableValue):
|
37
|
+
type: typing_extensions.Literal["JSON"]
|
38
|
+
|
39
|
+
class Config:
|
40
|
+
frozen = True
|
41
|
+
smart_union = True
|
42
|
+
allow_population_by_field_name = True
|
43
|
+
|
44
|
+
|
45
|
+
class ArrayVariableValueItem_ChatHistory(ChatHistoryVariableValue):
|
46
|
+
type: typing_extensions.Literal["CHAT_HISTORY"]
|
47
|
+
|
48
|
+
class Config:
|
49
|
+
frozen = True
|
50
|
+
smart_union = True
|
51
|
+
allow_population_by_field_name = True
|
52
|
+
|
53
|
+
|
54
|
+
class ArrayVariableValueItem_SearchResults(SearchResultsVariableValue):
|
55
|
+
type: typing_extensions.Literal["SEARCH_RESULTS"]
|
56
|
+
|
57
|
+
class Config:
|
58
|
+
frozen = True
|
59
|
+
smart_union = True
|
60
|
+
allow_population_by_field_name = True
|
61
|
+
|
62
|
+
|
63
|
+
class ArrayVariableValueItem_Error(ErrorVariableValue):
|
64
|
+
type: typing_extensions.Literal["ERROR"]
|
65
|
+
|
66
|
+
class Config:
|
67
|
+
frozen = True
|
68
|
+
smart_union = True
|
69
|
+
allow_population_by_field_name = True
|
70
|
+
|
71
|
+
|
72
|
+
class ArrayVariableValueItem_FunctionCall(FunctionCallVariableValue):
|
73
|
+
type: typing_extensions.Literal["FUNCTION_CALL"]
|
74
|
+
|
75
|
+
class Config:
|
76
|
+
frozen = True
|
77
|
+
smart_union = True
|
78
|
+
allow_population_by_field_name = True
|
79
|
+
|
80
|
+
|
81
|
+
ArrayVariableValueItem = typing.Union[
|
82
|
+
ArrayVariableValueItem_String,
|
83
|
+
ArrayVariableValueItem_Number,
|
84
|
+
ArrayVariableValueItem_Json,
|
85
|
+
ArrayVariableValueItem_ChatHistory,
|
86
|
+
ArrayVariableValueItem_SearchResults,
|
87
|
+
ArrayVariableValueItem_Error,
|
88
|
+
ArrayVariableValueItem_FunctionCall,
|
89
|
+
]
|
@@ -0,0 +1,29 @@
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
2
|
+
|
3
|
+
import datetime as dt
|
4
|
+
import typing
|
5
|
+
|
6
|
+
from ..core.datetime_utils import serialize_datetime
|
7
|
+
from .chat_message import ChatMessage
|
8
|
+
|
9
|
+
try:
|
10
|
+
import pydantic.v1 as pydantic # type: ignore
|
11
|
+
except ImportError:
|
12
|
+
import pydantic # type: ignore
|
13
|
+
|
14
|
+
|
15
|
+
class ChatHistoryVariableValue(pydantic.BaseModel):
|
16
|
+
value: typing.Optional[typing.List[ChatMessage]]
|
17
|
+
|
18
|
+
def json(self, **kwargs: typing.Any) -> str:
|
19
|
+
kwargs_with_defaults: typing.Any = {"by_alias": True, "exclude_unset": True, **kwargs}
|
20
|
+
return super().json(**kwargs_with_defaults)
|
21
|
+
|
22
|
+
def dict(self, **kwargs: typing.Any) -> typing.Dict[str, typing.Any]:
|
23
|
+
kwargs_with_defaults: typing.Any = {"by_alias": True, "exclude_unset": True, **kwargs}
|
24
|
+
return super().dict(**kwargs_with_defaults)
|
25
|
+
|
26
|
+
class Config:
|
27
|
+
frozen = True
|
28
|
+
smart_union = True
|
29
|
+
json_encoders = {dt.datetime: serialize_datetime}
|