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.
Files changed (491) hide show
  1. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/PKG-INFO +1 -1
  2. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/pyproject.toml +1 -1
  3. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/client.py +6 -2
  4. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/core/client_wrapper.py +1 -1
  5. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/core/pydantic_utilities.py +58 -22
  6. vellum_ai-0.8.10/src/vellum/core/serialization.py +254 -0
  7. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/resources/ad_hoc/client.py +6 -2
  8. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/resources/test_suites/client.py +22 -4
  9. vellum_ai-0.8.9/src/vellum/core/serialization.py +0 -170
  10. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/LICENSE +0 -0
  11. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/README.md +0 -0
  12. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/__init__.py +0 -0
  13. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/core/__init__.py +0 -0
  14. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/core/api_error.py +0 -0
  15. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/core/datetime_utils.py +0 -0
  16. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/core/file.py +0 -0
  17. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/core/http_client.py +0 -0
  18. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/core/jsonable_encoder.py +0 -0
  19. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/core/query_encoder.py +0 -0
  20. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/core/remove_none_from_dict.py +0 -0
  21. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/core/request_options.py +0 -0
  22. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/environment.py +0 -0
  23. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/errors/__init__.py +0 -0
  24. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/errors/bad_request_error.py +0 -0
  25. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/errors/forbidden_error.py +0 -0
  26. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/errors/internal_server_error.py +0 -0
  27. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/errors/not_found_error.py +0 -0
  28. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/lib/__init__.py +0 -0
  29. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/lib/test_suites/__init__.py +0 -0
  30. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/lib/test_suites/constants.py +0 -0
  31. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/lib/test_suites/exceptions.py +0 -0
  32. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/lib/test_suites/resources.py +0 -0
  33. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/lib/utils/__init__.py +0 -0
  34. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/lib/utils/env.py +0 -0
  35. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/lib/utils/exceptions.py +0 -0
  36. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/lib/utils/paginator.py +0 -0
  37. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/py.typed +0 -0
  38. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/resources/__init__.py +0 -0
  39. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/resources/ad_hoc/__init__.py +0 -0
  40. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/resources/deployments/__init__.py +0 -0
  41. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/resources/deployments/client.py +0 -0
  42. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/resources/deployments/types/__init__.py +0 -0
  43. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/resources/deployments/types/deployments_list_request_status.py +0 -0
  44. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/resources/document_indexes/__init__.py +0 -0
  45. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/resources/document_indexes/client.py +0 -0
  46. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/resources/document_indexes/types/__init__.py +0 -0
  47. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/resources/document_indexes/types/document_indexes_list_request_status.py +0 -0
  48. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/resources/documents/__init__.py +0 -0
  49. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/resources/documents/client.py +0 -0
  50. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/resources/folder_entities/__init__.py +0 -0
  51. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/resources/folder_entities/client.py +0 -0
  52. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/resources/sandboxes/__init__.py +0 -0
  53. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/resources/sandboxes/client.py +0 -0
  54. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/resources/test_suite_runs/__init__.py +0 -0
  55. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/resources/test_suite_runs/client.py +0 -0
  56. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/resources/test_suites/__init__.py +0 -0
  57. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/resources/workflow_deployments/__init__.py +0 -0
  58. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/resources/workflow_deployments/client.py +0 -0
  59. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/resources/workflow_deployments/types/__init__.py +0 -0
  60. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/resources/workflow_deployments/types/workflow_deployments_list_request_status.py +0 -0
  61. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/resources/workflow_sandboxes/__init__.py +0 -0
  62. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/resources/workflow_sandboxes/client.py +0 -0
  63. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/terraform/__init__.py +0 -0
  64. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/terraform/_jsii/__init__.py +0 -0
  65. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/terraform/_jsii/vellum-ai_vellum@0.0.0.jsii.tgz +0 -0
  66. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/terraform/constraints.json +0 -0
  67. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/terraform/data_vellum_document_index/__init__.py +0 -0
  68. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/terraform/data_vellum_ml_model/__init__.py +0 -0
  69. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/terraform/document_index/__init__.py +0 -0
  70. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/terraform/ml_model/__init__.py +0 -0
  71. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/terraform/provider/__init__.py +0 -0
  72. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/terraform/py.typed +0 -0
  73. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/terraform/versions.json +0 -0
  74. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/__init__.py +0 -0
  75. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/ad_hoc_execute_prompt_event.py +0 -0
  76. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/ad_hoc_expand_meta_request.py +0 -0
  77. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/ad_hoc_fulfilled_prompt_execution_meta.py +0 -0
  78. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/ad_hoc_initiated_prompt_execution_meta.py +0 -0
  79. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/ad_hoc_rejected_prompt_execution_meta.py +0 -0
  80. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/ad_hoc_streaming_prompt_execution_meta.py +0 -0
  81. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/add_openai_api_key_enum.py +0 -0
  82. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/api_node_result.py +0 -0
  83. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/api_node_result_data.py +0 -0
  84. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/array_chat_message_content.py +0 -0
  85. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/array_chat_message_content_item.py +0 -0
  86. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/array_chat_message_content_item_request.py +0 -0
  87. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/array_chat_message_content_request.py +0 -0
  88. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/array_variable_value_item.py +0 -0
  89. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/array_vellum_value_item.py +0 -0
  90. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/array_vellum_value_item_request.py +0 -0
  91. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/basic_vectorizer_intfloat_multilingual_e_5_large.py +0 -0
  92. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/basic_vectorizer_intfloat_multilingual_e_5_large_request.py +0 -0
  93. {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
  94. {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
  95. {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
  96. {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
  97. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/chat_history_input_request.py +0 -0
  98. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/chat_message.py +0 -0
  99. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/chat_message_content.py +0 -0
  100. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/chat_message_content_request.py +0 -0
  101. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/chat_message_prompt_block_properties_request.py +0 -0
  102. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/chat_message_prompt_block_request.py +0 -0
  103. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/chat_message_request.py +0 -0
  104. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/chat_message_role.py +0 -0
  105. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/code_execution_node_array_result.py +0 -0
  106. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/code_execution_node_chat_history_result.py +0 -0
  107. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/code_execution_node_error_result.py +0 -0
  108. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/code_execution_node_function_call_result.py +0 -0
  109. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/code_execution_node_json_result.py +0 -0
  110. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/code_execution_node_number_result.py +0 -0
  111. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/code_execution_node_result.py +0 -0
  112. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/code_execution_node_result_data.py +0 -0
  113. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/code_execution_node_result_output.py +0 -0
  114. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/code_execution_node_search_results_result.py +0 -0
  115. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/code_execution_node_string_result.py +0 -0
  116. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/compile_prompt_deployment_expand_meta_request.py +0 -0
  117. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/compile_prompt_meta.py +0 -0
  118. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/components_schemas_pdf_search_result_meta_source.py +0 -0
  119. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/components_schemas_pdf_search_result_meta_source_request.py +0 -0
  120. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/conditional_node_result.py +0 -0
  121. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/conditional_node_result_data.py +0 -0
  122. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/create_test_suite_test_case_request.py +0 -0
  123. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/deployment_provider_payload_response.py +0 -0
  124. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/deployment_provider_payload_response_payload.py +0 -0
  125. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/deployment_read.py +0 -0
  126. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/deployment_release_tag_deployment_history_item.py +0 -0
  127. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/deployment_release_tag_read.py +0 -0
  128. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/document_document_to_document_index.py +0 -0
  129. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/document_index_chunking.py +0 -0
  130. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/document_index_chunking_request.py +0 -0
  131. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/document_index_indexing_config.py +0 -0
  132. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/document_index_indexing_config_request.py +0 -0
  133. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/document_index_read.py +0 -0
  134. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/document_read.py +0 -0
  135. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/document_status.py +0 -0
  136. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/enriched_normalized_completion.py +0 -0
  137. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/entity_status.py +0 -0
  138. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/environment_enum.py +0 -0
  139. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/ephemeral_prompt_cache_config_request.py +0 -0
  140. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/ephemeral_prompt_cache_config_type_enum.py +0 -0
  141. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/error_variable_value.py +0 -0
  142. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/error_vellum_value.py +0 -0
  143. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/error_vellum_value_request.py +0 -0
  144. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/execute_prompt_event.py +0 -0
  145. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/execute_prompt_response.py +0 -0
  146. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/execute_workflow_response.py +0 -0
  147. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/execute_workflow_workflow_result_event.py +0 -0
  148. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/execution_array_vellum_value.py +0 -0
  149. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/execution_chat_history_vellum_value.py +0 -0
  150. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/execution_error_vellum_value.py +0 -0
  151. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/execution_function_call_vellum_value.py +0 -0
  152. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/execution_json_vellum_value.py +0 -0
  153. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/execution_number_vellum_value.py +0 -0
  154. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/execution_search_results_vellum_value.py +0 -0
  155. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/execution_string_vellum_value.py +0 -0
  156. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/execution_vellum_value.py +0 -0
  157. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/external_test_case_execution.py +0 -0
  158. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/external_test_case_execution_request.py +0 -0
  159. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/finish_reason_enum.py +0 -0
  160. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/fulfilled_ad_hoc_execute_prompt_event.py +0 -0
  161. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/fulfilled_enum.py +0 -0
  162. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/fulfilled_execute_prompt_event.py +0 -0
  163. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/fulfilled_execute_prompt_response.py +0 -0
  164. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/fulfilled_execute_workflow_workflow_result_event.py +0 -0
  165. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/fulfilled_prompt_execution_meta.py +0 -0
  166. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/fulfilled_workflow_node_result_event.py +0 -0
  167. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/function_call.py +0 -0
  168. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/function_call_chat_message_content.py +0 -0
  169. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/function_call_chat_message_content_request.py +0 -0
  170. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/function_call_chat_message_content_value.py +0 -0
  171. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/function_call_chat_message_content_value_request.py +0 -0
  172. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/function_call_request.py +0 -0
  173. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/function_call_variable_value.py +0 -0
  174. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/function_call_vellum_value.py +0 -0
  175. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/function_call_vellum_value_request.py +0 -0
  176. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/function_definition_prompt_block_properties_request.py +0 -0
  177. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/function_definition_prompt_block_request.py +0 -0
  178. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/generate_options_request.py +0 -0
  179. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/generate_request.py +0 -0
  180. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/generate_response.py +0 -0
  181. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/generate_result.py +0 -0
  182. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/generate_result_data.py +0 -0
  183. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/generate_result_error.py +0 -0
  184. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/generate_stream_response.py +0 -0
  185. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/generate_stream_result.py +0 -0
  186. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/generate_stream_result_data.py +0 -0
  187. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/hkunlp_instructor_xl_vectorizer.py +0 -0
  188. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/hkunlp_instructor_xl_vectorizer_request.py +0 -0
  189. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/image_chat_message_content.py +0 -0
  190. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/image_chat_message_content_request.py +0 -0
  191. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/image_variable_value.py +0 -0
  192. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/image_vellum_value.py +0 -0
  193. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/image_vellum_value_request.py +0 -0
  194. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/indexing_config_vectorizer.py +0 -0
  195. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/indexing_config_vectorizer_request.py +0 -0
  196. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/indexing_state_enum.py +0 -0
  197. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/initiated_ad_hoc_execute_prompt_event.py +0 -0
  198. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/initiated_execute_prompt_event.py +0 -0
  199. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/initiated_prompt_execution_meta.py +0 -0
  200. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/initiated_workflow_node_result_event.py +0 -0
  201. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/instructor_vectorizer_config.py +0 -0
  202. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/instructor_vectorizer_config_request.py +0 -0
  203. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/iteration_state_enum.py +0 -0
  204. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/jinja_prompt_block_properties_request.py +0 -0
  205. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/jinja_prompt_block_request.py +0 -0
  206. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/json_input_request.py +0 -0
  207. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/json_variable_value.py +0 -0
  208. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/json_vellum_value.py +0 -0
  209. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/json_vellum_value_request.py +0 -0
  210. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/logical_operator.py +0 -0
  211. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/logprobs_enum.py +0 -0
  212. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/map_node_result.py +0 -0
  213. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/map_node_result_data.py +0 -0
  214. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/merge_node_result.py +0 -0
  215. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/merge_node_result_data.py +0 -0
  216. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/metadata_filter_config_request.py +0 -0
  217. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/metadata_filter_rule_combinator.py +0 -0
  218. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/metadata_filter_rule_request.py +0 -0
  219. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/metric_node_result.py +0 -0
  220. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/ml_model_usage.py +0 -0
  221. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/named_scenario_input_chat_history_variable_value_request.py +0 -0
  222. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/named_scenario_input_json_variable_value_request.py +0 -0
  223. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/named_scenario_input_request.py +0 -0
  224. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/named_scenario_input_string_variable_value_request.py +0 -0
  225. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/named_test_case_array_variable_value.py +0 -0
  226. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/named_test_case_array_variable_value_request.py +0 -0
  227. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/named_test_case_chat_history_variable_value.py +0 -0
  228. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/named_test_case_chat_history_variable_value_request.py +0 -0
  229. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/named_test_case_error_variable_value.py +0 -0
  230. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/named_test_case_error_variable_value_request.py +0 -0
  231. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/named_test_case_function_call_variable_value.py +0 -0
  232. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/named_test_case_function_call_variable_value_request.py +0 -0
  233. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/named_test_case_json_variable_value.py +0 -0
  234. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/named_test_case_json_variable_value_request.py +0 -0
  235. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/named_test_case_number_variable_value.py +0 -0
  236. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/named_test_case_number_variable_value_request.py +0 -0
  237. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/named_test_case_search_results_variable_value.py +0 -0
  238. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/named_test_case_search_results_variable_value_request.py +0 -0
  239. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/named_test_case_string_variable_value.py +0 -0
  240. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/named_test_case_string_variable_value_request.py +0 -0
  241. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/named_test_case_variable_value.py +0 -0
  242. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/named_test_case_variable_value_request.py +0 -0
  243. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/node_input_compiled_array_value.py +0 -0
  244. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/node_input_compiled_chat_history_value.py +0 -0
  245. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/node_input_compiled_error_value.py +0 -0
  246. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/node_input_compiled_function_call.py +0 -0
  247. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/node_input_compiled_json_value.py +0 -0
  248. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/node_input_compiled_number_value.py +0 -0
  249. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/node_input_compiled_search_results_value.py +0 -0
  250. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/node_input_compiled_string_value.py +0 -0
  251. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/node_input_variable_compiled_value.py +0 -0
  252. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/node_output_compiled_array_value.py +0 -0
  253. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/node_output_compiled_chat_history_value.py +0 -0
  254. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/node_output_compiled_error_value.py +0 -0
  255. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/node_output_compiled_function_call_value.py +0 -0
  256. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/node_output_compiled_json_value.py +0 -0
  257. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/node_output_compiled_number_value.py +0 -0
  258. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/node_output_compiled_search_results_value.py +0 -0
  259. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/node_output_compiled_string_value.py +0 -0
  260. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/node_output_compiled_value.py +0 -0
  261. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/normalized_log_probs.py +0 -0
  262. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/normalized_token_log_probs.py +0 -0
  263. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/number_variable_value.py +0 -0
  264. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/number_vellum_value.py +0 -0
  265. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/number_vellum_value_request.py +0 -0
  266. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/open_ai_vectorizer_config.py +0 -0
  267. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/open_ai_vectorizer_config_request.py +0 -0
  268. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/open_ai_vectorizer_text_embedding_3_large.py +0 -0
  269. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/open_ai_vectorizer_text_embedding_3_large_request.py +0 -0
  270. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/open_ai_vectorizer_text_embedding_3_small.py +0 -0
  271. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/open_ai_vectorizer_text_embedding_3_small_request.py +0 -0
  272. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/open_ai_vectorizer_text_embedding_ada_002.py +0 -0
  273. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/open_ai_vectorizer_text_embedding_ada_002_request.py +0 -0
  274. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/paginated_document_index_read_list.py +0 -0
  275. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/paginated_slim_deployment_read_list.py +0 -0
  276. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/paginated_slim_document_list.py +0 -0
  277. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/paginated_slim_workflow_deployment_list.py +0 -0
  278. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/paginated_test_suite_run_execution_list.py +0 -0
  279. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/paginated_test_suite_test_case_list.py +0 -0
  280. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/pdf_search_result_meta_source.py +0 -0
  281. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/pdf_search_result_meta_source_request.py +0 -0
  282. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/plain_text_prompt_block_request.py +0 -0
  283. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/price.py +0 -0
  284. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/processing_failure_reason_enum.py +0 -0
  285. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/processing_state_enum.py +0 -0
  286. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/prompt_block_request.py +0 -0
  287. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/prompt_block_state.py +0 -0
  288. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/prompt_deployment_expand_meta_request.py +0 -0
  289. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/prompt_deployment_input_request.py +0 -0
  290. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/prompt_execution_meta.py +0 -0
  291. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/prompt_node_execution_meta.py +0 -0
  292. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/prompt_node_result.py +0 -0
  293. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/prompt_node_result_data.py +0 -0
  294. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/prompt_output.py +0 -0
  295. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/prompt_parameters_request.py +0 -0
  296. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/prompt_request_chat_history_input_request.py +0 -0
  297. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/prompt_request_input_request.py +0 -0
  298. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/prompt_request_json_input_request.py +0 -0
  299. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/prompt_request_string_input_request.py +0 -0
  300. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/raw_prompt_execution_overrides_request.py +0 -0
  301. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/reducto_chunker_config.py +0 -0
  302. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/reducto_chunker_config_request.py +0 -0
  303. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/reducto_chunking.py +0 -0
  304. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/reducto_chunking_request.py +0 -0
  305. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/rejected_ad_hoc_execute_prompt_event.py +0 -0
  306. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/rejected_execute_prompt_event.py +0 -0
  307. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/rejected_execute_prompt_response.py +0 -0
  308. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/rejected_execute_workflow_workflow_result_event.py +0 -0
  309. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/rejected_prompt_execution_meta.py +0 -0
  310. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/rejected_workflow_node_result_event.py +0 -0
  311. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/release_tag_source.py +0 -0
  312. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/replace_test_suite_test_case_request.py +0 -0
  313. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/rich_text_child_block_request.py +0 -0
  314. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/rich_text_prompt_block_request.py +0 -0
  315. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/sandbox_scenario.py +0 -0
  316. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/scenario_input.py +0 -0
  317. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/scenario_input_chat_history_variable_value.py +0 -0
  318. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/scenario_input_json_variable_value.py +0 -0
  319. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/scenario_input_string_variable_value.py +0 -0
  320. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/search_filters_request.py +0 -0
  321. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/search_node_result.py +0 -0
  322. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/search_node_result_data.py +0 -0
  323. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/search_request_options_request.py +0 -0
  324. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/search_response.py +0 -0
  325. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/search_result.py +0 -0
  326. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/search_result_document.py +0 -0
  327. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/search_result_document_request.py +0 -0
  328. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/search_result_merging_request.py +0 -0
  329. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/search_result_meta.py +0 -0
  330. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/search_result_meta_request.py +0 -0
  331. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/search_result_request.py +0 -0
  332. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/search_weights_request.py +0 -0
  333. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/sentence_chunker_config.py +0 -0
  334. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/sentence_chunker_config_request.py +0 -0
  335. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/sentence_chunking.py +0 -0
  336. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/sentence_chunking_request.py +0 -0
  337. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/slim_deployment_read.py +0 -0
  338. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/slim_document.py +0 -0
  339. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/slim_workflow_deployment.py +0 -0
  340. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/streaming_ad_hoc_execute_prompt_event.py +0 -0
  341. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/streaming_execute_prompt_event.py +0 -0
  342. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/streaming_prompt_execution_meta.py +0 -0
  343. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/streaming_workflow_node_result_event.py +0 -0
  344. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/string_chat_message_content.py +0 -0
  345. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/string_chat_message_content_request.py +0 -0
  346. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/string_input_request.py +0 -0
  347. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/string_variable_value.py +0 -0
  348. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/string_vellum_value.py +0 -0
  349. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/string_vellum_value_request.py +0 -0
  350. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/submit_completion_actual_request.py +0 -0
  351. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/submit_workflow_execution_actual_request.py +0 -0
  352. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/subworkflow_node_result.py +0 -0
  353. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/subworkflow_node_result_data.py +0 -0
  354. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/templating_node_array_result.py +0 -0
  355. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/templating_node_chat_history_result.py +0 -0
  356. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/templating_node_error_result.py +0 -0
  357. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/templating_node_function_call_result.py +0 -0
  358. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/templating_node_json_result.py +0 -0
  359. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/templating_node_number_result.py +0 -0
  360. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/templating_node_result.py +0 -0
  361. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/templating_node_result_data.py +0 -0
  362. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/templating_node_result_output.py +0 -0
  363. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/templating_node_search_results_result.py +0 -0
  364. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/templating_node_string_result.py +0 -0
  365. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/terminal_node_array_result.py +0 -0
  366. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/terminal_node_chat_history_result.py +0 -0
  367. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/terminal_node_error_result.py +0 -0
  368. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/terminal_node_function_call_result.py +0 -0
  369. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/terminal_node_json_result.py +0 -0
  370. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/terminal_node_number_result.py +0 -0
  371. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/terminal_node_result.py +0 -0
  372. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/terminal_node_result_data.py +0 -0
  373. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/terminal_node_result_output.py +0 -0
  374. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/terminal_node_search_results_result.py +0 -0
  375. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/terminal_node_string_result.py +0 -0
  376. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/test_case_array_variable_value.py +0 -0
  377. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/test_case_chat_history_variable_value.py +0 -0
  378. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/test_case_error_variable_value.py +0 -0
  379. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/test_case_function_call_variable_value.py +0 -0
  380. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/test_case_json_variable_value.py +0 -0
  381. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/test_case_number_variable_value.py +0 -0
  382. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/test_case_search_results_variable_value.py +0 -0
  383. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/test_case_string_variable_value.py +0 -0
  384. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/test_case_variable_value.py +0 -0
  385. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/test_suite_run_deployment_release_tag_exec_config.py +0 -0
  386. {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
  387. {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
  388. {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
  389. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/test_suite_run_exec_config.py +0 -0
  390. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/test_suite_run_exec_config_request.py +0 -0
  391. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/test_suite_run_execution.py +0 -0
  392. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/test_suite_run_execution_array_output.py +0 -0
  393. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/test_suite_run_execution_chat_history_output.py +0 -0
  394. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/test_suite_run_execution_error_output.py +0 -0
  395. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/test_suite_run_execution_function_call_output.py +0 -0
  396. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/test_suite_run_execution_json_output.py +0 -0
  397. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/test_suite_run_execution_metric_definition.py +0 -0
  398. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/test_suite_run_execution_metric_result.py +0 -0
  399. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/test_suite_run_execution_number_output.py +0 -0
  400. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/test_suite_run_execution_output.py +0 -0
  401. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/test_suite_run_execution_search_results_output.py +0 -0
  402. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/test_suite_run_execution_string_output.py +0 -0
  403. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/test_suite_run_external_exec_config.py +0 -0
  404. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/test_suite_run_external_exec_config_data.py +0 -0
  405. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/test_suite_run_external_exec_config_data_request.py +0 -0
  406. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/test_suite_run_external_exec_config_request.py +0 -0
  407. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/test_suite_run_metric_error_output.py +0 -0
  408. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/test_suite_run_metric_json_output.py +0 -0
  409. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/test_suite_run_metric_number_output.py +0 -0
  410. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/test_suite_run_metric_output.py +0 -0
  411. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/test_suite_run_metric_string_output.py +0 -0
  412. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/test_suite_run_read.py +0 -0
  413. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/test_suite_run_state.py +0 -0
  414. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/test_suite_run_test_suite.py +0 -0
  415. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/test_suite_run_workflow_release_tag_exec_config.py +0 -0
  416. {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
  417. {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
  418. {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
  419. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/test_suite_test_case.py +0 -0
  420. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/test_suite_test_case_bulk_operation_request.py +0 -0
  421. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/test_suite_test_case_bulk_result.py +0 -0
  422. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/test_suite_test_case_create_bulk_operation_request.py +0 -0
  423. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/test_suite_test_case_created_bulk_result.py +0 -0
  424. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/test_suite_test_case_created_bulk_result_data.py +0 -0
  425. {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
  426. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/test_suite_test_case_delete_bulk_operation_request.py +0 -0
  427. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/test_suite_test_case_deleted_bulk_result.py +0 -0
  428. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/test_suite_test_case_deleted_bulk_result_data.py +0 -0
  429. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/test_suite_test_case_rejected_bulk_result.py +0 -0
  430. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/test_suite_test_case_replace_bulk_operation_request.py +0 -0
  431. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/test_suite_test_case_replaced_bulk_result.py +0 -0
  432. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/test_suite_test_case_replaced_bulk_result_data.py +0 -0
  433. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/test_suite_test_case_upsert_bulk_operation_request.py +0 -0
  434. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/token_overlapping_window_chunker_config.py +0 -0
  435. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/token_overlapping_window_chunker_config_request.py +0 -0
  436. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/token_overlapping_window_chunking.py +0 -0
  437. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/token_overlapping_window_chunking_request.py +0 -0
  438. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/unit_enum.py +0 -0
  439. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/upload_document_response.py +0 -0
  440. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/upsert_test_suite_test_case_request.py +0 -0
  441. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/variable_prompt_block_request.py +0 -0
  442. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/vellum_error.py +0 -0
  443. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/vellum_error_code_enum.py +0 -0
  444. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/vellum_error_request.py +0 -0
  445. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/vellum_image.py +0 -0
  446. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/vellum_image_request.py +0 -0
  447. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/vellum_variable.py +0 -0
  448. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/vellum_variable_request.py +0 -0
  449. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/vellum_variable_type.py +0 -0
  450. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/workflow_deployment_read.py +0 -0
  451. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/workflow_event_error.py +0 -0
  452. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/workflow_execution_actual_chat_history_request.py +0 -0
  453. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/workflow_execution_actual_json_request.py +0 -0
  454. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/workflow_execution_actual_string_request.py +0 -0
  455. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/workflow_execution_event_error_code.py +0 -0
  456. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/workflow_execution_event_type.py +0 -0
  457. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/workflow_execution_node_result_event.py +0 -0
  458. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/workflow_execution_workflow_result_event.py +0 -0
  459. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/workflow_expand_meta_request.py +0 -0
  460. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/workflow_node_result_data.py +0 -0
  461. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/workflow_node_result_event.py +0 -0
  462. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/workflow_node_result_event_state.py +0 -0
  463. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/workflow_output.py +0 -0
  464. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/workflow_output_array.py +0 -0
  465. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/workflow_output_chat_history.py +0 -0
  466. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/workflow_output_error.py +0 -0
  467. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/workflow_output_function_call.py +0 -0
  468. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/workflow_output_image.py +0 -0
  469. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/workflow_output_json.py +0 -0
  470. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/workflow_output_number.py +0 -0
  471. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/workflow_output_search_results.py +0 -0
  472. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/workflow_output_string.py +0 -0
  473. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/workflow_release_tag_read.py +0 -0
  474. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/workflow_release_tag_workflow_deployment_history_item.py +0 -0
  475. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/workflow_request_chat_history_input_request.py +0 -0
  476. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/workflow_request_input_request.py +0 -0
  477. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/workflow_request_json_input_request.py +0 -0
  478. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/workflow_request_number_input_request.py +0 -0
  479. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/workflow_request_string_input_request.py +0 -0
  480. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/workflow_result_event.py +0 -0
  481. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/workflow_result_event_output_data.py +0 -0
  482. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/workflow_result_event_output_data_array.py +0 -0
  483. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/workflow_result_event_output_data_chat_history.py +0 -0
  484. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/workflow_result_event_output_data_error.py +0 -0
  485. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/workflow_result_event_output_data_function_call.py +0 -0
  486. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/workflow_result_event_output_data_json.py +0 -0
  487. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/workflow_result_event_output_data_number.py +0 -0
  488. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/workflow_result_event_output_data_search_results.py +0 -0
  489. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/workflow_result_event_output_data_string.py +0 -0
  490. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/types/workflow_stream_event.py +0 -0
  491. {vellum_ai-0.8.9 → vellum_ai-0.8.10}/src/vellum/version.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: vellum-ai
3
- Version: 0.8.9
3
+ Version: 0.8.10
4
4
  Summary:
5
5
  License: MIT
6
6
  Requires-Python: >=3.8,<4.0
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "vellum-ai"
3
- version = "0.8.9"
3
+ version = "0.8.10"
4
4
  description = ""
5
5
  readme = "README.md"
6
6
  authors = []
@@ -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.9",
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
- _fields_set = self.__fields_set__
101
-
102
- fields = _get_model_fields(self.__class__)
103
- for name, field in fields.items():
104
- if name not in _fields_set:
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
- return super().model_dump(**kwargs_with_defaults_exclude_unset) # type: ignore # Pydantic v2
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
- return super().dict(**kwargs_with_defaults_exclude_unset)
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=[NamedTestCaseStringVariableValueRequest()],
233
- evaluation_values=[NamedTestCaseStringVariableValueRequest()],
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=[NamedTestCaseStringVariableValueRequest()],
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