vellum-ai 0.8.12__tar.gz → 0.8.14__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.12 → vellum_ai-0.8.14}/PKG-INFO +1 -1
  2. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/pyproject.toml +1 -1
  3. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/client.py +103 -34
  4. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/core/__init__.py +2 -1
  5. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/core/client_wrapper.py +1 -1
  6. vellum_ai-0.8.14/src/vellum/core/file.py +62 -0
  7. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/core/http_client.py +6 -2
  8. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/core/pydantic_utilities.py +44 -13
  9. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/core/serialization.py +18 -0
  10. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/resources/ad_hoc/client.py +31 -10
  11. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/resources/deployments/client.py +13 -4
  12. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/resources/document_indexes/client.py +7 -2
  13. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/resources/documents/client.py +8 -8
  14. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/resources/sandboxes/client.py +7 -2
  15. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/resources/test_suite_runs/client.py +7 -2
  16. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/resources/test_suites/client.py +27 -6
  17. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/api_node_result_data.py +6 -2
  18. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/chat_message_prompt_block_properties_request.py +4 -0
  19. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/chat_message_prompt_block_request.py +3 -0
  20. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/metadata_filter_config_request.py +6 -1
  21. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/search_filters_request.py +6 -0
  22. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/search_request_options_request.py +6 -0
  23. vellum_ai-0.8.12/src/vellum/core/file.py +0 -43
  24. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/LICENSE +0 -0
  25. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/README.md +0 -0
  26. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/__init__.py +0 -0
  27. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/core/api_error.py +0 -0
  28. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/core/datetime_utils.py +0 -0
  29. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/core/jsonable_encoder.py +0 -0
  30. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/core/query_encoder.py +0 -0
  31. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/core/remove_none_from_dict.py +0 -0
  32. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/core/request_options.py +0 -0
  33. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/environment.py +0 -0
  34. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/errors/__init__.py +0 -0
  35. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/errors/bad_request_error.py +0 -0
  36. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/errors/forbidden_error.py +0 -0
  37. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/errors/internal_server_error.py +0 -0
  38. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/errors/not_found_error.py +0 -0
  39. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/lib/__init__.py +0 -0
  40. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/lib/test_suites/__init__.py +0 -0
  41. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/lib/test_suites/constants.py +0 -0
  42. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/lib/test_suites/exceptions.py +0 -0
  43. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/lib/test_suites/resources.py +0 -0
  44. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/lib/utils/__init__.py +0 -0
  45. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/lib/utils/env.py +0 -0
  46. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/lib/utils/exceptions.py +0 -0
  47. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/lib/utils/paginator.py +0 -0
  48. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/py.typed +0 -0
  49. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/resources/__init__.py +0 -0
  50. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/resources/ad_hoc/__init__.py +0 -0
  51. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/resources/deployments/__init__.py +0 -0
  52. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/resources/deployments/types/__init__.py +0 -0
  53. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/resources/deployments/types/deployments_list_request_status.py +0 -0
  54. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/resources/document_indexes/__init__.py +0 -0
  55. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/resources/document_indexes/types/__init__.py +0 -0
  56. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/resources/document_indexes/types/document_indexes_list_request_status.py +0 -0
  57. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/resources/documents/__init__.py +0 -0
  58. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/resources/folder_entities/__init__.py +0 -0
  59. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/resources/folder_entities/client.py +0 -0
  60. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/resources/sandboxes/__init__.py +0 -0
  61. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/resources/test_suite_runs/__init__.py +0 -0
  62. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/resources/test_suites/__init__.py +0 -0
  63. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/resources/workflow_deployments/__init__.py +0 -0
  64. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/resources/workflow_deployments/client.py +0 -0
  65. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/resources/workflow_deployments/types/__init__.py +0 -0
  66. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/resources/workflow_deployments/types/workflow_deployments_list_request_status.py +0 -0
  67. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/resources/workflow_sandboxes/__init__.py +0 -0
  68. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/resources/workflow_sandboxes/client.py +0 -0
  69. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/terraform/__init__.py +0 -0
  70. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/terraform/_jsii/__init__.py +0 -0
  71. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/terraform/_jsii/vellum-ai_vellum@0.0.0.jsii.tgz +0 -0
  72. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/terraform/constraints.json +0 -0
  73. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/terraform/data_vellum_document_index/__init__.py +0 -0
  74. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/terraform/data_vellum_ml_model/__init__.py +0 -0
  75. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/terraform/document_index/__init__.py +0 -0
  76. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/terraform/ml_model/__init__.py +0 -0
  77. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/terraform/provider/__init__.py +0 -0
  78. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/terraform/py.typed +0 -0
  79. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/terraform/versions.json +0 -0
  80. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/__init__.py +0 -0
  81. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/ad_hoc_execute_prompt_event.py +0 -0
  82. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/ad_hoc_expand_meta_request.py +0 -0
  83. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/ad_hoc_fulfilled_prompt_execution_meta.py +0 -0
  84. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/ad_hoc_initiated_prompt_execution_meta.py +0 -0
  85. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/ad_hoc_rejected_prompt_execution_meta.py +0 -0
  86. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/ad_hoc_streaming_prompt_execution_meta.py +0 -0
  87. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/add_openai_api_key_enum.py +0 -0
  88. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/api_node_result.py +0 -0
  89. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/array_chat_message_content.py +0 -0
  90. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/array_chat_message_content_item.py +0 -0
  91. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/array_chat_message_content_item_request.py +0 -0
  92. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/array_chat_message_content_request.py +0 -0
  93. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/array_variable_value_item.py +0 -0
  94. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/array_vellum_value_item.py +0 -0
  95. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/array_vellum_value_item_request.py +0 -0
  96. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/basic_vectorizer_intfloat_multilingual_e_5_large.py +0 -0
  97. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/basic_vectorizer_intfloat_multilingual_e_5_large_request.py +0 -0
  98. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/basic_vectorizer_sentence_transformers_multi_qa_mpnet_base_cos_v_1.py +0 -0
  99. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/basic_vectorizer_sentence_transformers_multi_qa_mpnet_base_cos_v_1_request.py +0 -0
  100. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/basic_vectorizer_sentence_transformers_multi_qa_mpnet_base_dot_v_1.py +0 -0
  101. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/basic_vectorizer_sentence_transformers_multi_qa_mpnet_base_dot_v_1_request.py +0 -0
  102. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/chat_history_input_request.py +0 -0
  103. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/chat_message.py +0 -0
  104. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/chat_message_content.py +0 -0
  105. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/chat_message_content_request.py +0 -0
  106. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/chat_message_request.py +0 -0
  107. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/chat_message_role.py +0 -0
  108. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/code_execution_node_array_result.py +0 -0
  109. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/code_execution_node_chat_history_result.py +0 -0
  110. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/code_execution_node_error_result.py +0 -0
  111. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/code_execution_node_function_call_result.py +0 -0
  112. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/code_execution_node_json_result.py +0 -0
  113. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/code_execution_node_number_result.py +0 -0
  114. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/code_execution_node_result.py +0 -0
  115. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/code_execution_node_result_data.py +0 -0
  116. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/code_execution_node_result_output.py +0 -0
  117. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/code_execution_node_search_results_result.py +0 -0
  118. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/code_execution_node_string_result.py +0 -0
  119. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/compile_prompt_deployment_expand_meta_request.py +0 -0
  120. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/compile_prompt_meta.py +0 -0
  121. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/components_schemas_pdf_search_result_meta_source.py +0 -0
  122. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/components_schemas_pdf_search_result_meta_source_request.py +0 -0
  123. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/conditional_node_result.py +0 -0
  124. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/conditional_node_result_data.py +0 -0
  125. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/create_test_suite_test_case_request.py +0 -0
  126. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/deployment_provider_payload_response.py +0 -0
  127. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/deployment_provider_payload_response_payload.py +0 -0
  128. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/deployment_read.py +0 -0
  129. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/deployment_release_tag_deployment_history_item.py +0 -0
  130. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/deployment_release_tag_read.py +0 -0
  131. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/document_document_to_document_index.py +0 -0
  132. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/document_index_chunking.py +0 -0
  133. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/document_index_chunking_request.py +0 -0
  134. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/document_index_indexing_config.py +0 -0
  135. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/document_index_indexing_config_request.py +0 -0
  136. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/document_index_read.py +0 -0
  137. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/document_read.py +0 -0
  138. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/document_status.py +0 -0
  139. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/enriched_normalized_completion.py +0 -0
  140. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/entity_status.py +0 -0
  141. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/environment_enum.py +0 -0
  142. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/ephemeral_prompt_cache_config_request.py +0 -0
  143. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/ephemeral_prompt_cache_config_type_enum.py +0 -0
  144. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/error_variable_value.py +0 -0
  145. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/error_vellum_value.py +0 -0
  146. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/error_vellum_value_request.py +0 -0
  147. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/execute_prompt_event.py +0 -0
  148. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/execute_prompt_response.py +0 -0
  149. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/execute_workflow_response.py +0 -0
  150. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/execute_workflow_workflow_result_event.py +0 -0
  151. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/execution_array_vellum_value.py +0 -0
  152. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/execution_chat_history_vellum_value.py +0 -0
  153. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/execution_error_vellum_value.py +0 -0
  154. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/execution_function_call_vellum_value.py +0 -0
  155. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/execution_json_vellum_value.py +0 -0
  156. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/execution_number_vellum_value.py +0 -0
  157. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/execution_search_results_vellum_value.py +0 -0
  158. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/execution_string_vellum_value.py +0 -0
  159. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/execution_vellum_value.py +0 -0
  160. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/external_test_case_execution.py +0 -0
  161. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/external_test_case_execution_request.py +0 -0
  162. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/finish_reason_enum.py +0 -0
  163. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/fulfilled_ad_hoc_execute_prompt_event.py +0 -0
  164. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/fulfilled_enum.py +0 -0
  165. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/fulfilled_execute_prompt_event.py +0 -0
  166. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/fulfilled_execute_prompt_response.py +0 -0
  167. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/fulfilled_execute_workflow_workflow_result_event.py +0 -0
  168. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/fulfilled_prompt_execution_meta.py +0 -0
  169. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/fulfilled_workflow_node_result_event.py +0 -0
  170. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/function_call.py +0 -0
  171. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/function_call_chat_message_content.py +0 -0
  172. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/function_call_chat_message_content_request.py +0 -0
  173. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/function_call_chat_message_content_value.py +0 -0
  174. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/function_call_chat_message_content_value_request.py +0 -0
  175. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/function_call_request.py +0 -0
  176. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/function_call_variable_value.py +0 -0
  177. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/function_call_vellum_value.py +0 -0
  178. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/function_call_vellum_value_request.py +0 -0
  179. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/function_definition_prompt_block_properties_request.py +0 -0
  180. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/function_definition_prompt_block_request.py +0 -0
  181. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/generate_options_request.py +0 -0
  182. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/generate_request.py +0 -0
  183. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/generate_response.py +0 -0
  184. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/generate_result.py +0 -0
  185. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/generate_result_data.py +0 -0
  186. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/generate_result_error.py +0 -0
  187. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/generate_stream_response.py +0 -0
  188. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/generate_stream_result.py +0 -0
  189. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/generate_stream_result_data.py +0 -0
  190. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/hkunlp_instructor_xl_vectorizer.py +0 -0
  191. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/hkunlp_instructor_xl_vectorizer_request.py +0 -0
  192. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/image_chat_message_content.py +0 -0
  193. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/image_chat_message_content_request.py +0 -0
  194. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/image_variable_value.py +0 -0
  195. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/image_vellum_value.py +0 -0
  196. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/image_vellum_value_request.py +0 -0
  197. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/indexing_config_vectorizer.py +0 -0
  198. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/indexing_config_vectorizer_request.py +0 -0
  199. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/indexing_state_enum.py +0 -0
  200. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/initiated_ad_hoc_execute_prompt_event.py +0 -0
  201. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/initiated_execute_prompt_event.py +0 -0
  202. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/initiated_prompt_execution_meta.py +0 -0
  203. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/initiated_workflow_node_result_event.py +0 -0
  204. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/instructor_vectorizer_config.py +0 -0
  205. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/instructor_vectorizer_config_request.py +0 -0
  206. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/iteration_state_enum.py +0 -0
  207. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/jinja_prompt_block_properties_request.py +0 -0
  208. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/jinja_prompt_block_request.py +0 -0
  209. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/json_input_request.py +0 -0
  210. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/json_variable_value.py +0 -0
  211. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/json_vellum_value.py +0 -0
  212. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/json_vellum_value_request.py +0 -0
  213. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/logical_operator.py +0 -0
  214. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/logprobs_enum.py +0 -0
  215. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/map_node_result.py +0 -0
  216. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/map_node_result_data.py +0 -0
  217. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/merge_node_result.py +0 -0
  218. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/merge_node_result_data.py +0 -0
  219. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/metadata_filter_rule_combinator.py +0 -0
  220. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/metadata_filter_rule_request.py +0 -0
  221. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/metric_node_result.py +0 -0
  222. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/ml_model_usage.py +0 -0
  223. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/named_scenario_input_chat_history_variable_value_request.py +0 -0
  224. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/named_scenario_input_json_variable_value_request.py +0 -0
  225. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/named_scenario_input_request.py +0 -0
  226. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/named_scenario_input_string_variable_value_request.py +0 -0
  227. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/named_test_case_array_variable_value.py +0 -0
  228. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/named_test_case_array_variable_value_request.py +0 -0
  229. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/named_test_case_chat_history_variable_value.py +0 -0
  230. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/named_test_case_chat_history_variable_value_request.py +0 -0
  231. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/named_test_case_error_variable_value.py +0 -0
  232. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/named_test_case_error_variable_value_request.py +0 -0
  233. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/named_test_case_function_call_variable_value.py +0 -0
  234. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/named_test_case_function_call_variable_value_request.py +0 -0
  235. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/named_test_case_json_variable_value.py +0 -0
  236. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/named_test_case_json_variable_value_request.py +0 -0
  237. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/named_test_case_number_variable_value.py +0 -0
  238. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/named_test_case_number_variable_value_request.py +0 -0
  239. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/named_test_case_search_results_variable_value.py +0 -0
  240. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/named_test_case_search_results_variable_value_request.py +0 -0
  241. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/named_test_case_string_variable_value.py +0 -0
  242. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/named_test_case_string_variable_value_request.py +0 -0
  243. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/named_test_case_variable_value.py +0 -0
  244. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/named_test_case_variable_value_request.py +0 -0
  245. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/node_input_compiled_array_value.py +0 -0
  246. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/node_input_compiled_chat_history_value.py +0 -0
  247. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/node_input_compiled_error_value.py +0 -0
  248. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/node_input_compiled_function_call.py +0 -0
  249. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/node_input_compiled_json_value.py +0 -0
  250. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/node_input_compiled_number_value.py +0 -0
  251. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/node_input_compiled_search_results_value.py +0 -0
  252. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/node_input_compiled_string_value.py +0 -0
  253. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/node_input_variable_compiled_value.py +0 -0
  254. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/node_output_compiled_array_value.py +0 -0
  255. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/node_output_compiled_chat_history_value.py +0 -0
  256. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/node_output_compiled_error_value.py +0 -0
  257. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/node_output_compiled_function_call_value.py +0 -0
  258. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/node_output_compiled_json_value.py +0 -0
  259. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/node_output_compiled_number_value.py +0 -0
  260. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/node_output_compiled_search_results_value.py +0 -0
  261. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/node_output_compiled_string_value.py +0 -0
  262. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/node_output_compiled_value.py +0 -0
  263. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/normalized_log_probs.py +0 -0
  264. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/normalized_token_log_probs.py +0 -0
  265. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/number_variable_value.py +0 -0
  266. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/number_vellum_value.py +0 -0
  267. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/number_vellum_value_request.py +0 -0
  268. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/open_ai_vectorizer_config.py +0 -0
  269. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/open_ai_vectorizer_config_request.py +0 -0
  270. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/open_ai_vectorizer_text_embedding_3_large.py +0 -0
  271. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/open_ai_vectorizer_text_embedding_3_large_request.py +0 -0
  272. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/open_ai_vectorizer_text_embedding_3_small.py +0 -0
  273. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/open_ai_vectorizer_text_embedding_3_small_request.py +0 -0
  274. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/open_ai_vectorizer_text_embedding_ada_002.py +0 -0
  275. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/open_ai_vectorizer_text_embedding_ada_002_request.py +0 -0
  276. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/paginated_document_index_read_list.py +0 -0
  277. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/paginated_slim_deployment_read_list.py +0 -0
  278. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/paginated_slim_document_list.py +0 -0
  279. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/paginated_slim_workflow_deployment_list.py +0 -0
  280. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/paginated_test_suite_run_execution_list.py +0 -0
  281. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/paginated_test_suite_test_case_list.py +0 -0
  282. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/pdf_search_result_meta_source.py +0 -0
  283. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/pdf_search_result_meta_source_request.py +0 -0
  284. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/plain_text_prompt_block_request.py +0 -0
  285. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/price.py +0 -0
  286. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/processing_failure_reason_enum.py +0 -0
  287. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/processing_state_enum.py +0 -0
  288. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/prompt_block_request.py +0 -0
  289. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/prompt_block_state.py +0 -0
  290. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/prompt_deployment_expand_meta_request.py +0 -0
  291. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/prompt_deployment_input_request.py +0 -0
  292. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/prompt_execution_meta.py +0 -0
  293. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/prompt_node_execution_meta.py +0 -0
  294. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/prompt_node_result.py +0 -0
  295. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/prompt_node_result_data.py +0 -0
  296. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/prompt_output.py +0 -0
  297. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/prompt_parameters_request.py +0 -0
  298. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/prompt_request_chat_history_input_request.py +0 -0
  299. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/prompt_request_input_request.py +0 -0
  300. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/prompt_request_json_input_request.py +0 -0
  301. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/prompt_request_string_input_request.py +0 -0
  302. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/raw_prompt_execution_overrides_request.py +0 -0
  303. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/reducto_chunker_config.py +0 -0
  304. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/reducto_chunker_config_request.py +0 -0
  305. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/reducto_chunking.py +0 -0
  306. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/reducto_chunking_request.py +0 -0
  307. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/rejected_ad_hoc_execute_prompt_event.py +0 -0
  308. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/rejected_execute_prompt_event.py +0 -0
  309. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/rejected_execute_prompt_response.py +0 -0
  310. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/rejected_execute_workflow_workflow_result_event.py +0 -0
  311. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/rejected_prompt_execution_meta.py +0 -0
  312. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/rejected_workflow_node_result_event.py +0 -0
  313. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/release_tag_source.py +0 -0
  314. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/replace_test_suite_test_case_request.py +0 -0
  315. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/rich_text_child_block_request.py +0 -0
  316. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/rich_text_prompt_block_request.py +0 -0
  317. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/sandbox_scenario.py +0 -0
  318. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/scenario_input.py +0 -0
  319. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/scenario_input_chat_history_variable_value.py +0 -0
  320. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/scenario_input_json_variable_value.py +0 -0
  321. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/scenario_input_string_variable_value.py +0 -0
  322. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/search_node_result.py +0 -0
  323. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/search_node_result_data.py +0 -0
  324. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/search_response.py +0 -0
  325. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/search_result.py +0 -0
  326. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/search_result_document.py +0 -0
  327. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/search_result_document_request.py +0 -0
  328. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/search_result_merging_request.py +0 -0
  329. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/search_result_meta.py +0 -0
  330. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/search_result_meta_request.py +0 -0
  331. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/search_result_request.py +0 -0
  332. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/search_weights_request.py +0 -0
  333. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/sentence_chunker_config.py +0 -0
  334. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/sentence_chunker_config_request.py +0 -0
  335. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/sentence_chunking.py +0 -0
  336. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/sentence_chunking_request.py +0 -0
  337. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/slim_deployment_read.py +0 -0
  338. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/slim_document.py +0 -0
  339. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/slim_workflow_deployment.py +0 -0
  340. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/streaming_ad_hoc_execute_prompt_event.py +0 -0
  341. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/streaming_execute_prompt_event.py +0 -0
  342. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/streaming_prompt_execution_meta.py +0 -0
  343. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/streaming_workflow_node_result_event.py +0 -0
  344. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/string_chat_message_content.py +0 -0
  345. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/string_chat_message_content_request.py +0 -0
  346. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/string_input_request.py +0 -0
  347. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/string_variable_value.py +0 -0
  348. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/string_vellum_value.py +0 -0
  349. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/string_vellum_value_request.py +0 -0
  350. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/submit_completion_actual_request.py +0 -0
  351. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/submit_workflow_execution_actual_request.py +0 -0
  352. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/subworkflow_node_result.py +0 -0
  353. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/subworkflow_node_result_data.py +0 -0
  354. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/templating_node_array_result.py +0 -0
  355. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/templating_node_chat_history_result.py +0 -0
  356. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/templating_node_error_result.py +0 -0
  357. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/templating_node_function_call_result.py +0 -0
  358. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/templating_node_json_result.py +0 -0
  359. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/templating_node_number_result.py +0 -0
  360. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/templating_node_result.py +0 -0
  361. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/templating_node_result_data.py +0 -0
  362. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/templating_node_result_output.py +0 -0
  363. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/templating_node_search_results_result.py +0 -0
  364. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/templating_node_string_result.py +0 -0
  365. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/terminal_node_array_result.py +0 -0
  366. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/terminal_node_chat_history_result.py +0 -0
  367. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/terminal_node_error_result.py +0 -0
  368. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/terminal_node_function_call_result.py +0 -0
  369. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/terminal_node_json_result.py +0 -0
  370. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/terminal_node_number_result.py +0 -0
  371. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/terminal_node_result.py +0 -0
  372. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/terminal_node_result_data.py +0 -0
  373. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/terminal_node_result_output.py +0 -0
  374. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/terminal_node_search_results_result.py +0 -0
  375. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/terminal_node_string_result.py +0 -0
  376. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/test_case_array_variable_value.py +0 -0
  377. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/test_case_chat_history_variable_value.py +0 -0
  378. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/test_case_error_variable_value.py +0 -0
  379. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/test_case_function_call_variable_value.py +0 -0
  380. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/test_case_json_variable_value.py +0 -0
  381. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/test_case_number_variable_value.py +0 -0
  382. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/test_case_search_results_variable_value.py +0 -0
  383. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/test_case_string_variable_value.py +0 -0
  384. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/test_case_variable_value.py +0 -0
  385. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/test_suite_run_deployment_release_tag_exec_config.py +0 -0
  386. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/test_suite_run_deployment_release_tag_exec_config_data.py +0 -0
  387. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/test_suite_run_deployment_release_tag_exec_config_data_request.py +0 -0
  388. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/test_suite_run_deployment_release_tag_exec_config_request.py +0 -0
  389. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/test_suite_run_exec_config.py +0 -0
  390. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/test_suite_run_exec_config_request.py +0 -0
  391. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/test_suite_run_execution.py +0 -0
  392. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/test_suite_run_execution_array_output.py +0 -0
  393. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/test_suite_run_execution_chat_history_output.py +0 -0
  394. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/test_suite_run_execution_error_output.py +0 -0
  395. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/test_suite_run_execution_function_call_output.py +0 -0
  396. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/test_suite_run_execution_json_output.py +0 -0
  397. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/test_suite_run_execution_metric_definition.py +0 -0
  398. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/test_suite_run_execution_metric_result.py +0 -0
  399. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/test_suite_run_execution_number_output.py +0 -0
  400. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/test_suite_run_execution_output.py +0 -0
  401. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/test_suite_run_execution_search_results_output.py +0 -0
  402. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/test_suite_run_execution_string_output.py +0 -0
  403. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/test_suite_run_external_exec_config.py +0 -0
  404. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/test_suite_run_external_exec_config_data.py +0 -0
  405. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/test_suite_run_external_exec_config_data_request.py +0 -0
  406. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/test_suite_run_external_exec_config_request.py +0 -0
  407. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/test_suite_run_metric_error_output.py +0 -0
  408. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/test_suite_run_metric_json_output.py +0 -0
  409. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/test_suite_run_metric_number_output.py +0 -0
  410. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/test_suite_run_metric_output.py +0 -0
  411. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/test_suite_run_metric_string_output.py +0 -0
  412. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/test_suite_run_read.py +0 -0
  413. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/test_suite_run_state.py +0 -0
  414. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/test_suite_run_test_suite.py +0 -0
  415. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/test_suite_run_workflow_release_tag_exec_config.py +0 -0
  416. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/test_suite_run_workflow_release_tag_exec_config_data.py +0 -0
  417. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/test_suite_run_workflow_release_tag_exec_config_data_request.py +0 -0
  418. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/test_suite_run_workflow_release_tag_exec_config_request.py +0 -0
  419. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/test_suite_test_case.py +0 -0
  420. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/test_suite_test_case_bulk_operation_request.py +0 -0
  421. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/test_suite_test_case_bulk_result.py +0 -0
  422. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/test_suite_test_case_create_bulk_operation_request.py +0 -0
  423. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/test_suite_test_case_created_bulk_result.py +0 -0
  424. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/test_suite_test_case_created_bulk_result_data.py +0 -0
  425. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/test_suite_test_case_delete_bulk_operation_data_request.py +0 -0
  426. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/test_suite_test_case_delete_bulk_operation_request.py +0 -0
  427. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/test_suite_test_case_deleted_bulk_result.py +0 -0
  428. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/test_suite_test_case_deleted_bulk_result_data.py +0 -0
  429. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/test_suite_test_case_rejected_bulk_result.py +0 -0
  430. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/test_suite_test_case_replace_bulk_operation_request.py +0 -0
  431. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/test_suite_test_case_replaced_bulk_result.py +0 -0
  432. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/test_suite_test_case_replaced_bulk_result_data.py +0 -0
  433. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/test_suite_test_case_upsert_bulk_operation_request.py +0 -0
  434. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/token_overlapping_window_chunker_config.py +0 -0
  435. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/token_overlapping_window_chunker_config_request.py +0 -0
  436. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/token_overlapping_window_chunking.py +0 -0
  437. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/token_overlapping_window_chunking_request.py +0 -0
  438. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/unit_enum.py +0 -0
  439. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/upload_document_response.py +0 -0
  440. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/upsert_test_suite_test_case_request.py +0 -0
  441. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/variable_prompt_block_request.py +0 -0
  442. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/vellum_error.py +0 -0
  443. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/vellum_error_code_enum.py +0 -0
  444. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/vellum_error_request.py +0 -0
  445. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/vellum_image.py +0 -0
  446. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/vellum_image_request.py +0 -0
  447. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/vellum_variable.py +0 -0
  448. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/vellum_variable_request.py +0 -0
  449. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/vellum_variable_type.py +0 -0
  450. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/workflow_deployment_read.py +0 -0
  451. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/workflow_event_error.py +0 -0
  452. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/workflow_execution_actual_chat_history_request.py +0 -0
  453. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/workflow_execution_actual_json_request.py +0 -0
  454. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/workflow_execution_actual_string_request.py +0 -0
  455. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/workflow_execution_event_error_code.py +0 -0
  456. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/workflow_execution_event_type.py +0 -0
  457. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/workflow_execution_node_result_event.py +0 -0
  458. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/workflow_execution_workflow_result_event.py +0 -0
  459. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/workflow_expand_meta_request.py +0 -0
  460. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/workflow_node_result_data.py +0 -0
  461. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/workflow_node_result_event.py +0 -0
  462. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/workflow_node_result_event_state.py +0 -0
  463. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/workflow_output.py +0 -0
  464. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/workflow_output_array.py +0 -0
  465. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/workflow_output_chat_history.py +0 -0
  466. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/workflow_output_error.py +0 -0
  467. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/workflow_output_function_call.py +0 -0
  468. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/workflow_output_image.py +0 -0
  469. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/workflow_output_json.py +0 -0
  470. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/workflow_output_number.py +0 -0
  471. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/workflow_output_search_results.py +0 -0
  472. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/workflow_output_string.py +0 -0
  473. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/workflow_release_tag_read.py +0 -0
  474. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/workflow_release_tag_workflow_deployment_history_item.py +0 -0
  475. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/workflow_request_chat_history_input_request.py +0 -0
  476. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/workflow_request_input_request.py +0 -0
  477. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/workflow_request_json_input_request.py +0 -0
  478. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/workflow_request_number_input_request.py +0 -0
  479. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/workflow_request_string_input_request.py +0 -0
  480. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/workflow_result_event.py +0 -0
  481. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/workflow_result_event_output_data.py +0 -0
  482. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/workflow_result_event_output_data_array.py +0 -0
  483. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/workflow_result_event_output_data_chat_history.py +0 -0
  484. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/workflow_result_event_output_data_error.py +0 -0
  485. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/workflow_result_event_output_data_function_call.py +0 -0
  486. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/workflow_result_event_output_data_json.py +0 -0
  487. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/workflow_result_event_output_data_number.py +0 -0
  488. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/workflow_result_event_output_data_search_results.py +0 -0
  489. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/workflow_result_event_output_data_string.py +0 -0
  490. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/src/vellum/types/workflow_stream_event.py +0 -0
  491. {vellum_ai-0.8.12 → vellum_ai-0.8.14}/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.12
