carbon_ruby_sdk 0.2.50 → 0.2.52
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/Gemfile.lock +2 -2
- data/README.md +90 -2
- data/lib/carbon_ruby_sdk/api/integrations_api.rb +152 -0
- data/lib/carbon_ruby_sdk/models/data_source_type.rb +2 -1
- data/lib/carbon_ruby_sdk/models/data_source_type_nullable.rb +2 -1
- data/lib/carbon_ruby_sdk/models/document360_connect_request.rb +368 -0
- data/lib/carbon_ruby_sdk/models/file_formats.rb +2 -1
- data/lib/carbon_ruby_sdk/models/file_formats_nullable.rb +2 -1
- data/lib/carbon_ruby_sdk/models/file_sync_config.rb +15 -4
- data/lib/carbon_ruby_sdk/models/file_sync_config_nullable.rb +15 -4
- data/lib/carbon_ruby_sdk/models/parsed_text_formats.rb +36 -0
- data/lib/carbon_ruby_sdk/models/parsed_text_formats_nullable.rb +36 -0
- data/lib/carbon_ruby_sdk/version.rb +1 -1
- data/lib/carbon_ruby_sdk.rb +3 -0
- data/spec/api/integrations_api_spec.rb +12 -0
- data/spec/models/document360_connect_request_spec.rb +106 -0
- data/spec/models/file_sync_config_nullable_spec.rb +6 -0
- data/spec/models/file_sync_config_spec.rb +6 -0
- data/spec/models/parsed_text_formats_nullable_spec.rb +22 -0
- data/spec/models/parsed_text_formats_spec.rb +22 -0
- metadata +11 -2
@@ -0,0 +1,106 @@
|
|
1
|
+
=begin
|
2
|
+
#Carbon
|
3
|
+
|
4
|
+
#Connect external data to LLMs, no matter the source.
|
5
|
+
|
6
|
+
The version of the OpenAPI document: 1.0.0
|
7
|
+
=end
|
8
|
+
|
9
|
+
require 'spec_helper'
|
10
|
+
require 'json'
|
11
|
+
require 'date'
|
12
|
+
|
13
|
+
# Unit tests for Carbon::Document360ConnectRequest
|
14
|
+
describe Carbon::Document360ConnectRequest do
|
15
|
+
let(:instance) { Carbon::Document360ConnectRequest.new }
|
16
|
+
|
17
|
+
describe 'test an instance of Document360ConnectRequest' do
|
18
|
+
it 'should create an instance of Document360ConnectRequest' do
|
19
|
+
expect(instance).to be_instance_of(Carbon::Document360ConnectRequest)
|
20
|
+
end
|
21
|
+
end
|
22
|
+
describe 'test attribute "tags"' do
|
23
|
+
it 'should work' do
|
24
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
25
|
+
end
|
26
|
+
end
|
27
|
+
|
28
|
+
describe 'test attribute "account_email"' do
|
29
|
+
it 'should work' do
|
30
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
31
|
+
end
|
32
|
+
end
|
33
|
+
|
34
|
+
describe 'test attribute "access_token"' do
|
35
|
+
it 'should work' do
|
36
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
37
|
+
end
|
38
|
+
end
|
39
|
+
|
40
|
+
describe 'test attribute "chunk_size"' do
|
41
|
+
it 'should work' do
|
42
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
43
|
+
end
|
44
|
+
end
|
45
|
+
|
46
|
+
describe 'test attribute "chunk_overlap"' do
|
47
|
+
it 'should work' do
|
48
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
49
|
+
end
|
50
|
+
end
|
51
|
+
|
52
|
+
describe 'test attribute "skip_embedding_generation"' do
|
53
|
+
it 'should work' do
|
54
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
55
|
+
end
|
56
|
+
end
|
57
|
+
|
58
|
+
describe 'test attribute "embedding_model"' do
|
59
|
+
it 'should work' do
|
60
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
61
|
+
end
|
62
|
+
end
|
63
|
+
|
64
|
+
describe 'test attribute "generate_sparse_vectors"' do
|
65
|
+
it 'should work' do
|
66
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
67
|
+
end
|
68
|
+
end
|
69
|
+
|
70
|
+
describe 'test attribute "prepend_filename_to_chunks"' do
|
71
|
+
it 'should work' do
|
72
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
73
|
+
end
|
74
|
+
end
|
75
|
+
|
76
|
+
describe 'test attribute "sync_files_on_connection"' do
|
77
|
+
it 'should work' do
|
78
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
79
|
+
end
|
80
|
+
end
|
81
|
+
|
82
|
+
describe 'test attribute "request_id"' do
|
83
|
+
it 'should work' do
|
84
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
85
|
+
end
|
86
|
+
end
|
87
|
+
|
88
|
+
describe 'test attribute "sync_source_items"' do
|
89
|
+
it 'should work' do
|
90
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
91
|
+
end
|
92
|
+
end
|
93
|
+
|
94
|
+
describe 'test attribute "file_sync_config"' do
|
95
|
+
it 'should work' do
|
96
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
97
|
+
end
|
98
|
+
end
|
99
|
+
|
100
|
+
describe 'test attribute "data_source_tags"' do
|
101
|
+
it 'should work' do
|
102
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
103
|
+
end
|
104
|
+
end
|
105
|
+
|
106
|
+
end
|
@@ -73,4 +73,10 @@ describe Carbon::FileSyncConfigNullable do
|
|
73
73
|
end
|
74
74
|
end
|
75
75
|
|
76
|
+
describe 'test attribute "parsed_text_format"' do
|
77
|
+
it 'should work' do
|
78
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
79
|
+
end
|
80
|
+
end
|
81
|
+
|
76
82
|
end
|
@@ -0,0 +1,22 @@
|
|
1
|
+
=begin
|
2
|
+
#Carbon
|
3
|
+
|
4
|
+
#Connect external data to LLMs, no matter the source.
|
5
|
+
|
6
|
+
The version of the OpenAPI document: 1.0.0
|
7
|
+
=end
|
8
|
+
|
9
|
+
require 'spec_helper'
|
10
|
+
require 'json'
|
11
|
+
require 'date'
|
12
|
+
|
13
|
+
# Unit tests for Carbon::ParsedTextFormatsNullable
|
14
|
+
describe Carbon::ParsedTextFormatsNullable do
|
15
|
+
let(:instance) { Carbon::ParsedTextFormatsNullable.new }
|
16
|
+
|
17
|
+
describe 'test an instance of ParsedTextFormatsNullable' do
|
18
|
+
it 'should create an instance of ParsedTextFormatsNullable' do
|
19
|
+
expect(instance).to be_instance_of(Carbon::ParsedTextFormatsNullable)
|
20
|
+
end
|
21
|
+
end
|
22
|
+
end
|
@@ -0,0 +1,22 @@
|
|
1
|
+
=begin
|
2
|
+
#Carbon
|
3
|
+
|
4
|
+
#Connect external data to LLMs, no matter the source.
|
5
|
+
|
6
|
+
The version of the OpenAPI document: 1.0.0
|
7
|
+
=end
|
8
|
+
|
9
|
+
require 'spec_helper'
|
10
|
+
require 'json'
|
11
|
+
require 'date'
|
12
|
+
|
13
|
+
# Unit tests for Carbon::ParsedTextFormats
|
14
|
+
describe Carbon::ParsedTextFormats do
|
15
|
+
let(:instance) { Carbon::ParsedTextFormats.new }
|
16
|
+
|
17
|
+
describe 'test an instance of ParsedTextFormats' do
|
18
|
+
it 'should create an instance of ParsedTextFormats' do
|
19
|
+
expect(instance).to be_instance_of(Carbon::ParsedTextFormats)
|
20
|
+
end
|
21
|
+
end
|
22
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: carbon_ruby_sdk
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.52
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Konfig
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-11-
|
11
|
+
date: 2024-11-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
@@ -157,6 +157,7 @@ files:
|
|
157
157
|
- lib/carbon_ruby_sdk/models/delete_users_input.rb
|
158
158
|
- lib/carbon_ruby_sdk/models/delete_white_label_request.rb
|
159
159
|
- lib/carbon_ruby_sdk/models/directory_item.rb
|
160
|
+
- lib/carbon_ruby_sdk/models/document360_connect_request.rb
|
160
161
|
- lib/carbon_ruby_sdk/models/document_response.rb
|
161
162
|
- lib/carbon_ruby_sdk/models/document_response_list.rb
|
162
163
|
- lib/carbon_ruby_sdk/models/email.rb
|
@@ -288,6 +289,8 @@ files:
|
|
288
289
|
- lib/carbon_ruby_sdk/models/outh_url_response.rb
|
289
290
|
- lib/carbon_ruby_sdk/models/outlook_sync_input.rb
|
290
291
|
- lib/carbon_ruby_sdk/models/pagination.rb
|
292
|
+
- lib/carbon_ruby_sdk/models/parsed_text_formats.rb
|
293
|
+
- lib/carbon_ruby_sdk/models/parsed_text_formats_nullable.rb
|
291
294
|
- lib/carbon_ruby_sdk/models/partial_account.rb
|
292
295
|
- lib/carbon_ruby_sdk/models/partial_account_nullable.rb
|
293
296
|
- lib/carbon_ruby_sdk/models/partial_contact.rb
|
@@ -467,6 +470,7 @@ files:
|
|
467
470
|
- spec/models/delete_users_input_spec.rb
|
468
471
|
- spec/models/delete_white_label_request_spec.rb
|
469
472
|
- spec/models/directory_item_spec.rb
|
473
|
+
- spec/models/document360_connect_request_spec.rb
|
470
474
|
- spec/models/document_response_list_spec.rb
|
471
475
|
- spec/models/document_response_spec.rb
|
472
476
|
- spec/models/email_spec.rb
|
@@ -598,6 +602,8 @@ files:
|
|
598
602
|
- spec/models/outh_url_response_spec.rb
|
599
603
|
- spec/models/outlook_sync_input_spec.rb
|
600
604
|
- spec/models/pagination_spec.rb
|
605
|
+
- spec/models/parsed_text_formats_nullable_spec.rb
|
606
|
+
- spec/models/parsed_text_formats_spec.rb
|
601
607
|
- spec/models/partial_account_nullable_spec.rb
|
602
608
|
- spec/models/partial_account_spec.rb
|
603
609
|
- spec/models/partial_contact_nullable_spec.rb
|
@@ -749,6 +755,7 @@ test_files:
|
|
749
755
|
- spec/models/pull_requests_input_spec.rb
|
750
756
|
- spec/models/embedding_generators_nullable_spec.rb
|
751
757
|
- spec/models/issues_input_spec.rb
|
758
|
+
- spec/models/parsed_text_formats_nullable_spec.rb
|
752
759
|
- spec/models/slack_filters_spec.rb
|
753
760
|
- spec/models/contact_spec.rb
|
754
761
|
- spec/models/add_webhook_props_spec.rb
|
@@ -857,6 +864,7 @@ test_files:
|
|
857
864
|
- spec/models/gitbook_sync_request_spec.rb
|
858
865
|
- spec/models/accounts_request_spec.rb
|
859
866
|
- spec/models/issues_filter_spec.rb
|
867
|
+
- spec/models/document360_connect_request_spec.rb
|
860
868
|
- spec/models/embedding_and_chunk_spec.rb
|
861
869
|
- spec/models/embedding_model_spec.rb
|
862
870
|
- spec/models/one_drive_authentication_source_spec.rb
|
@@ -880,6 +888,7 @@ test_files:
|
|
880
888
|
- spec/models/external_file_sync_statuses_spec.rb
|
881
889
|
- spec/models/partial_contact_nullable_spec.rb
|
882
890
|
- spec/models/pr_state_input_spec.rb
|
891
|
+
- spec/models/parsed_text_formats_spec.rb
|
883
892
|
- spec/models/organization_response_spec.rb
|
884
893
|
- spec/models/issue_pr_spec.rb
|
885
894
|
- spec/models/zotero_authentication_source_spec.rb
|