carbon_ruby_sdk 0.2.33 → 0.2.34
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/README.md +34 -2
- data/lib/carbon_ruby_sdk/api/files_api.rb +6 -2
- data/lib/carbon_ruby_sdk/api/integrations_api.rb +12 -4
- data/lib/carbon_ruby_sdk/models/external_file_sync_statuses.rb +2 -1
- data/lib/carbon_ruby_sdk/models/file_sync_config.rb +16 -4
- data/lib/carbon_ruby_sdk/models/file_sync_config_nullable.rb +16 -4
- data/lib/carbon_ruby_sdk/models/gitbook_connect_request.rb +14 -4
- data/lib/carbon_ruby_sdk/models/gitbook_sync_request.rb +15 -5
- data/lib/carbon_ruby_sdk/models/resync_file_query_input.rb +16 -4
- data/lib/carbon_ruby_sdk/version.rb +1 -1
- data/spec/models/file_sync_config_nullable_spec.rb +6 -0
- data/spec/models/file_sync_config_spec.rb +6 -0
- data/spec/models/gitbook_connect_request_spec.rb +6 -0
- data/spec/models/gitbook_sync_request_spec.rb +6 -0
- data/spec/models/resync_file_query_input_spec.rb +6 -0
- metadata +154 -154
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c615043a22001b809427090b655a09b2690f1f8f6c8255ce26a398c90c7c4177
|
4
|
+
data.tar.gz: 95408e90a58a24971983f24684703b22cc7523416b54ee4bc2093c5b0c749b73
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b04d6d46357ace8ce48a79a4ded1529481d5c884f8b8198e93fa68e9cb9323044d08f06951fcd8f1cb1368fa8cb3cfab0e28a12b81011845102feeb55e1e3593
|
7
|
+
data.tar.gz: 93515e462ac0ec85414edf4b616ad852e6e60bbb6aef4775f61c8d6b9084e676117f455628b13750efe9051aad23ec6f124cf015bbc5001a63fbb4b0b5e146de
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
@@ -6,7 +6,7 @@
|
|
6
6
|
|
7
7
|
Connect external data to LLMs, no matter the source.
|
8
8
|
|
9
|
-
[![npm](https://img.shields.io/badge/gem-v0.2.
|
9
|
+
[![npm](https://img.shields.io/badge/gem-v0.2.34-blue)](https://rubygems.org/gems/carbon_ruby_sdk/versions/0.2.34)
|
10
10
|
|
11
11
|
</div>
|
12
12
|
|
@@ -94,7 +94,7 @@ Connect external data to LLMs, no matter the source.
|
|
94
94
|
Add to Gemfile:
|
95
95
|
|
96
96
|
```ruby
|
97
|
-
gem 'carbon_ruby_sdk', '~> 0.2.
|
97
|
+
gem 'carbon_ruby_sdk', '~> 0.2.34'
|
98
98
|
```
|
99
99
|
|
100
100
|
## Getting Started<a id="getting-started"></a>
|
@@ -1080,6 +1080,7 @@ result = carbon.files.resync(
|
|
1080
1080
|
chunk_size: 1,
|
1081
1081
|
chunk_overlap: 1,
|
1082
1082
|
force_embedding_generation: false,
|
1083
|
+
skip_file_processing: false,
|
1083
1084
|
)
|
1084
1085
|
p result
|
1085
1086
|
```
|
@@ -1090,6 +1091,7 @@ p result
|
|
1090
1091
|
##### chunk_size: `Integer`<a id="chunk_size-integer"></a>
|
1091
1092
|
##### chunk_overlap: `Integer`<a id="chunk_overlap-integer"></a>
|
1092
1093
|
##### force_embedding_generation: `Boolean`<a id="force_embedding_generation-boolean"></a>
|
1094
|
+
##### skip_file_processing: `Boolean`<a id="skip_file_processing-boolean"></a>
|
1093
1095
|
#### 🔄 Return<a id="🔄-return"></a>
|
1094
1096
|
|
1095
1097
|
[UserFile](./lib/carbon_ruby_sdk/models/user_file.rb)
|
@@ -1479,6 +1481,7 @@ result = carbon.integrations.connect_freshdesk(
|
|
1479
1481
|
"include_speaker_labels" => false,
|
1480
1482
|
"split_rows" => false,
|
1481
1483
|
"generate_chunks_only" => false,
|
1484
|
+
"skip_file_processing" => false,
|
1482
1485
|
},
|
1483
1486
|
)
|
1484
1487
|
p result
|
@@ -1538,6 +1541,16 @@ result = carbon.integrations.connect_gitbook(
|
|
1538
1541
|
sync_files_on_connection: true,
|
1539
1542
|
request_id: "string_example",
|
1540
1543
|
sync_source_items: true,
|
1544
|
+
file_sync_config: {
|
1545
|
+
"auto_synced_source_types" => ["ARTICLE"],
|
1546
|
+
"sync_attachments" => false,
|
1547
|
+
"detect_audio_language" => false,
|
1548
|
+
"transcription_service" => "assemblyai",
|
1549
|
+
"include_speaker_labels" => false,
|
1550
|
+
"split_rows" => false,
|
1551
|
+
"generate_chunks_only" => false,
|
1552
|
+
"skip_file_processing" => false,
|
1553
|
+
},
|
1541
1554
|
)
|
1542
1555
|
p result
|
1543
1556
|
```
|
@@ -1559,6 +1572,7 @@ p result
|
|
1559
1572
|
Enabling this flag will fetch all available content from the source to be listed
|
1560
1573
|
via list items endpoint
|
1561
1574
|
|
1575
|
+
##### file_sync_config: [`FileSyncConfigNullable`](./lib/carbon_ruby_sdk/models/file_sync_config_nullable.rb)<a id="file_sync_config-filesyncconfignullablelibcarbon_ruby_sdkmodelsfile_sync_config_nullablerb"></a>
|
1562
1576
|
#### 🔄 Return<a id="🔄-return"></a>
|
1563
1577
|
|
1564
1578
|
[GenericSuccessResponse](./lib/carbon_ruby_sdk/models/generic_success_response.rb)
|
@@ -1601,6 +1615,7 @@ result = carbon.integrations.connect_guru(
|
|
1601
1615
|
"include_speaker_labels" => false,
|
1602
1616
|
"split_rows" => false,
|
1603
1617
|
"generate_chunks_only" => false,
|
1618
|
+
"skip_file_processing" => false,
|
1604
1619
|
},
|
1605
1620
|
)
|
1606
1621
|
p result
|
@@ -1732,6 +1747,7 @@ result = carbon.integrations.get_oauth_url(
|
|
1732
1747
|
"include_speaker_labels" => false,
|
1733
1748
|
"split_rows" => false,
|
1734
1749
|
"generate_chunks_only" => false,
|
1750
|
+
"skip_file_processing" => false,
|
1735
1751
|
},
|
1736
1752
|
automatically_open_file_picker: true,
|
1737
1753
|
gong_account_email: "string_example",
|
@@ -2119,6 +2135,7 @@ result = carbon.integrations.sync_confluence(
|
|
2119
2135
|
"include_speaker_labels" => false,
|
2120
2136
|
"split_rows" => false,
|
2121
2137
|
"generate_chunks_only" => false,
|
2138
|
+
"skip_file_processing" => false,
|
2122
2139
|
},
|
2123
2140
|
)
|
2124
2141
|
p result
|
@@ -2227,6 +2244,7 @@ result = carbon.integrations.sync_files(
|
|
2227
2244
|
"include_speaker_labels" => false,
|
2228
2245
|
"split_rows" => false,
|
2229
2246
|
"generate_chunks_only" => false,
|
2247
|
+
"skip_file_processing" => false,
|
2230
2248
|
},
|
2231
2249
|
)
|
2232
2250
|
p result
|
@@ -2329,6 +2347,16 @@ result = carbon.integrations.sync_gitbook(
|
|
2329
2347
|
generate_sparse_vectors: false,
|
2330
2348
|
prepend_filename_to_chunks: false,
|
2331
2349
|
request_id: "string_example",
|
2350
|
+
file_sync_config: {
|
2351
|
+
"auto_synced_source_types" => ["ARTICLE"],
|
2352
|
+
"sync_attachments" => false,
|
2353
|
+
"detect_audio_language" => false,
|
2354
|
+
"transcription_service" => "assemblyai",
|
2355
|
+
"include_speaker_labels" => false,
|
2356
|
+
"split_rows" => false,
|
2357
|
+
"generate_chunks_only" => false,
|
2358
|
+
"skip_file_processing" => false,
|
2359
|
+
},
|
2332
2360
|
)
|
2333
2361
|
p result
|
2334
2362
|
```
|
@@ -2345,6 +2373,7 @@ p result
|
|
2345
2373
|
##### generate_sparse_vectors: `Boolean`<a id="generate_sparse_vectors-boolean"></a>
|
2346
2374
|
##### prepend_filename_to_chunks: `Boolean`<a id="prepend_filename_to_chunks-boolean"></a>
|
2347
2375
|
##### request_id: `String`<a id="request_id-string"></a>
|
2376
|
+
##### file_sync_config: [`FileSyncConfigNullable`](./lib/carbon_ruby_sdk/models/file_sync_config_nullable.rb)<a id="file_sync_config-filesyncconfignullablelibcarbon_ruby_sdkmodelsfile_sync_config_nullablerb"></a>
|
2348
2377
|
#### 🌐 Endpoint<a id="🌐-endpoint"></a>
|
2349
2378
|
|
2350
2379
|
`/integrations/gitbook/sync` `POST`
|
@@ -2434,6 +2463,7 @@ result = carbon.integrations.sync_gmail(
|
|
2434
2463
|
"include_speaker_labels" => false,
|
2435
2464
|
"split_rows" => false,
|
2436
2465
|
"generate_chunks_only" => false,
|
2466
|
+
"skip_file_processing" => false,
|
2437
2467
|
},
|
2438
2468
|
incremental_sync: false,
|
2439
2469
|
)
|
@@ -2556,6 +2586,7 @@ result = carbon.integrations.sync_outlook(
|
|
2556
2586
|
"include_speaker_labels" => false,
|
2557
2587
|
"split_rows" => false,
|
2558
2588
|
"generate_chunks_only" => false,
|
2589
|
+
"skip_file_processing" => false,
|
2559
2590
|
},
|
2560
2591
|
incremental_sync: false,
|
2561
2592
|
)
|
@@ -2702,6 +2733,7 @@ result = carbon.integrations.sync_s3_files(
|
|
2702
2733
|
"include_speaker_labels" => false,
|
2703
2734
|
"split_rows" => false,
|
2704
2735
|
"generate_chunks_only" => false,
|
2736
|
+
"skip_file_processing" => false,
|
2705
2737
|
},
|
2706
2738
|
)
|
2707
2739
|
p result
|
@@ -1231,14 +1231,16 @@ module Carbon
|
|
1231
1231
|
# @param chunk_size [Integer]
|
1232
1232
|
# @param chunk_overlap [Integer]
|
1233
1233
|
# @param force_embedding_generation [Boolean]
|
1234
|
+
# @param skip_file_processing [Boolean]
|
1234
1235
|
# @param body [ResyncFileQueryInput]
|
1235
1236
|
# @param [Hash] extra additional parameters to pass along through :header_params, :query_params, or parameter name
|
1236
|
-
def resync(file_id:, chunk_size: SENTINEL, chunk_overlap: SENTINEL, force_embedding_generation: false, extra: {})
|
1237
|
+
def resync(file_id:, chunk_size: SENTINEL, chunk_overlap: SENTINEL, force_embedding_generation: false, skip_file_processing: false, extra: {})
|
1237
1238
|
_body = {}
|
1238
1239
|
_body[:file_id] = file_id if file_id != SENTINEL
|
1239
1240
|
_body[:chunk_size] = chunk_size if chunk_size != SENTINEL
|
1240
1241
|
_body[:chunk_overlap] = chunk_overlap if chunk_overlap != SENTINEL
|
1241
1242
|
_body[:force_embedding_generation] = force_embedding_generation if force_embedding_generation != SENTINEL
|
1243
|
+
_body[:skip_file_processing] = skip_file_processing if skip_file_processing != SENTINEL
|
1242
1244
|
resync_file_query_input = _body
|
1243
1245
|
api_response = resync_with_http_info_impl(resync_file_query_input, extra)
|
1244
1246
|
api_response.data
|
@@ -1250,14 +1252,16 @@ module Carbon
|
|
1250
1252
|
# @param chunk_size [Integer]
|
1251
1253
|
# @param chunk_overlap [Integer]
|
1252
1254
|
# @param force_embedding_generation [Boolean]
|
1255
|
+
# @param skip_file_processing [Boolean]
|
1253
1256
|
# @param body [ResyncFileQueryInput]
|
1254
1257
|
# @param [Hash] extra additional parameters to pass along through :header_params, :query_params, or parameter name
|
1255
|
-
def resync_with_http_info(file_id:, chunk_size: SENTINEL, chunk_overlap: SENTINEL, force_embedding_generation: false, extra: {})
|
1258
|
+
def resync_with_http_info(file_id:, chunk_size: SENTINEL, chunk_overlap: SENTINEL, force_embedding_generation: false, skip_file_processing: false, extra: {})
|
1256
1259
|
_body = {}
|
1257
1260
|
_body[:file_id] = file_id if file_id != SENTINEL
|
1258
1261
|
_body[:chunk_size] = chunk_size if chunk_size != SENTINEL
|
1259
1262
|
_body[:chunk_overlap] = chunk_overlap if chunk_overlap != SENTINEL
|
1260
1263
|
_body[:force_embedding_generation] = force_embedding_generation if force_embedding_generation != SENTINEL
|
1264
|
+
_body[:skip_file_processing] = skip_file_processing if skip_file_processing != SENTINEL
|
1261
1265
|
resync_file_query_input = _body
|
1262
1266
|
resync_with_http_info_impl(resync_file_query_input, extra)
|
1263
1267
|
end
|
@@ -377,9 +377,10 @@ module Carbon
|
|
377
377
|
# @param sync_files_on_connection [Boolean]
|
378
378
|
# @param request_id [String]
|
379
379
|
# @param sync_source_items [Boolean] Enabling this flag will fetch all available content from the source to be listed via list items endpoint
|
380
|
+
# @param file_sync_config [FileSyncConfigNullable]
|
380
381
|
# @param body [GitbookConnectRequest]
|
381
382
|
# @param [Hash] extra additional parameters to pass along through :header_params, :query_params, or parameter name
|
382
|
-
def connect_gitbook(organization:, access_token:, tags: SENTINEL, chunk_size: 1500, chunk_overlap: 20, skip_embedding_generation: false, embedding_model: 'OPENAI', generate_sparse_vectors: false, prepend_filename_to_chunks: false, sync_files_on_connection: true, request_id: SENTINEL, sync_source_items: true, extra: {})
|
383
|
+
def connect_gitbook(organization:, access_token:, tags: SENTINEL, chunk_size: 1500, chunk_overlap: 20, skip_embedding_generation: false, embedding_model: 'OPENAI', generate_sparse_vectors: false, prepend_filename_to_chunks: false, sync_files_on_connection: true, request_id: SENTINEL, sync_source_items: true, file_sync_config: SENTINEL, extra: {})
|
383
384
|
_body = {}
|
384
385
|
_body[:tags] = tags if tags != SENTINEL
|
385
386
|
_body[:organization] = organization if organization != SENTINEL
|
@@ -393,6 +394,7 @@ module Carbon
|
|
393
394
|
_body[:sync_files_on_connection] = sync_files_on_connection if sync_files_on_connection != SENTINEL
|
394
395
|
_body[:request_id] = request_id if request_id != SENTINEL
|
395
396
|
_body[:sync_source_items] = sync_source_items if sync_source_items != SENTINEL
|
397
|
+
_body[:file_sync_config] = file_sync_config if file_sync_config != SENTINEL
|
396
398
|
gitbook_connect_request = _body
|
397
399
|
api_response = connect_gitbook_with_http_info_impl(gitbook_connect_request, extra)
|
398
400
|
api_response.data
|
@@ -417,9 +419,10 @@ module Carbon
|
|
417
419
|
# @param sync_files_on_connection [Boolean]
|
418
420
|
# @param request_id [String]
|
419
421
|
# @param sync_source_items [Boolean] Enabling this flag will fetch all available content from the source to be listed via list items endpoint
|
422
|
+
# @param file_sync_config [FileSyncConfigNullable]
|
420
423
|
# @param body [GitbookConnectRequest]
|
421
424
|
# @param [Hash] extra additional parameters to pass along through :header_params, :query_params, or parameter name
|
422
|
-
def connect_gitbook_with_http_info(organization:, access_token:, tags: SENTINEL, chunk_size: 1500, chunk_overlap: 20, skip_embedding_generation: false, embedding_model: 'OPENAI', generate_sparse_vectors: false, prepend_filename_to_chunks: false, sync_files_on_connection: true, request_id: SENTINEL, sync_source_items: true, extra: {})
|
425
|
+
def connect_gitbook_with_http_info(organization:, access_token:, tags: SENTINEL, chunk_size: 1500, chunk_overlap: 20, skip_embedding_generation: false, embedding_model: 'OPENAI', generate_sparse_vectors: false, prepend_filename_to_chunks: false, sync_files_on_connection: true, request_id: SENTINEL, sync_source_items: true, file_sync_config: SENTINEL, extra: {})
|
423
426
|
_body = {}
|
424
427
|
_body[:tags] = tags if tags != SENTINEL
|
425
428
|
_body[:organization] = organization if organization != SENTINEL
|
@@ -433,6 +436,7 @@ module Carbon
|
|
433
436
|
_body[:sync_files_on_connection] = sync_files_on_connection if sync_files_on_connection != SENTINEL
|
434
437
|
_body[:request_id] = request_id if request_id != SENTINEL
|
435
438
|
_body[:sync_source_items] = sync_source_items if sync_source_items != SENTINEL
|
439
|
+
_body[:file_sync_config] = file_sync_config if file_sync_config != SENTINEL
|
436
440
|
gitbook_connect_request = _body
|
437
441
|
connect_gitbook_with_http_info_impl(gitbook_connect_request, extra)
|
438
442
|
end
|
@@ -2338,9 +2342,10 @@ module Carbon
|
|
2338
2342
|
# @param generate_sparse_vectors [Boolean]
|
2339
2343
|
# @param prepend_filename_to_chunks [Boolean]
|
2340
2344
|
# @param request_id [String]
|
2345
|
+
# @param file_sync_config [FileSyncConfigNullable]
|
2341
2346
|
# @param body [GitbookSyncRequest]
|
2342
2347
|
# @param [Hash] extra additional parameters to pass along through :header_params, :query_params, or parameter name
|
2343
|
-
def sync_gitbook(space_ids:, data_source_id:, tags: SENTINEL, chunk_size: 1500, chunk_overlap: 20, skip_embedding_generation: false, embedding_model: 'OPENAI', generate_sparse_vectors: false, prepend_filename_to_chunks: false, request_id: SENTINEL, extra: {})
|
2348
|
+
def sync_gitbook(space_ids:, data_source_id:, tags: SENTINEL, chunk_size: 1500, chunk_overlap: 20, skip_embedding_generation: false, embedding_model: 'OPENAI', generate_sparse_vectors: false, prepend_filename_to_chunks: false, request_id: SENTINEL, file_sync_config: SENTINEL, extra: {})
|
2344
2349
|
_body = {}
|
2345
2350
|
_body[:tags] = tags if tags != SENTINEL
|
2346
2351
|
_body[:space_ids] = space_ids if space_ids != SENTINEL
|
@@ -2352,6 +2357,7 @@ module Carbon
|
|
2352
2357
|
_body[:generate_sparse_vectors] = generate_sparse_vectors if generate_sparse_vectors != SENTINEL
|
2353
2358
|
_body[:prepend_filename_to_chunks] = prepend_filename_to_chunks if prepend_filename_to_chunks != SENTINEL
|
2354
2359
|
_body[:request_id] = request_id if request_id != SENTINEL
|
2360
|
+
_body[:file_sync_config] = file_sync_config if file_sync_config != SENTINEL
|
2355
2361
|
gitbook_sync_request = _body
|
2356
2362
|
api_response = sync_gitbook_with_http_info_impl(gitbook_sync_request, extra)
|
2357
2363
|
api_response.data
|
@@ -2372,9 +2378,10 @@ module Carbon
|
|
2372
2378
|
# @param generate_sparse_vectors [Boolean]
|
2373
2379
|
# @param prepend_filename_to_chunks [Boolean]
|
2374
2380
|
# @param request_id [String]
|
2381
|
+
# @param file_sync_config [FileSyncConfigNullable]
|
2375
2382
|
# @param body [GitbookSyncRequest]
|
2376
2383
|
# @param [Hash] extra additional parameters to pass along through :header_params, :query_params, or parameter name
|
2377
|
-
def sync_gitbook_with_http_info(space_ids:, data_source_id:, tags: SENTINEL, chunk_size: 1500, chunk_overlap: 20, skip_embedding_generation: false, embedding_model: 'OPENAI', generate_sparse_vectors: false, prepend_filename_to_chunks: false, request_id: SENTINEL, extra: {})
|
2384
|
+
def sync_gitbook_with_http_info(space_ids:, data_source_id:, tags: SENTINEL, chunk_size: 1500, chunk_overlap: 20, skip_embedding_generation: false, embedding_model: 'OPENAI', generate_sparse_vectors: false, prepend_filename_to_chunks: false, request_id: SENTINEL, file_sync_config: SENTINEL, extra: {})
|
2378
2385
|
_body = {}
|
2379
2386
|
_body[:tags] = tags if tags != SENTINEL
|
2380
2387
|
_body[:space_ids] = space_ids if space_ids != SENTINEL
|
@@ -2386,6 +2393,7 @@ module Carbon
|
|
2386
2393
|
_body[:generate_sparse_vectors] = generate_sparse_vectors if generate_sparse_vectors != SENTINEL
|
2387
2394
|
_body[:prepend_filename_to_chunks] = prepend_filename_to_chunks if prepend_filename_to_chunks != SENTINEL
|
2388
2395
|
_body[:request_id] = request_id if request_id != SENTINEL
|
2396
|
+
_body[:file_sync_config] = file_sync_config if file_sync_config != SENTINEL
|
2389
2397
|
gitbook_sync_request = _body
|
2390
2398
|
sync_gitbook_with_http_info_impl(gitbook_sync_request, extra)
|
2391
2399
|
end
|
@@ -20,9 +20,10 @@ module Carbon
|
|
20
20
|
RATE_LIMITED = "RATE_LIMITED".freeze
|
21
21
|
SYNC_ABORTED = "SYNC_ABORTED".freeze
|
22
22
|
QUEUED_FOR_OCR = "QUEUED_FOR_OCR".freeze
|
23
|
+
READY_TO_SYNC = "READY_TO_SYNC".freeze
|
23
24
|
|
24
25
|
def self.all_vars
|
25
|
-
@all_vars ||= [DELAYED, QUEUED_FOR_SYNC, SYNCING, READY, SYNC_ERROR, EVALUATING_RESYNC, RATE_LIMITED, SYNC_ABORTED, QUEUED_FOR_OCR].freeze
|
26
|
+
@all_vars ||= [DELAYED, QUEUED_FOR_SYNC, SYNCING, READY, SYNC_ERROR, EVALUATING_RESYNC, RATE_LIMITED, SYNC_ABORTED, QUEUED_FOR_OCR, READY_TO_SYNC].freeze
|
26
27
|
end
|
27
28
|
|
28
29
|
# Builds the enum from string
|
@@ -31,6 +31,9 @@ module Carbon
|
|
31
31
|
# If this flag is enabled, the file will be chunked and stored with Carbon, but no embeddings will be generated. This overrides the skip_embedding_generation flag.
|
32
32
|
attr_accessor :generate_chunks_only
|
33
33
|
|
34
|
+
# Setting this flag will create a new file record with Carbon but skip any and all processing. This means that we do not download the remote file content or generate any chunks or embeddings. We will store some metadata like name, external id, and external URL depending on the source you are syncing from. Note that this flag overrides both skip_embedding_generation and generate_chunks_only flags. The file will be moved to READY_TO_SYNC status.
|
35
|
+
attr_accessor :skip_file_processing
|
36
|
+
|
34
37
|
# Attribute mapping from ruby-style variable name to JSON key.
|
35
38
|
def self.attribute_map
|
36
39
|
{
|
@@ -40,7 +43,8 @@ module Carbon
|
|
40
43
|
:'transcription_service' => :'transcription_service',
|
41
44
|
:'include_speaker_labels' => :'include_speaker_labels',
|
42
45
|
:'split_rows' => :'split_rows',
|
43
|
-
:'generate_chunks_only' => :'generate_chunks_only'
|
46
|
+
:'generate_chunks_only' => :'generate_chunks_only',
|
47
|
+
:'skip_file_processing' => :'skip_file_processing'
|
44
48
|
}
|
45
49
|
end
|
46
50
|
|
@@ -58,7 +62,8 @@ module Carbon
|
|
58
62
|
:'transcription_service' => :'TranscriptionServiceNullable',
|
59
63
|
:'include_speaker_labels' => :'Boolean',
|
60
64
|
:'split_rows' => :'Boolean',
|
61
|
-
:'generate_chunks_only' => :'Boolean'
|
65
|
+
:'generate_chunks_only' => :'Boolean',
|
66
|
+
:'skip_file_processing' => :'Boolean'
|
62
67
|
}
|
63
68
|
end
|
64
69
|
|
@@ -123,6 +128,12 @@ module Carbon
|
|
123
128
|
else
|
124
129
|
self.generate_chunks_only = false
|
125
130
|
end
|
131
|
+
|
132
|
+
if attributes.key?(:'skip_file_processing')
|
133
|
+
self.skip_file_processing = attributes[:'skip_file_processing']
|
134
|
+
else
|
135
|
+
self.skip_file_processing = false
|
136
|
+
end
|
126
137
|
end
|
127
138
|
|
128
139
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -149,7 +160,8 @@ module Carbon
|
|
149
160
|
transcription_service == o.transcription_service &&
|
150
161
|
include_speaker_labels == o.include_speaker_labels &&
|
151
162
|
split_rows == o.split_rows &&
|
152
|
-
generate_chunks_only == o.generate_chunks_only
|
163
|
+
generate_chunks_only == o.generate_chunks_only &&
|
164
|
+
skip_file_processing == o.skip_file_processing
|
153
165
|
end
|
154
166
|
|
155
167
|
# @see the `==` method
|
@@ -161,7 +173,7 @@ module Carbon
|
|
161
173
|
# Calculates hash code according to all attributes.
|
162
174
|
# @return [Integer] Hash code
|
163
175
|
def hash
|
164
|
-
[auto_synced_source_types, sync_attachments, detect_audio_language, transcription_service, include_speaker_labels, split_rows, generate_chunks_only].hash
|
176
|
+
[auto_synced_source_types, sync_attachments, detect_audio_language, transcription_service, include_speaker_labels, split_rows, generate_chunks_only, skip_file_processing].hash
|
165
177
|
end
|
166
178
|
|
167
179
|
# Builds the object from hash
|
@@ -32,6 +32,9 @@ module Carbon
|
|
32
32
|
# If this flag is enabled, the file will be chunked and stored with Carbon, but no embeddings will be generated. This overrides the skip_embedding_generation flag.
|
33
33
|
attr_accessor :generate_chunks_only
|
34
34
|
|
35
|
+
# Setting this flag will create a new file record with Carbon but skip any and all processing. This means that we do not download the remote file content or generate any chunks or embeddings. We will store some metadata like name, external id, and external URL depending on the source you are syncing from. Note that this flag overrides both skip_embedding_generation and generate_chunks_only flags. The file will be moved to READY_TO_SYNC status.
|
36
|
+
attr_accessor :skip_file_processing
|
37
|
+
|
35
38
|
# Attribute mapping from ruby-style variable name to JSON key.
|
36
39
|
def self.attribute_map
|
37
40
|
{
|
@@ -41,7 +44,8 @@ module Carbon
|
|
41
44
|
:'transcription_service' => :'transcription_service',
|
42
45
|
:'include_speaker_labels' => :'include_speaker_labels',
|
43
46
|
:'split_rows' => :'split_rows',
|
44
|
-
:'generate_chunks_only' => :'generate_chunks_only'
|
47
|
+
:'generate_chunks_only' => :'generate_chunks_only',
|
48
|
+
:'skip_file_processing' => :'skip_file_processing'
|
45
49
|
}
|
46
50
|
end
|
47
51
|
|
@@ -59,7 +63,8 @@ module Carbon
|
|
59
63
|
:'transcription_service' => :'TranscriptionServiceNullable',
|
60
64
|
:'include_speaker_labels' => :'Boolean',
|
61
65
|
:'split_rows' => :'Boolean',
|
62
|
-
:'generate_chunks_only' => :'Boolean'
|
66
|
+
:'generate_chunks_only' => :'Boolean',
|
67
|
+
:'skip_file_processing' => :'Boolean'
|
63
68
|
}
|
64
69
|
end
|
65
70
|
|
@@ -124,6 +129,12 @@ module Carbon
|
|
124
129
|
else
|
125
130
|
self.generate_chunks_only = false
|
126
131
|
end
|
132
|
+
|
133
|
+
if attributes.key?(:'skip_file_processing')
|
134
|
+
self.skip_file_processing = attributes[:'skip_file_processing']
|
135
|
+
else
|
136
|
+
self.skip_file_processing = false
|
137
|
+
end
|
127
138
|
end
|
128
139
|
|
129
140
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -150,7 +161,8 @@ module Carbon
|
|
150
161
|
transcription_service == o.transcription_service &&
|
151
162
|
include_speaker_labels == o.include_speaker_labels &&
|
152
163
|
split_rows == o.split_rows &&
|
153
|
-
generate_chunks_only == o.generate_chunks_only
|
164
|
+
generate_chunks_only == o.generate_chunks_only &&
|
165
|
+
skip_file_processing == o.skip_file_processing
|
154
166
|
end
|
155
167
|
|
156
168
|
# @see the `==` method
|
@@ -162,7 +174,7 @@ module Carbon
|
|
162
174
|
# Calculates hash code according to all attributes.
|
163
175
|
# @return [Integer] Hash code
|
164
176
|
def hash
|
165
|
-
[auto_synced_source_types, sync_attachments, detect_audio_language, transcription_service, include_speaker_labels, split_rows, generate_chunks_only].hash
|
177
|
+
[auto_synced_source_types, sync_attachments, detect_audio_language, transcription_service, include_speaker_labels, split_rows, generate_chunks_only, skip_file_processing].hash
|
166
178
|
end
|
167
179
|
|
168
180
|
# Builds the object from hash
|
@@ -36,6 +36,8 @@ module Carbon
|
|
36
36
|
# Enabling this flag will fetch all available content from the source to be listed via list items endpoint
|
37
37
|
attr_accessor :sync_source_items
|
38
38
|
|
39
|
+
attr_accessor :file_sync_config
|
40
|
+
|
39
41
|
# Attribute mapping from ruby-style variable name to JSON key.
|
40
42
|
def self.attribute_map
|
41
43
|
{
|
@@ -50,7 +52,8 @@ module Carbon
|
|
50
52
|
:'prepend_filename_to_chunks' => :'prepend_filename_to_chunks',
|
51
53
|
:'sync_files_on_connection' => :'sync_files_on_connection',
|
52
54
|
:'request_id' => :'request_id',
|
53
|
-
:'sync_source_items' => :'sync_source_items'
|
55
|
+
:'sync_source_items' => :'sync_source_items',
|
56
|
+
:'file_sync_config' => :'file_sync_config'
|
54
57
|
}
|
55
58
|
end
|
56
59
|
|
@@ -73,7 +76,8 @@ module Carbon
|
|
73
76
|
:'prepend_filename_to_chunks' => :'Boolean',
|
74
77
|
:'sync_files_on_connection' => :'Boolean',
|
75
78
|
:'request_id' => :'String',
|
76
|
-
:'sync_source_items' => :'Boolean'
|
79
|
+
:'sync_source_items' => :'Boolean',
|
80
|
+
:'file_sync_config' => :'FileSyncConfigNullable'
|
77
81
|
}
|
78
82
|
end
|
79
83
|
|
@@ -88,6 +92,7 @@ module Carbon
|
|
88
92
|
:'prepend_filename_to_chunks',
|
89
93
|
:'sync_files_on_connection',
|
90
94
|
:'request_id',
|
95
|
+
:'file_sync_config'
|
91
96
|
])
|
92
97
|
end
|
93
98
|
|
@@ -169,6 +174,10 @@ module Carbon
|
|
169
174
|
else
|
170
175
|
self.sync_source_items = true
|
171
176
|
end
|
177
|
+
|
178
|
+
if attributes.key?(:'file_sync_config')
|
179
|
+
self.file_sync_config = attributes[:'file_sync_config']
|
180
|
+
end
|
172
181
|
end
|
173
182
|
|
174
183
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -210,7 +219,8 @@ module Carbon
|
|
210
219
|
prepend_filename_to_chunks == o.prepend_filename_to_chunks &&
|
211
220
|
sync_files_on_connection == o.sync_files_on_connection &&
|
212
221
|
request_id == o.request_id &&
|
213
|
-
sync_source_items == o.sync_source_items
|
222
|
+
sync_source_items == o.sync_source_items &&
|
223
|
+
file_sync_config == o.file_sync_config
|
214
224
|
end
|
215
225
|
|
216
226
|
# @see the `==` method
|
@@ -222,7 +232,7 @@ module Carbon
|
|
222
232
|
# Calculates hash code according to all attributes.
|
223
233
|
# @return [Integer] Hash code
|
224
234
|
def hash
|
225
|
-
[tags, organization, access_token, chunk_size, chunk_overlap, skip_embedding_generation, embedding_model, generate_sparse_vectors, prepend_filename_to_chunks, sync_files_on_connection, request_id, sync_source_items].hash
|
235
|
+
[tags, organization, access_token, chunk_size, chunk_overlap, skip_embedding_generation, embedding_model, generate_sparse_vectors, prepend_filename_to_chunks, sync_files_on_connection, request_id, sync_source_items, file_sync_config].hash
|
226
236
|
end
|
227
237
|
|
228
238
|
# Builds the object from hash
|
@@ -31,6 +31,8 @@ module Carbon
|
|
31
31
|
|
32
32
|
attr_accessor :request_id
|
33
33
|
|
34
|
+
attr_accessor :file_sync_config
|
35
|
+
|
34
36
|
# Attribute mapping from ruby-style variable name to JSON key.
|
35
37
|
def self.attribute_map
|
36
38
|
{
|
@@ -43,7 +45,8 @@ module Carbon
|
|
43
45
|
:'embedding_model' => :'embedding_model',
|
44
46
|
:'generate_sparse_vectors' => :'generate_sparse_vectors',
|
45
47
|
:'prepend_filename_to_chunks' => :'prepend_filename_to_chunks',
|
46
|
-
:'request_id' => :'request_id'
|
48
|
+
:'request_id' => :'request_id',
|
49
|
+
:'file_sync_config' => :'file_sync_config'
|
47
50
|
}
|
48
51
|
end
|
49
52
|
|
@@ -64,7 +67,8 @@ module Carbon
|
|
64
67
|
:'embedding_model' => :'EmbeddingGenerators',
|
65
68
|
:'generate_sparse_vectors' => :'Boolean',
|
66
69
|
:'prepend_filename_to_chunks' => :'Boolean',
|
67
|
-
:'request_id' => :'String'
|
70
|
+
:'request_id' => :'String',
|
71
|
+
:'file_sync_config' => :'FileSyncConfigNullable'
|
68
72
|
}
|
69
73
|
end
|
70
74
|
|
@@ -77,7 +81,8 @@ module Carbon
|
|
77
81
|
:'skip_embedding_generation',
|
78
82
|
:'generate_sparse_vectors',
|
79
83
|
:'prepend_filename_to_chunks',
|
80
|
-
:'request_id'
|
84
|
+
:'request_id',
|
85
|
+
:'file_sync_config'
|
81
86
|
])
|
82
87
|
end
|
83
88
|
|
@@ -149,6 +154,10 @@ module Carbon
|
|
149
154
|
if attributes.key?(:'request_id')
|
150
155
|
self.request_id = attributes[:'request_id']
|
151
156
|
end
|
157
|
+
|
158
|
+
if attributes.key?(:'file_sync_config')
|
159
|
+
self.file_sync_config = attributes[:'file_sync_config']
|
160
|
+
end
|
152
161
|
end
|
153
162
|
|
154
163
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -207,7 +216,8 @@ module Carbon
|
|
207
216
|
embedding_model == o.embedding_model &&
|
208
217
|
generate_sparse_vectors == o.generate_sparse_vectors &&
|
209
218
|
prepend_filename_to_chunks == o.prepend_filename_to_chunks &&
|
210
|
-
request_id == o.request_id
|
219
|
+
request_id == o.request_id &&
|
220
|
+
file_sync_config == o.file_sync_config
|
211
221
|
end
|
212
222
|
|
213
223
|
# @see the `==` method
|
@@ -219,7 +229,7 @@ module Carbon
|
|
219
229
|
# Calculates hash code according to all attributes.
|
220
230
|
# @return [Integer] Hash code
|
221
231
|
def hash
|
222
|
-
[tags, space_ids, data_source_id, chunk_size, chunk_overlap, skip_embedding_generation, embedding_model, generate_sparse_vectors, prepend_filename_to_chunks, request_id].hash
|
232
|
+
[tags, space_ids, data_source_id, chunk_size, chunk_overlap, skip_embedding_generation, embedding_model, generate_sparse_vectors, prepend_filename_to_chunks, request_id, file_sync_config].hash
|
223
233
|
end
|
224
234
|
|
225
235
|
# Builds the object from hash
|
@@ -19,13 +19,16 @@ module Carbon
|
|
19
19
|
|
20
20
|
attr_accessor :force_embedding_generation
|
21
21
|
|
22
|
+
attr_accessor :skip_file_processing
|
23
|
+
|
22
24
|
# Attribute mapping from ruby-style variable name to JSON key.
|
23
25
|
def self.attribute_map
|
24
26
|
{
|
25
27
|
:'file_id' => :'file_id',
|
26
28
|
:'chunk_size' => :'chunk_size',
|
27
29
|
:'chunk_overlap' => :'chunk_overlap',
|
28
|
-
:'force_embedding_generation' => :'force_embedding_generation'
|
30
|
+
:'force_embedding_generation' => :'force_embedding_generation',
|
31
|
+
:'skip_file_processing' => :'skip_file_processing'
|
29
32
|
}
|
30
33
|
end
|
31
34
|
|
@@ -40,7 +43,8 @@ module Carbon
|
|
40
43
|
:'file_id' => :'Integer',
|
41
44
|
:'chunk_size' => :'Integer',
|
42
45
|
:'chunk_overlap' => :'Integer',
|
43
|
-
:'force_embedding_generation' => :'Boolean'
|
46
|
+
:'force_embedding_generation' => :'Boolean',
|
47
|
+
:'skip_file_processing' => :'Boolean'
|
44
48
|
}
|
45
49
|
end
|
46
50
|
|
@@ -49,6 +53,7 @@ module Carbon
|
|
49
53
|
Set.new([
|
50
54
|
:'chunk_size',
|
51
55
|
:'chunk_overlap',
|
56
|
+
:'skip_file_processing'
|
52
57
|
])
|
53
58
|
end
|
54
59
|
|
@@ -84,6 +89,12 @@ module Carbon
|
|
84
89
|
else
|
85
90
|
self.force_embedding_generation = false
|
86
91
|
end
|
92
|
+
|
93
|
+
if attributes.key?(:'skip_file_processing')
|
94
|
+
self.skip_file_processing = attributes[:'skip_file_processing']
|
95
|
+
else
|
96
|
+
self.skip_file_processing = false
|
97
|
+
end
|
87
98
|
end
|
88
99
|
|
89
100
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -112,7 +123,8 @@ module Carbon
|
|
112
123
|
file_id == o.file_id &&
|
113
124
|
chunk_size == o.chunk_size &&
|
114
125
|
chunk_overlap == o.chunk_overlap &&
|
115
|
-
force_embedding_generation == o.force_embedding_generation
|
126
|
+
force_embedding_generation == o.force_embedding_generation &&
|
127
|
+
skip_file_processing == o.skip_file_processing
|
116
128
|
end
|
117
129
|
|
118
130
|
# @see the `==` method
|
@@ -124,7 +136,7 @@ module Carbon
|
|
124
136
|
# Calculates hash code according to all attributes.
|
125
137
|
# @return [Integer] Hash code
|
126
138
|
def hash
|
127
|
-
[file_id, chunk_size, chunk_overlap, force_embedding_generation].hash
|
139
|
+
[file_id, chunk_size, chunk_overlap, force_embedding_generation, skip_file_processing].hash
|
128
140
|
end
|
129
141
|
|
130
142
|
# Builds the object from hash
|
@@ -61,4 +61,10 @@ describe Carbon::FileSyncConfigNullable do
|
|
61
61
|
end
|
62
62
|
end
|
63
63
|
|
64
|
+
describe 'test attribute "skip_file_processing"' 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
|
+
|
64
70
|
end
|
@@ -91,4 +91,10 @@ describe Carbon::GitbookConnectRequest do
|
|
91
91
|
end
|
92
92
|
end
|
93
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
|
+
|
94
100
|
end
|
@@ -43,4 +43,10 @@ describe Carbon::ResyncFileQueryInput do
|
|
43
43
|
end
|
44
44
|
end
|
45
45
|
|
46
|
+
describe 'test attribute "skip_file_processing"' 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
|
+
|
46
52
|
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.34
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Konfig
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-09-
|
11
|
+
date: 2024-09-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
@@ -475,185 +475,185 @@ signing_key:
|
|
475
475
|
specification_version: 4
|
476
476
|
summary: Carbon Ruby Gem
|
477
477
|
test_files:
|
478
|
-
- spec/api/integrations_api_spec.rb
|
479
|
-
- spec/api/organizations_api_spec.rb
|
480
478
|
- spec/api/files_api_spec.rb
|
481
|
-
- spec/api/auth_api_spec.rb
|
482
479
|
- spec/api/embeddings_api_spec.rb
|
480
|
+
- spec/api/auth_api_spec.rb
|
481
|
+
- spec/api/organizations_api_spec.rb
|
482
|
+
- spec/api/integrations_api_spec.rb
|
483
483
|
- spec/api/users_api_spec.rb
|
484
|
-
- spec/api/webhooks_api_spec.rb
|
485
|
-
- spec/api/utilities_api_spec.rb
|
486
484
|
- spec/api/data_sources_api_spec.rb
|
485
|
+
- spec/api/utilities_api_spec.rb
|
486
|
+
- spec/api/webhooks_api_spec.rb
|
487
487
|
- spec/api_client_spec.rb
|
488
488
|
- spec/configuration_spec.rb
|
489
489
|
- spec/getting_started_spec.rb
|
490
|
-
- spec/models/
|
491
|
-
- spec/models/
|
490
|
+
- spec/models/delete_users_input_spec.rb
|
491
|
+
- spec/models/body_create_upload_file_uploadfile_post_spec.rb
|
492
|
+
- spec/models/pagination_spec.rb
|
493
|
+
- spec/models/organization_user_file_tags_remove_spec.rb
|
494
|
+
- spec/models/sent_webhook_payload_object_spec.rb
|
495
|
+
- spec/models/s3_get_file_input_spec.rb
|
496
|
+
- spec/models/embeddings_and_chunks_filters_spec.rb
|
497
|
+
- spec/models/service_now_credentials_nullable_spec.rb
|
492
498
|
- spec/models/generic_success_response_spec.rb
|
493
|
-
- spec/models/
|
494
|
-
- spec/models/
|
495
|
-
- spec/models/
|
496
|
-
- spec/models/
|
499
|
+
- spec/models/source_property_spec.rb
|
500
|
+
- spec/models/rerank_params_nullable_spec.rb
|
501
|
+
- spec/models/sync_files_request_spec.rb
|
502
|
+
- spec/models/gitbook_authetication_spec.rb
|
497
503
|
- spec/models/custom_credentials_type_spec.rb
|
498
|
-
- spec/models/update_organization_input_spec.rb
|
499
|
-
- spec/models/data_source_type_nullable_spec.rb
|
500
|
-
- spec/models/guru_connect_request_spec.rb
|
501
|
-
- spec/models/validation_error_spec.rb
|
502
|
-
- spec/models/token_response_spec.rb
|
503
|
-
- spec/models/user_configuration_nullable_spec.rb
|
504
|
-
- spec/models/list_users_request_spec.rb
|
505
|
-
- spec/models/resync_file_query_input_spec.rb
|
506
|
-
- spec/models/sent_webhook_request_body_spec.rb
|
507
|
-
- spec/models/organization_user_data_source_filters_spec.rb
|
508
|
-
- spec/models/external_source_item_spec.rb
|
509
504
|
- spec/models/sync_files_ids_spec.rb
|
510
|
-
- spec/models/
|
511
|
-
- spec/models/
|
512
|
-
- spec/models/
|
513
|
-
- spec/models/embedding_generators_spec.rb
|
514
|
-
- spec/models/user_file_spec.rb
|
515
|
-
- spec/models/tags_spec.rb
|
516
|
-
- spec/models/text_embedding_generators_spec.rb
|
517
|
-
- spec/models/data_source_type_spec.rb
|
505
|
+
- spec/models/webhook_query_response_spec.rb
|
506
|
+
- spec/models/organization_user_data_source_filters_spec.rb
|
507
|
+
- spec/models/token_response_spec.rb
|
518
508
|
- spec/models/raw_text_input_spec.rb
|
519
|
-
- spec/models/
|
509
|
+
- spec/models/single_chunks_and_embeddings_upload_input_spec.rb
|
510
|
+
- spec/models/auto_synced_source_types_property_inner_spec.rb
|
511
|
+
- spec/models/s3_file_sync_input_spec.rb
|
512
|
+
- spec/models/webhook_query_input_spec.rb
|
513
|
+
- spec/models/directory_item_spec.rb
|
514
|
+
- spec/models/simple_o_auth_data_sources_spec.rb
|
515
|
+
- spec/models/transcription_service_nullable_spec.rb
|
516
|
+
- spec/models/fetch_urls_request_spec.rb
|
520
517
|
- spec/models/chunks_and_embeddings_upload_input_spec.rb
|
521
|
-
- spec/models/
|
522
|
-
- spec/models/
|
523
|
-
- spec/models/
|
524
|
-
- spec/models/outlook_sync_input_spec.rb
|
525
|
-
- spec/models/connect_data_source_response_spec.rb
|
526
|
-
- spec/models/s3_get_file_input_spec.rb
|
527
|
-
- spec/models/location_property_inner_spec.rb
|
528
|
-
- spec/models/gong_authentication_spec.rb
|
529
|
-
- spec/models/document_response_spec.rb
|
530
|
-
- spec/models/document_response_list_spec.rb
|
531
|
-
- spec/models/list_user_response_spec.rb
|
532
|
-
- spec/models/file_formats_spec.rb
|
533
|
-
- spec/models/modify_user_configuration_input_spec.rb
|
534
|
-
- spec/models/add_webhook_props_spec.rb
|
535
|
-
- spec/models/order_dir_spec.rb
|
536
|
-
- spec/models/embedding_storage_status_spec.rb
|
537
|
-
- spec/models/delete_users_input_spec.rb
|
518
|
+
- spec/models/organization_user_data_source_api_spec.rb
|
519
|
+
- spec/models/http_validation_error_spec.rb
|
520
|
+
- spec/models/list_users_order_by_types_spec.rb
|
538
521
|
- spec/models/user_request_content_spec.rb
|
539
|
-
- spec/models/
|
540
|
-
- spec/models/
|
541
|
-
- spec/models/
|
542
|
-
- spec/models/
|
543
|
-
- spec/models/
|
522
|
+
- spec/models/resync_file_query_input_spec.rb
|
523
|
+
- spec/models/sitemap_scrape_request_spec.rb
|
524
|
+
- spec/models/embeddings_and_chunks_order_by_columns_spec.rb
|
525
|
+
- spec/models/s3_authentication_spec.rb
|
526
|
+
- spec/models/list_response_spec.rb
|
527
|
+
- spec/models/outh_url_response_spec.rb
|
528
|
+
- spec/models/file_formats_nullable_spec.rb
|
529
|
+
- spec/models/sent_webhook_payload_spec.rb
|
530
|
+
- spec/models/organization_user_data_source_response_spec.rb
|
531
|
+
- spec/models/file_sync_config_spec.rb
|
544
532
|
- spec/models/list_data_source_items_request_spec.rb
|
545
|
-
- spec/models/
|
546
|
-
- spec/models/
|
547
|
-
- spec/models/
|
548
|
-
- spec/models/
|
549
|
-
- spec/models/
|
550
|
-
- spec/models/
|
551
|
-
- spec/models/
|
552
|
-
- spec/models/
|
553
|
-
- spec/models/organization_user_file_tag_create_spec.rb
|
554
|
-
- spec/models/embeddings_and_chunks_query_input_spec.rb
|
555
|
-
- spec/models/zotero_authentication_spec.rb
|
556
|
-
- spec/models/sync_directory_request_spec.rb
|
533
|
+
- spec/models/location_property_inner_spec.rb
|
534
|
+
- spec/models/sharepoint_authentication_spec.rb
|
535
|
+
- spec/models/list_items_filters_nullable_spec.rb
|
536
|
+
- spec/models/delete_files_v2_query_input_spec.rb
|
537
|
+
- spec/models/notion_authentication_spec.rb
|
538
|
+
- spec/models/file_content_types_nullable_spec.rb
|
539
|
+
- spec/models/delete_files_query_input_spec.rb
|
540
|
+
- spec/models/github_fetch_repos_request_spec.rb
|
557
541
|
- spec/models/rank_property_spec.rb
|
558
|
-
- spec/models/
|
559
|
-
- spec/models/
|
560
|
-
- spec/models/
|
561
|
-
- spec/models/
|
562
|
-
- spec/models/
|
563
|
-
- spec/models/
|
564
|
-
- spec/models/
|
542
|
+
- spec/models/salesforce_authentication_spec.rb
|
543
|
+
- spec/models/webhook_status_spec.rb
|
544
|
+
- spec/models/youtube_transcript_response_spec.rb
|
545
|
+
- spec/models/modify_user_configuration_input_spec.rb
|
546
|
+
- spec/models/slack_filters_spec.rb
|
547
|
+
- spec/models/user_configuration_nullable_spec.rb
|
548
|
+
- spec/models/file_formats_spec.rb
|
549
|
+
- spec/models/gong_authentication_spec.rb
|
550
|
+
- spec/models/webhook_no_key_spec.rb
|
551
|
+
- spec/models/zendesk_authentication_spec.rb
|
552
|
+
- spec/models/sent_webhook_payload_object_object_id_spec.rb
|
565
553
|
- spec/models/list_data_source_items_response_spec.rb
|
566
|
-
- spec/models/
|
567
|
-
- spec/models/
|
554
|
+
- spec/models/list_users_request_spec.rb
|
555
|
+
- spec/models/organization_user_data_source_order_by_columns_spec.rb
|
556
|
+
- spec/models/organization_user_files_to_sync_filters_spec.rb
|
557
|
+
- spec/models/organization_user_files_to_sync_order_by_types_spec.rb
|
568
558
|
- spec/models/github_connect_request_spec.rb
|
569
|
-
- spec/models/embeddings_and_chunks_order_by_columns_spec.rb
|
570
|
-
- spec/models/organization_response_spec.rb
|
571
|
-
- spec/models/list_request_spec.rb
|
572
|
-
- spec/models/external_source_items_order_by_spec.rb
|
573
|
-
- spec/models/gitbook_connect_request_spec.rb
|
574
|
-
- spec/models/sharepoint_authentication_spec.rb
|
575
|
-
- spec/models/embedding_and_chunk_spec.rb
|
576
|
-
- spec/models/file_statistics_nullable_spec.rb
|
577
559
|
- spec/models/fresh_desk_connect_request_spec.rb
|
578
|
-
- spec/models/
|
579
|
-
- spec/models/organization_user_files_to_sync_order_by_types_spec.rb
|
580
|
-
- spec/models/outh_url_response_spec.rb
|
581
|
-
- spec/models/s3_authentication_spec.rb
|
560
|
+
- spec/models/order_dir_v2_spec.rb
|
582
561
|
- spec/models/user_configuration_spec.rb
|
583
|
-
- spec/models/
|
584
|
-
- spec/models/object_type_spec.rb
|
562
|
+
- spec/models/chunk_properties_nullable_spec.rb
|
585
563
|
- spec/models/confluence_authentication_spec.rb
|
586
|
-
- spec/models/
|
587
|
-
- spec/models/
|
588
|
-
- spec/models/
|
589
|
-
- spec/models/
|
590
|
-
- spec/models/
|
591
|
-
- spec/models/
|
592
|
-
- spec/models/file_statistics_spec.rb
|
593
|
-
- spec/models/user_files_v2_spec.rb
|
594
|
-
- spec/models/data_source_sync_statuses_spec.rb
|
595
|
-
- spec/models/file_formats_nullable_spec.rb
|
564
|
+
- spec/models/ids_property_spec.rb
|
565
|
+
- spec/models/sync_directory_request_spec.rb
|
566
|
+
- spec/models/helpdesk_file_types_spec.rb
|
567
|
+
- spec/models/organization_user_data_source_query_input_spec.rb
|
568
|
+
- spec/models/revoke_access_token_input_spec.rb
|
569
|
+
- spec/models/external_file_sync_statuses_spec.rb
|
596
570
|
- spec/models/sync_options_spec.rb
|
597
|
-
- spec/models/move_to_hot_storage_query_input_spec.rb
|
598
571
|
- spec/models/white_labeling_response_spec.rb
|
599
|
-
- spec/models/
|
600
|
-
- spec/models/
|
601
|
-
- spec/models/
|
602
|
-
- spec/models/
|
603
|
-
- spec/models/
|
572
|
+
- spec/models/o_auth_url_request_spec.rb
|
573
|
+
- spec/models/rerank_params_spec.rb
|
574
|
+
- spec/models/gitbook_sync_request_spec.rb
|
575
|
+
- spec/models/data_source_configuration_spec.rb
|
576
|
+
- spec/models/get_embedding_documents_body_spec.rb
|
577
|
+
- spec/models/document_response_spec.rb
|
578
|
+
- spec/models/object_type_spec.rb
|
579
|
+
- spec/models/embedding_generators_spec.rb
|
580
|
+
- spec/models/slack_sync_request_spec.rb
|
581
|
+
- spec/models/gitbook_connect_request_spec.rb
|
604
582
|
- spec/models/webscrape_request_spec.rb
|
583
|
+
- spec/models/external_source_items_order_by_spec.rb
|
584
|
+
- spec/models/hybrid_search_tuning_params_spec.rb
|
585
|
+
- spec/models/webhook_order_by_columns_spec.rb
|
586
|
+
- spec/models/embedding_storage_status_spec.rb
|
587
|
+
- spec/models/auto_sync_enabled_sources_property_spec.rb
|
588
|
+
- spec/models/guru_authentication_spec.rb
|
589
|
+
- spec/models/list_users_filters_spec.rb
|
590
|
+
- spec/models/file_content_types_spec.rb
|
591
|
+
- spec/models/raw_transcript_property_inner_value_spec.rb
|
592
|
+
- spec/models/user_web_pages_filters_spec.rb
|
593
|
+
- spec/models/user_list_response_spec.rb
|
594
|
+
- spec/models/rss_feed_input_spec.rb
|
595
|
+
- spec/models/file_statistics_spec.rb
|
596
|
+
- spec/models/sent_webhook_payload_object_additional_information_spec.rb
|
597
|
+
- spec/models/service_now_file_types_spec.rb
|
598
|
+
- spec/models/modify_cold_storage_parameters_query_input_spec.rb
|
599
|
+
- spec/models/user_web_page_order_by_types_spec.rb
|
600
|
+
- spec/models/document_response_list_spec.rb
|
601
|
+
- spec/models/data_source_type_spec.rb
|
602
|
+
- spec/models/webhook_filters_spec.rb
|
603
|
+
- spec/models/user_file_spec.rb
|
604
|
+
- spec/models/list_request_spec.rb
|
605
|
+
- spec/models/outlook_sync_input_spec.rb
|
605
606
|
- spec/models/update_users_input_spec.rb
|
606
|
-
- spec/models/
|
607
|
-
- spec/models/
|
607
|
+
- spec/models/zotero_authentication_spec.rb
|
608
|
+
- spec/models/service_now_authentication_spec.rb
|
609
|
+
- spec/models/service_now_credentials_spec.rb
|
610
|
+
- spec/models/embeddings_and_chunks_query_input_spec.rb
|
611
|
+
- spec/models/embedding_model_spec.rb
|
612
|
+
- spec/models/external_source_item_spec.rb
|
613
|
+
- spec/models/hybrid_search_tuning_params_nullable_spec.rb
|
614
|
+
- spec/models/organization_user_file_tag_create_spec.rb
|
615
|
+
- spec/models/fetch_urls_response_spec.rb
|
608
616
|
- spec/models/oauth_based_connectors_spec.rb
|
609
|
-
- spec/models/
|
610
|
-
- spec/models/
|
611
|
-
- spec/models/
|
612
|
-
- spec/models/
|
613
|
-
- spec/models/
|
614
|
-
- spec/models/
|
615
|
-
- spec/models/gmail_sync_input_spec.rb
|
616
|
-
- spec/models/transcription_service_nullable_spec.rb
|
617
|
-
- spec/models/s3_file_sync_input_spec.rb
|
618
|
-
- spec/models/http_validation_error_spec.rb
|
619
|
-
- spec/models/slack_sync_request_spec.rb
|
620
|
-
- spec/models/auto_sync_enabled_sources_property_spec.rb
|
621
|
-
- spec/models/delete_files_v2_query_input_spec.rb
|
622
|
-
- spec/models/webhook_status_spec.rb
|
623
|
-
- spec/models/file_sync_config_spec.rb
|
624
|
-
- spec/models/organization_user_data_source_order_by_columns_spec.rb
|
625
|
-
- spec/models/github_fetch_repos_request_spec.rb
|
626
|
-
- spec/models/webhook_query_response_spec.rb
|
627
|
-
- spec/models/chunks_and_embeddings_spec.rb
|
628
|
-
- spec/models/revoke_access_token_input_spec.rb
|
629
|
-
- spec/models/webhook_query_input_spec.rb
|
630
|
-
- spec/models/organization_user_file_tags_remove_spec.rb
|
617
|
+
- spec/models/guru_connect_request_spec.rb
|
618
|
+
- spec/models/update_organization_input_spec.rb
|
619
|
+
- spec/models/tags1_spec.rb
|
620
|
+
- spec/models/file_statistics_nullable_spec.rb
|
621
|
+
- spec/models/presigned_url_response_spec.rb
|
622
|
+
- spec/models/connect_data_source_input_spec.rb
|
631
623
|
- spec/models/freskdesk_authentication_spec.rb
|
632
|
-
- spec/models/
|
633
|
-
- spec/models/sent_webhook_payload_object_spec.rb
|
634
|
-
- spec/models/gitbook_authetication_spec.rb
|
635
|
-
- spec/models/helpdesk_file_types_spec.rb
|
636
|
-
- spec/models/chunk_properties_nullable_spec.rb
|
624
|
+
- spec/models/embedding_and_chunk_spec.rb
|
637
625
|
- spec/models/github_authentication_spec.rb
|
638
|
-
- spec/models/
|
639
|
-
- spec/models/
|
640
|
-
- spec/models/
|
641
|
-
- spec/models/
|
642
|
-
- spec/models/file_content_types_nullable_spec.rb
|
643
|
-
- spec/models/user_web_pages_filters_spec.rb
|
644
|
-
- spec/models/single_chunks_and_embeddings_upload_input_spec.rb
|
645
|
-
- spec/models/data_source_last_sync_actions_spec.rb
|
646
|
-
- spec/models/delete_files_query_input_spec.rb
|
647
|
-
- spec/models/embedding_generators_nullable_spec.rb
|
626
|
+
- spec/models/user_response_spec.rb
|
627
|
+
- spec/models/embeddings_and_chunks_query_input_v2_spec.rb
|
628
|
+
- spec/models/connect_data_source_response_spec.rb
|
629
|
+
- spec/models/embedding_properties_spec.rb
|
648
630
|
- spec/models/upload_file_from_url_input_spec.rb
|
631
|
+
- spec/models/organization_user_files_to_sync_query_input_spec.rb
|
632
|
+
- spec/models/s3_auth_request_spec.rb
|
633
|
+
- spec/models/gmail_sync_input_spec.rb
|
634
|
+
- spec/models/order_dir_spec.rb
|
649
635
|
- spec/models/cold_storage_props_spec.rb
|
650
|
-
- spec/models/
|
651
|
-
- spec/models/
|
652
|
-
- spec/models/
|
653
|
-
- spec/models/
|
654
|
-
- spec/models/
|
655
|
-
- spec/models/
|
656
|
-
- spec/models/
|
657
|
-
- spec/models/
|
658
|
-
- spec/models/
|
636
|
+
- spec/models/user_files_v2_spec.rb
|
637
|
+
- spec/models/embedding_generators_nullable_spec.rb
|
638
|
+
- spec/models/chunks_and_embeddings_spec.rb
|
639
|
+
- spec/models/tags_spec.rb
|
640
|
+
- spec/models/sent_webhook_request_body_spec.rb
|
641
|
+
- spec/models/user_web_pages_request_spec.rb
|
642
|
+
- spec/models/data_source_type_nullable_spec.rb
|
643
|
+
- spec/models/text_embedding_generators_spec.rb
|
644
|
+
- spec/models/transcription_service_spec.rb
|
645
|
+
- spec/models/add_webhook_props_spec.rb
|
646
|
+
- spec/models/authentication_property_spec.rb
|
647
|
+
- spec/models/list_user_response_spec.rb
|
648
|
+
- spec/models/move_to_hot_storage_query_input_spec.rb
|
649
|
+
- spec/models/webhook_spec.rb
|
650
|
+
- spec/models/embeddings_and_chunks_response_spec.rb
|
651
|
+
- spec/models/data_source_last_sync_actions_spec.rb
|
652
|
+
- spec/models/file_sync_config_nullable_spec.rb
|
653
|
+
- spec/models/data_source_sync_statuses_spec.rb
|
654
|
+
- spec/models/validation_error_spec.rb
|
655
|
+
- spec/models/organization_response_spec.rb
|
656
|
+
- spec/models/list_items_filters_spec.rb
|
657
|
+
- spec/models/chunk_properties_spec.rb
|
658
|
+
- spec/models/o_auth_authentication_spec.rb
|
659
659
|
- spec/spec_helper.rb
|