3
+ Version: 0.8.14
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.12"
3
+ version = "0.8.14"
4
4
  description = ""
5
5
  readme = "README.md"
6
6
  authors = []
@@ -19,6 +19,7 @@ from .types.prompt_deployment_expand_meta_request import PromptDeploymentExpandM
19
19
  from .types.raw_prompt_execution_overrides_request import RawPromptExecutionOverridesRequest
20
20
  from .core.request_options import RequestOptions
21
21
  from .types.execute_prompt_response import ExecutePromptResponse
22
+ from .core.serialization import convert_and_respect_annotation_metadata
22
23
  from .core.pydantic_utilities import parse_obj_as
23
24
  from .errors.bad_request_error import BadRequestError
24
25
  from .errors.forbidden_error import ForbiddenError
@@ -197,13 +198,19 @@ class Vellum:
197
198
  base_url=self._client_wrapper.get_environment().predict,
198
199
  method="POST",
199
200
  json={
200
- "inputs": inputs,
201
+ "inputs": convert_and_respect_annotation_metadata(
202
+ object_=inputs, annotation=typing.Sequence[PromptDeploymentInputRequest], direction="write"
203
+ ),
201
204
  "prompt_deployment_id": prompt_deployment_id,
202
205
  "prompt_deployment_name": prompt_deployment_name,
203
206
  "release_tag": release_tag,
204
207
  "external_id": external_id,
205
- "expand_meta": expand_meta,
206
- "raw_overrides": raw_overrides,
208
+ "expand_meta": convert_and_respect_annotation_metadata(
209
+ object_=expand_meta, annotation=PromptDeploymentExpandMetaRequest, direction="write"
210
+ ),
211
+ "raw_overrides": convert_and_respect_annotation_metadata(
212
+ object_=raw_overrides, annotation=RawPromptExecutionOverridesRequest, direction="write"
213
+ ),
207
214
  "expand_raw": expand_raw,
208
215
  "metadata": metadata,
209
216
  },
