vellum-ai 0.1.10__tar.gz → 0.1.11__tar.gz

Sign up to get free protection for your applications and to get access to all the features.
Files changed (238) hide show
  1. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/PKG-INFO +1 -1
  2. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/pyproject.toml +1 -1
  3. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/__init__.py +14 -0
  4. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/core/client_wrapper.py +1 -1
  5. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/types/__init__.py +18 -1
  6. vellum_ai-0.1.11/src/vellum/types/fulfilled_function_call.py +34 -0
  7. vellum_ai-0.1.11/src/vellum/types/function_call.py +31 -0
  8. vellum_ai-0.1.11/src/vellum/types/function_call_variable_value.py +29 -0
  9. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/types/prompt_output.py +11 -1
  10. vellum_ai-0.1.11/src/vellum/types/rejected_function_call.py +35 -0
  11. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/types/vellum_variable_type.py +5 -0
  12. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/README.md +0 -0
  13. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/client.py +0 -0
  14. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/core/__init__.py +0 -0
  15. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/core/api_error.py +0 -0
  16. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/core/datetime_utils.py +0 -0
  17. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/core/jsonable_encoder.py +0 -0
  18. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/core/remove_none_from_dict.py +0 -0
  19. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/environment.py +0 -0
  20. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/errors/__init__.py +0 -0
  21. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/errors/bad_request_error.py +0 -0
  22. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/errors/conflict_error.py +0 -0
  23. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/errors/forbidden_error.py +0 -0
  24. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/errors/internal_server_error.py +0 -0
  25. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/errors/not_found_error.py +0 -0
  26. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/py.typed +0 -0
  27. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/resources/__init__.py +0 -0
  28. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/resources/deployments/__init__.py +0 -0
  29. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/resources/deployments/client.py +0 -0
  30. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/resources/document_indexes/__init__.py +0 -0
  31. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/resources/document_indexes/client.py +0 -0
  32. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/resources/documents/__init__.py +0 -0
  33. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/resources/documents/client.py +0 -0
  34. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/resources/model_versions/__init__.py +0 -0
  35. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/resources/model_versions/client.py +0 -0
  36. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/resources/registered_prompts/__init__.py +0 -0
  37. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/resources/registered_prompts/client.py +0 -0
  38. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/resources/sandboxes/__init__.py +0 -0
  39. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/resources/sandboxes/client.py +0 -0
  40. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/resources/test_suites/__init__.py +0 -0
  41. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/resources/test_suites/client.py +0 -0
  42. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/types/api_node_result.py +0 -0
  43. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/types/api_node_result_data.py +0 -0
  44. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/types/block_type_enum.py +0 -0
  45. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/types/chat_history_input_request.py +0 -0
  46. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/types/chat_message.py +0 -0
  47. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/types/chat_message_request.py +0 -0
  48. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/types/chat_message_role.py +0 -0
  49. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/types/code_execution_node_chat_history_result.py +0 -0
  50. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/types/code_execution_node_error_result.py +0 -0
  51. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/types/code_execution_node_json_result.py +0 -0
  52. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/types/code_execution_node_number_result.py +0 -0
  53. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/types/code_execution_node_result.py +0 -0
  54. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/types/code_execution_node_result_data.py +0 -0
  55. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/types/code_execution_node_result_output.py +0 -0
  56. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/types/code_execution_node_search_results_result.py +0 -0
  57. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/types/code_execution_node_string_result.py +0 -0
  58. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/types/conditional_node_result.py +0 -0
  59. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/types/conditional_node_result_data.py +0 -0
  60. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/types/deployment_provider_payload_response.py +0 -0
  61. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/types/deployment_read.py +0 -0
  62. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/types/deployment_status.py +0 -0
  63. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/types/document_document_to_document_index.py +0 -0
  64. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/types/document_index_read.py +0 -0
  65. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/types/document_index_status.py +0 -0
  66. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/types/document_read.py +0 -0
  67. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/types/document_status.py +0 -0
  68. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/types/enriched_normalized_completion.py +0 -0
  69. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/types/environment_enum.py +0 -0
  70. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/types/error_variable_value.py +0 -0
  71. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/types/evaluation_params.py +0 -0
  72. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/types/evaluation_params_request.py +0 -0
  73. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/types/execute_prompt_api_error_response.py +0 -0
  74. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/types/execute_prompt_event.py +0 -0
  75. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/types/execute_prompt_response.py +0 -0
  76. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/types/execute_workflow_stream_error_response.py +0 -0
  77. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/types/finish_reason_enum.py +0 -0
  78. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/types/fulfilled_enum.py +0 -0
  79. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/types/fulfilled_execute_prompt_event.py +0 -0
  80. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/types/fulfilled_execute_prompt_response.py +0 -0
  81. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/types/fulfilled_prompt_execution_meta.py +0 -0
  82. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/types/generate_error_response.py +0 -0
  83. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/types/generate_options_request.py +0 -0
  84. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/types/generate_request.py +0 -0
  85. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/types/generate_response.py +0 -0
  86. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/types/generate_result.py +0 -0
  87. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/types/generate_result_data.py +0 -0
  88. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/types/generate_result_error.py +0 -0
  89. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/types/generate_stream_response.py +0 -0
  90. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/types/generate_stream_result.py +0 -0
  91. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/types/generate_stream_result_data.py +0 -0
  92. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/types/indexing_state_enum.py +0 -0
  93. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/types/initiated_enum.py +0 -0
  94. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/types/initiated_execute_prompt_event.py +0 -0
  95. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/types/initiated_prompt_execution_meta.py +0 -0
  96. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/types/json_input_request.py +0 -0
  97. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/types/json_variable_value.py +0 -0
  98. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/types/logical_operator.py +0 -0
  99. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/types/logprobs_enum.py +0 -0
  100. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/types/metadata_filter_config_request.py +0 -0
  101. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/types/metadata_filter_rule_combinator.py +0 -0
  102. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/types/metadata_filter_rule_request.py +0 -0
  103. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/types/model_version_build_config.py +0 -0
  104. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/types/model_version_exec_config.py +0 -0
  105. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/types/model_version_exec_config_parameters.py +0 -0
  106. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/types/model_version_read.py +0 -0
  107. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/types/model_version_read_status_enum.py +0 -0
  108. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/types/model_version_sandbox_snapshot.py +0 -0
  109. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/types/named_test_case_chat_history_variable_value_request.py +0 -0
  110. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/types/named_test_case_error_variable_value_request.py +0 -0
  111. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/types/named_test_case_json_variable_value_request.py +0 -0
  112. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/types/named_test_case_number_variable_value_request.py +0 -0
  113. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/types/named_test_case_search_results_variable_value_request.py +0 -0
  114. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/types/named_test_case_string_variable_value_request.py +0 -0
  115. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/types/named_test_case_variable_value_request.py +0 -0
  116. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/types/node_input_compiled_chat_history_value.py +0 -0
  117. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/types/node_input_compiled_error_value.py +0 -0
  118. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/types/node_input_compiled_json_value.py +0 -0
  119. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/types/node_input_compiled_number_value.py +0 -0
  120. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/types/node_input_compiled_search_results_value.py +0 -0
  121. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/types/node_input_compiled_string_value.py +0 -0
  122. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/types/node_input_variable_compiled_value.py +0 -0
  123. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/types/normalized_log_probs.py +0 -0
  124. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/types/normalized_token_log_probs.py +0 -0
  125. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/types/paginated_slim_document_list.py +0 -0
  126. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/types/processing_failure_reason_enum.py +0 -0
  127. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/types/processing_state_enum.py +0 -0
  128. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/types/prompt_deployment_expand_meta_request_request.py +0 -0
  129. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/types/prompt_deployment_input_request.py +0 -0
  130. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/types/prompt_execution_meta.py +0 -0
  131. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/types/prompt_node_result.py +0 -0
  132. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/types/prompt_node_result_data.py +0 -0
  133. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/types/prompt_template_block.py +0 -0
  134. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/types/prompt_template_block_data.py +0 -0
  135. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/types/prompt_template_block_data_request.py +0 -0
  136. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/types/prompt_template_block_properties.py +0 -0
  137. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/types/prompt_template_block_properties_request.py +0 -0
  138. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/types/prompt_template_block_request.py +0 -0
  139. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/types/provider_enum.py +0 -0
  140. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/types/raw_prompt_execution_overrides_request.py +0 -0
  141. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/types/register_prompt_error_response.py +0 -0
  142. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/types/register_prompt_model_parameters_request.py +0 -0
  143. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/types/register_prompt_prompt.py +0 -0
  144. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/types/register_prompt_prompt_info_request.py +0 -0
  145. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/types/register_prompt_response.py +0 -0
  146. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/types/registered_prompt_deployment.py +0 -0
  147. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/types/registered_prompt_input_variable_request.py +0 -0
  148. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/types/registered_prompt_model_version.py +0 -0
  149. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/types/registered_prompt_sandbox.py +0 -0
  150. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/types/registered_prompt_sandbox_snapshot.py +0 -0
  151. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/types/rejected_enum.py +0 -0
  152. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/types/rejected_execute_prompt_event.py +0 -0
  153. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/types/rejected_execute_prompt_response.py +0 -0
  154. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/types/rejected_prompt_execution_meta.py +0 -0
  155. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/types/sandbox_metric_input_params.py +0 -0
  156. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/types/sandbox_metric_input_params_request.py +0 -0
  157. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/types/sandbox_scenario.py +0 -0
  158. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/types/scenario_input.py +0 -0
  159. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/types/scenario_input_request.py +0 -0
  160. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/types/scenario_input_type_enum.py +0 -0
  161. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/types/search_error_response.py +0 -0
  162. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/types/search_filters_request.py +0 -0
  163. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/types/search_node_result.py +0 -0
  164. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/types/search_node_result_data.py +0 -0
  165. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/types/search_request_options_request.py +0 -0
  166. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/types/search_response.py +0 -0
  167. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/types/search_result.py +0 -0
  168. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/types/search_result_document.py +0 -0
  169. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/types/search_result_document_request.py +0 -0
  170. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/types/search_result_merging_request.py +0 -0
  171. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/types/search_result_request.py +0 -0
  172. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/types/search_weights_request.py +0 -0
  173. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/types/slim_document.py +0 -0
  174. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/types/streaming_enum.py +0 -0
  175. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/types/streaming_execute_prompt_event.py +0 -0
  176. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/types/streaming_prompt_execution_meta.py +0 -0
  177. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/types/string_input_request.py +0 -0
  178. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/types/string_variable_value.py +0 -0
  179. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/types/submit_completion_actual_request.py +0 -0
  180. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/types/submit_completion_actuals_error_response.py +0 -0
  181. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/types/submit_workflow_execution_actual_request.py +0 -0
  182. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/types/templating_node_chat_history_result.py +0 -0
  183. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/types/templating_node_error_result.py +0 -0
  184. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/types/templating_node_json_result.py +0 -0
  185. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/types/templating_node_number_result.py +0 -0
  186. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/types/templating_node_result.py +0 -0
  187. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/types/templating_node_result_data.py +0 -0
  188. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/types/templating_node_result_output.py +0 -0
  189. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/types/templating_node_search_results_result.py +0 -0
  190. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/types/templating_node_string_result.py +0 -0
  191. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/types/terminal_node_chat_history_result.py +0 -0
  192. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/types/terminal_node_error_result.py +0 -0
  193. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/types/terminal_node_json_result.py +0 -0
  194. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/types/terminal_node_number_result.py +0 -0
  195. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/types/terminal_node_result.py +0 -0
  196. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/types/terminal_node_result_data.py +0 -0
  197. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/types/terminal_node_result_output.py +0 -0
  198. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/types/terminal_node_search_results_result.py +0 -0
  199. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/types/terminal_node_string_result.py +0 -0
  200. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/types/test_case_chat_history_variable_value.py +0 -0
  201. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/types/test_case_error_variable_value.py +0 -0
  202. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/types/test_case_json_variable_value.py +0 -0
  203. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/types/test_case_number_variable_value.py +0 -0
  204. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/types/test_case_search_results_variable_value.py +0 -0
  205. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/types/test_case_string_variable_value.py +0 -0
  206. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/types/test_case_variable_value.py +0 -0
  207. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/types/test_suite_test_case.py +0 -0
  208. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/types/upload_document_error_response.py +0 -0
  209. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/types/upload_document_response.py +0 -0
  210. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/types/vellum_error.py +0 -0
  211. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/types/vellum_error_code_enum.py +0 -0
  212. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/types/vellum_error_request.py +0 -0
  213. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/types/vellum_variable.py +0 -0
  214. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/types/workflow_event_error.py +0 -0
  215. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/types/workflow_execution_actual_chat_history_request.py +0 -0
  216. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/types/workflow_execution_actual_json_request.py +0 -0
  217. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/types/workflow_execution_actual_string_request.py +0 -0
  218. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/types/workflow_execution_event_error_code.py +0 -0
  219. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/types/workflow_execution_event_type.py +0 -0
  220. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/types/workflow_execution_node_result_event.py +0 -0
  221. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/types/workflow_execution_workflow_result_event.py +0 -0
  222. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/types/workflow_node_result_data.py +0 -0
  223. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/types/workflow_node_result_event.py +0 -0
  224. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/types/workflow_node_result_event_state.py +0 -0
  225. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/types/workflow_request_chat_history_input_request.py +0 -0
  226. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/types/workflow_request_input_request.py +0 -0
  227. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/types/workflow_request_json_input_request.py +0 -0
  228. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/types/workflow_request_number_input_request.py +0 -0
  229. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/types/workflow_request_string_input_request.py +0 -0
  230. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/types/workflow_result_event.py +0 -0
  231. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/types/workflow_result_event_output_data.py +0 -0
  232. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/types/workflow_result_event_output_data_chat_history.py +0 -0
  233. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/types/workflow_result_event_output_data_error.py +0 -0
  234. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/types/workflow_result_event_output_data_json.py +0 -0
  235. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/types/workflow_result_event_output_data_number.py +0 -0
  236. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/types/workflow_result_event_output_data_search_results.py +0 -0
  237. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/types/workflow_result_event_output_data_string.py +0 -0
  238. {vellum_ai-0.1.10 → vellum_ai-0.1.11}/src/vellum/types/workflow_stream_event.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: vellum-ai
