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
|
@@ -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::PartitionLimitResetWebhookPayload do
|
|
21
|
-
let(:instance) { RagieRubySdk::PartitionLimitResetWebhookPayload.new }
|
|
21
|
+
#let(:instance) { RagieRubySdk::PartitionLimitResetWebhookPayload.new }
|
|
22
22
|
|
|
23
23
|
describe 'test an instance of PartitionLimitResetWebhookPayload' do
|
|
24
24
|
it 'should create an instance of PartitionLimitResetWebhookPayload' 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::PartitionLimitResetWebhook do
|
|
21
|
-
let(:instance) { RagieRubySdk::PartitionLimitResetWebhook.new }
|
|
21
|
+
#let(:instance) { RagieRubySdk::PartitionLimitResetWebhook.new }
|
|
22
22
|
|
|
23
23
|
describe 'test an instance of PartitionLimitResetWebhook' do
|
|
24
24
|
it 'should create an instance of PartitionLimitResetWebhook' 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::PartitionLimits do
|
|
21
|
-
let(:instance) { RagieRubySdk::PartitionLimits.new }
|
|
21
|
+
#let(:instance) { RagieRubySdk::PartitionLimits.new }
|
|
22
22
|
|
|
23
23
|
describe 'test an instance of PartitionLimits' do
|
|
24
24
|
it 'should create an instance of PartitionLimits' 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::PartitionList do
|
|
21
|
-
let(:instance) { RagieRubySdk::PartitionList.new }
|
|
21
|
+
#let(:instance) { RagieRubySdk::PartitionList.new }
|
|
22
22
|
|
|
23
23
|
describe 'test an instance of PartitionList' do
|
|
24
24
|
it 'should create an instance of PartitionList' 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::Partition do
|
|
21
|
-
let(:instance) { RagieRubySdk::Partition.new }
|
|
21
|
+
#let(:instance) { RagieRubySdk::Partition.new }
|
|
22
22
|
|
|
23
23
|
describe 'test an instance of Partition' do
|
|
24
24
|
it 'should create an instance of Partition' 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::PartitionStats do
|
|
21
|
-
let(:instance) { RagieRubySdk::PartitionStats.new }
|
|
21
|
+
#let(:instance) { RagieRubySdk::PartitionStats.new }
|
|
22
22
|
|
|
23
23
|
describe 'test an instance of PartitionStats' do
|
|
24
24
|
it 'should create an instance of PartitionStats' 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::PatchDocumentMetadataParams do
|
|
21
|
-
let(:instance) { RagieRubySdk::PatchDocumentMetadataParams.new }
|
|
21
|
+
#let(:instance) { RagieRubySdk::PatchDocumentMetadataParams.new }
|
|
22
22
|
|
|
23
23
|
describe 'test an instance of PatchDocumentMetadataParams' do
|
|
24
24
|
it 'should create an instance of PatchDocumentMetadataParams' 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::PlanStep
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe RagieRubySdk::PlanStep do
|
|
21
|
+
#let(:instance) { RagieRubySdk::PlanStep.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of PlanStep' do
|
|
24
|
+
it 'should create an instance of PlanStep' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(RagieRubySdk::PlanStep)
|
|
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', ["plan"])
|
|
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 "questions_to_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
|
|
@@ -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::PublicBackblazeConnection do
|
|
21
|
-
let(:instance) { RagieRubySdk::PublicBackblazeConnection.new }
|
|
21
|
+
#let(:instance) { RagieRubySdk::PublicBackblazeConnection.new }
|
|
22
22
|
|
|
23
23
|
describe 'test an instance of PublicBackblazeConnection' do
|
|
24
24
|
it 'should create an instance of PublicBackblazeConnection' 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::PublicCreateConnection do
|
|
21
|
-
let(:instance) { RagieRubySdk::PublicCreateConnection.new }
|
|
21
|
+
#let(:instance) { RagieRubySdk::PublicCreateConnection.new }
|
|
22
22
|
|
|
23
23
|
describe 'test an instance of PublicCreateConnection' do
|
|
24
24
|
it 'should create an instance of PublicCreateConnection' 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::PublicFreshdeskConnection do
|
|
21
|
-
let(:instance) { RagieRubySdk::PublicFreshdeskConnection.new }
|
|
21
|
+
#let(:instance) { RagieRubySdk::PublicFreshdeskConnection.new }
|
|
22
22
|
|
|
23
23
|
describe 'test an instance of PublicFreshdeskConnection' do
|
|
24
24
|
it 'should create an instance of PublicFreshdeskConnection' 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::PublicGCSConnection do
|
|
21
|
-
let(:instance) { RagieRubySdk::PublicGCSConnection.new }
|
|
21
|
+
#let(:instance) { RagieRubySdk::PublicGCSConnection.new }
|
|
22
22
|
|
|
23
23
|
describe 'test an instance of PublicGCSConnection' do
|
|
24
24
|
it 'should create an instance of PublicGCSConnection' 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::PublicIntercomConnection do
|
|
21
|
-
let(:instance) { RagieRubySdk::PublicIntercomConnection.new }
|
|
21
|
+
#let(:instance) { RagieRubySdk::PublicIntercomConnection.new }
|
|
22
22
|
|
|
23
23
|
describe 'test an instance of PublicIntercomConnection' do
|
|
24
24
|
it 'should create an instance of PublicIntercomConnection' 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::PublicS3CompatibleConnection do
|
|
21
|
-
let(:instance) { RagieRubySdk::PublicS3CompatibleConnection.new }
|
|
21
|
+
#let(:instance) { RagieRubySdk::PublicS3CompatibleConnection.new }
|
|
22
22
|
|
|
23
23
|
describe 'test an instance of PublicS3CompatibleConnection' do
|
|
24
24
|
it 'should create an instance of PublicS3CompatibleConnection' 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::PublicZendeskConnection do
|
|
21
|
-
let(:instance) { RagieRubySdk::PublicZendeskConnection.new }
|
|
21
|
+
#let(:instance) { RagieRubySdk::PublicZendeskConnection.new }
|
|
22
22
|
|
|
23
23
|
describe 'test an instance of PublicZendeskConnection' do
|
|
24
24
|
it 'should create an instance of PublicZendeskConnection' do
|
|
@@ -0,0 +1,60 @@
|
|
|
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::RagieApiSchemaResponseUsage
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe RagieRubySdk::RagieApiSchemaResponseUsage do
|
|
21
|
+
#let(:instance) { RagieRubySdk::RagieApiSchemaResponseUsage.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of RagieApiSchemaResponseUsage' do
|
|
24
|
+
it 'should create an instance of RagieApiSchemaResponseUsage' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(RagieRubySdk::RagieApiSchemaResponseUsage)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "input_tokens"' 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 "input_token_details"' 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
|
+
describe 'test attribute "output_tokens"' do
|
|
43
|
+
it 'should work' do
|
|
44
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
45
|
+
end
|
|
46
|
+
end
|
|
47
|
+
|
|
48
|
+
describe 'test attribute "output_token_details"' do
|
|
49
|
+
it 'should work' do
|
|
50
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
51
|
+
end
|
|
52
|
+
end
|
|
53
|
+
|
|
54
|
+
describe 'test attribute "total_tokens"' do
|
|
55
|
+
it 'should work' do
|
|
56
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
57
|
+
end
|
|
58
|
+
end
|
|
59
|
+
|
|
60
|
+
end
|
|
@@ -0,0 +1,88 @@
|
|
|
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::RagieEvidence
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe RagieRubySdk::RagieEvidence do
|
|
21
|
+
#let(:instance) { RagieRubySdk::RagieEvidence.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of RagieEvidence' do
|
|
24
|
+
it 'should create an instance of RagieEvidence' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(RagieRubySdk::RagieEvidence)
|
|
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', ["ragie"])
|
|
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 "text"' 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 "id"' 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 "index"' 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
|
+
describe 'test attribute "document_id"' do
|
|
59
|
+
it 'should work' do
|
|
60
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
61
|
+
end
|
|
62
|
+
end
|
|
63
|
+
|
|
64
|
+
describe 'test attribute "document_name"' do
|
|
65
|
+
it 'should work' do
|
|
66
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
67
|
+
end
|
|
68
|
+
end
|
|
69
|
+
|
|
70
|
+
describe 'test attribute "metadata"' do
|
|
71
|
+
it 'should work' do
|
|
72
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
73
|
+
end
|
|
74
|
+
end
|
|
75
|
+
|
|
76
|
+
describe 'test attribute "document_metadata"' do
|
|
77
|
+
it 'should work' do
|
|
78
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
79
|
+
end
|
|
80
|
+
end
|
|
81
|
+
|
|
82
|
+
describe 'test attribute "links"' do
|
|
83
|
+
it 'should work' do
|
|
84
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
85
|
+
end
|
|
86
|
+
end
|
|
87
|
+
|
|
88
|
+
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::Reasoning
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe RagieRubySdk::Reasoning do
|
|
21
|
+
#let(:instance) { RagieRubySdk::Reasoning.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of Reasoning' do
|
|
24
|
+
it 'should create an instance of Reasoning' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(RagieRubySdk::Reasoning)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "effort"' 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', ["low", "medium", "high"])
|
|
34
|
+
# validator.allowable_values.each do |value|
|
|
35
|
+
# expect { instance.effort = value }.not_to raise_error
|
|
36
|
+
# end
|
|
37
|
+
end
|
|
38
|
+
end
|
|
39
|
+
|
|
40
|
+
describe 'test attribute "summary"' 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
|
|
@@ -0,0 +1,70 @@
|
|
|
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::Request
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe RagieRubySdk::Request do
|
|
21
|
+
#let(:instance) { RagieRubySdk::Request.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of Request' do
|
|
24
|
+
it 'should create an instance of Request' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(RagieRubySdk::Request)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "input"' 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 "instructions"' 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
|
+
describe 'test attribute "tools"' do
|
|
43
|
+
it 'should work' do
|
|
44
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
45
|
+
end
|
|
46
|
+
end
|
|
47
|
+
|
|
48
|
+
describe 'test attribute "model"' do
|
|
49
|
+
it 'should work' do
|
|
50
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
51
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["deep-search"])
|
|
52
|
+
# validator.allowable_values.each do |value|
|
|
53
|
+
# expect { instance.model = value }.not_to raise_error
|
|
54
|
+
# end
|
|
55
|
+
end
|
|
56
|
+
end
|
|
57
|
+
|
|
58
|
+
describe 'test attribute "reasoning"' do
|
|
59
|
+
it 'should work' do
|
|
60
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
61
|
+
end
|
|
62
|
+
end
|
|
63
|
+
|
|
64
|
+
describe 'test attribute "stream"' do
|
|
65
|
+
it 'should work' do
|
|
66
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
67
|
+
end
|
|
68
|
+
end
|
|
69
|
+
|
|
70
|
+
end
|
|
@@ -0,0 +1,52 @@
|
|
|
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::ResponseContent
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe RagieRubySdk::ResponseContent do
|
|
21
|
+
#let(:instance) { RagieRubySdk::ResponseContent.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of ResponseContent' do
|
|
24
|
+
it 'should create an instance of ResponseContent' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(RagieRubySdk::ResponseContent)
|
|
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', ["text"])
|
|
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 "text"' 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 "annotations"' 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
|
+
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::ResponseOK do
|
|
21
|
-
let(:instance) { RagieRubySdk::ResponseOK.new }
|
|
21
|
+
#let(:instance) { RagieRubySdk::ResponseOK.new }
|
|
22
22
|
|
|
23
23
|
describe 'test an instance of ResponseOK' do
|
|
24
24
|
it 'should create an instance of ResponseOK' do
|
|
@@ -0,0 +1,62 @@
|
|
|
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::ResponseOutput
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe RagieRubySdk::ResponseOutput do
|
|
21
|
+
#let(:instance) { RagieRubySdk::ResponseOutput.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of ResponseOutput' do
|
|
24
|
+
it 'should create an instance of ResponseOutput' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(RagieRubySdk::ResponseOutput)
|
|
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', ["message"])
|
|
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 "id"' 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 "role"' do
|
|
47
|
+
it 'should work' do
|
|
48
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
49
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["assistant"])
|
|
50
|
+
# validator.allowable_values.each do |value|
|
|
51
|
+
# expect { instance.role = value }.not_to raise_error
|
|
52
|
+
# end
|
|
53
|
+
end
|
|
54
|
+
end
|
|
55
|
+
|
|
56
|
+
describe 'test attribute "content"' do
|
|
57
|
+
it 'should work' do
|
|
58
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
59
|
+
end
|
|
60
|
+
end
|
|
61
|
+
|
|
62
|
+
end
|