@@ -366,13 +373,19 @@ class Vellum:
366
373
  base_url=self._client_wrapper.get_environment().predict,
367
374
  method="POST",
368
375
  json={
369
- "inputs": inputs,
376
+ "inputs": convert_and_respect_annotation_metadata(
377
+ object_=inputs, annotation=typing.Sequence[PromptDeploymentInputRequest], direction="write"
378
+ ),
370
379
  "prompt_deployment_id": prompt_deployment_id,
371
380
  "prompt_deployment_name": prompt_deployment_name,
372
381
  "release_tag": release_tag,
373
382
  "external_id": external_id,
374
- "expand_meta": expand_meta,
375
- "raw_overrides": raw_overrides,
383
+ "expand_meta": convert_and_respect_annotation_metadata(
384
+ object_=expand_meta, annotation=PromptDeploymentExpandMetaRequest, direction="write"
385
+ ),
386
+ "raw_overrides": convert_and_respect_annotation_metadata(
387
+ object_=raw_overrides, annotation=RawPromptExecutionOverridesRequest, direction="write"
388
+ ),
376
389
  "expand_raw": expand_raw,
377
390
  "metadata": metadata,
378
391
  },
@@ -508,8 +521,12 @@ class Vellum:
508
521
  base_url=self._client_wrapper.get_environment().predict,
