ragie_ruby_sdk 1.0.11 → 1.0.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +31 -4
- data/docs/AgentHoppsModelsModelsUsage.md +18 -0
- data/docs/Answer.md +20 -0
- data/docs/AnswerStep.md +26 -0
- data/docs/CodeInterpreterEvidence.md +26 -0
- data/docs/CodeStep.md +28 -0
- data/docs/EvaluatedAnswerStep.md +30 -0
- data/docs/FinalAnswer.md +24 -0
- data/docs/FinalAnswerEvidenceInner.md +40 -0
- data/docs/FinalAnswerStepsInner.md +42 -0
- data/docs/InputTokenDetails.md +18 -0
- data/docs/IntercomData.md +3 -1
- data/docs/ModelUsage.md +22 -0
- data/docs/OutputTokenDetails.md +18 -0
- data/docs/PlanStep.md +24 -0
- data/docs/RagieApiSchemaResponseUsage.md +26 -0
- data/docs/RagieEvidence.md +34 -0
- data/docs/Reasoning.md +20 -0
- data/docs/Request.md +28 -0
- data/docs/Response.md +62 -0
- data/docs/ResponseContent.md +22 -0
- data/docs/ResponseOutput.md +24 -0
- data/docs/ResponsesApi.md +147 -0
- data/docs/Search.md +18 -0
- data/docs/SearchResultLink.md +20 -0
- data/docs/SearchStep.md +24 -0
- data/docs/SurrenderStep.md +24 -0
- data/docs/Tool.md +20 -0
- data/lib/ragie_ruby_sdk/api/responses_api.rb +153 -0
- data/lib/ragie_ruby_sdk/models/agent_hopps_models_models_usage.rb +222 -0
- data/lib/ragie_ruby_sdk/models/answer.rb +265 -0
- data/lib/ragie_ruby_sdk/models/answer_step.rb +346 -0
- data/lib/ragie_ruby_sdk/models/code_interpreter_evidence.rb +360 -0
- data/lib/ragie_ruby_sdk/models/code_step.rb +359 -0
- data/lib/ragie_ruby_sdk/models/evaluated_answer_step.rb +398 -0
- data/lib/ragie_ruby_sdk/models/final_answer.rb +319 -0
- data/lib/ragie_ruby_sdk/models/final_answer_evidence_inner.rb +103 -0
- data/lib/ragie_ruby_sdk/models/final_answer_steps_inner.rb +107 -0
- data/lib/ragie_ruby_sdk/models/input_token_details.rb +222 -0
- data/lib/ragie_ruby_sdk/models/intercom_data.rb +14 -4
- data/lib/ragie_ruby_sdk/models/model_usage.rb +289 -0
- data/lib/ragie_ruby_sdk/models/output_token_details.rb +222 -0
- data/lib/ragie_ruby_sdk/models/plan_step.rb +336 -0
- data/lib/ragie_ruby_sdk/models/ragie_api_schema_response_usage.rb +307 -0
- data/lib/ragie_ruby_sdk/models/ragie_evidence.rb +419 -0
- data/lib/ragie_ruby_sdk/models/reasoning.rb +271 -0
- data/lib/ragie_ruby_sdk/models/request.rb +328 -0
- data/lib/ragie_ruby_sdk/models/response.rb +638 -0
- data/lib/ragie_ruby_sdk/models/response_content.rb +293 -0
- data/lib/ragie_ruby_sdk/models/response_output.rb +333 -0
- data/lib/ragie_ruby_sdk/models/search.rb +239 -0
- data/lib/ragie_ruby_sdk/models/search_result_link.rb +263 -0
- data/lib/ragie_ruby_sdk/models/search_step.rb +334 -0
- data/lib/ragie_ruby_sdk/models/surrender_step.rb +334 -0
- data/lib/ragie_ruby_sdk/models/tool.rb +289 -0
- data/lib/ragie_ruby_sdk/version.rb +1 -1
- data/lib/ragie_ruby_sdk.rb +26 -0
- data/spec/api/responses_api_spec.rb +59 -0
- data/spec/models/access_token_credentials_spec.rb +1 -1
- data/spec/models/agent_hopps_models_models_usage_spec.rb +36 -0
- data/spec/models/answer_spec.rb +42 -0
- data/spec/models/answer_step_spec.rb +64 -0
- data/spec/models/async_document_metadata_update_spec.rb +1 -1
- data/spec/models/audio_modality_data_spec.rb +1 -1
- data/spec/models/authenticator_confluence_connection_spec.rb +1 -1
- data/spec/models/authenticator_dropbox_connection_spec.rb +1 -1
- data/spec/models/authenticator_gmail_connection_spec.rb +1 -1
- data/spec/models/authenticator_google_drive_connection_spec.rb +1 -1
- data/spec/models/authenticator_hubspot_connection_spec.rb +1 -1
- data/spec/models/authenticator_jira_connection_spec.rb +1 -1
- data/spec/models/authenticator_list_spec.rb +1 -1
- data/spec/models/authenticator_notion_connection_spec.rb +1 -1
- data/spec/models/authenticator_onedrive_connection_spec.rb +1 -1
- data/spec/models/authenticator_salesforce_connection_spec.rb +1 -1
- data/spec/models/authenticator_sharepoint_connection_spec.rb +1 -1
- data/spec/models/authenticator_slack_connection_spec.rb +1 -1
- data/spec/models/backblaze_credentials_spec.rb +1 -1
- data/spec/models/base_get_authenticator_spec.rb +1 -1
- data/spec/models/body_create_document_spec.rb +1 -1
- data/spec/models/body_update_document_file_spec.rb +1 -1
- data/spec/models/bucket_data_spec.rb +1 -1
- data/spec/models/code_interpreter_evidence_spec.rb +64 -0
- data/spec/models/code_step_spec.rb +70 -0
- data/spec/models/confluence_data_spec.rb +1 -1
- data/spec/models/connection_base_spec.rb +1 -1
- data/spec/models/connection_limit_exceeded_webhook_payload_spec.rb +1 -1
- data/spec/models/connection_limit_exceeded_webhook_spec.rb +1 -1
- data/spec/models/connection_limit_params_spec.rb +1 -1
- data/spec/models/connection_list_spec.rb +1 -1
- data/spec/models/connection_spec.rb +1 -1
- data/spec/models/connection_stats_spec.rb +1 -1
- data/spec/models/connection_sync_finished_webhook_payload_spec.rb +1 -1
- data/spec/models/connection_sync_finished_webhook_spec.rb +1 -1
- data/spec/models/connection_sync_progress_webhook_payload_spec.rb +1 -1
- data/spec/models/connection_sync_progress_webhook_spec.rb +1 -1
- data/spec/models/connection_sync_started_webhook_payload_spec.rb +1 -1
- data/spec/models/connection_sync_started_webhook_spec.rb +1 -1
- data/spec/models/connector_source_spec.rb +1 -1
- data/spec/models/connector_source_type_info_spec.rb +1 -1
- data/spec/models/create_authenticator_connection_spec.rb +1 -1
- data/spec/models/create_document_from_url_params_spec.rb +1 -1
- data/spec/models/create_document_raw_params_spec.rb +1 -1
- data/spec/models/create_google_authenticator_spec.rb +1 -1
- data/spec/models/create_instruction_params_spec.rb +1 -1
- data/spec/models/create_partition_params_spec.rb +1 -1
- data/spec/models/delete_connection_payload_spec.rb +1 -1
- data/spec/models/document_chunk_detail_spec.rb +1 -1
- data/spec/models/document_chunk_list_spec.rb +1 -1
- data/spec/models/document_chunk_spec.rb +1 -1
- data/spec/models/document_delete_spec.rb +1 -1
- data/spec/models/document_delete_webhook_payload_spec.rb +1 -1
- data/spec/models/document_delete_webhook_spec.rb +1 -1
- data/spec/models/document_file_update_spec.rb +1 -1
- data/spec/models/document_get_spec.rb +1 -1
- data/spec/models/document_list_spec.rb +1 -1
- data/spec/models/document_metadata_update_spec.rb +1 -1
- data/spec/models/document_raw_update_spec.rb +1 -1
- data/spec/models/document_spec.rb +1 -1
- data/spec/models/document_summary_spec.rb +1 -1
- data/spec/models/document_update_webhook_payload_spec.rb +1 -1
- data/spec/models/document_update_webhook_spec.rb +1 -1
- data/spec/models/document_url_update_spec.rb +1 -1
- data/spec/models/document_with_content_spec.rb +1 -1
- data/spec/models/entity_extracted_webhook_payload_spec.rb +1 -1
- data/spec/models/entity_extracted_webhook_spec.rb +1 -1
- data/spec/models/entity_list_spec.rb +1 -1
- data/spec/models/entity_spec.rb +1 -1
- data/spec/models/error_message_spec.rb +1 -1
- data/spec/models/evaluated_answer_step_spec.rb +76 -0
- data/spec/models/final_answer_evidence_inner_spec.rb +21 -0
- data/spec/models/final_answer_spec.rb +54 -0
- data/spec/models/final_answer_steps_inner_spec.rb +21 -0
- data/spec/models/folder_data_spec.rb +1 -1
- data/spec/models/freshdesk_credentials_spec.rb +1 -1
- data/spec/models/freshdesk_data_spec.rb +1 -1
- data/spec/models/gmail_data_spec.rb +1 -1
- data/spec/models/google_folder_data_spec.rb +1 -1
- data/spec/models/http_validation_error_spec.rb +1 -1
- data/spec/models/hubspot_data_spec.rb +1 -1
- data/spec/models/input_token_details_spec.rb +36 -0
- data/spec/models/instruction_spec.rb +1 -1
- data/spec/models/intercom_credentials_spec.rb +1 -1
- data/spec/models/intercom_data_spec.rb +7 -1
- data/spec/models/link_spec.rb +1 -1
- data/spec/models/list_connector_source_type_info_spec.rb +1 -1
- data/spec/models/media_mode_param_spec.rb +1 -1
- data/spec/models/mode2_one_of_spec.rb +1 -1
- data/spec/models/model_usage_spec.rb +48 -0
- data/spec/models/o_auth_credentials_spec.rb +1 -1
- data/spec/models/o_auth_refresh_token_credentials_spec.rb +1 -1
- data/spec/models/o_auth_url_create_spec.rb +1 -1
- data/spec/models/o_auth_url_response_spec.rb +1 -1
- data/spec/models/onedrive_data_spec.rb +1 -1
- data/spec/models/output_token_details_spec.rb +36 -0
- data/spec/models/pagination_spec.rb +1 -1
- data/spec/models/partition_detail_spec.rb +1 -1
- data/spec/models/partition_limit_exceeded_webhook_payload_spec.rb +1 -1
- data/spec/models/partition_limit_exceeded_webhook_spec.rb +1 -1
- data/spec/models/partition_limit_params_spec.rb +1 -1
- data/spec/models/partition_limit_reset_webhook_payload_spec.rb +1 -1
- data/spec/models/partition_limit_reset_webhook_spec.rb +1 -1
- data/spec/models/partition_limits_spec.rb +1 -1
- data/spec/models/partition_list_spec.rb +1 -1
- data/spec/models/partition_spec.rb +1 -1
- data/spec/models/partition_stats_spec.rb +1 -1
- data/spec/models/patch_document_metadata_params_spec.rb +1 -1
- data/spec/models/plan_step_spec.rb +58 -0
- data/spec/models/public_backblaze_connection_spec.rb +1 -1
- data/spec/models/public_create_connection_spec.rb +1 -1
- data/spec/models/public_freshdesk_connection_spec.rb +1 -1
- data/spec/models/public_gcs_connection_spec.rb +1 -1
- data/spec/models/public_intercom_connection_spec.rb +1 -1
- data/spec/models/public_s3_compatible_connection_spec.rb +1 -1
- data/spec/models/public_zendesk_connection_spec.rb +1 -1
- data/spec/models/ragie_api_schema_response_usage_spec.rb +60 -0
- data/spec/models/ragie_evidence_spec.rb +88 -0
- data/spec/models/reasoning_spec.rb +46 -0
- data/spec/models/request_spec.rb +70 -0
- data/spec/models/response_content_spec.rb +52 -0
- data/spec/models/response_ok_spec.rb +1 -1
- data/spec/models/response_output_spec.rb +62 -0
- data/spec/models/response_spec.rb +188 -0
- data/spec/models/retrieval_spec.rb +1 -1
- data/spec/models/retrieve_params_spec.rb +1 -1
- data/spec/models/s3_compatible_credentials_spec.rb +1 -1
- data/spec/models/scored_chunk_spec.rb +1 -1
- data/spec/models/search_result_link_spec.rb +42 -0
- data/spec/models/search_spec.rb +36 -0
- data/spec/models/search_step_spec.rb +58 -0
- data/spec/models/set_connection_enabled_payload_spec.rb +1 -1
- data/spec/models/sharepoint_data_spec.rb +1 -1
- data/spec/models/sharepoint_file_data_spec.rb +1 -1
- data/spec/models/sharepoint_site_data_spec.rb +1 -1
- data/spec/models/slack_data_spec.rb +1 -1
- data/spec/models/surrender_step_spec.rb +58 -0
- data/spec/models/tool_spec.rb +46 -0
- data/spec/models/update_document_from_url_params_spec.rb +1 -1
- data/spec/models/update_document_raw_params_spec.rb +1 -1
- data/spec/models/update_instruction_params_spec.rb +1 -1
- data/spec/models/validation_error_spec.rb +1 -1
- data/spec/models/video_modality_data_spec.rb +1 -1
- data/spec/models/word_timestamp_spec.rb +1 -1
- data/spec/models/zendesk_credentials_spec.rb +1 -1
- data/spec/models/zendesk_data_spec.rb +1 -1
- metadata +105 -1
|
@@ -0,0 +1,188 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Ragie API
|
|
3
|
+
|
|
4
|
+
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 1.0.0
|
|
7
|
+
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
Generator version: 7.16.0-SNAPSHOT
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for RagieRubySdk::Response
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe RagieRubySdk::Response do
|
|
21
|
+
#let(:instance) { RagieRubySdk::Response.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of Response' do
|
|
24
|
+
it 'should create an instance of Response' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(RagieRubySdk::Response)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "id"' do
|
|
31
|
+
it 'should work' do
|
|
32
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
describe 'test attribute "object"' do
|
|
37
|
+
it 'should work' do
|
|
38
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
39
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["response"])
|
|
40
|
+
# validator.allowable_values.each do |value|
|
|
41
|
+
# expect { instance.object = value }.not_to raise_error
|
|
42
|
+
# end
|
|
43
|
+
end
|
|
44
|
+
end
|
|
45
|
+
|
|
46
|
+
describe 'test attribute "created_at"' do
|
|
47
|
+
it 'should work' do
|
|
48
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
49
|
+
end
|
|
50
|
+
end
|
|
51
|
+
|
|
52
|
+
describe 'test attribute "status"' do
|
|
53
|
+
it 'should work' do
|
|
54
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
55
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["completed", "failed", "in_progress"])
|
|
56
|
+
# validator.allowable_values.each do |value|
|
|
57
|
+
# expect { instance.status = value }.not_to raise_error
|
|
58
|
+
# end
|
|
59
|
+
end
|
|
60
|
+
end
|
|
61
|
+
|
|
62
|
+
describe 'test attribute "error"' do
|
|
63
|
+
it 'should work' do
|
|
64
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
65
|
+
end
|
|
66
|
+
end
|
|
67
|
+
|
|
68
|
+
describe 'test attribute "incomplete_details"' do
|
|
69
|
+
it 'should work' do
|
|
70
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
71
|
+
end
|
|
72
|
+
end
|
|
73
|
+
|
|
74
|
+
describe 'test attribute "instructions"' do
|
|
75
|
+
it 'should work' do
|
|
76
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
77
|
+
end
|
|
78
|
+
end
|
|
79
|
+
|
|
80
|
+
describe 'test attribute "max_output_tokens"' do
|
|
81
|
+
it 'should work' do
|
|
82
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
83
|
+
end
|
|
84
|
+
end
|
|
85
|
+
|
|
86
|
+
describe 'test attribute "model"' do
|
|
87
|
+
it 'should work' do
|
|
88
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
89
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["deep-search"])
|
|
90
|
+
# validator.allowable_values.each do |value|
|
|
91
|
+
# expect { instance.model = value }.not_to raise_error
|
|
92
|
+
# end
|
|
93
|
+
end
|
|
94
|
+
end
|
|
95
|
+
|
|
96
|
+
describe 'test attribute "output"' do
|
|
97
|
+
it 'should work' do
|
|
98
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
99
|
+
end
|
|
100
|
+
end
|
|
101
|
+
|
|
102
|
+
describe 'test attribute "output_parsed"' do
|
|
103
|
+
it 'should work' do
|
|
104
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
105
|
+
end
|
|
106
|
+
end
|
|
107
|
+
|
|
108
|
+
describe 'test attribute "tools"' do
|
|
109
|
+
it 'should work' do
|
|
110
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
111
|
+
end
|
|
112
|
+
end
|
|
113
|
+
|
|
114
|
+
describe 'test attribute "reasoning"' do
|
|
115
|
+
it 'should work' do
|
|
116
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
117
|
+
end
|
|
118
|
+
end
|
|
119
|
+
|
|
120
|
+
describe 'test attribute "parallel_tool_calls"' do
|
|
121
|
+
it 'should work' do
|
|
122
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
123
|
+
end
|
|
124
|
+
end
|
|
125
|
+
|
|
126
|
+
describe 'test attribute "store"' do
|
|
127
|
+
it 'should work' do
|
|
128
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
129
|
+
end
|
|
130
|
+
end
|
|
131
|
+
|
|
132
|
+
describe 'test attribute "temperature"' do
|
|
133
|
+
it 'should work' do
|
|
134
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
135
|
+
end
|
|
136
|
+
end
|
|
137
|
+
|
|
138
|
+
describe 'test attribute "previous_response_id"' do
|
|
139
|
+
it 'should work' do
|
|
140
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
141
|
+
end
|
|
142
|
+
end
|
|
143
|
+
|
|
144
|
+
describe 'test attribute "tool_choice"' do
|
|
145
|
+
it 'should work' do
|
|
146
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
147
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["auto"])
|
|
148
|
+
# validator.allowable_values.each do |value|
|
|
149
|
+
# expect { instance.tool_choice = value }.not_to raise_error
|
|
150
|
+
# end
|
|
151
|
+
end
|
|
152
|
+
end
|
|
153
|
+
|
|
154
|
+
describe 'test attribute "top_p"' do
|
|
155
|
+
it 'should work' do
|
|
156
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
157
|
+
end
|
|
158
|
+
end
|
|
159
|
+
|
|
160
|
+
describe 'test attribute "truncation"' do
|
|
161
|
+
it 'should work' do
|
|
162
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
163
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["disabled"])
|
|
164
|
+
# validator.allowable_values.each do |value|
|
|
165
|
+
# expect { instance.truncation = value }.not_to raise_error
|
|
166
|
+
# end
|
|
167
|
+
end
|
|
168
|
+
end
|
|
169
|
+
|
|
170
|
+
describe 'test attribute "usage"' do
|
|
171
|
+
it 'should work' do
|
|
172
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
173
|
+
end
|
|
174
|
+
end
|
|
175
|
+
|
|
176
|
+
describe 'test attribute "user"' do
|
|
177
|
+
it 'should work' do
|
|
178
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
179
|
+
end
|
|
180
|
+
end
|
|
181
|
+
|
|
182
|
+
describe 'test attribute "metadata"' do
|
|
183
|
+
it 'should work' do
|
|
184
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
185
|
+
end
|
|
186
|
+
end
|
|
187
|
+
|
|
188
|
+
end
|
|
@@ -18,7 +18,7 @@ require 'date'
|
|
|
18
18
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
19
|
# Please update as you see appropriate
|
|
20
20
|
describe RagieRubySdk::Retrieval do
|
|
21
|
-
let(:instance) { RagieRubySdk::Retrieval.new }
|
|
21
|
+
#let(:instance) { RagieRubySdk::Retrieval.new }
|
|
22
22
|
|
|
23
23
|
describe 'test an instance of Retrieval' do
|
|
24
24
|
it 'should create an instance of Retrieval' do
|
|
@@ -18,7 +18,7 @@ require 'date'
|
|
|
18
18
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
19
|
# Please update as you see appropriate
|
|
20
20
|
describe RagieRubySdk::RetrieveParams do
|
|
21
|
-
let(:instance) { RagieRubySdk::RetrieveParams.new }
|
|
21
|
+
#let(:instance) { RagieRubySdk::RetrieveParams.new }
|
|
22
22
|
|
|
23
23
|
describe 'test an instance of RetrieveParams' do
|
|
24
24
|
it 'should create an instance of RetrieveParams' do
|
|
@@ -18,7 +18,7 @@ require 'date'
|
|
|
18
18
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
19
|
# Please update as you see appropriate
|
|
20
20
|
describe RagieRubySdk::S3CompatibleCredentials do
|
|
21
|
-
let(:instance) { RagieRubySdk::S3CompatibleCredentials.new }
|
|
21
|
+
#let(:instance) { RagieRubySdk::S3CompatibleCredentials.new }
|
|
22
22
|
|
|
23
23
|
describe 'test an instance of S3CompatibleCredentials' do
|
|
24
24
|
it 'should create an instance of S3CompatibleCredentials' do
|
|
@@ -18,7 +18,7 @@ require 'date'
|
|
|
18
18
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
19
|
# Please update as you see appropriate
|
|
20
20
|
describe RagieRubySdk::ScoredChunk do
|
|
21
|
-
let(:instance) { RagieRubySdk::ScoredChunk.new }
|
|
21
|
+
#let(:instance) { RagieRubySdk::ScoredChunk.new }
|
|
22
22
|
|
|
23
23
|
describe 'test an instance of ScoredChunk' do
|
|
24
24
|
it 'should create an instance of ScoredChunk' do
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Ragie API
|
|
3
|
+
|
|
4
|
+
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 1.0.0
|
|
7
|
+
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
Generator version: 7.16.0-SNAPSHOT
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for RagieRubySdk::SearchResultLink
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe RagieRubySdk::SearchResultLink do
|
|
21
|
+
#let(:instance) { RagieRubySdk::SearchResultLink.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of SearchResultLink' do
|
|
24
|
+
it 'should create an instance of SearchResultLink' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(RagieRubySdk::SearchResultLink)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "href"' do
|
|
31
|
+
it 'should work' do
|
|
32
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
describe 'test attribute "type"' do
|
|
37
|
+
it 'should work' do
|
|
38
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
39
|
+
end
|
|
40
|
+
end
|
|
41
|
+
|
|
42
|
+
end
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Ragie API
|
|
3
|
+
|
|
4
|
+
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 1.0.0
|
|
7
|
+
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
Generator version: 7.16.0-SNAPSHOT
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for RagieRubySdk::Search
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe RagieRubySdk::Search do
|
|
21
|
+
#let(:instance) { RagieRubySdk::Search.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of Search' do
|
|
24
|
+
it 'should create an instance of Search' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(RagieRubySdk::Search)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "search_requests"' do
|
|
31
|
+
it 'should work' do
|
|
32
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
end
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Ragie API
|
|
3
|
+
|
|
4
|
+
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 1.0.0
|
|
7
|
+
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
Generator version: 7.16.0-SNAPSHOT
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for RagieRubySdk::SearchStep
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe RagieRubySdk::SearchStep do
|
|
21
|
+
#let(:instance) { RagieRubySdk::SearchStep.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of SearchStep' do
|
|
24
|
+
it 'should create an instance of SearchStep' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(RagieRubySdk::SearchStep)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "type"' do
|
|
31
|
+
it 'should work' do
|
|
32
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["search"])
|
|
34
|
+
# validator.allowable_values.each do |value|
|
|
35
|
+
# expect { instance.type = value }.not_to raise_error
|
|
36
|
+
# end
|
|
37
|
+
end
|
|
38
|
+
end
|
|
39
|
+
|
|
40
|
+
describe 'test attribute "think"' do
|
|
41
|
+
it 'should work' do
|
|
42
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
43
|
+
end
|
|
44
|
+
end
|
|
45
|
+
|
|
46
|
+
describe 'test attribute "current_question"' do
|
|
47
|
+
it 'should work' do
|
|
48
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
49
|
+
end
|
|
50
|
+
end
|
|
51
|
+
|
|
52
|
+
describe 'test attribute "search"' do
|
|
53
|
+
it 'should work' do
|
|
54
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
55
|
+
end
|
|
56
|
+
end
|
|
57
|
+
|
|
58
|
+
end
|
|
@@ -18,7 +18,7 @@ require 'date'
|
|
|
18
18
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
19
|
# Please update as you see appropriate
|
|
20
20
|
describe RagieRubySdk::SetConnectionEnabledPayload do
|
|
21
|
-
let(:instance) { RagieRubySdk::SetConnectionEnabledPayload.new }
|
|
21
|
+
#let(:instance) { RagieRubySdk::SetConnectionEnabledPayload.new }
|
|
22
22
|
|
|
23
23
|
describe 'test an instance of SetConnectionEnabledPayload' do
|
|
24
24
|
it 'should create an instance of SetConnectionEnabledPayload' do
|
|
@@ -18,7 +18,7 @@ require 'date'
|
|
|
18
18
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
19
|
# Please update as you see appropriate
|
|
20
20
|
describe RagieRubySdk::SharepointData do
|
|
21
|
-
let(:instance) { RagieRubySdk::SharepointData.new }
|
|
21
|
+
#let(:instance) { RagieRubySdk::SharepointData.new }
|
|
22
22
|
|
|
23
23
|
describe 'test an instance of SharepointData' do
|
|
24
24
|
it 'should create an instance of SharepointData' do
|
|
@@ -18,7 +18,7 @@ require 'date'
|
|
|
18
18
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
19
|
# Please update as you see appropriate
|
|
20
20
|
describe RagieRubySdk::SharepointFileData do
|
|
21
|
-
let(:instance) { RagieRubySdk::SharepointFileData.new }
|
|
21
|
+
#let(:instance) { RagieRubySdk::SharepointFileData.new }
|
|
22
22
|
|
|
23
23
|
describe 'test an instance of SharepointFileData' do
|
|
24
24
|
it 'should create an instance of SharepointFileData' do
|
|
@@ -18,7 +18,7 @@ require 'date'
|
|
|
18
18
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
19
|
# Please update as you see appropriate
|
|
20
20
|
describe RagieRubySdk::SharepointSiteData do
|
|
21
|
-
let(:instance) { RagieRubySdk::SharepointSiteData.new }
|
|
21
|
+
#let(:instance) { RagieRubySdk::SharepointSiteData.new }
|
|
22
22
|
|
|
23
23
|
describe 'test an instance of SharepointSiteData' do
|
|
24
24
|
it 'should create an instance of SharepointSiteData' do
|
|
@@ -18,7 +18,7 @@ require 'date'
|
|
|
18
18
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
19
|
# Please update as you see appropriate
|
|
20
20
|
describe RagieRubySdk::SlackData do
|
|
21
|
-
let(:instance) { RagieRubySdk::SlackData.new }
|
|
21
|
+
#let(:instance) { RagieRubySdk::SlackData.new }
|
|
22
22
|
|
|
23
23
|
describe 'test an instance of SlackData' do
|
|
24
24
|
it 'should create an instance of SlackData' do
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Ragie API
|
|
3
|
+
|
|
4
|
+
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 1.0.0
|
|
7
|
+
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
Generator version: 7.16.0-SNAPSHOT
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for RagieRubySdk::SurrenderStep
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe RagieRubySdk::SurrenderStep do
|
|
21
|
+
#let(:instance) { RagieRubySdk::SurrenderStep.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of SurrenderStep' do
|
|
24
|
+
it 'should create an instance of SurrenderStep' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(RagieRubySdk::SurrenderStep)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "type"' do
|
|
31
|
+
it 'should work' do
|
|
32
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["surrender"])
|
|
34
|
+
# validator.allowable_values.each do |value|
|
|
35
|
+
# expect { instance.type = value }.not_to raise_error
|
|
36
|
+
# end
|
|
37
|
+
end
|
|
38
|
+
end
|
|
39
|
+
|
|
40
|
+
describe 'test attribute "think"' do
|
|
41
|
+
it 'should work' do
|
|
42
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
43
|
+
end
|
|
44
|
+
end
|
|
45
|
+
|
|
46
|
+
describe 'test attribute "current_question"' do
|
|
47
|
+
it 'should work' do
|
|
48
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
49
|
+
end
|
|
50
|
+
end
|
|
51
|
+
|
|
52
|
+
describe 'test attribute "partial_answer"' do
|
|
53
|
+
it 'should work' do
|
|
54
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
55
|
+
end
|
|
56
|
+
end
|
|
57
|
+
|
|
58
|
+
end
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Ragie API
|
|
3
|
+
|
|
4
|
+
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 1.0.0
|
|
7
|
+
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
Generator version: 7.16.0-SNAPSHOT
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for RagieRubySdk::Tool
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe RagieRubySdk::Tool do
|
|
21
|
+
#let(:instance) { RagieRubySdk::Tool.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of Tool' do
|
|
24
|
+
it 'should create an instance of Tool' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(RagieRubySdk::Tool)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "type"' do
|
|
31
|
+
it 'should work' do
|
|
32
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["retrieve"])
|
|
34
|
+
# validator.allowable_values.each do |value|
|
|
35
|
+
# expect { instance.type = value }.not_to raise_error
|
|
36
|
+
# end
|
|
37
|
+
end
|
|
38
|
+
end
|
|
39
|
+
|
|
40
|
+
describe 'test attribute "partitions"' do
|
|
41
|
+
it 'should work' do
|
|
42
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
43
|
+
end
|
|
44
|
+
end
|
|
45
|
+
|
|
46
|
+
end
|
|
@@ -18,7 +18,7 @@ require 'date'
|
|
|
18
18
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
19
|
# Please update as you see appropriate
|
|
20
20
|
describe RagieRubySdk::UpdateDocumentFromUrlParams do
|
|
21
|
-
let(:instance) { RagieRubySdk::UpdateDocumentFromUrlParams.new }
|
|
21
|
+
#let(:instance) { RagieRubySdk::UpdateDocumentFromUrlParams.new }
|
|
22
22
|
|
|
23
23
|
describe 'test an instance of UpdateDocumentFromUrlParams' do
|
|
24
24
|
it 'should create an instance of UpdateDocumentFromUrlParams' do
|
|
@@ -18,7 +18,7 @@ require 'date'
|
|
|
18
18
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
19
|
# Please update as you see appropriate
|
|
20
20
|
describe RagieRubySdk::UpdateDocumentRawParams do
|
|
21
|
-
let(:instance) { RagieRubySdk::UpdateDocumentRawParams.new }
|
|
21
|
+
#let(:instance) { RagieRubySdk::UpdateDocumentRawParams.new }
|
|
22
22
|
|
|
23
23
|
describe 'test an instance of UpdateDocumentRawParams' do
|
|
24
24
|
it 'should create an instance of UpdateDocumentRawParams' do
|
|
@@ -18,7 +18,7 @@ require 'date'
|
|
|
18
18
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
19
|
# Please update as you see appropriate
|
|
20
20
|
describe RagieRubySdk::UpdateInstructionParams do
|
|
21
|
-
let(:instance) { RagieRubySdk::UpdateInstructionParams.new }
|
|
21
|
+
#let(:instance) { RagieRubySdk::UpdateInstructionParams.new }
|
|
22
22
|
|
|
23
23
|
describe 'test an instance of UpdateInstructionParams' do
|
|
24
24
|
it 'should create an instance of UpdateInstructionParams' do
|
|
@@ -18,7 +18,7 @@ require 'date'
|
|
|
18
18
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
19
|
# Please update as you see appropriate
|
|
20
20
|
describe RagieRubySdk::ValidationError do
|
|
21
|
-
let(:instance) { RagieRubySdk::ValidationError.new }
|
|
21
|
+
#let(:instance) { RagieRubySdk::ValidationError.new }
|
|
22
22
|
|
|
23
23
|
describe 'test an instance of ValidationError' do
|
|
24
24
|
it 'should create an instance of ValidationError' do
|
|
@@ -18,7 +18,7 @@ require 'date'
|
|
|
18
18
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
19
|
# Please update as you see appropriate
|
|
20
20
|
describe RagieRubySdk::VideoModalityData do
|
|
21
|
-
let(:instance) { RagieRubySdk::VideoModalityData.new }
|
|
21
|
+
#let(:instance) { RagieRubySdk::VideoModalityData.new }
|
|
22
22
|
|
|
23
23
|
describe 'test an instance of VideoModalityData' do
|
|
24
24
|
it 'should create an instance of VideoModalityData' do
|
|
@@ -18,7 +18,7 @@ require 'date'
|
|
|
18
18
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
19
|
# Please update as you see appropriate
|
|
20
20
|
describe RagieRubySdk::WordTimestamp do
|
|
21
|
-
let(:instance) { RagieRubySdk::WordTimestamp.new }
|
|
21
|
+
#let(:instance) { RagieRubySdk::WordTimestamp.new }
|
|
22
22
|
|
|
23
23
|
describe 'test an instance of WordTimestamp' do
|
|
24
24
|
it 'should create an instance of WordTimestamp' do
|
|
@@ -18,7 +18,7 @@ require 'date'
|
|
|
18
18
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
19
|
# Please update as you see appropriate
|
|
20
20
|
describe RagieRubySdk::ZendeskCredentials do
|
|
21
|
-
let(:instance) { RagieRubySdk::ZendeskCredentials.new }
|
|
21
|
+
#let(:instance) { RagieRubySdk::ZendeskCredentials.new }
|
|
22
22
|
|
|
23
23
|
describe 'test an instance of ZendeskCredentials' do
|
|
24
24
|
it 'should create an instance of ZendeskCredentials' do
|
|
@@ -18,7 +18,7 @@ require 'date'
|
|
|
18
18
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
19
|
# Please update as you see appropriate
|
|
20
20
|
describe RagieRubySdk::ZendeskData do
|
|
21
|
-
let(:instance) { RagieRubySdk::ZendeskData.new }
|
|
21
|
+
#let(:instance) { RagieRubySdk::ZendeskData.new }
|
|
22
22
|
|
|
23
23
|
describe 'test an instance of ZendeskData' do
|
|
24
24
|
it 'should create an instance of ZendeskData' do
|