3
- Version: 0.1.10
3
+ Version: 0.1.11
4
4
  Summary:
5
5
  Requires-Python: >=3.7,<4.0
6
6
  Classifier: Programming Language :: Python :: 3
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "vellum-ai"
3
- version = "v0.1.10"
3
+ version = "v0.1.11"
4
4
  description = ""
5
5
  readme = "README.md"
6
6
  authors = []
@@ -52,7 +52,12 @@ from .types import (
52
52
  FulfilledEnum,
53
53
  FulfilledExecutePromptEvent,
54
54
  FulfilledExecutePromptResponse,
55
+ FulfilledFunctionCall,
55
56
  FulfilledPromptExecutionMeta,
57
+ FunctionCall,
58
+ FunctionCallVariableValue,
59
+ FunctionCall_Fulfilled,
60
+ FunctionCall_Rejected,
56
61
  GenerateErrorResponse,
57
62
  GenerateOptionsRequest,
58
63
  GenerateRequest,
@@ -121,6 +126,7 @@ from .types import (
121
126
  PromptNodeResultData,
122
127
  PromptOutput,
123
128
  PromptOutput_Error,
129
+ PromptOutput_FunctionCall,
124
130
  PromptOutput_Json,
125
131
  PromptOutput_String,
126
132
  PromptTemplateBlock,
@@ -144,6 +150,7 @@ from .types import (
144
150
  RejectedEnum,
145
151
  RejectedExecutePromptEvent,
146
152
  RejectedExecutePromptResponse,
153
+ RejectedFunctionCall,
147
154
  RejectedPromptExecutionMeta,
148
155
  SandboxMetricInputParams,
149
156
  SandboxMetricInputParamsRequest,
@@ -338,7 +345,12 @@ __all__ = [
338
345
  "FulfilledEnum",
339
346
  "FulfilledExecutePromptEvent",
340
347
  "FulfilledExecutePromptResponse",
348
+ "FulfilledFunctionCall",
341
349
  "FulfilledPromptExecutionMeta",
350
+ "FunctionCall",
351
+ "FunctionCallVariableValue",
352
+ "FunctionCall_Fulfilled",
353
+ "FunctionCall_Rejected",
342
354
  "GenerateErrorResponse",
343
355
  "GenerateOptionsRequest",
344
356
  "GenerateRequest",
@@ -409,6 +421,7 @@ __all__ = [
409
421
  "PromptNodeResultData",
410
422
  "PromptOutput",
411
423
  "PromptOutput_Error",
424
+ "PromptOutput_FunctionCall",
412
425
  "PromptOutput_Json",
413
426
  "PromptOutput_String",
414
427
  "PromptTemplateBlock",
@@ -432,6 +445,7 @@ __all__ = [
432
445
  "RejectedEnum",
433
446
  "RejectedExecutePromptEvent",
434
447
  "RejectedExecutePromptResponse",
448
+ "RejectedFunctionCall",
435
449
  "RejectedPromptExecutionMeta",
436
450
  "SandboxMetricInputParams",
437
451
  "SandboxMetricInputParamsRequest",
@@ -16,7 +16,7 @@ class BaseClientWrapper:
16
16
  headers: typing.Dict[str, str] = {
17
17
  "X-Fern-Language": "Python",
18
18
  "X-Fern-SDK-Name": "vellum-ai",
19
- "X-Fern-SDK-Version": "v0.1.10",
19
+ "X-Fern-SDK-Version": "v0.1.11",
20
20
  }
21
21
  headers["X_API_KEY"] = self.api_key
22
22
  return headers
@@ -57,7 +57,10 @@ from .finish_reason_enum import FinishReasonEnum
57
57
  from .fulfilled_enum import FulfilledEnum
58
58
  from .fulfilled_execute_prompt_event import FulfilledExecutePromptEvent
59
59
  from .fulfilled_execute_prompt_response import FulfilledExecutePromptResponse
60
+ from .fulfilled_function_call import FulfilledFunctionCall
60
61
  from .fulfilled_prompt_execution_meta import FulfilledPromptExecutionMeta
62
+ from .function_call import FunctionCall, FunctionCall_Fulfilled, FunctionCall_Rejected
63
+ from .function_call_variable_value import FunctionCallVariableValue
61
64
  from .generate_error_response import GenerateErrorResponse
62
65
  from .generate_options_request import GenerateOptionsRequest
63
66
  from .generate_request import GenerateRequest
@@ -130,7 +133,13 @@ from .prompt_deployment_input_request import (
130
133
  from .prompt_execution_meta import PromptExecutionMeta
131
134
  from .prompt_node_result import PromptNodeResult
132
135
  from .prompt_node_result_data import PromptNodeResultData
133
- from .prompt_output import PromptOutput, PromptOutput_Error, PromptOutput_Json, PromptOutput_String
136
+ from .prompt_output import (
137
+ PromptOutput,
138
+ PromptOutput_Error,
139
+ PromptOutput_FunctionCall,
140
+ PromptOutput_Json,
141
+ PromptOutput_String,
142
+ )
134
143
  from .prompt_template_block import PromptTemplateBlock
135
144
  from .prompt_template_block_data import PromptTemplateBlockData
136
145
  from .prompt_template_block_data_request import PromptTemplateBlockDataRequest
@@ -152,6 +161,7 @@ from .registered_prompt_sandbox_snapshot import RegisteredPromptSandboxSnapshot
152
161
  from .rejected_enum import RejectedEnum
153
162
  from .rejected_execute_prompt_event import RejectedExecutePromptEvent
154
163
  from .rejected_execute_prompt_response import RejectedExecutePromptResponse
164
+ from .rejected_function_call import RejectedFunctionCall
155
165
  from .rejected_prompt_execution_meta import RejectedPromptExecutionMeta
156
166
  from .sandbox_metric_input_params import SandboxMetricInputParams
157
167
  from .sandbox_metric_input_params_request import SandboxMetricInputParamsRequest
@@ -343,7 +353,12 @@ __all__ = [
343
353
  "FulfilledEnum",
344
354
  "FulfilledExecutePromptEvent",
345
355
  "FulfilledExecutePromptResponse",
356
+ "FulfilledFunctionCall",
346
357
  "FulfilledPromptExecutionMeta",
358
+ "FunctionCall",
359
+ "FunctionCallVariableValue",
360
+ "FunctionCall_Fulfilled",
361
+ "FunctionCall_Rejected",
347
362
  "GenerateErrorResponse",
348
363
  "GenerateOptionsRequest",
349
364
  "GenerateRequest",
@@ -412,6 +427,7 @@ __all__ = [
412
427
  "PromptNodeResultData",
413
428
  "PromptOutput",
414
429
  "PromptOutput_Error",
430
+ "PromptOutput_FunctionCall",
415
431
  "PromptOutput_Json",
416
432
  "PromptOutput_String",
417
433
  "PromptTemplateBlock",
@@ -435,6 +451,7 @@ __all__ = [
435
451
  "RejectedEnum",
436
452
  "RejectedExecutePromptEvent",
437
453
  "RejectedExecutePromptResponse",
454
+ "RejectedFunctionCall",
438
455
  "RejectedPromptExecutionMeta",
439
456
  "SandboxMetricInputParams",
440
457
  "SandboxMetricInputParamsRequest",
@@ -0,0 +1,34 @@
1
+ # This file was auto-generated by Fern from our API Definition.
2
+
3
+ import datetime as dt
4
+ import typing
5
+
6
+ from ..core.datetime_utils import serialize_datetime
7
+
8
+ try:
9
+ import pydantic.v1 as pydantic # type: ignore
10
+ except ImportError:
11
+ import pydantic # type: ignore
12
+
13
+
14
+ class FulfilledFunctionCall(pydantic.BaseModel):
15
+ """
16
+ The final resolved function call value.
17
+ """
18
+
19
+ arguments: typing.Dict[str, typing.Any]
20
+ id: typing.Optional[str]
21
+ name: str
22
+
23
+ def json(self, **kwargs: typing.Any) -> str:
24
+ kwargs_with_defaults: typing.Any = {"by_alias": True, "exclude_unset": True, **kwargs}
25
+ return super().json(**kwargs_with_defaults)
26
+
27
+ def dict(self, **kwargs: typing.Any) -> typing.Dict[str, typing.Any]:
28
+ kwargs_with_defaults: typing.Any = {"by_alias": True, "exclude_unset": True, **kwargs}
29
+ return super().dict(**kwargs_with_defaults)
30
+
31
+ class Config:
32
+ frozen = True
33
+ smart_union = True
34
+ json_encoders = {dt.datetime: serialize_datetime}
@@ -0,0 +1,31 @@
1
+ # This file was auto-generated by Fern from our API Definition.
2
+
3
+ from __future__ import annotations
4
+
5
+ import typing
6
+
7
+ import typing_extensions
8
+
9
+ from .fulfilled_function_call import FulfilledFunctionCall
10
+ from .rejected_function_call import RejectedFunctionCall
11
+
12
+
13
+ class FunctionCall_Fulfilled(FulfilledFunctionCall):
14
+ state: typing_extensions.Literal["FULFILLED"]
15
+
16
+ class Config:
17
+ frozen = True
18
+ smart_union = True
19
+ allow_population_by_field_name = True
20
+
21
+
22
+ class FunctionCall_Rejected(RejectedFunctionCall):
23
+ state: typing_extensions.Literal["REJECTED"]
24
+
25
+ class Config:
26
+ frozen = True
27
+ smart_union = True
28
+ allow_population_by_field_name = True
29
+
30
+
31
+ FunctionCall = typing.Union[FunctionCall_Fulfilled, FunctionCall_Rejected]
@@ -0,0 +1,29 @@
1
+ # This file was auto-generated by Fern from our API Definition.
2
+
3
+ import datetime as dt
4
+ import typing
5
+
6
+ from ..core.datetime_utils import serialize_datetime
7
+ from .function_call import FunctionCall
8
+
9
+ try:
10
+ import pydantic.v1 as pydantic # type: ignore
11
+ except ImportError:
12
+ import pydantic # type: ignore
13
+
14
+
15
+ class FunctionCallVariableValue(pydantic.BaseModel):
16
+ value: FunctionCall
17
+
18
+ def json(self, **kwargs: typing.Any) -> str:
19
+ kwargs_with_defaults: typing.Any = {"by_alias": True, "exclude_unset": True, **kwargs}
20
+ return super().json(**kwargs_with_defaults)
21
+
22
+ def dict(self, **kwargs: typing.Any) -> typing.Dict[str, typing.Any]:
23
+ kwargs_with_defaults: typing.Any = {"by_alias": True, "exclude_unset": True, **kwargs}
24
+ return super().dict(**kwargs_with_defaults)
25
+
26
+ class Config:
27
+ frozen = True
28
+ smart_union = True
29
+ json_encoders = {dt.datetime: serialize_datetime}
@@ -7,6 +7,7 @@ import typing
7
7
  import typing_extensions
8
8
 
9
9
  from .error_variable_value import ErrorVariableValue
10
+ from .function_call_variable_value import FunctionCallVariableValue
10
11
  from .json_variable_value import JsonVariableValue
11
12
  from .string_variable_value import StringVariableValue
12
13
 
@@ -38,4 +39,13 @@ class PromptOutput_Error(ErrorVariableValue):
38
39
  allow_population_by_field_name = True
39
40
 
40
41
 
41
- PromptOutput = typing.Union[PromptOutput_String, PromptOutput_Json, PromptOutput_Error]
42
+ class PromptOutput_FunctionCall(FunctionCallVariableValue):
43
+ type: typing_extensions.Literal["FUNCTION_CALL"]
44
+
45
+ class Config:
46
+ frozen = True
47
+ smart_union = True
48
+ allow_population_by_field_name = True
49
+
50
+
51
+ PromptOutput = typing.Union[PromptOutput_String, PromptOutput_Json, PromptOutput_Error, PromptOutput_FunctionCall]
@@ -0,0 +1,35 @@
1
+ # This file was auto-generated by Fern from our API Definition.
2
+
3
+ import datetime as dt
4
+ import typing
5
+
6
+ from ..core.datetime_utils import serialize_datetime
7
+ from .vellum_error import VellumError
8
+
9
+ try:
10
+ import pydantic.v1 as pydantic # type: ignore
11
+ except ImportError:
12
+ import pydantic # type: ignore
13
+
14
+
15
+ class RejectedFunctionCall(pydantic.BaseModel):
16
+ """
17
+ Returned if the function call failed to parse for some reason.
18
+ """
19
+
20
+ error: VellumError
21
+ id: typing.Optional[str]
22
+ name: str
23
+
24
+ def json(self, **kwargs: typing.Any) -> str:
25
+ kwargs_with_defaults: typing.Any = {"by_alias": True, "exclude_unset": True, **kwargs}
26
+ return super().json(**kwargs_with_defaults)
27
+
28
+ def dict(self, **kwargs: typing.Any) -> typing.Dict[str, typing.Any]:
29
+ kwargs_with_defaults: typing.Any = {"by_alias": True, "exclude_unset": True, **kwargs}
30
+ return super().dict(**kwargs_with_defaults)
31
+
32
+ class Config:
33
+ frozen = True
34
+ smart_union = True
35
+ json_encoders = {dt.datetime: serialize_datetime}
@@ -15,6 +15,7 @@ class VellumVariableType(str, enum.Enum):
15
15
  - `SEARCH_RESULTS` - SEARCH_RESULTS
16
16
  - `ERROR` - ERROR
17
17
  - `ARRAY` - ARRAY
18
+ - `FUNCTION_CALL` - FUNCTION_CALL
18
19
  """
19
20
 
20
21
  STRING = "STRING"
@@ -24,6 +25,7 @@ class VellumVariableType(str, enum.Enum):
24
25
  SEARCH_RESULTS = "SEARCH_RESULTS"
25
26
  ERROR = "ERROR"
26
27
  ARRAY = "ARRAY"
28
+ FUNCTION_CALL = "FUNCTION_CALL"
27
29
 
28
30
  def visit(
29
31
  self,
@@ -34,6 +36,7 @@ class VellumVariableType(str, enum.Enum):
34
36
  search_results: typing.Callable[[], T_Result],
35
37
  error: typing.Callable[[], T_Result],
36
38
  array: typing.Callable[[], T_Result],
39
+ function_call: typing.Callable[[], T_Result],
37
40
  ) -> T_Result:
38
41
  if self is VellumVariableType.STRING:
39
42
  return string()
@@ -49,3 +52,5 @@ class VellumVariableType(str, enum.Enum):
49
52
  return error()
50
53
  if self is VellumVariableType.ARRAY:
51
54
  return array()
55
+ if self is VellumVariableType.FUNCTION_CALL:
56
+ return function_call()
File without changes