509
522
  method="POST",
510
523
  json={
511
- "inputs": inputs,
512
- "expand_meta": expand_meta,
524
+ "inputs": convert_and_respect_annotation_metadata(
525
+ object_=inputs, annotation=typing.Sequence[WorkflowRequestInputRequest], direction="write"
526
+ ),
527
+ "expand_meta": convert_and_respect_annotation_metadata(
528
+ object_=expand_meta, annotation=WorkflowExpandMetaRequest, direction="write"
529
+ ),
513
530
  "workflow_deployment_id": workflow_deployment_id,
514
531
  "workflow_deployment_name": workflow_deployment_name,
515
532
  "release_tag": release_tag,
@@ -649,8 +666,12 @@ class Vellum:
649
666
  base_url=self._client_wrapper.get_environment().predict,
650
667
  method="POST",
651
668
  json={
652
- "inputs": inputs,
653
- "expand_meta": expand_meta,
669
+ "inputs": convert_and_respect_annotation_metadata(
670
+ object_=inputs, annotation=typing.Sequence[WorkflowRequestInputRequest], direction="write"
671
+ ),
672
+ "expand_meta": convert_and_respect_annotation_metadata(
673
+ object_=expand_meta, annotation=WorkflowExpandMetaRequest, direction="write"
674
+ ),
654
675
  "workflow_deployment_id": workflow_deployment_id,
655
676
  "workflow_deployment_name": workflow_deployment_name,
656
677
  "release_tag": release_tag,
@@ -772,8 +793,12 @@ class Vellum:
772
793
  json={
773
794
  "deployment_id": deployment_id,
774
795
  "deployment_name": deployment_name,
775
- "requests": requests,
776
- "options": options,
796
+ "requests": convert_and_respect_annotation_metadata(
797
+ object_=requests, annotation=typing.Sequence[GenerateRequest], direction="write"
798
+ ),
799
+ "options": convert_and_respect_annotation_metadata(
800
+ object_=options, annotation=GenerateOptionsRequest, direction="write"
801
+ ),
777
802
  },
778
803
  request_options=request_options,
779
804
  omit=OMIT,
@@ -915,8 +940,12 @@ class Vellum:
915
940
  json={
916
941
  "deployment_id": deployment_id,
917
942
  "deployment_name": deployment_name,
918
- "requests": requests,
919
- "options": options,
943
+ "requests": convert_and_respect_annotation_metadata(
944
+ object_=requests, annotation=typing.Sequence[GenerateRequest], direction="write"
945
+ ),
946
+ "options": convert_and_respect_annotation_metadata(
947
+ object_=options, annotation=GenerateOptionsRequest, direction="write"
948
+ ),
920
949
  },
921
950
  request_options=request_options,
922
951
  omit=OMIT,
@@ -1036,7 +1065,9 @@ class Vellum:
1036
1065
  "index_id": index_id,
1037
1066
  "index_name": index_name,
1038
1067
  "query": query,
1039
- "options": options,
1068
+ "options": convert_and_respect_annotation_metadata(
1069
+ object_=options, annotation=SearchRequestOptionsRequest, direction="write"
1070
+ ),
1040
1071
  },
1041
1072
  request_options=request_options,
1042
1073
  omit=OMIT,
@@ -1132,7 +1163,9 @@ class Vellum:
1132
1163
  json={
1133
1164
  "deployment_id": deployment_id,
1134
1165
  "deployment_name": deployment_name,
1135
- "actuals": actuals,
1166
+ "actuals": convert_and_respect_annotation_metadata(
1167
+ object_=actuals, annotation=typing.Sequence[SubmitCompletionActualRequest], direction="write"
1168
+ ),
1136
1169
  },
1137
1170
  request_options=request_options,
1138
1171
  omit=OMIT,
@@ -1222,7 +1255,9 @@ class Vellum:
1222
1255
  base_url=self._client_wrapper.get_environment().predict,
1223
1256
  method="POST",
1224
1257
  json={
1225
- "actuals": actuals,
1258
+ "actuals": convert_and_respect_annotation_metadata(
1259
+ object_=actuals, annotation=typing.Sequence[SubmitWorkflowExecutionActualRequest], direction="write"
1260
+ ),
1226
1261
  "execution_id": execution_id,
1227
1262
  "external_id": external_id,
1228
1263
  },
@@ -1386,13 +1421,19 @@ class AsyncVellum:
1386
1421
  base_url=self._client_wrapper.get_environment().predict,
1387
1422
  method="POST",
1388
1423
  json={
1389
- "inputs": inputs,
1424
+ "inputs": convert_and_respect_annotation_metadata(
1425
+ object_=inputs, annotation=typing.Sequence[PromptDeploymentInputRequest], direction="write"
1426
+ ),
1390
1427
  "prompt_deployment_id": prompt_deployment_id,
1391
1428
  "prompt_deployment_name": prompt_deployment_name,
1392
1429
  "release_tag": release_tag,
1393
1430
  "external_id": external_id,
1394
- "expand_meta": expand_meta,
1395
- "raw_overrides": raw_overrides,
1431
+ "expand_meta": convert_and_respect_annotation_metadata(
1432
+ object_=expand_meta, annotation=PromptDeploymentExpandMetaRequest, direction="write"
1433
+ ),
1434
+ "raw_overrides": convert_and_respect_annotation_metadata(
1435
+ object_=raw_overrides, annotation=RawPromptExecutionOverridesRequest, direction="write"
1436
+ ),
1396
1437
  "expand_raw": expand_raw,
1397
1438
  "metadata": metadata,
1398
1439
  },
@@ -1563,13 +1604,19 @@ class AsyncVellum:
1563
1604
  base_url=self._client_wrapper.get_environment().predict,
1564
1605
  method="POST",
1565
1606
  json={
1566
- "inputs": inputs,
1607
+ "inputs": convert_and_respect_annotation_metadata(
1608
+ object_=inputs, annotation=typing.Sequence[PromptDeploymentInputRequest], direction="write"
1609
+ ),
1567
1610
  "prompt_deployment_id": prompt_deployment_id,
1568
1611
  "prompt_deployment_name": prompt_deployment_name,
1569
1612
  "release_tag": release_tag,
1570
1613
  "external_id": external_id,
1571
- "expand_meta": expand_meta,
1572
- "raw_overrides": raw_overrides,
1614
+ "expand_meta": convert_and_respect_annotation_metadata(
1615
+ object_=expand_meta, annotation=PromptDeploymentExpandMetaRequest, direction="write"
1616
+ ),
1617
+ "raw_overrides": convert_and_respect_annotation_metadata(
1618
+ object_=raw_overrides, annotation=RawPromptExecutionOverridesRequest, direction="write"
1619
+ ),
1573
1620
  "expand_raw": expand_raw,
1574
1621
  "metadata": metadata,
1575
1622
  },
@@ -1713,8 +1760,12 @@ class AsyncVellum:
1713
1760
  base_url=self._client_wrapper.get_environment().predict,
1714
1761
  method="POST",
1715
1762
  json={
1716
- "inputs": inputs,
1717
- "expand_meta": expand_meta,
1763
+ "inputs": convert_and_respect_annotation_metadata(
1764
+ object_=inputs, annotation=typing.Sequence[WorkflowRequestInputRequest], direction="write"
1765
+ ),
1766
+ "expand_meta": convert_and_respect_annotation_metadata(
1767
+ object_=expand_meta, annotation=WorkflowExpandMetaRequest, direction="write"
1768
+ ),
1718
1769
  "workflow_deployment_id": workflow_deployment_id,
1719
1770
  "workflow_deployment_name": workflow_deployment_name,
1720
1771
  "release_tag": release_tag,
@@ -1862,8 +1913,12 @@ class AsyncVellum:
1862
1913
  base_url=self._client_wrapper.get_environment().predict,
1863
1914
  method="POST",
1864
1915
  json={
1865
- "inputs": inputs,
1866
- "expand_meta": expand_meta,
1916
+ "inputs": convert_and_respect_annotation_metadata(
1917
+ object_=inputs, annotation=typing.Sequence[WorkflowRequestInputRequest], direction="write"
1918
+ ),
1919
+ "expand_meta": convert_and_respect_annotation_metadata(
1920
+ object_=expand_meta, annotation=WorkflowExpandMetaRequest, direction="write"
1921
+ ),
1867
1922
  "workflow_deployment_id": workflow_deployment_id,
1868
1923
  "workflow_deployment_name": workflow_deployment_name,
1869
1924
  "release_tag": release_tag,
@@ -1993,8 +2048,12 @@ class AsyncVellum:
1993
2048
  json={
1994
2049
  "deployment_id": deployment_id,
1995
2050
  "deployment_name": deployment_name,
1996
- "requests": requests,
1997
- "options": options,
2051
+ "requests": convert_and_respect_annotation_metadata(
2052
+ object_=requests, annotation=typing.Sequence[GenerateRequest], direction="write"
2053
+ ),
2054
+ "options": convert_and_respect_annotation_metadata(
2055
+ object_=options, annotation=GenerateOptionsRequest, direction="write"
2056
+ ),
1998
2057
  },
1999
2058
  request_options=request_options,
2000
2059
  omit=OMIT,
@@ -2144,8 +2203,12 @@ class AsyncVellum:
2144
2203
  json={
2145
2204
  "deployment_id": deployment_id,
2146
2205
  "deployment_name": deployment_name,
2147
- "requests": requests,
2148
- "options": options,
2206
+ "requests": convert_and_respect_annotation_metadata(
2207
+ object_=requests, annotation=typing.Sequence[GenerateRequest], direction="write"
2208
+ ),
2209
+ "options": convert_and_respect_annotation_metadata(
2210
+ object_=options, annotation=GenerateOptionsRequest, direction="write"
2211
+ ),
2149
2212
  },
2150
2213
  request_options=request_options,
2151
2214
  omit=OMIT,
@@ -2273,7 +2336,9 @@ class AsyncVellum:
2273
2336
  "index_id": index_id,
2274
2337
  "index_name": index_name,
2275
2338
  "query": query,
2276
- "options": options,
2339
+ "options": convert_and_respect_annotation_metadata(
2340
+ object_=options, annotation=SearchRequestOptionsRequest, direction="write"
2341
+ ),
2277
2342
  },
2278
2343
  request_options=request_options,
2279
2344
  omit=OMIT,
@@ -2377,7 +2442,9 @@ class AsyncVellum:
2377
2442
  json={
2378
2443
  "deployment_id": deployment_id,
2379
2444
  "deployment_name": deployment_name,
2380
- "actuals": actuals,
2445
+ "actuals": convert_and_respect_annotation_metadata(
2446
+ object_=actuals, annotation=typing.Sequence[SubmitCompletionActualRequest], direction="write"
2447
+ ),
2381
2448
  },
2382
2449
  request_options=request_options,
2383
2450
  omit=OMIT,
@@ -2475,7 +2542,9 @@ class AsyncVellum:
2475
2542
  base_url=self._client_wrapper.get_environment().predict,
2476
2543
  method="POST",
2477
2544
  json={
2478
- "actuals": actuals,
2545
+ "actuals": convert_and_respect_annotation_metadata(
2546
+ object_=actuals, annotation=typing.Sequence[SubmitWorkflowExecutionActualRequest], direction="write"
2547
+ ),
2479
2548
  "execution_id": execution_id,
2480
2549
  "external_id": external_id,
2481
2550
  },
@@ -3,7 +3,7 @@
3
3
  from .api_error import ApiError
4
4
  from .client_wrapper import AsyncClientWrapper, BaseClientWrapper, SyncClientWrapper
5
5
  from .datetime_utils import serialize_datetime
6
- from .file import File, convert_file_dict_to_httpx_tuples
6
+ from .file import File, convert_file_dict_to_httpx_tuples, with_content_type
7
7
  from .http_client import AsyncHttpClient, HttpClient
8
8
  from .jsonable_encoder import jsonable_encoder
9
9
  from .pydantic_utilities import (
@@ -43,4 +43,5 @@ __all__ = [
43
43
  "universal_field_validator",
44
44
  "universal_root_validator",
45
45
  "update_forward_refs",
46
+ "with_content_type",
46
47
  ]
@@ -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.12",
20
+ "X-Fern-SDK-Version": "0.8.14",
21
21
  }
22
22
  headers["X_API_KEY"] = self.api_key
23
23
  return headers
@@ -0,0 +1,62 @@
1
+ # This file was auto-generated by Fern from our API Definition.
2
+
3
+ from typing import IO, Dict, List, Mapping, Optional, Tuple, Union, cast
4
+
5
+ # File typing inspired by the flexibility of types within the httpx library
6
+ # https://github.com/encode/httpx/blob/master/httpx/_types.py
7
+ FileContent = Union[IO[bytes], bytes, str]
8
+ File = Union[
9
+ # file (or bytes)
10
+ FileContent,
11
+ # (filename, file (or bytes))
12
+ Tuple[Optional[str], FileContent],
13
+ # (filename, file (or bytes), content_type)
14
+ Tuple[Optional[str], FileContent, Optional[str]],
15
+ # (filename, file (or bytes), content_type, headers)
16
+ Tuple[
17
+ Optional[str],
18
+ FileContent,
19
+ Optional[str],
20
+ Mapping[str, str],
21
+ ],
22
+ ]
23
+
24
+
25
+ def convert_file_dict_to_httpx_tuples(
26
+ d: Dict[str, Union[File, List[File]]],
27
+ ) -> List[Tuple[str, File]]:
28
+ """
29
+ The format we use is a list of tuples, where the first element is the
30
+ name of the file and the second is the file object. Typically HTTPX wants
31
+ a dict, but to be able to send lists of files, you have to use the list
32
+ approach (which also works for non-lists)
33
+ https://github.com/encode/httpx/pull/1032
34
+ """
35
+
36
+ httpx_tuples = []
37
+ for key, file_like in d.items():
38
+ if isinstance(file_like, list):
39
+ for file_like_item in file_like:
40
+ httpx_tuples.append((key, file_like_item))
41
+ else:
42
+ httpx_tuples.append((key, file_like))
43
+ return httpx_tuples
44
+
45
+
46
+ def with_content_type(*, file: File, content_type: str) -> File:
47
+ """ """
48
+ if isinstance(file, tuple):
49
+ if len(file) == 2:
50
+ filename, content = cast(Tuple[Optional[str], FileContent], file) # type: ignore
51
+ return (filename, content, content_type)
52
+ elif len(file) == 3:
53
+ filename, content, _ = cast(Tuple[Optional[str], FileContent, Optional[str]], file) # type: ignore
54
+ return (filename, content, content_type)
55
+ elif len(file) == 4:
56
+ filename, content, _, headers = cast( # type: ignore
57
+ Tuple[Optional[str], FileContent, Optional[str], Mapping[str, str]], file
58
+ )
59
+ return (filename, content, content_type, headers)
60
+ else:
61
+ raise ValueError(f"Unexpected tuple length: {len(file)}")
62
+ return (None, file, content_type)
@@ -224,7 +224,9 @@ class HttpClient:
224
224
  json=json_body,
225
225
  data=data_body,
226
226
  content=content,
227
- files=convert_file_dict_to_httpx_tuples(remove_none_from_dict(files)) if files is not None else None,
227
+ files=convert_file_dict_to_httpx_tuples(remove_none_from_dict(files))
228
+ if (files is not None and files is not omit)
229
+ else None,
228
230
  timeout=timeout,
229
231
  )
230
232
 
@@ -306,7 +308,9 @@ class HttpClient:
306
308
  json=json_body,
307
309
  data=data_body,
308
310
  content=content,
309
- files=convert_file_dict_to_httpx_tuples(remove_none_from_dict(files)) if files is not None else None,
311
+ files=convert_file_dict_to_httpx_tuples(remove_none_from_dict(files))
312
+ if (files is not None and files is not omit)
313
+ else None,
310
314
  timeout=timeout,
311
315
  ) as stream:
