vellum-ai 0.8.9__tar.gz → 0.8.10__tar.gz
Sign up to get free protection for your applications and to get access to all the features.
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/PKG-INFO +1 -1
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/pyproject.toml +1 -1
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/client.py +6 -2
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/core/client_wrapper.py +1 -1
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/core/pydantic_utilities.py +58 -22
- vellum_ai-0.8.10/src/vellum/core/serialization.py +254 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/resources/ad_hoc/client.py +6 -2
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/resources/test_suites/client.py +22 -4
- vellum_ai-0.8.9/src/vellum/core/serialization.py +0 -170
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/LICENSE +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/README.md +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/__init__.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/core/__init__.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/core/api_error.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/core/datetime_utils.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/core/file.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/core/http_client.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/core/jsonable_encoder.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/core/query_encoder.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/core/remove_none_from_dict.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/core/request_options.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/environment.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/errors/__init__.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/errors/bad_request_error.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/errors/forbidden_error.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/errors/internal_server_error.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/errors/not_found_error.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/lib/__init__.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/lib/test_suites/__init__.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/lib/test_suites/constants.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/lib/test_suites/exceptions.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/lib/test_suites/resources.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/lib/utils/__init__.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/lib/utils/env.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/lib/utils/exceptions.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/lib/utils/paginator.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/py.typed +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/resources/__init__.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/resources/ad_hoc/__init__.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/resources/deployments/__init__.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/resources/deployments/client.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/resources/deployments/types/__init__.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/resources/deployments/types/deployments_list_request_status.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/resources/document_indexes/__init__.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/resources/document_indexes/client.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/resources/document_indexes/types/__init__.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/resources/document_indexes/types/document_indexes_list_request_status.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/resources/documents/__init__.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/resources/documents/client.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/resources/folder_entities/__init__.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/resources/folder_entities/client.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/resources/sandboxes/__init__.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/resources/sandboxes/client.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/resources/test_suite_runs/__init__.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/resources/test_suite_runs/client.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/resources/test_suites/__init__.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/resources/workflow_deployments/__init__.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/resources/workflow_deployments/client.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/resources/workflow_deployments/types/__init__.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/resources/workflow_deployments/types/workflow_deployments_list_request_status.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/resources/workflow_sandboxes/__init__.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/resources/workflow_sandboxes/client.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/terraform/__init__.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/terraform/_jsii/__init__.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/terraform/_jsii/vellum-ai_vellum@0.0.0.jsii.tgz +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/terraform/constraints.json +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/terraform/data_vellum_document_index/__init__.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/terraform/data_vellum_ml_model/__init__.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/terraform/document_index/__init__.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/terraform/ml_model/__init__.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/terraform/provider/__init__.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/terraform/py.typed +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/terraform/versions.json +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/__init__.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/ad_hoc_execute_prompt_event.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/ad_hoc_expand_meta_request.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/ad_hoc_fulfilled_prompt_execution_meta.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/ad_hoc_initiated_prompt_execution_meta.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/ad_hoc_rejected_prompt_execution_meta.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/ad_hoc_streaming_prompt_execution_meta.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/add_openai_api_key_enum.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/api_node_result.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/api_node_result_data.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/array_chat_message_content.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/array_chat_message_content_item.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/array_chat_message_content_item_request.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/array_chat_message_content_request.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/array_variable_value_item.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/array_vellum_value_item.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/array_vellum_value_item_request.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/basic_vectorizer_intfloat_multilingual_e_5_large.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/basic_vectorizer_intfloat_multilingual_e_5_large_request.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/basic_vectorizer_sentence_transformers_multi_qa_mpnet_base_cos_v_1.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/basic_vectorizer_sentence_transformers_multi_qa_mpnet_base_cos_v_1_request.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/basic_vectorizer_sentence_transformers_multi_qa_mpnet_base_dot_v_1.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/basic_vectorizer_sentence_transformers_multi_qa_mpnet_base_dot_v_1_request.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/chat_history_input_request.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/chat_message.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/chat_message_content.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/chat_message_content_request.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/chat_message_prompt_block_properties_request.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/chat_message_prompt_block_request.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/chat_message_request.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/chat_message_role.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/code_execution_node_array_result.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/code_execution_node_chat_history_result.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/code_execution_node_error_result.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/code_execution_node_function_call_result.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/code_execution_node_json_result.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/code_execution_node_number_result.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/code_execution_node_result.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/code_execution_node_result_data.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/code_execution_node_result_output.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/code_execution_node_search_results_result.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/code_execution_node_string_result.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/compile_prompt_deployment_expand_meta_request.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/compile_prompt_meta.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/components_schemas_pdf_search_result_meta_source.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/components_schemas_pdf_search_result_meta_source_request.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/conditional_node_result.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/conditional_node_result_data.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/create_test_suite_test_case_request.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/deployment_provider_payload_response.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/deployment_provider_payload_response_payload.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/deployment_read.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/deployment_release_tag_deployment_history_item.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/deployment_release_tag_read.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/document_document_to_document_index.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/document_index_chunking.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/document_index_chunking_request.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/document_index_indexing_config.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/document_index_indexing_config_request.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/document_index_read.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/document_read.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/document_status.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/enriched_normalized_completion.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/entity_status.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/environment_enum.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/ephemeral_prompt_cache_config_request.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/ephemeral_prompt_cache_config_type_enum.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/error_variable_value.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/error_vellum_value.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/error_vellum_value_request.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/execute_prompt_event.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/execute_prompt_response.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/execute_workflow_response.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/execute_workflow_workflow_result_event.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/execution_array_vellum_value.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/execution_chat_history_vellum_value.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/execution_error_vellum_value.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/execution_function_call_vellum_value.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/execution_json_vellum_value.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/execution_number_vellum_value.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/execution_search_results_vellum_value.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/execution_string_vellum_value.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/execution_vellum_value.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/external_test_case_execution.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/external_test_case_execution_request.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/finish_reason_enum.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/fulfilled_ad_hoc_execute_prompt_event.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/fulfilled_enum.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/fulfilled_execute_prompt_event.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/fulfilled_execute_prompt_response.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/fulfilled_execute_workflow_workflow_result_event.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/fulfilled_prompt_execution_meta.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/fulfilled_workflow_node_result_event.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/function_call.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/function_call_chat_message_content.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/function_call_chat_message_content_request.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/function_call_chat_message_content_value.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/function_call_chat_message_content_value_request.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/function_call_request.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/function_call_variable_value.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/function_call_vellum_value.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/function_call_vellum_value_request.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/function_definition_prompt_block_properties_request.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/function_definition_prompt_block_request.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/generate_options_request.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/generate_request.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/generate_response.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/generate_result.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/generate_result_data.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/generate_result_error.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/generate_stream_response.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/generate_stream_result.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/generate_stream_result_data.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/hkunlp_instructor_xl_vectorizer.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/hkunlp_instructor_xl_vectorizer_request.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/image_chat_message_content.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/image_chat_message_content_request.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/image_variable_value.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/image_vellum_value.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/image_vellum_value_request.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/indexing_config_vectorizer.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/indexing_config_vectorizer_request.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/indexing_state_enum.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/initiated_ad_hoc_execute_prompt_event.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/initiated_execute_prompt_event.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/initiated_prompt_execution_meta.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/initiated_workflow_node_result_event.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/instructor_vectorizer_config.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/instructor_vectorizer_config_request.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/iteration_state_enum.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/jinja_prompt_block_properties_request.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/jinja_prompt_block_request.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/json_input_request.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/json_variable_value.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/json_vellum_value.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/json_vellum_value_request.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/logical_operator.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/logprobs_enum.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/map_node_result.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/map_node_result_data.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/merge_node_result.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/merge_node_result_data.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/metadata_filter_config_request.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/metadata_filter_rule_combinator.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/metadata_filter_rule_request.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/metric_node_result.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/ml_model_usage.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/named_scenario_input_chat_history_variable_value_request.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/named_scenario_input_json_variable_value_request.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/named_scenario_input_request.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/named_scenario_input_string_variable_value_request.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/named_test_case_array_variable_value.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/named_test_case_array_variable_value_request.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/named_test_case_chat_history_variable_value.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/named_test_case_chat_history_variable_value_request.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/named_test_case_error_variable_value.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/named_test_case_error_variable_value_request.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/named_test_case_function_call_variable_value.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/named_test_case_function_call_variable_value_request.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/named_test_case_json_variable_value.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/named_test_case_json_variable_value_request.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/named_test_case_number_variable_value.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/named_test_case_number_variable_value_request.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/named_test_case_search_results_variable_value.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/named_test_case_search_results_variable_value_request.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/named_test_case_string_variable_value.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/named_test_case_string_variable_value_request.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/named_test_case_variable_value.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/named_test_case_variable_value_request.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/node_input_compiled_array_value.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/node_input_compiled_chat_history_value.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/node_input_compiled_error_value.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/node_input_compiled_function_call.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/node_input_compiled_json_value.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/node_input_compiled_number_value.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/node_input_compiled_search_results_value.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/node_input_compiled_string_value.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/node_input_variable_compiled_value.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/node_output_compiled_array_value.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/node_output_compiled_chat_history_value.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/node_output_compiled_error_value.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/node_output_compiled_function_call_value.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/node_output_compiled_json_value.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/node_output_compiled_number_value.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/node_output_compiled_search_results_value.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/node_output_compiled_string_value.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/node_output_compiled_value.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/normalized_log_probs.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/normalized_token_log_probs.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/number_variable_value.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/number_vellum_value.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/number_vellum_value_request.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/open_ai_vectorizer_config.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/open_ai_vectorizer_config_request.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/open_ai_vectorizer_text_embedding_3_large.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/open_ai_vectorizer_text_embedding_3_large_request.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/open_ai_vectorizer_text_embedding_3_small.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/open_ai_vectorizer_text_embedding_3_small_request.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/open_ai_vectorizer_text_embedding_ada_002.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/open_ai_vectorizer_text_embedding_ada_002_request.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/paginated_document_index_read_list.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/paginated_slim_deployment_read_list.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/paginated_slim_document_list.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/paginated_slim_workflow_deployment_list.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/paginated_test_suite_run_execution_list.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/paginated_test_suite_test_case_list.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/pdf_search_result_meta_source.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/pdf_search_result_meta_source_request.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/plain_text_prompt_block_request.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/price.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/processing_failure_reason_enum.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/processing_state_enum.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/prompt_block_request.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/prompt_block_state.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/prompt_deployment_expand_meta_request.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/prompt_deployment_input_request.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/prompt_execution_meta.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/prompt_node_execution_meta.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/prompt_node_result.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/prompt_node_result_data.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/prompt_output.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/prompt_parameters_request.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/prompt_request_chat_history_input_request.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/prompt_request_input_request.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/prompt_request_json_input_request.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/prompt_request_string_input_request.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/raw_prompt_execution_overrides_request.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/reducto_chunker_config.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/reducto_chunker_config_request.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/reducto_chunking.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/reducto_chunking_request.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/rejected_ad_hoc_execute_prompt_event.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/rejected_execute_prompt_event.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/rejected_execute_prompt_response.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/rejected_execute_workflow_workflow_result_event.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/rejected_prompt_execution_meta.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/rejected_workflow_node_result_event.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/release_tag_source.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/replace_test_suite_test_case_request.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/rich_text_child_block_request.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/rich_text_prompt_block_request.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/sandbox_scenario.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/scenario_input.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/scenario_input_chat_history_variable_value.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/scenario_input_json_variable_value.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/scenario_input_string_variable_value.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/search_filters_request.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/search_node_result.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/search_node_result_data.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/search_request_options_request.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/search_response.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/search_result.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/search_result_document.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/search_result_document_request.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/search_result_merging_request.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/search_result_meta.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/search_result_meta_request.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/search_result_request.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/search_weights_request.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/sentence_chunker_config.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/sentence_chunker_config_request.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/sentence_chunking.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/sentence_chunking_request.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/slim_deployment_read.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/slim_document.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/slim_workflow_deployment.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/streaming_ad_hoc_execute_prompt_event.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/streaming_execute_prompt_event.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/streaming_prompt_execution_meta.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/streaming_workflow_node_result_event.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/string_chat_message_content.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/string_chat_message_content_request.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/string_input_request.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/string_variable_value.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/string_vellum_value.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/string_vellum_value_request.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/submit_completion_actual_request.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/submit_workflow_execution_actual_request.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/subworkflow_node_result.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/subworkflow_node_result_data.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/templating_node_array_result.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/templating_node_chat_history_result.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/templating_node_error_result.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/templating_node_function_call_result.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/templating_node_json_result.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/templating_node_number_result.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/templating_node_result.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/templating_node_result_data.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/templating_node_result_output.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/templating_node_search_results_result.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/templating_node_string_result.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/terminal_node_array_result.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/terminal_node_chat_history_result.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/terminal_node_error_result.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/terminal_node_function_call_result.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/terminal_node_json_result.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/terminal_node_number_result.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/terminal_node_result.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/terminal_node_result_data.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/terminal_node_result_output.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/terminal_node_search_results_result.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/terminal_node_string_result.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/test_case_array_variable_value.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/test_case_chat_history_variable_value.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/test_case_error_variable_value.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/test_case_function_call_variable_value.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/test_case_json_variable_value.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/test_case_number_variable_value.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/test_case_search_results_variable_value.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/test_case_string_variable_value.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/test_case_variable_value.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/test_suite_run_deployment_release_tag_exec_config.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/test_suite_run_deployment_release_tag_exec_config_data.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/test_suite_run_deployment_release_tag_exec_config_data_request.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/test_suite_run_deployment_release_tag_exec_config_request.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/test_suite_run_exec_config.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/test_suite_run_exec_config_request.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/test_suite_run_execution.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/test_suite_run_execution_array_output.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/test_suite_run_execution_chat_history_output.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/test_suite_run_execution_error_output.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/test_suite_run_execution_function_call_output.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/test_suite_run_execution_json_output.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/test_suite_run_execution_metric_definition.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/test_suite_run_execution_metric_result.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/test_suite_run_execution_number_output.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/test_suite_run_execution_output.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/test_suite_run_execution_search_results_output.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/test_suite_run_execution_string_output.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/test_suite_run_external_exec_config.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/test_suite_run_external_exec_config_data.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/test_suite_run_external_exec_config_data_request.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/test_suite_run_external_exec_config_request.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/test_suite_run_metric_error_output.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/test_suite_run_metric_json_output.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/test_suite_run_metric_number_output.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/test_suite_run_metric_output.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/test_suite_run_metric_string_output.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/test_suite_run_read.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/test_suite_run_state.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/test_suite_run_test_suite.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/test_suite_run_workflow_release_tag_exec_config.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/test_suite_run_workflow_release_tag_exec_config_data.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/test_suite_run_workflow_release_tag_exec_config_data_request.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/test_suite_run_workflow_release_tag_exec_config_request.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/test_suite_test_case.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/test_suite_test_case_bulk_operation_request.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/test_suite_test_case_bulk_result.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/test_suite_test_case_create_bulk_operation_request.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/test_suite_test_case_created_bulk_result.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/test_suite_test_case_created_bulk_result_data.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/test_suite_test_case_delete_bulk_operation_data_request.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/test_suite_test_case_delete_bulk_operation_request.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/test_suite_test_case_deleted_bulk_result.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/test_suite_test_case_deleted_bulk_result_data.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/test_suite_test_case_rejected_bulk_result.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/test_suite_test_case_replace_bulk_operation_request.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/test_suite_test_case_replaced_bulk_result.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/test_suite_test_case_replaced_bulk_result_data.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/test_suite_test_case_upsert_bulk_operation_request.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/token_overlapping_window_chunker_config.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/token_overlapping_window_chunker_config_request.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/token_overlapping_window_chunking.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/token_overlapping_window_chunking_request.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/unit_enum.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/upload_document_response.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/upsert_test_suite_test_case_request.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/variable_prompt_block_request.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/vellum_error.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/vellum_error_code_enum.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/vellum_error_request.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/vellum_image.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/vellum_image_request.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/vellum_variable.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/vellum_variable_request.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/vellum_variable_type.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/workflow_deployment_read.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/workflow_event_error.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/workflow_execution_actual_chat_history_request.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/workflow_execution_actual_json_request.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/workflow_execution_actual_string_request.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/workflow_execution_event_error_code.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/workflow_execution_event_type.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/workflow_execution_node_result_event.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/workflow_execution_workflow_result_event.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/workflow_expand_meta_request.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/workflow_node_result_data.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/workflow_node_result_event.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/workflow_node_result_event_state.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/workflow_output.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/workflow_output_array.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/workflow_output_chat_history.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/workflow_output_error.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/workflow_output_function_call.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/workflow_output_image.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/workflow_output_json.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/workflow_output_number.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/workflow_output_search_results.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/workflow_output_string.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/workflow_release_tag_read.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/workflow_release_tag_workflow_deployment_history_item.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/workflow_request_chat_history_input_request.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/workflow_request_input_request.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/workflow_request_json_input_request.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/workflow_request_number_input_request.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/workflow_request_string_input_request.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/workflow_result_event.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/workflow_result_event_output_data.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/workflow_result_event_output_data_array.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/workflow_result_event_output_data_chat_history.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/workflow_result_event_output_data_error.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/workflow_result_event_output_data_function_call.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/workflow_result_event_output_data_json.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/workflow_result_event_output_data_number.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/workflow_result_event_output_data_search_results.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/workflow_result_event_output_data_string.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/workflow_stream_event.py +0 -0
- {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/version.py +0 -0
@@ -892,7 +892,9 @@ class Vellum:
|
|
892
892
|
ChatMessageRequest(
|
893
893
|
text="string",
|
894
894
|
role="SYSTEM",
|
895
|
-
content=StringChatMessageContentRequest(
|
895
|
+
content=StringChatMessageContentRequest(
|
896
|
+
value="string",
|
897
|
+
),
|
896
898
|
source="string",
|
897
899
|
)
|
898
900
|
],
|
@@ -2116,7 +2118,9 @@ class AsyncVellum:
|
|
2116
2118
|
ChatMessageRequest(
|
2117
2119
|
text="string",
|
2118
2120
|
role="SYSTEM",
|
2119
|
-
content=StringChatMessageContentRequest(
|
2121
|
+
content=StringChatMessageContentRequest(
|
2122
|
+
value="string",
|
2123
|
+
),
|
2120
2124
|
source="string",
|
2121
2125
|
)
|
2122
2126
|
],
|
@@ -17,7 +17,7 @@ class BaseClientWrapper:
|
|
17
17
|
headers: typing.Dict[str, str] = {
|
18
18
|
"X-Fern-Language": "Python",
|
19
19
|
"X-Fern-SDK-Name": "vellum-ai",
|
20
|
-
"X-Fern-SDK-Version": "0.8.
|
20
|
+
"X-Fern-SDK-Version": "0.8.10",
|
21
21
|
}
|
22
22
|
headers["X_API_KEY"] = self.api_key
|
23
23
|
return headers
|
@@ -80,6 +80,8 @@ class UniversalBaseModel(pydantic.BaseModel):
|
|
80
80
|
smart_union = True
|
81
81
|
allow_population_by_field_name = True
|
82
82
|
json_encoders = {dt.datetime: serialize_datetime}
|
83
|
+
# Allow fields begining with `model_` to be used in the model
|
84
|
+
protected_namespaces = ()
|
83
85
|
|
84
86
|
def json(self, **kwargs: typing.Any) -> str:
|
85
87
|
kwargs_with_defaults: typing.Any = {
|
@@ -97,30 +99,64 @@ class UniversalBaseModel(pydantic.BaseModel):
|
|
97
99
|
Override the default dict method to `exclude_unset` by default. This function patches
|
98
100
|
`exclude_unset` to work include fields within non-None default values.
|
99
101
|
"""
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
for
|
104
|
-
|
105
|
-
default = _get_field_default(field)
|
106
|
-
|
107
|
-
# If the default values are non-null act like they've been set
|
108
|
-
# This effectively allows exclude_unset to work like exclude_none where
|
109
|
-
# the latter passes through intentionally set none values.
|
110
|
-
if default != None:
|
111
|
-
_fields_set.add(name)
|
112
|
-
|
113
|
-
kwargs_with_defaults_exclude_unset: typing.Any = {
|
114
|
-
"by_alias": True,
|
115
|
-
"exclude_unset": True,
|
116
|
-
"include": _fields_set,
|
117
|
-
**kwargs,
|
118
|
-
}
|
119
|
-
|
102
|
+
# Note: the logic here is multi-plexed given the levers exposed in Pydantic V1 vs V2
|
103
|
+
# Pydantic V1's .dict can be extremely slow, so we do not want to call it twice.
|
104
|
+
#
|
105
|
+
# We'd ideally do the same for Pydantic V2, but it shells out to a library to serialize models
|
106
|
+
# that we have less control over, and this is less intrusive than custom serializers for now.
|
120
107
|
if IS_PYDANTIC_V2:
|
121
|
-
|
108
|
+
kwargs_with_defaults_exclude_unset: typing.Any = {
|
109
|
+
**kwargs,
|
110
|
+
"by_alias": True,
|
111
|
+
"exclude_unset": True,
|
112
|
+
"exclude_none": False,
|
113
|
+
}
|
114
|
+
kwargs_with_defaults_exclude_none: typing.Any = {
|
115
|
+
**kwargs,
|
116
|
+
"by_alias": True,
|
117
|
+
"exclude_none": True,
|
118
|
+
"exclude_unset": False,
|
119
|
+
}
|
120
|
+
return deep_union_pydantic_dicts(
|
121
|
+
super().model_dump(**kwargs_with_defaults_exclude_unset), # type: ignore # Pydantic v2
|
122
|
+
super().model_dump(**kwargs_with_defaults_exclude_none), # type: ignore # Pydantic v2
|
123
|
+
)
|
124
|
+
|
122
125
|
else:
|
123
|
-
|
126
|
+
_fields_set = self.__fields_set__
|
127
|
+
|
128
|
+
fields = _get_model_fields(self.__class__)
|
129
|
+
for name, field in fields.items():
|
130
|
+
if name not in _fields_set:
|
131
|
+
default = _get_field_default(field)
|
132
|
+
|
133
|
+
# If the default values are non-null act like they've been set
|
134
|
+
# This effectively allows exclude_unset to work like exclude_none where
|
135
|
+
# the latter passes through intentionally set none values.
|
136
|
+
if default != None:
|
137
|
+
_fields_set.add(name)
|
138
|
+
|
139
|
+
kwargs_with_defaults_exclude_unset_include_fields: typing.Any = {
|
140
|
+
"by_alias": True,
|
141
|
+
"exclude_unset": True,
|
142
|
+
"include": _fields_set,
|
143
|
+
**kwargs,
|
144
|
+
}
|
145
|
+
|
146
|
+
return super().dict(**kwargs_with_defaults_exclude_unset_include_fields)
|
147
|
+
|
148
|
+
|
149
|
+
def deep_union_pydantic_dicts(
|
150
|
+
source: typing.Dict[str, typing.Any], destination: typing.Dict[str, typing.Any]
|
151
|
+
) -> typing.Dict[str, typing.Any]:
|
152
|
+
for key, value in source.items():
|
153
|
+
if isinstance(value, dict):
|
154
|
+
node = destination.setdefault(key, {})
|
155
|
+
deep_union_pydantic_dicts(value, node)
|
156
|
+
else:
|
157
|
+
destination[key] = value
|
158
|
+
|
159
|
+
return destination
|
124
160
|
|
125
161
|
|
126
162
|
if IS_PYDANTIC_V2:
|
@@ -0,0 +1,254 @@
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
2
|
+
|
3
|
+
import collections
|
4
|
+
import inspect
|
5
|
+
import typing
|
6
|
+
|
7
|
+
import typing_extensions
|
8
|
+
|
9
|
+
import pydantic
|
10
|
+
|
11
|
+
|
12
|
+
class FieldMetadata:
|
13
|
+
"""
|
14
|
+
Metadata class used to annotate fields to provide additional information.
|
15
|
+
|
16
|
+
Example:
|
17
|
+
class MyDict(TypedDict):
|
18
|
+
field: typing.Annotated[str, FieldMetadata(alias="field_name")]
|
19
|
+
|
20
|
+
Will serialize: `{"field": "value"}`
|
21
|
+
To: `{"field_name": "value"}`
|
22
|
+
"""
|
23
|
+
|
24
|
+
alias: str
|
25
|
+
|
26
|
+
def __init__(self, *, alias: str) -> None:
|
27
|
+
self.alias = alias
|
28
|
+
|
29
|
+
|
30
|
+
def convert_and_respect_annotation_metadata(
|
31
|
+
*,
|
32
|
+
object_: typing.Any,
|
33
|
+
annotation: typing.Any,
|
34
|
+
inner_type: typing.Optional[typing.Any] = None,
|
35
|
+
direction: typing.Literal["read", "write"],
|
36
|
+
) -> typing.Any:
|
37
|
+
"""
|
38
|
+
Respect the metadata annotations on a field, such as aliasing. This function effectively
|
39
|
+
manipulates the dict-form of an object to respect the metadata annotations. This is primarily used for
|
40
|
+
TypedDicts, which cannot support aliasing out of the box, and can be extended for additional
|
41
|
+
utilities, such as defaults.
|
42
|
+
|
43
|
+
Parameters
|
44
|
+
----------
|
45
|
+
object_ : typing.Any
|
46
|
+
|
47
|
+
annotation : type
|
48
|
+
The type we're looking to apply typing annotations from
|
49
|
+
|
50
|
+
inner_type : typing.Optional[type]
|
51
|
+
|
52
|
+
Returns
|
53
|
+
-------
|
54
|
+
typing.Any
|
55
|
+
"""
|
56
|
+
|
57
|
+
if object_ is None:
|
58
|
+
return None
|
59
|
+
if inner_type is None:
|
60
|
+
inner_type = annotation
|
61
|
+
|
62
|
+
clean_type = _remove_annotations(inner_type)
|
63
|
+
# Pydantic models
|
64
|
+
if (
|
65
|
+
inspect.isclass(clean_type)
|
66
|
+
and issubclass(clean_type, pydantic.BaseModel)
|
67
|
+
and isinstance(object_, typing.Mapping)
|
68
|
+
):
|
69
|
+
return _convert_mapping(object_, clean_type, direction)
|
70
|
+
# TypedDicts
|
71
|
+
if typing_extensions.is_typeddict(clean_type) and isinstance(object_, typing.Mapping):
|
72
|
+
return _convert_mapping(object_, clean_type, direction)
|
73
|
+
|
74
|
+
# If you're iterating on a string, do not bother to coerce it to a sequence.
|
75
|
+
if not isinstance(object_, str):
|
76
|
+
if (
|
77
|
+
typing_extensions.get_origin(clean_type) == typing.Set
|
78
|
+
or typing_extensions.get_origin(clean_type) == set
|
79
|
+
or clean_type == typing.Set
|
80
|
+
) and isinstance(object_, typing.Set):
|
81
|
+
inner_type = typing_extensions.get_args(clean_type)[0]
|
82
|
+
return {
|
83
|
+
convert_and_respect_annotation_metadata(
|
84
|
+
object_=item,
|
85
|
+
annotation=annotation,
|
86
|
+
inner_type=inner_type,
|
87
|
+
direction=direction,
|
88
|
+
)
|
89
|
+
for item in object_
|
90
|
+
}
|
91
|
+
elif (
|
92
|
+
(
|
93
|
+
typing_extensions.get_origin(clean_type) == typing.List
|
94
|
+
or typing_extensions.get_origin(clean_type) == list
|
95
|
+
or clean_type == typing.List
|
96
|
+
)
|
97
|
+
and isinstance(object_, typing.List)
|
98
|
+
) or (
|
99
|
+
(
|
100
|
+
typing_extensions.get_origin(clean_type) == typing.Sequence
|
101
|
+
or typing_extensions.get_origin(clean_type) == collections.abc.Sequence
|
102
|
+
or clean_type == typing.Sequence
|
103
|
+
)
|
104
|
+
and isinstance(object_, typing.Sequence)
|
105
|
+
):
|
106
|
+
inner_type = typing_extensions.get_args(clean_type)[0]
|
107
|
+
return [
|
108
|
+
convert_and_respect_annotation_metadata(
|
109
|
+
object_=item,
|
110
|
+
annotation=annotation,
|
111
|
+
inner_type=inner_type,
|
112
|
+
direction=direction,
|
113
|
+
)
|
114
|
+
for item in object_
|
115
|
+
]
|
116
|
+
|
117
|
+
if typing_extensions.get_origin(clean_type) == typing.Union:
|
118
|
+
# We should be able to ~relatively~ safely try to convert keys against all
|
119
|
+
# member types in the union, the edge case here is if one member aliases a field
|
120
|
+
# of the same name to a different name from another member
|
121
|
+
# Or if another member aliases a field of the same name that another member does not.
|
122
|
+
for member in typing_extensions.get_args(clean_type):
|
123
|
+
object_ = convert_and_respect_annotation_metadata(
|
124
|
+
object_=object_,
|
125
|
+
annotation=annotation,
|
126
|
+
inner_type=member,
|
127
|
+
direction=direction,
|
128
|
+
)
|
129
|
+
return object_
|
130
|
+
|
131
|
+
annotated_type = _get_annotation(annotation)
|
132
|
+
if annotated_type is None:
|
133
|
+
return object_
|
134
|
+
|
135
|
+
# If the object is not a TypedDict, a Union, or other container (list, set, sequence, etc.)
|
136
|
+
# Then we can safely call it on the recursive conversion.
|
137
|
+
return object_
|
138
|
+
|
139
|
+
|
140
|
+
def _convert_mapping(
|
141
|
+
object_: typing.Mapping[str, object],
|
142
|
+
expected_type: typing.Any,
|
143
|
+
direction: typing.Literal["read", "write"],
|
144
|
+
) -> typing.Mapping[str, object]:
|
145
|
+
converted_object: typing.Dict[str, object] = {}
|
146
|
+
annotations = typing_extensions.get_type_hints(expected_type, include_extras=True)
|
147
|
+
aliases_to_field_names = _get_alias_to_field_name(annotations)
|
148
|
+
for key, value in object_.items():
|
149
|
+
if direction == "read" and key in aliases_to_field_names:
|
150
|
+
dealiased_key = aliases_to_field_names.get(key)
|
151
|
+
if dealiased_key is not None:
|
152
|
+
type_ = annotations.get(dealiased_key)
|
153
|
+
else:
|
154
|
+
type_ = annotations.get(key)
|
155
|
+
# Note you can't get the annotation by the field name if you're in read mode, so you must check the aliases map
|
156
|
+
#
|
157
|
+
# So this is effectively saying if we're in write mode, and we don't have a type, or if we're in read mode and we don't have an alias
|
158
|
+
# then we can just pass the value through as is
|
159
|
+
if type_ is None:
|
160
|
+
converted_object[key] = value
|
161
|
+
elif direction == "read" and key not in aliases_to_field_names:
|
162
|
+
converted_object[key] = convert_and_respect_annotation_metadata(
|
163
|
+
object_=value, annotation=type_, direction=direction
|
164
|
+
)
|
165
|
+
else:
|
166
|
+
converted_object[_alias_key(key, type_, direction, aliases_to_field_names)] = (
|
167
|
+
convert_and_respect_annotation_metadata(object_=value, annotation=type_, direction=direction)
|
168
|
+
)
|
169
|
+
return converted_object
|
170
|
+
|
171
|
+
|
172
|
+
def _get_annotation(type_: typing.Any) -> typing.Optional[typing.Any]:
|
173
|
+
maybe_annotated_type = typing_extensions.get_origin(type_)
|
174
|
+
if maybe_annotated_type is None:
|
175
|
+
return None
|
176
|
+
|
177
|
+
if maybe_annotated_type == typing_extensions.NotRequired:
|
178
|
+
type_ = typing_extensions.get_args(type_)[0]
|
179
|
+
maybe_annotated_type = typing_extensions.get_origin(type_)
|
180
|
+
|
181
|
+
if maybe_annotated_type == typing_extensions.Annotated:
|
182
|
+
return type_
|
183
|
+
|
184
|
+
return None
|
185
|
+
|
186
|
+
|
187
|
+
def _remove_annotations(type_: typing.Any) -> typing.Any:
|
188
|
+
maybe_annotated_type = typing_extensions.get_origin(type_)
|
189
|
+
if maybe_annotated_type is None:
|
190
|
+
return type_
|
191
|
+
|
192
|
+
if maybe_annotated_type == typing_extensions.NotRequired:
|
193
|
+
return _remove_annotations(typing_extensions.get_args(type_)[0])
|
194
|
+
|
195
|
+
if maybe_annotated_type == typing_extensions.Annotated:
|
196
|
+
return _remove_annotations(typing_extensions.get_args(type_)[0])
|
197
|
+
|
198
|
+
return type_
|
199
|
+
|
200
|
+
|
201
|
+
def get_alias_to_field_mapping(type_: typing.Any) -> typing.Dict[str, str]:
|
202
|
+
annotations = typing_extensions.get_type_hints(type_, include_extras=True)
|
203
|
+
return _get_alias_to_field_name(annotations)
|
204
|
+
|
205
|
+
|
206
|
+
def get_field_to_alias_mapping(type_: typing.Any) -> typing.Dict[str, str]:
|
207
|
+
annotations = typing_extensions.get_type_hints(type_, include_extras=True)
|
208
|
+
return _get_field_to_alias_name(annotations)
|
209
|
+
|
210
|
+
|
211
|
+
def _get_alias_to_field_name(
|
212
|
+
field_to_hint: typing.Dict[str, typing.Any],
|
213
|
+
) -> typing.Dict[str, str]:
|
214
|
+
aliases = {}
|
215
|
+
for field, hint in field_to_hint.items():
|
216
|
+
maybe_alias = _get_alias_from_type(hint)
|
217
|
+
if maybe_alias is not None:
|
218
|
+
aliases[maybe_alias] = field
|
219
|
+
return aliases
|
220
|
+
|
221
|
+
|
222
|
+
def _get_field_to_alias_name(
|
223
|
+
field_to_hint: typing.Dict[str, typing.Any],
|
224
|
+
) -> typing.Dict[str, str]:
|
225
|
+
aliases = {}
|
226
|
+
for field, hint in field_to_hint.items():
|
227
|
+
maybe_alias = _get_alias_from_type(hint)
|
228
|
+
if maybe_alias is not None:
|
229
|
+
aliases[field] = maybe_alias
|
230
|
+
return aliases
|
231
|
+
|
232
|
+
|
233
|
+
def _get_alias_from_type(type_: typing.Any) -> typing.Optional[str]:
|
234
|
+
maybe_annotated_type = _get_annotation(type_)
|
235
|
+
|
236
|
+
if maybe_annotated_type is not None:
|
237
|
+
# The actual annotations are 1 onward, the first is the annotated type
|
238
|
+
annotations = typing_extensions.get_args(maybe_annotated_type)[1:]
|
239
|
+
|
240
|
+
for annotation in annotations:
|
241
|
+
if isinstance(annotation, FieldMetadata) and annotation.alias is not None:
|
242
|
+
return annotation.alias
|
243
|
+
return None
|
244
|
+
|
245
|
+
|
246
|
+
def _alias_key(
|
247
|
+
key: str,
|
248
|
+
type_: typing.Any,
|
249
|
+
direction: typing.Literal["read", "write"],
|
250
|
+
aliases_to_field_names: typing.Dict[str, str],
|
251
|
+
) -> str:
|
252
|
+
if direction == "read":
|
253
|
+
return aliases_to_field_names.get(key, key)
|
254
|
+
return _get_alias_from_type(type_=type_) or key
|
@@ -112,7 +112,9 @@ class AdHocClient:
|
|
112
112
|
),
|
113
113
|
id="string",
|
114
114
|
state="ENABLED",
|
115
|
-
cache_config=EphemeralPromptCacheConfigRequest(
|
115
|
+
cache_config=EphemeralPromptCacheConfigRequest(
|
116
|
+
type={"key": "value"},
|
117
|
+
),
|
116
118
|
)
|
117
119
|
],
|
118
120
|
expand_meta=AdHocExpandMetaRequest(
|
@@ -288,7 +290,9 @@ class AsyncAdHocClient:
|
|
288
290
|
),
|
289
291
|
id="string",
|
290
292
|
state="ENABLED",
|
291
|
-
cache_config=EphemeralPromptCacheConfigRequest(
|
293
|
+
cache_config=EphemeralPromptCacheConfigRequest(
|
294
|
+
type={"key": "value"},
|
295
|
+
),
|
292
296
|
)
|
293
297
|
],
|
294
298
|
expand_meta=AdHocExpandMetaRequest(
|
@@ -229,8 +229,18 @@ class TestSuitesClient:
|
|
229
229
|
id="string",
|
230
230
|
data=CreateTestSuiteTestCaseRequest(
|
231
231
|
label="string",
|
232
|
-
input_values=[
|
233
|
-
|
232
|
+
input_values=[
|
233
|
+
NamedTestCaseStringVariableValueRequest(
|
234
|
+
value="string",
|
235
|
+
name="string",
|
236
|
+
)
|
237
|
+
],
|
238
|
+
evaluation_values=[
|
239
|
+
NamedTestCaseStringVariableValueRequest(
|
240
|
+
value="string",
|
241
|
+
name="string",
|
242
|
+
)
|
243
|
+
],
|
234
244
|
external_id="string",
|
235
245
|
),
|
236
246
|
)
|
@@ -548,9 +558,17 @@ class AsyncTestSuitesClient:
|
|
548
558
|
id="string",
|
549
559
|
data=CreateTestSuiteTestCaseRequest(
|
550
560
|
label="string",
|
551
|
-
input_values=[
|
561
|
+
input_values=[
|
562
|
+
NamedTestCaseStringVariableValueRequest(
|
563
|
+
value="string",
|
564
|
+
name="string",
|
565
|
+
)
|
566
|
+
],
|
552
567
|
evaluation_values=[
|
553
|
-
NamedTestCaseStringVariableValueRequest(
|
568
|
+
NamedTestCaseStringVariableValueRequest(
|
569
|
+
value="string",
|
570
|
+
name="string",
|
571
|
+
)
|
554
572
|
],
|
555
573
|
external_id="string",
|
556
574
|
),
|
@@ -1,170 +0,0 @@
|
|
1
|
-
# This file was auto-generated by Fern from our API Definition.
|
2
|
-
|
3
|
-
import collections
|
4
|
-
import typing
|
5
|
-
|
6
|
-
import typing_extensions
|
7
|
-
|
8
|
-
|
9
|
-
class FieldMetadata:
|
10
|
-
"""
|
11
|
-
Metadata class used to annotate fields to provide additional information.
|
12
|
-
|
13
|
-
Example:
|
14
|
-
class MyDict(TypedDict):
|
15
|
-
field: typing.Annotated[str, FieldMetadata(alias="field_name")]
|
16
|
-
|
17
|
-
Will serialize: `{"field": "value"}`
|
18
|
-
To: `{"field_name": "value"}`
|
19
|
-
"""
|
20
|
-
|
21
|
-
alias: str
|
22
|
-
|
23
|
-
def __init__(self, *, alias: str) -> None:
|
24
|
-
self.alias = alias
|
25
|
-
|
26
|
-
|
27
|
-
def convert_and_respect_annotation_metadata(
|
28
|
-
*,
|
29
|
-
object_: typing.Any,
|
30
|
-
annotation: typing.Any,
|
31
|
-
inner_type: typing.Optional[typing.Any] = None,
|
32
|
-
) -> typing.Any:
|
33
|
-
"""
|
34
|
-
Respect the metadata annotations on a field, such as aliasing. This function effectively
|
35
|
-
manipulates the dict-form of an object to respect the metadata annotations. This is primarily used for
|
36
|
-
TypedDicts, which cannot support aliasing out of the box, and can be extended for additional
|
37
|
-
utilities, such as defaults.
|
38
|
-
|
39
|
-
Parameters
|
40
|
-
----------
|
41
|
-
object_ : typing.Any
|
42
|
-
|
43
|
-
annotation : type
|
44
|
-
The type we're looking to apply typing annotations from
|
45
|
-
|
46
|
-
inner_type : typing.Optional[type]
|
47
|
-
|
48
|
-
Returns
|
49
|
-
-------
|
50
|
-
typing.Any
|
51
|
-
"""
|
52
|
-
|
53
|
-
if object_ is None:
|
54
|
-
return None
|
55
|
-
if inner_type is None:
|
56
|
-
inner_type = annotation
|
57
|
-
|
58
|
-
clean_type = _remove_annotations(inner_type)
|
59
|
-
if typing_extensions.is_typeddict(clean_type) and isinstance(object_, typing.Mapping):
|
60
|
-
return _convert_typeddict(object_, clean_type)
|
61
|
-
|
62
|
-
if (
|
63
|
-
# If you're iterating on a string, do not bother to coerce it to a sequence.
|
64
|
-
(not isinstance(object_, str))
|
65
|
-
and (
|
66
|
-
(
|
67
|
-
(
|
68
|
-
typing_extensions.get_origin(clean_type) == typing.List
|
69
|
-
or typing_extensions.get_origin(clean_type) == list
|
70
|
-
or clean_type == typing.List
|
71
|
-
)
|
72
|
-
and isinstance(object_, typing.List)
|
73
|
-
)
|
74
|
-
or (
|
75
|
-
(
|
76
|
-
typing_extensions.get_origin(clean_type) == typing.Set
|
77
|
-
or typing_extensions.get_origin(clean_type) == set
|
78
|
-
or clean_type == typing.Set
|
79
|
-
)
|
80
|
-
and isinstance(object_, typing.Set)
|
81
|
-
)
|
82
|
-
or (
|
83
|
-
(
|
84
|
-
typing_extensions.get_origin(clean_type) == typing.Sequence
|
85
|
-
or typing_extensions.get_origin(clean_type) == collections.abc.Sequence
|
86
|
-
or clean_type == typing.Sequence
|
87
|
-
)
|
88
|
-
and isinstance(object_, typing.Sequence)
|
89
|
-
)
|
90
|
-
)
|
91
|
-
):
|
92
|
-
inner_type = typing_extensions.get_args(clean_type)[0]
|
93
|
-
return [
|
94
|
-
convert_and_respect_annotation_metadata(object_=item, annotation=annotation, inner_type=inner_type)
|
95
|
-
for item in object_
|
96
|
-
]
|
97
|
-
|
98
|
-
if typing_extensions.get_origin(clean_type) == typing.Union:
|
99
|
-
# We should be able to ~relatively~ safely try to convert keys against all
|
100
|
-
# member types in the union, the edge case here is if one member aliases a field
|
101
|
-
# of the same name to a different name from another member
|
102
|
-
# Or if another member aliases a field of the same name that another member does not.
|
103
|
-
for member in typing_extensions.get_args(clean_type):
|
104
|
-
object_ = convert_and_respect_annotation_metadata(object_=object_, annotation=annotation, inner_type=member)
|
105
|
-
return object_
|
106
|
-
|
107
|
-
annotated_type = _get_annotation(annotation)
|
108
|
-
if annotated_type is None:
|
109
|
-
return object_
|
110
|
-
|
111
|
-
# If the object is not a TypedDict, a Union, or other container (list, set, sequence, etc.)
|
112
|
-
# Then we can safely call it on the recursive conversion.
|
113
|
-
return object_
|
114
|
-
|
115
|
-
|
116
|
-
def _convert_typeddict(object_: typing.Mapping[str, object], expected_type: typing.Any) -> typing.Mapping[str, object]:
|
117
|
-
converted_object: typing.Dict[str, object] = {}
|
118
|
-
annotations = typing_extensions.get_type_hints(expected_type, include_extras=True)
|
119
|
-
for key, value in object_.items():
|
120
|
-
type_ = annotations.get(key)
|
121
|
-
if type_ is None:
|
122
|
-
converted_object[key] = value
|
123
|
-
else:
|
124
|
-
converted_object[_alias_key(key, type_)] = convert_and_respect_annotation_metadata(
|
125
|
-
object_=value, annotation=type_
|
126
|
-
)
|
127
|
-
return converted_object
|
128
|
-
|
129
|
-
|
130
|
-
def _get_annotation(type_: typing.Any) -> typing.Optional[typing.Any]:
|
131
|
-
maybe_annotated_type = typing_extensions.get_origin(type_)
|
132
|
-
if maybe_annotated_type is None:
|
133
|
-
return None
|
134
|
-
|
135
|
-
if maybe_annotated_type == typing_extensions.NotRequired:
|
136
|
-
type_ = typing_extensions.get_args(type_)[0]
|
137
|
-
maybe_annotated_type = typing_extensions.get_origin(type_)
|
138
|
-
|
139
|
-
if maybe_annotated_type == typing_extensions.Annotated:
|
140
|
-
return type_
|
141
|
-
|
142
|
-
return None
|
143
|
-
|
144
|
-
|
145
|
-
def _remove_annotations(type_: typing.Any) -> typing.Any:
|
146
|
-
maybe_annotated_type = typing_extensions.get_origin(type_)
|
147
|
-
if maybe_annotated_type is None:
|
148
|
-
return type_
|
149
|
-
|
150
|
-
if maybe_annotated_type == typing_extensions.NotRequired:
|
151
|
-
return _remove_annotations(typing_extensions.get_args(type_)[0])
|
152
|
-
|
153
|
-
if maybe_annotated_type == typing_extensions.Annotated:
|
154
|
-
return _remove_annotations(typing_extensions.get_args(type_)[0])
|
155
|
-
|
156
|
-
return type_
|
157
|
-
|
158
|
-
|
159
|
-
def _alias_key(key: str, type_: typing.Any) -> str:
|
160
|
-
maybe_annotated_type = _get_annotation(type_)
|
161
|
-
|
162
|
-
if maybe_annotated_type is not None:
|
163
|
-
# The actual annotations are 1 onward, the first is the annotated type
|
164
|
-
annotations = typing_extensions.get_args(maybe_annotated_type)[1:]
|
165
|
-
|
166
|
-
for annotation in annotations:
|
167
|
-
if isinstance(annotation, FieldMetadata) and annotation.alias is not None:
|
168
|
-
return annotation.alias
|
169
|
-
|
170
|
-
return key
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|