vellum_ai 0.3.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/lib/core/file_utilities.rb +26 -0
- data/lib/environment.rb +11 -0
- data/lib/gemconfig.rb +14 -0
- data/lib/requests.rb +88 -0
- data/lib/types_export.rb +255 -0
- data/lib/vellum_ai/deployments/client.rb +157 -0
- data/lib/vellum_ai/deployments/types/deployments_list_request_status.rb +8 -0
- data/lib/vellum_ai/document_indexes/client.rb +135 -0
- data/lib/vellum_ai/documents/client.rb +245 -0
- data/lib/vellum_ai/model_versions/client.rb +61 -0
- data/lib/vellum_ai/registered_prompts/client.rb +154 -0
- data/lib/vellum_ai/sandboxes/client.rb +132 -0
- data/lib/vellum_ai/test_suites/client.rb +130 -0
- data/lib/vellum_ai/types/api_node_result.rb +52 -0
- data/lib/vellum_ai/types/api_node_result_data.rb +80 -0
- data/lib/vellum_ai/types/array_chat_message_content.rb +50 -0
- data/lib/vellum_ai/types/array_chat_message_content_item.rb +103 -0
- data/lib/vellum_ai/types/array_chat_message_content_item_request.rb +103 -0
- data/lib/vellum_ai/types/array_chat_message_content_request.rb +50 -0
- data/lib/vellum_ai/types/block_type_enum.rb +11 -0
- data/lib/vellum_ai/types/chat_history_enum.rb +5 -0
- data/lib/vellum_ai/types/chat_history_input_request.rb +55 -0
- data/lib/vellum_ai/types/chat_message.rb +62 -0
- data/lib/vellum_ai/types/chat_message_content.rb +116 -0
- data/lib/vellum_ai/types/chat_message_content_request.rb +116 -0
- data/lib/vellum_ai/types/chat_message_request.rb +62 -0
- data/lib/vellum_ai/types/chat_message_role.rb +6 -0
- data/lib/vellum_ai/types/code_execution_node_chat_history_result.rb +54 -0
- data/lib/vellum_ai/types/code_execution_node_error_result.rb +56 -0
- data/lib/vellum_ai/types/code_execution_node_json_result.rb +50 -0
- data/lib/vellum_ai/types/code_execution_node_number_result.rb +50 -0
- data/lib/vellum_ai/types/code_execution_node_result.rb +52 -0
- data/lib/vellum_ai/types/code_execution_node_result_data.rb +51 -0
- data/lib/vellum_ai/types/code_execution_node_result_output.rb +142 -0
- data/lib/vellum_ai/types/code_execution_node_search_results_result.rb +54 -0
- data/lib/vellum_ai/types/code_execution_node_string_result.rb +50 -0
- data/lib/vellum_ai/types/conditional_node_result.rb +52 -0
- data/lib/vellum_ai/types/conditional_node_result_data.rb +45 -0
- data/lib/vellum_ai/types/deployment_provider_payload_response.rb +45 -0
- data/lib/vellum_ai/types/deployment_read.rb +115 -0
- data/lib/vellum_ai/types/document_document_to_document_index.rb +70 -0
- data/lib/vellum_ai/types/document_index_read.rb +98 -0
- data/lib/vellum_ai/types/document_read.rb +121 -0
- data/lib/vellum_ai/types/document_status.rb +5 -0
- data/lib/vellum_ai/types/enriched_normalized_completion.rb +118 -0
- data/lib/vellum_ai/types/entity_status.rb +6 -0
- data/lib/vellum_ai/types/environment_enum.rb +6 -0
- data/lib/vellum_ai/types/error_enum.rb +5 -0
- data/lib/vellum_ai/types/error_variable_value.rb +51 -0
- data/lib/vellum_ai/types/execute_prompt_api_error_response.rb +45 -0
- data/lib/vellum_ai/types/execute_prompt_event.rb +116 -0
- data/lib/vellum_ai/types/execute_prompt_response.rb +90 -0
- data/lib/vellum_ai/types/execute_workflow_error_response.rb +45 -0
- data/lib/vellum_ai/types/execute_workflow_response.rb +67 -0
- data/lib/vellum_ai/types/execute_workflow_stream_error_response.rb +45 -0
- data/lib/vellum_ai/types/execute_workflow_workflow_result_event.rb +90 -0
- data/lib/vellum_ai/types/finish_reason_enum.rb +6 -0
- data/lib/vellum_ai/types/fulfilled_enum.rb +5 -0
- data/lib/vellum_ai/types/fulfilled_execute_prompt_event.rb +66 -0
- data/lib/vellum_ai/types/fulfilled_execute_prompt_response.rb +71 -0
- data/lib/vellum_ai/types/fulfilled_execute_workflow_workflow_result_event.rb +61 -0
- data/lib/vellum_ai/types/fulfilled_function_call.rb +56 -0
- data/lib/vellum_ai/types/fulfilled_prompt_execution_meta.rb +52 -0
- data/lib/vellum_ai/types/fulfilled_workflow_node_result_event.rb +90 -0
- data/lib/vellum_ai/types/function_call.rb +90 -0
- data/lib/vellum_ai/types/function_call_chat_message_content.rb +52 -0
- data/lib/vellum_ai/types/function_call_chat_message_content_request.rb +52 -0
- data/lib/vellum_ai/types/function_call_chat_message_content_value.rb +56 -0
- data/lib/vellum_ai/types/function_call_chat_message_content_value_request.rb +56 -0
- data/lib/vellum_ai/types/function_call_enum.rb +5 -0
- data/lib/vellum_ai/types/function_call_variable_value.rb +51 -0
- data/lib/vellum_ai/types/generate_error_response.rb +45 -0
- data/lib/vellum_ai/types/generate_options_request.rb +50 -0
- data/lib/vellum_ai/types/generate_request.rb +60 -0
- data/lib/vellum_ai/types/generate_response.rb +49 -0
- data/lib/vellum_ai/types/generate_result.rb +62 -0
- data/lib/vellum_ai/types/generate_result_data.rb +49 -0
- data/lib/vellum_ai/types/generate_result_error.rb +45 -0
- data/lib/vellum_ai/types/generate_stream_response.rb +51 -0
- data/lib/vellum_ai/types/generate_stream_result.rb +67 -0
- data/lib/vellum_ai/types/generate_stream_result_data.rb +56 -0
- data/lib/vellum_ai/types/image_chat_message_content.rb +52 -0
- data/lib/vellum_ai/types/image_chat_message_content_request.rb +52 -0
- data/lib/vellum_ai/types/image_enum.rb +5 -0
- data/lib/vellum_ai/types/indexing_state_enum.rb +12 -0
- data/lib/vellum_ai/types/initiated_enum.rb +5 -0
- data/lib/vellum_ai/types/initiated_execute_prompt_event.rb +57 -0
- data/lib/vellum_ai/types/initiated_prompt_execution_meta.rb +68 -0
- data/lib/vellum_ai/types/initiated_workflow_node_result_event.rb +90 -0
- data/lib/vellum_ai/types/json_enum.rb +5 -0
- data/lib/vellum_ai/types/json_input_request.rb +51 -0
- data/lib/vellum_ai/types/json_variable_value.rb +45 -0
- data/lib/vellum_ai/types/logical_operator.rb +25 -0
- data/lib/vellum_ai/types/logprobs_enum.rb +6 -0
- data/lib/vellum_ai/types/metadata_filter_config_request.rb +85 -0
- data/lib/vellum_ai/types/metadata_filter_rule_combinator.rb +6 -0
- data/lib/vellum_ai/types/metadata_filter_rule_request.rb +84 -0
- data/lib/vellum_ai/types/model_version_build_config.rb +66 -0
- data/lib/vellum_ai/types/model_version_exec_config.rb +90 -0
- data/lib/vellum_ai/types/model_version_exec_config_parameters.rb +98 -0
- data/lib/vellum_ai/types/model_version_read.rb +133 -0
- data/lib/vellum_ai/types/model_version_read_status_enum.rb +11 -0
- data/lib/vellum_ai/types/model_version_sandbox_snapshot.rb +61 -0
- data/lib/vellum_ai/types/named_test_case_chat_history_variable_value_request.rb +54 -0
- data/lib/vellum_ai/types/named_test_case_error_variable_value_request.rb +56 -0
- data/lib/vellum_ai/types/named_test_case_json_variable_value_request.rb +50 -0
- data/lib/vellum_ai/types/named_test_case_number_variable_value_request.rb +50 -0
- data/lib/vellum_ai/types/named_test_case_search_results_variable_value_request.rb +54 -0
- data/lib/vellum_ai/types/named_test_case_string_variable_value_request.rb +50 -0
- data/lib/vellum_ai/types/named_test_case_variable_value_request.rb +142 -0
- data/lib/vellum_ai/types/node_input_compiled_chat_history_value.rb +59 -0
- data/lib/vellum_ai/types/node_input_compiled_error_value.rb +61 -0
- data/lib/vellum_ai/types/node_input_compiled_json_value.rb +55 -0
- data/lib/vellum_ai/types/node_input_compiled_number_value.rb +55 -0
- data/lib/vellum_ai/types/node_input_compiled_search_results_value.rb +59 -0
- data/lib/vellum_ai/types/node_input_compiled_string_value.rb +55 -0
- data/lib/vellum_ai/types/node_input_variable_compiled_value.rb +142 -0
- data/lib/vellum_ai/types/node_output_compiled_chat_history_value.rb +54 -0
- data/lib/vellum_ai/types/node_output_compiled_error_value.rb +56 -0
- data/lib/vellum_ai/types/node_output_compiled_json_value.rb +50 -0
- data/lib/vellum_ai/types/node_output_compiled_number_value.rb +50 -0
- data/lib/vellum_ai/types/node_output_compiled_search_results_value.rb +54 -0
- data/lib/vellum_ai/types/node_output_compiled_string_value.rb +50 -0
- data/lib/vellum_ai/types/node_output_compiled_value.rb +142 -0
- data/lib/vellum_ai/types/normalized_log_probs.rb +54 -0
- data/lib/vellum_ai/types/normalized_token_log_probs.rb +61 -0
- data/lib/vellum_ai/types/number_enum.rb +5 -0
- data/lib/vellum_ai/types/paginated_slim_deployment_read_list.rb +64 -0
- data/lib/vellum_ai/types/paginated_slim_document_list.rb +64 -0
- data/lib/vellum_ai/types/paginated_slim_workflow_deployment_list.rb +64 -0
- data/lib/vellum_ai/types/processing_failure_reason_enum.rb +9 -0
- data/lib/vellum_ai/types/processing_state_enum.rb +11 -0
- data/lib/vellum_ai/types/prompt_deployment_expand_meta_request_request.rb +74 -0
- data/lib/vellum_ai/types/prompt_deployment_input_request.rb +103 -0
- data/lib/vellum_ai/types/prompt_execution_meta.rb +76 -0
- data/lib/vellum_ai/types/prompt_node_result.rb +52 -0
- data/lib/vellum_ai/types/prompt_node_result_data.rb +55 -0
- data/lib/vellum_ai/types/prompt_output.rb +116 -0
- data/lib/vellum_ai/types/prompt_template_block.rb +62 -0
- data/lib/vellum_ai/types/prompt_template_block_data.rb +54 -0
- data/lib/vellum_ai/types/prompt_template_block_data_request.rb +54 -0
- data/lib/vellum_ai/types/prompt_template_block_properties.rb +104 -0
- data/lib/vellum_ai/types/prompt_template_block_properties_request.rb +104 -0
- data/lib/vellum_ai/types/prompt_template_block_request.rb +62 -0
- data/lib/vellum_ai/types/provider_enum.rb +20 -0
- data/lib/vellum_ai/types/raw_prompt_execution_overrides_request.rb +55 -0
- data/lib/vellum_ai/types/register_prompt_error_response.rb +45 -0
- data/lib/vellum_ai/types/register_prompt_model_parameters_request.rb +98 -0
- data/lib/vellum_ai/types/register_prompt_prompt.rb +50 -0
- data/lib/vellum_ai/types/register_prompt_prompt_info_request.rb +60 -0
- data/lib/vellum_ai/types/register_prompt_response.rb +110 -0
- data/lib/vellum_ai/types/registered_prompt_deployment.rb +55 -0
- data/lib/vellum_ai/types/registered_prompt_input_variable_request.rb +56 -0
- data/lib/vellum_ai/types/registered_prompt_model_version.rb +50 -0
- data/lib/vellum_ai/types/registered_prompt_sandbox.rb +50 -0
- data/lib/vellum_ai/types/registered_prompt_sandbox_snapshot.rb +45 -0
- data/lib/vellum_ai/types/rejected_enum.rb +5 -0
- data/lib/vellum_ai/types/rejected_execute_prompt_event.rb +68 -0
- data/lib/vellum_ai/types/rejected_execute_prompt_response.rb +73 -0
- data/lib/vellum_ai/types/rejected_execute_workflow_workflow_result_event.rb +63 -0
- data/lib/vellum_ai/types/rejected_function_call.rb +62 -0
- data/lib/vellum_ai/types/rejected_prompt_execution_meta.rb +52 -0
- data/lib/vellum_ai/types/rejected_workflow_node_result_event.rb +92 -0
- data/lib/vellum_ai/types/sandbox_scenario.rb +59 -0
- data/lib/vellum_ai/types/scenario_input.rb +70 -0
- data/lib/vellum_ai/types/scenario_input_request.rb +70 -0
- data/lib/vellum_ai/types/scenario_input_type_enum.rb +6 -0
- data/lib/vellum_ai/types/search_error_response.rb +45 -0
- data/lib/vellum_ai/types/search_filters_request.rb +56 -0
- data/lib/vellum_ai/types/search_node_result.rb +52 -0
- data/lib/vellum_ai/types/search_node_result_data.rb +70 -0
- data/lib/vellum_ai/types/search_request_options_request.rb +79 -0
- data/lib/vellum_ai/types/search_response.rb +49 -0
- data/lib/vellum_ai/types/search_result.rb +66 -0
- data/lib/vellum_ai/types/search_result_document.rb +60 -0
- data/lib/vellum_ai/types/search_result_document_request.rb +55 -0
- data/lib/vellum_ai/types/search_result_merging_request.rb +45 -0
- data/lib/vellum_ai/types/search_result_request.rb +66 -0
- data/lib/vellum_ai/types/search_results_enum.rb +5 -0
- data/lib/vellum_ai/types/search_weights_request.rb +50 -0
- data/lib/vellum_ai/types/slim_deployment_read.rb +109 -0
- data/lib/vellum_ai/types/slim_document.rb +126 -0
- data/lib/vellum_ai/types/slim_workflow_deployment.rb +118 -0
- data/lib/vellum_ai/types/streaming_enum.rb +5 -0
- data/lib/vellum_ai/types/streaming_execute_prompt_event.rb +85 -0
- data/lib/vellum_ai/types/streaming_prompt_execution_meta.rb +46 -0
- data/lib/vellum_ai/types/streaming_workflow_node_result_event.rb +99 -0
- data/lib/vellum_ai/types/string_chat_message_content.rb +46 -0
- data/lib/vellum_ai/types/string_chat_message_content_request.rb +46 -0
- data/lib/vellum_ai/types/string_enum.rb +5 -0
- data/lib/vellum_ai/types/string_input_request.rb +51 -0
- data/lib/vellum_ai/types/string_variable_value.rb +45 -0
- data/lib/vellum_ai/types/submit_completion_actual_request.rb +67 -0
- data/lib/vellum_ai/types/submit_completion_actuals_error_response.rb +45 -0
- data/lib/vellum_ai/types/submit_workflow_execution_actual_request.rb +103 -0
- data/lib/vellum_ai/types/templating_node_chat_history_result.rb +54 -0
- data/lib/vellum_ai/types/templating_node_error_result.rb +56 -0
- data/lib/vellum_ai/types/templating_node_json_result.rb +50 -0
- data/lib/vellum_ai/types/templating_node_number_result.rb +50 -0
- data/lib/vellum_ai/types/templating_node_result.rb +52 -0
- data/lib/vellum_ai/types/templating_node_result_data.rb +51 -0
- data/lib/vellum_ai/types/templating_node_result_output.rb +142 -0
- data/lib/vellum_ai/types/templating_node_search_results_result.rb +54 -0
- data/lib/vellum_ai/types/templating_node_string_result.rb +50 -0
- data/lib/vellum_ai/types/terminal_node_chat_history_result.rb +59 -0
- data/lib/vellum_ai/types/terminal_node_error_result.rb +61 -0
- data/lib/vellum_ai/types/terminal_node_json_result.rb +55 -0
- data/lib/vellum_ai/types/terminal_node_number_result.rb +55 -0
- data/lib/vellum_ai/types/terminal_node_result.rb +52 -0
- data/lib/vellum_ai/types/terminal_node_result_data.rb +51 -0
- data/lib/vellum_ai/types/terminal_node_result_output.rb +142 -0
- data/lib/vellum_ai/types/terminal_node_search_results_result.rb +59 -0
- data/lib/vellum_ai/types/terminal_node_string_result.rb +55 -0
- data/lib/vellum_ai/types/test_case_chat_history_variable_value.rb +54 -0
- data/lib/vellum_ai/types/test_case_error_variable_value.rb +56 -0
- data/lib/vellum_ai/types/test_case_json_variable_value.rb +50 -0
- data/lib/vellum_ai/types/test_case_number_variable_value.rb +50 -0
- data/lib/vellum_ai/types/test_case_search_results_variable_value.rb +54 -0
- data/lib/vellum_ai/types/test_case_string_variable_value.rb +50 -0
- data/lib/vellum_ai/types/test_case_variable_value.rb +142 -0
- data/lib/vellum_ai/types/test_suite_test_case.rb +68 -0
- data/lib/vellum_ai/types/upload_document_error_response.rb +45 -0
- data/lib/vellum_ai/types/upload_document_response.rb +45 -0
- data/lib/vellum_ai/types/vellum_error.rb +51 -0
- data/lib/vellum_ai/types/vellum_error_code_enum.rb +10 -0
- data/lib/vellum_ai/types/vellum_error_request.rb +51 -0
- data/lib/vellum_ai/types/vellum_image.rb +50 -0
- data/lib/vellum_ai/types/vellum_image_request.rb +50 -0
- data/lib/vellum_ai/types/vellum_variable.rb +56 -0
- data/lib/vellum_ai/types/vellum_variable_type.rb +16 -0
- data/lib/vellum_ai/types/workflow_event_error.rb +51 -0
- data/lib/vellum_ai/types/workflow_execution_actual_chat_history_request.rb +77 -0
- data/lib/vellum_ai/types/workflow_execution_actual_json_request.rb +73 -0
- data/lib/vellum_ai/types/workflow_execution_actual_string_request.rb +73 -0
- data/lib/vellum_ai/types/workflow_execution_event_error_code.rb +13 -0
- data/lib/vellum_ai/types/workflow_execution_event_type.rb +6 -0
- data/lib/vellum_ai/types/workflow_execution_node_result_event.rb +68 -0
- data/lib/vellum_ai/types/workflow_execution_workflow_result_event.rb +68 -0
- data/lib/vellum_ai/types/workflow_node_result_data.rb +155 -0
- data/lib/vellum_ai/types/workflow_node_result_event.rb +116 -0
- data/lib/vellum_ai/types/workflow_node_result_event_state.rb +11 -0
- data/lib/vellum_ai/types/workflow_output.rb +168 -0
- data/lib/vellum_ai/types/workflow_output_chat_history.rb +60 -0
- data/lib/vellum_ai/types/workflow_output_error.rb +62 -0
- data/lib/vellum_ai/types/workflow_output_function_call.rb +62 -0
- data/lib/vellum_ai/types/workflow_output_image.rb +62 -0
- data/lib/vellum_ai/types/workflow_output_json.rb +56 -0
- data/lib/vellum_ai/types/workflow_output_number.rb +56 -0
- data/lib/vellum_ai/types/workflow_output_search_results.rb +60 -0
- data/lib/vellum_ai/types/workflow_output_string.rb +56 -0
- data/lib/vellum_ai/types/workflow_request_chat_history_input_request.rb +54 -0
- data/lib/vellum_ai/types/workflow_request_input_request.rb +116 -0
- data/lib/vellum_ai/types/workflow_request_json_input_request.rb +50 -0
- data/lib/vellum_ai/types/workflow_request_number_input_request.rb +50 -0
- data/lib/vellum_ai/types/workflow_request_string_input_request.rb +50 -0
- data/lib/vellum_ai/types/workflow_result_event.rb +95 -0
- data/lib/vellum_ai/types/workflow_result_event_output_data.rb +142 -0
- data/lib/vellum_ai/types/workflow_result_event_output_data_chat_history.rb +83 -0
- data/lib/vellum_ai/types/workflow_result_event_output_data_error.rb +85 -0
- data/lib/vellum_ai/types/workflow_result_event_output_data_json.rb +79 -0
- data/lib/vellum_ai/types/workflow_result_event_output_data_number.rb +79 -0
- data/lib/vellum_ai/types/workflow_result_event_output_data_search_results.rb +83 -0
- data/lib/vellum_ai/types/workflow_result_event_output_data_string.rb +79 -0
- data/lib/vellum_ai/types/workflow_stream_event.rb +90 -0
- data/lib/vellum_ai/workflow_deployments/client.rb +82 -0
- data/lib/vellum_ai/workflow_deployments/types/workflow_deployments_list_request_status.rb +8 -0
- data/lib/vellum_ai.rb +476 -0
- metadata +381 -0
metadata
ADDED
@@ -0,0 +1,381 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: vellum_ai
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.3.4
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Vellum
|
8
|
+
autorequire:
|
9
|
+
bindir: exe
|
10
|
+
cert_chain: []
|
11
|
+
date: 2024-02-07 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: async-http-faraday
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '0.12'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '0.12'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: faraday
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '2.7'
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '2.7'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: faraday-multipart
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '1.0'
|
48
|
+
type: :runtime
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '1.0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: faraday-retry
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - "~>"
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '2.2'
|
62
|
+
type: :runtime
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - "~>"
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '2.2'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: mini_mime
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - "~>"
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '1.1'
|
76
|
+
type: :runtime
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - "~>"
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '1.1'
|
83
|
+
description: The Vellum Ruby Library provides access to the Vellum API from Ruby.
|
84
|
+
email: ''
|
85
|
+
executables: []
|
86
|
+
extensions: []
|
87
|
+
extra_rdoc_files: []
|
88
|
+
files:
|
89
|
+
- lib/core/file_utilities.rb
|
90
|
+
- lib/environment.rb
|
91
|
+
- lib/gemconfig.rb
|
92
|
+
- lib/requests.rb
|
93
|
+
- lib/types_export.rb
|
94
|
+
- lib/vellum_ai.rb
|
95
|
+
- lib/vellum_ai/deployments/client.rb
|
96
|
+
- lib/vellum_ai/deployments/types/deployments_list_request_status.rb
|
97
|
+
- lib/vellum_ai/document_indexes/client.rb
|
98
|
+
- lib/vellum_ai/documents/client.rb
|
99
|
+
- lib/vellum_ai/model_versions/client.rb
|
100
|
+
- lib/vellum_ai/registered_prompts/client.rb
|
101
|
+
- lib/vellum_ai/sandboxes/client.rb
|
102
|
+
- lib/vellum_ai/test_suites/client.rb
|
103
|
+
- lib/vellum_ai/types/api_node_result.rb
|
104
|
+
- lib/vellum_ai/types/api_node_result_data.rb
|
105
|
+
- lib/vellum_ai/types/array_chat_message_content.rb
|
106
|
+
- lib/vellum_ai/types/array_chat_message_content_item.rb
|
107
|
+
- lib/vellum_ai/types/array_chat_message_content_item_request.rb
|
108
|
+
- lib/vellum_ai/types/array_chat_message_content_request.rb
|
109
|
+
- lib/vellum_ai/types/block_type_enum.rb
|
110
|
+
- lib/vellum_ai/types/chat_history_enum.rb
|
111
|
+
- lib/vellum_ai/types/chat_history_input_request.rb
|
112
|
+
- lib/vellum_ai/types/chat_message.rb
|
113
|
+
- lib/vellum_ai/types/chat_message_content.rb
|
114
|
+
- lib/vellum_ai/types/chat_message_content_request.rb
|
115
|
+
- lib/vellum_ai/types/chat_message_request.rb
|
116
|
+
- lib/vellum_ai/types/chat_message_role.rb
|
117
|
+
- lib/vellum_ai/types/code_execution_node_chat_history_result.rb
|
118
|
+
- lib/vellum_ai/types/code_execution_node_error_result.rb
|
119
|
+
- lib/vellum_ai/types/code_execution_node_json_result.rb
|
120
|
+
- lib/vellum_ai/types/code_execution_node_number_result.rb
|
121
|
+
- lib/vellum_ai/types/code_execution_node_result.rb
|
122
|
+
- lib/vellum_ai/types/code_execution_node_result_data.rb
|
123
|
+
- lib/vellum_ai/types/code_execution_node_result_output.rb
|
124
|
+
- lib/vellum_ai/types/code_execution_node_search_results_result.rb
|
125
|
+
- lib/vellum_ai/types/code_execution_node_string_result.rb
|
126
|
+
- lib/vellum_ai/types/conditional_node_result.rb
|
127
|
+
- lib/vellum_ai/types/conditional_node_result_data.rb
|
128
|
+
- lib/vellum_ai/types/deployment_provider_payload_response.rb
|
129
|
+
- lib/vellum_ai/types/deployment_read.rb
|
130
|
+
- lib/vellum_ai/types/document_document_to_document_index.rb
|
131
|
+
- lib/vellum_ai/types/document_index_read.rb
|
132
|
+
- lib/vellum_ai/types/document_read.rb
|
133
|
+
- lib/vellum_ai/types/document_status.rb
|
134
|
+
- lib/vellum_ai/types/enriched_normalized_completion.rb
|
135
|
+
- lib/vellum_ai/types/entity_status.rb
|
136
|
+
- lib/vellum_ai/types/environment_enum.rb
|
137
|
+
- lib/vellum_ai/types/error_enum.rb
|
138
|
+
- lib/vellum_ai/types/error_variable_value.rb
|
139
|
+
- lib/vellum_ai/types/execute_prompt_api_error_response.rb
|
140
|
+
- lib/vellum_ai/types/execute_prompt_event.rb
|
141
|
+
- lib/vellum_ai/types/execute_prompt_response.rb
|
142
|
+
- lib/vellum_ai/types/execute_workflow_error_response.rb
|
143
|
+
- lib/vellum_ai/types/execute_workflow_response.rb
|
144
|
+
- lib/vellum_ai/types/execute_workflow_stream_error_response.rb
|
145
|
+
- lib/vellum_ai/types/execute_workflow_workflow_result_event.rb
|
146
|
+
- lib/vellum_ai/types/finish_reason_enum.rb
|
147
|
+
- lib/vellum_ai/types/fulfilled_enum.rb
|
148
|
+
- lib/vellum_ai/types/fulfilled_execute_prompt_event.rb
|
149
|
+
- lib/vellum_ai/types/fulfilled_execute_prompt_response.rb
|
150
|
+
- lib/vellum_ai/types/fulfilled_execute_workflow_workflow_result_event.rb
|
151
|
+
- lib/vellum_ai/types/fulfilled_function_call.rb
|
152
|
+
- lib/vellum_ai/types/fulfilled_prompt_execution_meta.rb
|
153
|
+
- lib/vellum_ai/types/fulfilled_workflow_node_result_event.rb
|
154
|
+
- lib/vellum_ai/types/function_call.rb
|
155
|
+
- lib/vellum_ai/types/function_call_chat_message_content.rb
|
156
|
+
- lib/vellum_ai/types/function_call_chat_message_content_request.rb
|
157
|
+
- lib/vellum_ai/types/function_call_chat_message_content_value.rb
|
158
|
+
- lib/vellum_ai/types/function_call_chat_message_content_value_request.rb
|
159
|
+
- lib/vellum_ai/types/function_call_enum.rb
|
160
|
+
- lib/vellum_ai/types/function_call_variable_value.rb
|
161
|
+
- lib/vellum_ai/types/generate_error_response.rb
|
162
|
+
- lib/vellum_ai/types/generate_options_request.rb
|
163
|
+
- lib/vellum_ai/types/generate_request.rb
|
164
|
+
- lib/vellum_ai/types/generate_response.rb
|
165
|
+
- lib/vellum_ai/types/generate_result.rb
|
166
|
+
- lib/vellum_ai/types/generate_result_data.rb
|
167
|
+
- lib/vellum_ai/types/generate_result_error.rb
|
168
|
+
- lib/vellum_ai/types/generate_stream_response.rb
|
169
|
+
- lib/vellum_ai/types/generate_stream_result.rb
|
170
|
+
- lib/vellum_ai/types/generate_stream_result_data.rb
|
171
|
+
- lib/vellum_ai/types/image_chat_message_content.rb
|
172
|
+
- lib/vellum_ai/types/image_chat_message_content_request.rb
|
173
|
+
- lib/vellum_ai/types/image_enum.rb
|
174
|
+
- lib/vellum_ai/types/indexing_state_enum.rb
|
175
|
+
- lib/vellum_ai/types/initiated_enum.rb
|
176
|
+
- lib/vellum_ai/types/initiated_execute_prompt_event.rb
|
177
|
+
- lib/vellum_ai/types/initiated_prompt_execution_meta.rb
|
178
|
+
- lib/vellum_ai/types/initiated_workflow_node_result_event.rb
|
179
|
+
- lib/vellum_ai/types/json_enum.rb
|
180
|
+
- lib/vellum_ai/types/json_input_request.rb
|
181
|
+
- lib/vellum_ai/types/json_variable_value.rb
|
182
|
+
- lib/vellum_ai/types/logical_operator.rb
|
183
|
+
- lib/vellum_ai/types/logprobs_enum.rb
|
184
|
+
- lib/vellum_ai/types/metadata_filter_config_request.rb
|
185
|
+
- lib/vellum_ai/types/metadata_filter_rule_combinator.rb
|
186
|
+
- lib/vellum_ai/types/metadata_filter_rule_request.rb
|
187
|
+
- lib/vellum_ai/types/model_version_build_config.rb
|
188
|
+
- lib/vellum_ai/types/model_version_exec_config.rb
|
189
|
+
- lib/vellum_ai/types/model_version_exec_config_parameters.rb
|
190
|
+
- lib/vellum_ai/types/model_version_read.rb
|
191
|
+
- lib/vellum_ai/types/model_version_read_status_enum.rb
|
192
|
+
- lib/vellum_ai/types/model_version_sandbox_snapshot.rb
|
193
|
+
- lib/vellum_ai/types/named_test_case_chat_history_variable_value_request.rb
|
194
|
+
- lib/vellum_ai/types/named_test_case_error_variable_value_request.rb
|
195
|
+
- lib/vellum_ai/types/named_test_case_json_variable_value_request.rb
|
196
|
+
- lib/vellum_ai/types/named_test_case_number_variable_value_request.rb
|
197
|
+
- lib/vellum_ai/types/named_test_case_search_results_variable_value_request.rb
|
198
|
+
- lib/vellum_ai/types/named_test_case_string_variable_value_request.rb
|
199
|
+
- lib/vellum_ai/types/named_test_case_variable_value_request.rb
|
200
|
+
- lib/vellum_ai/types/node_input_compiled_chat_history_value.rb
|
201
|
+
- lib/vellum_ai/types/node_input_compiled_error_value.rb
|
202
|
+
- lib/vellum_ai/types/node_input_compiled_json_value.rb
|
203
|
+
- lib/vellum_ai/types/node_input_compiled_number_value.rb
|
204
|
+
- lib/vellum_ai/types/node_input_compiled_search_results_value.rb
|
205
|
+
- lib/vellum_ai/types/node_input_compiled_string_value.rb
|
206
|
+
- lib/vellum_ai/types/node_input_variable_compiled_value.rb
|
207
|
+
- lib/vellum_ai/types/node_output_compiled_chat_history_value.rb
|
208
|
+
- lib/vellum_ai/types/node_output_compiled_error_value.rb
|
209
|
+
- lib/vellum_ai/types/node_output_compiled_json_value.rb
|
210
|
+
- lib/vellum_ai/types/node_output_compiled_number_value.rb
|
211
|
+
- lib/vellum_ai/types/node_output_compiled_search_results_value.rb
|
212
|
+
- lib/vellum_ai/types/node_output_compiled_string_value.rb
|
213
|
+
- lib/vellum_ai/types/node_output_compiled_value.rb
|
214
|
+
- lib/vellum_ai/types/normalized_log_probs.rb
|
215
|
+
- lib/vellum_ai/types/normalized_token_log_probs.rb
|
216
|
+
- lib/vellum_ai/types/number_enum.rb
|
217
|
+
- lib/vellum_ai/types/paginated_slim_deployment_read_list.rb
|
218
|
+
- lib/vellum_ai/types/paginated_slim_document_list.rb
|
219
|
+
- lib/vellum_ai/types/paginated_slim_workflow_deployment_list.rb
|
220
|
+
- lib/vellum_ai/types/processing_failure_reason_enum.rb
|
221
|
+
- lib/vellum_ai/types/processing_state_enum.rb
|
222
|
+
- lib/vellum_ai/types/prompt_deployment_expand_meta_request_request.rb
|
223
|
+
- lib/vellum_ai/types/prompt_deployment_input_request.rb
|
224
|
+
- lib/vellum_ai/types/prompt_execution_meta.rb
|
225
|
+
- lib/vellum_ai/types/prompt_node_result.rb
|
226
|
+
- lib/vellum_ai/types/prompt_node_result_data.rb
|
227
|
+
- lib/vellum_ai/types/prompt_output.rb
|
228
|
+
- lib/vellum_ai/types/prompt_template_block.rb
|
229
|
+
- lib/vellum_ai/types/prompt_template_block_data.rb
|
230
|
+
- lib/vellum_ai/types/prompt_template_block_data_request.rb
|
231
|
+
- lib/vellum_ai/types/prompt_template_block_properties.rb
|
232
|
+
- lib/vellum_ai/types/prompt_template_block_properties_request.rb
|
233
|
+
- lib/vellum_ai/types/prompt_template_block_request.rb
|
234
|
+
- lib/vellum_ai/types/provider_enum.rb
|
235
|
+
- lib/vellum_ai/types/raw_prompt_execution_overrides_request.rb
|
236
|
+
- lib/vellum_ai/types/register_prompt_error_response.rb
|
237
|
+
- lib/vellum_ai/types/register_prompt_model_parameters_request.rb
|
238
|
+
- lib/vellum_ai/types/register_prompt_prompt.rb
|
239
|
+
- lib/vellum_ai/types/register_prompt_prompt_info_request.rb
|
240
|
+
- lib/vellum_ai/types/register_prompt_response.rb
|
241
|
+
- lib/vellum_ai/types/registered_prompt_deployment.rb
|
242
|
+
- lib/vellum_ai/types/registered_prompt_input_variable_request.rb
|
243
|
+
- lib/vellum_ai/types/registered_prompt_model_version.rb
|
244
|
+
- lib/vellum_ai/types/registered_prompt_sandbox.rb
|
245
|
+
- lib/vellum_ai/types/registered_prompt_sandbox_snapshot.rb
|
246
|
+
- lib/vellum_ai/types/rejected_enum.rb
|
247
|
+
- lib/vellum_ai/types/rejected_execute_prompt_event.rb
|
248
|
+
- lib/vellum_ai/types/rejected_execute_prompt_response.rb
|
249
|
+
- lib/vellum_ai/types/rejected_execute_workflow_workflow_result_event.rb
|
250
|
+
- lib/vellum_ai/types/rejected_function_call.rb
|
251
|
+
- lib/vellum_ai/types/rejected_prompt_execution_meta.rb
|
252
|
+
- lib/vellum_ai/types/rejected_workflow_node_result_event.rb
|
253
|
+
- lib/vellum_ai/types/sandbox_scenario.rb
|
254
|
+
- lib/vellum_ai/types/scenario_input.rb
|
255
|
+
- lib/vellum_ai/types/scenario_input_request.rb
|
256
|
+
- lib/vellum_ai/types/scenario_input_type_enum.rb
|
257
|
+
- lib/vellum_ai/types/search_error_response.rb
|
258
|
+
- lib/vellum_ai/types/search_filters_request.rb
|
259
|
+
- lib/vellum_ai/types/search_node_result.rb
|
260
|
+
- lib/vellum_ai/types/search_node_result_data.rb
|
261
|
+
- lib/vellum_ai/types/search_request_options_request.rb
|
262
|
+
- lib/vellum_ai/types/search_response.rb
|
263
|
+
- lib/vellum_ai/types/search_result.rb
|
264
|
+
- lib/vellum_ai/types/search_result_document.rb
|
265
|
+
- lib/vellum_ai/types/search_result_document_request.rb
|
266
|
+
- lib/vellum_ai/types/search_result_merging_request.rb
|
267
|
+
- lib/vellum_ai/types/search_result_request.rb
|
268
|
+
- lib/vellum_ai/types/search_results_enum.rb
|
269
|
+
- lib/vellum_ai/types/search_weights_request.rb
|
270
|
+
- lib/vellum_ai/types/slim_deployment_read.rb
|
271
|
+
- lib/vellum_ai/types/slim_document.rb
|
272
|
+
- lib/vellum_ai/types/slim_workflow_deployment.rb
|
273
|
+
- lib/vellum_ai/types/streaming_enum.rb
|
274
|
+
- lib/vellum_ai/types/streaming_execute_prompt_event.rb
|
275
|
+
- lib/vellum_ai/types/streaming_prompt_execution_meta.rb
|
276
|
+
- lib/vellum_ai/types/streaming_workflow_node_result_event.rb
|
277
|
+
- lib/vellum_ai/types/string_chat_message_content.rb
|
278
|
+
- lib/vellum_ai/types/string_chat_message_content_request.rb
|
279
|
+
- lib/vellum_ai/types/string_enum.rb
|
280
|
+
- lib/vellum_ai/types/string_input_request.rb
|
281
|
+
- lib/vellum_ai/types/string_variable_value.rb
|
282
|
+
- lib/vellum_ai/types/submit_completion_actual_request.rb
|
283
|
+
- lib/vellum_ai/types/submit_completion_actuals_error_response.rb
|
284
|
+
- lib/vellum_ai/types/submit_workflow_execution_actual_request.rb
|
285
|
+
- lib/vellum_ai/types/templating_node_chat_history_result.rb
|
286
|
+
- lib/vellum_ai/types/templating_node_error_result.rb
|
287
|
+
- lib/vellum_ai/types/templating_node_json_result.rb
|
288
|
+
- lib/vellum_ai/types/templating_node_number_result.rb
|
289
|
+
- lib/vellum_ai/types/templating_node_result.rb
|
290
|
+
- lib/vellum_ai/types/templating_node_result_data.rb
|
291
|
+
- lib/vellum_ai/types/templating_node_result_output.rb
|
292
|
+
- lib/vellum_ai/types/templating_node_search_results_result.rb
|
293
|
+
- lib/vellum_ai/types/templating_node_string_result.rb
|
294
|
+
- lib/vellum_ai/types/terminal_node_chat_history_result.rb
|
295
|
+
- lib/vellum_ai/types/terminal_node_error_result.rb
|
296
|
+
- lib/vellum_ai/types/terminal_node_json_result.rb
|
297
|
+
- lib/vellum_ai/types/terminal_node_number_result.rb
|
298
|
+
- lib/vellum_ai/types/terminal_node_result.rb
|
299
|
+
- lib/vellum_ai/types/terminal_node_result_data.rb
|
300
|
+
- lib/vellum_ai/types/terminal_node_result_output.rb
|
301
|
+
- lib/vellum_ai/types/terminal_node_search_results_result.rb
|
302
|
+
- lib/vellum_ai/types/terminal_node_string_result.rb
|
303
|
+
- lib/vellum_ai/types/test_case_chat_history_variable_value.rb
|
304
|
+
- lib/vellum_ai/types/test_case_error_variable_value.rb
|
305
|
+
- lib/vellum_ai/types/test_case_json_variable_value.rb
|
306
|
+
- lib/vellum_ai/types/test_case_number_variable_value.rb
|
307
|
+
- lib/vellum_ai/types/test_case_search_results_variable_value.rb
|
308
|
+
- lib/vellum_ai/types/test_case_string_variable_value.rb
|
309
|
+
- lib/vellum_ai/types/test_case_variable_value.rb
|
310
|
+
- lib/vellum_ai/types/test_suite_test_case.rb
|
311
|
+
- lib/vellum_ai/types/upload_document_error_response.rb
|
312
|
+
- lib/vellum_ai/types/upload_document_response.rb
|
313
|
+
- lib/vellum_ai/types/vellum_error.rb
|
314
|
+
- lib/vellum_ai/types/vellum_error_code_enum.rb
|
315
|
+
- lib/vellum_ai/types/vellum_error_request.rb
|
316
|
+
- lib/vellum_ai/types/vellum_image.rb
|
317
|
+
- lib/vellum_ai/types/vellum_image_request.rb
|
318
|
+
- lib/vellum_ai/types/vellum_variable.rb
|
319
|
+
- lib/vellum_ai/types/vellum_variable_type.rb
|
320
|
+
- lib/vellum_ai/types/workflow_event_error.rb
|
321
|
+
- lib/vellum_ai/types/workflow_execution_actual_chat_history_request.rb
|
322
|
+
- lib/vellum_ai/types/workflow_execution_actual_json_request.rb
|
323
|
+
- lib/vellum_ai/types/workflow_execution_actual_string_request.rb
|
324
|
+
- lib/vellum_ai/types/workflow_execution_event_error_code.rb
|
325
|
+
- lib/vellum_ai/types/workflow_execution_event_type.rb
|
326
|
+
- lib/vellum_ai/types/workflow_execution_node_result_event.rb
|
327
|
+
- lib/vellum_ai/types/workflow_execution_workflow_result_event.rb
|
328
|
+
- lib/vellum_ai/types/workflow_node_result_data.rb
|
329
|
+
- lib/vellum_ai/types/workflow_node_result_event.rb
|
330
|
+
- lib/vellum_ai/types/workflow_node_result_event_state.rb
|
331
|
+
- lib/vellum_ai/types/workflow_output.rb
|
332
|
+
- lib/vellum_ai/types/workflow_output_chat_history.rb
|
333
|
+
- lib/vellum_ai/types/workflow_output_error.rb
|
334
|
+
- lib/vellum_ai/types/workflow_output_function_call.rb
|
335
|
+
- lib/vellum_ai/types/workflow_output_image.rb
|
336
|
+
- lib/vellum_ai/types/workflow_output_json.rb
|
337
|
+
- lib/vellum_ai/types/workflow_output_number.rb
|
338
|
+
- lib/vellum_ai/types/workflow_output_search_results.rb
|
339
|
+
- lib/vellum_ai/types/workflow_output_string.rb
|
340
|
+
- lib/vellum_ai/types/workflow_request_chat_history_input_request.rb
|
341
|
+
- lib/vellum_ai/types/workflow_request_input_request.rb
|
342
|
+
- lib/vellum_ai/types/workflow_request_json_input_request.rb
|
343
|
+
- lib/vellum_ai/types/workflow_request_number_input_request.rb
|
344
|
+
- lib/vellum_ai/types/workflow_request_string_input_request.rb
|
345
|
+
- lib/vellum_ai/types/workflow_result_event.rb
|
346
|
+
- lib/vellum_ai/types/workflow_result_event_output_data.rb
|
347
|
+
- lib/vellum_ai/types/workflow_result_event_output_data_chat_history.rb
|
348
|
+
- lib/vellum_ai/types/workflow_result_event_output_data_error.rb
|
349
|
+
- lib/vellum_ai/types/workflow_result_event_output_data_json.rb
|
350
|
+
- lib/vellum_ai/types/workflow_result_event_output_data_number.rb
|
351
|
+
- lib/vellum_ai/types/workflow_result_event_output_data_search_results.rb
|
352
|
+
- lib/vellum_ai/types/workflow_result_event_output_data_string.rb
|
353
|
+
- lib/vellum_ai/types/workflow_stream_event.rb
|
354
|
+
- lib/vellum_ai/workflow_deployments/client.rb
|
355
|
+
- lib/vellum_ai/workflow_deployments/types/workflow_deployments_list_request_status.rb
|
356
|
+
homepage: https://github.com/vellum-ai/vellum-client-ruby
|
357
|
+
licenses: []
|
358
|
+
metadata:
|
359
|
+
homepage_uri: https://github.com/vellum-ai/vellum-client-ruby
|
360
|
+
source_code_uri: https://github.com/vellum-ai/vellum-client-ruby
|
361
|
+
changelog_uri: https://github.com/vellum-ai/vellum-client-ruby/blob/master/CHANGELOG.md
|
362
|
+
post_install_message:
|
363
|
+
rdoc_options: []
|
364
|
+
require_paths:
|
365
|
+
- lib
|
366
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
367
|
+
requirements:
|
368
|
+
- - ">="
|
369
|
+
- !ruby/object:Gem::Version
|
370
|
+
version: 2.7.0
|
371
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
372
|
+
requirements:
|
373
|
+
- - ">="
|
374
|
+
- !ruby/object:Gem::Version
|
375
|
+
version: '0'
|
376
|
+
requirements: []
|
377
|
+
rubygems_version: 3.1.6
|
378
|
+
signing_key:
|
379
|
+
specification_version: 4
|
380
|
+
summary: The Vellum Ruby Library provides access to the Vellum API from Ruby.
|
381
|
+
test_files: []
|