312
316
  yield stream
@@ -10,6 +10,7 @@ import typing_extensions
10
10
  import pydantic
11
11
 
12
12
  from .datetime_utils import serialize_datetime
13
+ from .serialization import convert_and_respect_annotation_metadata
13
14
 
14
15
  IS_PYDANTIC_V2 = pydantic.VERSION.startswith("2.")
15
16
 
@@ -56,11 +57,12 @@ Model = typing.TypeVar("Model", bound=pydantic.BaseModel)
56
57
 
57
58
 
58
59
  def parse_obj_as(type_: typing.Type[T], object_: typing.Any) -> T:
60
+ dealiased_object = convert_and_respect_annotation_metadata(object_=object_, annotation=type_, direction="read")
59
61
  if IS_PYDANTIC_V2:
60
62
  adapter = pydantic.TypeAdapter(type_) # type: ignore # Pydantic v2
61
- return adapter.validate_python(object_)
63
+ return adapter.validate_python(dealiased_object)
62
64
  else:
63
- return pydantic.parse_obj_as(type_, object_)
65
+ return pydantic.parse_obj_as(type_, dealiased_object)
64
66
 
65
67
 
66
68
  def to_jsonable_with_fallback(
@@ -75,13 +77,40 @@ def to_jsonable_with_fallback(
75
77
 
76
78
 
77
79
  class UniversalBaseModel(pydantic.BaseModel):
78
- class Config:
79
- populate_by_name = True
80
- smart_union = True
81
- allow_population_by_field_name = True
82
- json_encoders = {dt.datetime: serialize_datetime}
83
- # Allow fields begining with `model_` to be used in the model
84
- protected_namespaces = ()
80
+ if IS_PYDANTIC_V2:
81
+ model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(
82
+ # Allow fields begining with `model_` to be used in the model
83
+ protected_namespaces=(),
84
+ ) # type: ignore # Pydantic v2
85
+
86
+ @pydantic.model_serializer(mode="wrap", when_used="json") # type: ignore # Pydantic v2
87
+ def serialize_model(self, handler: pydantic.SerializerFunctionWrapHandler) -> typing.Any: # type: ignore # Pydantic v2
88
+ serialized = handler(self)
89
+ data = {k: serialize_datetime(v) if isinstance(v, dt.datetime) else v for k, v in serialized.items()}
90
+ return data
91
+
92
+ else:
93
+
94
+ class Config:
95
+ smart_union = True
96
+ json_encoders = {dt.datetime: serialize_datetime}
97
+
98
+ @classmethod
99
+ def model_construct(
100
+ cls: typing.Type["Model"], _fields_set: typing.Optional[typing.Set[str]] = None, **values: typing.Any
101
+ ) -> "Model":
102
+ dealiased_object = convert_and_respect_annotation_metadata(object_=values, annotation=cls, direction="read")
103
+ return cls.construct(_fields_set, **dealiased_object)
104
+
105
+ @classmethod
106
+ def construct(
107
+ cls: typing.Type["Model"], _fields_set: typing.Optional[typing.Set[str]] = None, **values: typing.Any
108
+ ) -> "Model":
109
+ dealiased_object = convert_and_respect_annotation_metadata(object_=values, annotation=cls, direction="read")
110
+ if IS_PYDANTIC_V2:
111
+ return super().model_construct(_fields_set, **dealiased_object) # type: ignore # Pydantic v2
112
+ else:
113
+ return super().construct(_fields_set, **dealiased_object)
85
114
 
86
115
  def json(self, **kwargs: typing.Any) -> str:
87
116
  kwargs_with_defaults: typing.Any = {
@@ -117,7 +146,7 @@ class UniversalBaseModel(pydantic.BaseModel):
117
146
  "exclude_none": True,
118
147
  "exclude_unset": False,
119
148
  }
120
- return deep_union_pydantic_dicts(
149
+ dict_dump = deep_union_pydantic_dicts(
121
150
  super().model_dump(**kwargs_with_defaults_exclude_unset), # type: ignore # Pydantic v2
122
151
  super().model_dump(**kwargs_with_defaults_exclude_none), # type: ignore # Pydantic v2
123
152
  )
@@ -143,7 +172,9 @@ class UniversalBaseModel(pydantic.BaseModel):
143
172
  **kwargs,
144
173
  }
145
174
 
146
- return super().dict(**kwargs_with_defaults_exclude_unset_include_fields)
175
+ dict_dump = super().dict(**kwargs_with_defaults_exclude_unset_include_fields)
176
+
177
+ return convert_and_respect_annotation_metadata(object_=dict_dump, annotation=self.__class__, direction="write")
147
178
 
148
179
 
149
180
  def deep_union_pydantic_dicts(
@@ -183,11 +214,11 @@ def encode_by_type(o: typing.Any) -> typing.Any:
183
214
  return encoder(o)
184
215
 
185
216
 
186
- def update_forward_refs(model: typing.Type["Model"]) -> None:
217
+ def update_forward_refs(model: typing.Type["Model"], **localns: typing.Any) -> None:
187
218
  if IS_PYDANTIC_V2:
188
219
  model.model_rebuild(raise_errors=False) # type: ignore # Pydantic v2
189
220
  else:
190
- model.update_forward_refs()
221
+ model.update_forward_refs(**localns)
191
222
 
192
223
 
193
224
  # Mirrors Pydantic's internal typing
@@ -71,6 +71,24 @@ def convert_and_respect_annotation_metadata(
71
71
  if typing_extensions.is_typeddict(clean_type) and isinstance(object_, typing.Mapping):
72
72
  return _convert_mapping(object_, clean_type, direction)
73
73
 
74
+ if (
75
+ typing_extensions.get_origin(clean_type) == typing.Dict
76
+ or typing_extensions.get_origin(clean_type) == dict
77
+ or clean_type == typing.Dict
78
+ ) and isinstance(object_, typing.Dict):
79
+ key_type = typing_extensions.get_args(clean_type)[0]
80
+ value_type = typing_extensions.get_args(clean_type)[1]
81
+
82
+ return {
83
+ key: convert_and_respect_annotation_metadata(
84
+ object_=value,
85
+ annotation=annotation,
86
+ inner_type=value_type,
87
+ direction=direction,
88
+ )
89
+ for key, value in object_.items()
90
+ }
91
+
74
92
  # If you're iterating on a string, do not bother to coerce it to a sequence.
75
93
  if not isinstance(object_, str):
76
94
  if (
@@ -9,6 +9,7 @@ from ...types.prompt_block_request import PromptBlockRequest
9
9
  from ...types.ad_hoc_expand_meta_request import AdHocExpandMetaRequest
10
10
  from ...core.request_options import RequestOptions
11
11
  from ...types.ad_hoc_execute_prompt_event import AdHocExecutePromptEvent
12
+ from ...core.serialization import convert_and_respect_annotation_metadata
12
13
  from ...core.pydantic_utilities import parse_obj_as
13
14
  import json
14
15
  from ...errors.bad_request_error import BadRequestError
@@ -133,11 +134,21 @@ class AdHocClient:
133
134
  method="POST",
134
135
  json={
135
136
  "ml_model": ml_model,
136
- "input_values": input_values,
137
- "input_variables": input_variables,
138
- "parameters": parameters,
139
- "blocks": blocks,
140
- "expand_meta": expand_meta,
137
+ "input_values": convert_and_respect_annotation_metadata(
138
+ object_=input_values, annotation=typing.Sequence[PromptRequestInputRequest], direction="write"
139
+ ),
140
+ "input_variables": convert_and_respect_annotation_metadata(
141
+ object_=input_variables, annotation=typing.Sequence[VellumVariableRequest], direction="write"
142
+ ),
143
+ "parameters": convert_and_respect_annotation_metadata(
144
+ object_=parameters, annotation=PromptParametersRequest, direction="write"
145
+ ),
146
+ "blocks": convert_and_respect_annotation_metadata(
147
+ object_=blocks, annotation=typing.Sequence[PromptBlockRequest], direction="write"
148
+ ),
149
+ "expand_meta": convert_and_respect_annotation_metadata(
150
+ object_=expand_meta, annotation=AdHocExpandMetaRequest, direction="write"
151
+ ),
141
152
  },
142
153
  request_options=request_options,
143
154
  omit=OMIT,
@@ -314,11 +325,21 @@ class AsyncAdHocClient:
314
325
  method="POST",
315
326
  json={
316
327
  "ml_model": ml_model,
317
- "input_values": input_values,
318
- "input_variables": input_variables,
319
- "parameters": parameters,
320
- "blocks": blocks,
321
- "expand_meta": expand_meta,
328
+ "input_values": convert_and_respect_annotation_metadata(
329
+ object_=input_values, annotation=typing.Sequence[PromptRequestInputRequest], direction="write"
330
+ ),
331
+ "input_variables": convert_and_respect_annotation_metadata(
332
+ object_=input_variables, annotation=typing.Sequence[VellumVariableRequest], direction="write"
333
+ ),
334
+ "parameters": convert_and_respect_annotation_metadata(
335
+ object_=parameters, annotation=PromptParametersRequest, direction="write"
336
+ ),
337
+ "blocks": convert_and_respect_annotation_metadata(
338
+ object_=blocks, annotation=typing.Sequence[PromptBlockRequest], direction="write"
339
+ ),
340
+ "expand_meta": convert_and_respect_annotation_metadata(
341
+ object_=expand_meta, annotation=AdHocExpandMetaRequest, direction="write"
342
+ ),
322
343
  },
323
344
  request_options=request_options,
324
345
  omit=OMIT,
@@ -14,6 +14,7 @@ from ...types.deployment_release_tag_read import DeploymentReleaseTagRead
14
14
  from ...types.prompt_deployment_input_request import PromptDeploymentInputRequest
15
15
  from ...types.compile_prompt_deployment_expand_meta_request import CompilePromptDeploymentExpandMetaRequest
16
16
  from ...types.deployment_provider_payload_response import DeploymentProviderPayloadResponse
17
+ from ...core.serialization import convert_and_respect_annotation_metadata
17
18
  from ...errors.bad_request_error import BadRequestError
18
19
  from ...errors.forbidden_error import ForbiddenError
19
20
  from ...errors.not_found_error import NotFoundError
@@ -334,9 +335,13 @@ class DeploymentsClient:
334
335
  json={
335
336
  "deployment_id": deployment_id,
336
337
  "deployment_name": deployment_name,
337
- "inputs": inputs,
338
+ "inputs": convert_and_respect_annotation_metadata(
339
+ object_=inputs, annotation=typing.Sequence[PromptDeploymentInputRequest], direction="write"
340
+ ),
338
341
  "release_tag": release_tag,
339
- "expand_meta": expand_meta,
342
+ "expand_meta": convert_and_respect_annotation_metadata(
343
+ object_=expand_meta, annotation=CompilePromptDeploymentExpandMetaRequest, direction="write"
344
+ ),
340
345
  },
341
346
  request_options=request_options,
342
347
  omit=OMIT,
@@ -746,9 +751,13 @@ class AsyncDeploymentsClient:
746
751
  json={
747
752
  "deployment_id": deployment_id,
748
753
  "deployment_name": deployment_name,
749
- "inputs": inputs,
754
+ "inputs": convert_and_respect_annotation_metadata(
755
+ object_=inputs, annotation=typing.Sequence[PromptDeploymentInputRequest], direction="write"
756
+ ),
750
757
  "release_tag": release_tag,
751
- "expand_meta": expand_meta,
758
+ "expand_meta": convert_and_respect_annotation_metadata(
759
+ object_=expand_meta, annotation=CompilePromptDeploymentExpandMetaRequest, direction="write"
760
+ ),
752
761
  },
753
762
  request_options=request_options,
754
763
  omit=OMIT,