carbon_ruby_sdk 0.1.23 → 0.1.25
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 +1 -1
- data/README.md +135 -9
- data/lib/carbon_ruby_sdk/api/embeddings_api.rb +2 -2
- data/lib/carbon_ruby_sdk/api/integrations_api.rb +252 -18
- data/lib/carbon_ruby_sdk/api/organizations_api.rb +92 -0
- data/lib/carbon_ruby_sdk/api/users_api.rb +2 -2
- data/lib/carbon_ruby_sdk/models/chunks_and_embeddings_upload_input.rb +4 -2
- data/lib/carbon_ruby_sdk/models/custom_credentials_type.rb +39 -0
- data/lib/carbon_ruby_sdk/models/embedding_generators.rb +2 -1
- data/lib/carbon_ruby_sdk/models/embedding_generators_nullable.rb +2 -1
- data/lib/carbon_ruby_sdk/models/external_source_items_order_by.rb +37 -0
- data/lib/carbon_ruby_sdk/models/file_statistics.rb +15 -5
- data/lib/carbon_ruby_sdk/models/file_statistics_nullable.rb +15 -5
- data/lib/carbon_ruby_sdk/models/fresh_desk_connect_request.rb +17 -5
- data/lib/carbon_ruby_sdk/models/gitbook_connect_request.rb +17 -5
- data/lib/carbon_ruby_sdk/models/github_connect_request.rb +16 -4
- data/lib/carbon_ruby_sdk/models/github_fetch_repos_request.rb +260 -0
- data/lib/carbon_ruby_sdk/models/list_data_source_items_request.rb +26 -4
- data/lib/carbon_ruby_sdk/models/o_auth_url_request.rb +18 -6
- data/lib/carbon_ruby_sdk/models/order_dir_v2.rb +36 -0
- data/lib/carbon_ruby_sdk/models/organization_response.rb +15 -1
- data/lib/carbon_ruby_sdk/models/organization_user_data_source_api.rb +19 -5
- data/lib/carbon_ruby_sdk/models/s3_auth_request.rb +16 -4
- data/lib/carbon_ruby_sdk/models/sync_files_request.rb +1 -1
- data/lib/carbon_ruby_sdk/models/sync_options.rb +17 -5
- data/lib/carbon_ruby_sdk/models/text_embedding_generators.rb +7 -1
- data/lib/carbon_ruby_sdk/models/update_organization_input.rb +216 -0
- data/lib/carbon_ruby_sdk/models/update_users_input.rb +41 -41
- data/lib/carbon_ruby_sdk/models/user_configuration.rb +268 -0
- data/lib/carbon_ruby_sdk/models/user_configuration_nullable.rb +269 -0
- data/lib/carbon_ruby_sdk/version.rb +1 -1
- data/lib/carbon_ruby_sdk.rb +7 -0
- data/spec/api/integrations_api_spec.rb +26 -0
- data/spec/api/organizations_api_spec.rb +11 -0
- data/spec/models/custom_credentials_type_spec.rb +22 -0
- data/spec/models/external_source_items_order_by_spec.rb +22 -0
- data/spec/models/file_statistics_nullable_spec.rb +6 -0
- data/spec/models/file_statistics_spec.rb +6 -0
- data/spec/models/fresh_desk_connect_request_spec.rb +6 -0
- data/spec/models/gitbook_connect_request_spec.rb +6 -0
- data/spec/models/github_connect_request_spec.rb +6 -0
- data/spec/models/github_fetch_repos_request_spec.rb +34 -0
- data/spec/models/list_data_source_items_request_spec.rb +12 -0
- data/spec/models/o_auth_url_request_spec.rb +6 -0
- data/spec/models/order_dir_v2_spec.rb +22 -0
- data/spec/models/organization_response_spec.rb +6 -0
- data/spec/models/organization_user_data_source_api_spec.rb +6 -0
- data/spec/models/s3_auth_request_spec.rb +6 -0
- data/spec/models/sync_options_spec.rb +6 -0
- data/spec/models/update_organization_input_spec.rb +28 -0
- data/spec/models/update_users_input_spec.rb +4 -4
- data/spec/models/user_configuration_nullable_spec.rb +40 -0
- data/spec/models/user_configuration_spec.rb +40 -0
- metadata +23 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 52f030ea7716673312a486e5e740dcfd63dd0f9476829d1a4a60450454ba9cd8
|
4
|
+
data.tar.gz: e92848e3b73bb218c3971309c3115c1b539414284f3e48728e995c84ad3e5c1e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7c3f1177e45e581f8a2a6abdb43e2bb7a7af9b4080859aef1d53e4ec34ba9a3c3505dfa4df51ff66258f8ba5a5d63279025e606d02b10e56a3129723b31d3a9a
|
7
|
+
data.tar.gz: b7a46ce54599d55341b36f7361d7c67810b19e7d074311ff9b9e9116270ffbaa172fafd8e460aea62e9ab38b152e238cd02b337e2a5e4c601aee3cddb82af6e1
|
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
|
-
[](https://rubygems.org/gems/carbon_ruby_sdk/versions/0.1.25)
|
10
10
|
|
11
11
|
</div>
|
12
12
|
|
@@ -50,6 +50,7 @@ Connect external data to LLMs, no matter the source.
|
|
50
50
|
* [`carbon.integrations.list_gitbook_spaces`](#carbonintegrationslist_gitbook_spaces)
|
51
51
|
* [`carbon.integrations.list_labels`](#carbonintegrationslist_labels)
|
52
52
|
* [`carbon.integrations.list_outlook_categories`](#carbonintegrationslist_outlook_categories)
|
53
|
+
* [`carbon.integrations.list_repos`](#carbonintegrationslist_repos)
|
53
54
|
* [`carbon.integrations.sync_confluence`](#carbonintegrationssync_confluence)
|
54
55
|
* [`carbon.integrations.sync_data_source_items`](#carbonintegrationssync_data_source_items)
|
55
56
|
* [`carbon.integrations.sync_files`](#carbonintegrationssync_files)
|
@@ -57,9 +58,11 @@ Connect external data to LLMs, no matter the source.
|
|
57
58
|
* [`carbon.integrations.sync_gitbook`](#carbonintegrationssync_gitbook)
|
58
59
|
* [`carbon.integrations.sync_gmail`](#carbonintegrationssync_gmail)
|
59
60
|
* [`carbon.integrations.sync_outlook`](#carbonintegrationssync_outlook)
|
61
|
+
* [`carbon.integrations.sync_repos`](#carbonintegrationssync_repos)
|
60
62
|
* [`carbon.integrations.sync_rss_feed`](#carbonintegrationssync_rss_feed)
|
61
63
|
* [`carbon.integrations.sync_s3_files`](#carbonintegrationssync_s3_files)
|
62
64
|
* [`carbon.organizations.get`](#carbonorganizationsget)
|
65
|
+
* [`carbon.organizations.update`](#carbonorganizationsupdate)
|
63
66
|
* [`carbon.users.delete`](#carbonusersdelete)
|
64
67
|
* [`carbon.users.get`](#carbonusersget)
|
65
68
|
* [`carbon.users.toggle_user_features`](#carbonuserstoggle_user_features)
|
@@ -81,7 +84,7 @@ Connect external data to LLMs, no matter the source.
|
|
81
84
|
Add to Gemfile:
|
82
85
|
|
83
86
|
```ruby
|
84
|
-
gem 'carbon_ruby_sdk', '~> 0.1.
|
87
|
+
gem 'carbon_ruby_sdk', '~> 0.1.25'
|
85
88
|
```
|
86
89
|
|
87
90
|
## Getting Started<a id="getting-started"></a>
|
@@ -507,7 +510,9 @@ result = carbon.embeddings.upload_chunks_and_embeddings(
|
|
507
510
|
],
|
508
511
|
overwrite_existing: false,
|
509
512
|
chunks_only: false,
|
510
|
-
custom_credentials: {
|
513
|
+
custom_credentials: {
|
514
|
+
"key": {},
|
515
|
+
},
|
511
516
|
)
|
512
517
|
p result
|
513
518
|
```
|
@@ -518,7 +523,7 @@ p result
|
|
518
523
|
##### chunks_and_embeddings: Array<[`SingleChunksAndEmbeddingsUploadInput`](./lib/carbon_ruby_sdk/models/single_chunks_and_embeddings_upload_input.rb)><a id="chunks_and_embeddings-array"></a>
|
519
524
|
##### overwrite_existing: `Boolean`<a id="overwrite_existing-boolean"></a>
|
520
525
|
##### chunks_only: `Boolean`<a id="chunks_only-boolean"></a>
|
521
|
-
##### custom_credentials: `Object
|
526
|
+
##### custom_credentials: `Hash<String, Object>`<a id="custom_credentials-hash"></a>
|
522
527
|
#### 🔄 Return<a id="🔄-return"></a>
|
523
528
|
|
524
529
|
[GenericSuccessResponse](./lib/carbon_ruby_sdk/models/generic_success_response.rb)
|
@@ -1192,8 +1197,9 @@ result = carbon.integrations.connect_data_source(
|
|
1192
1197
|
"prepend_filename_to_chunks" => false,
|
1193
1198
|
"sync_files_on_connection" => true,
|
1194
1199
|
"set_page_as_boundary" => false,
|
1195
|
-
"request_id" => "
|
1200
|
+
"request_id" => "18492fc0-bd2f-48d4-a035-8d12f762cc76",
|
1196
1201
|
"enable_file_picker" => true,
|
1202
|
+
"sync_source_items" => true,
|
1197
1203
|
},
|
1198
1204
|
)
|
1199
1205
|
p result
|
@@ -1239,6 +1245,7 @@ result = carbon.integrations.connect_freshdesk(
|
|
1239
1245
|
prepend_filename_to_chunks: false,
|
1240
1246
|
sync_files_on_connection: true,
|
1241
1247
|
request_id: "string_example",
|
1248
|
+
sync_source_items: true,
|
1242
1249
|
)
|
1243
1250
|
p result
|
1244
1251
|
```
|
@@ -1256,6 +1263,10 @@ p result
|
|
1256
1263
|
##### prepend_filename_to_chunks: `Boolean`<a id="prepend_filename_to_chunks-boolean"></a>
|
1257
1264
|
##### sync_files_on_connection: `Boolean`<a id="sync_files_on_connection-boolean"></a>
|
1258
1265
|
##### request_id: `String`<a id="request_id-string"></a>
|
1266
|
+
##### sync_source_items: `Boolean`<a id="sync_source_items-boolean"></a>
|
1267
|
+
Enabling this flag will fetch all available content from the source to be listed
|
1268
|
+
via list items endpoint
|
1269
|
+
|
1259
1270
|
#### 🔄 Return<a id="🔄-return"></a>
|
1260
1271
|
|
1261
1272
|
[GenericSuccessResponse](./lib/carbon_ruby_sdk/models/generic_success_response.rb)
|
@@ -1291,6 +1302,7 @@ result = carbon.integrations.connect_gitbook(
|
|
1291
1302
|
prepend_filename_to_chunks: false,
|
1292
1303
|
sync_files_on_connection: true,
|
1293
1304
|
request_id: "string_example",
|
1305
|
+
sync_source_items: true,
|
1294
1306
|
)
|
1295
1307
|
p result
|
1296
1308
|
```
|
@@ -1308,6 +1320,10 @@ p result
|
|
1308
1320
|
##### prepend_filename_to_chunks: `Boolean`<a id="prepend_filename_to_chunks-boolean"></a>
|
1309
1321
|
##### sync_files_on_connection: `Boolean`<a id="sync_files_on_connection-boolean"></a>
|
1310
1322
|
##### request_id: `String`<a id="request_id-string"></a>
|
1323
|
+
##### sync_source_items: `Boolean`<a id="sync_source_items-boolean"></a>
|
1324
|
+
Enabling this flag will fetch all available content from the source to be listed
|
1325
|
+
via list items endpoint
|
1326
|
+
|
1311
1327
|
#### 🔄 Return<a id="🔄-return"></a>
|
1312
1328
|
|
1313
1329
|
[GenericSuccessResponse](./lib/carbon_ruby_sdk/models/generic_success_response.rb)
|
@@ -1337,6 +1353,7 @@ Once created, generate an access key for this user and share the credentials wit
|
|
1337
1353
|
result = carbon.integrations.create_aws_iam_user(
|
1338
1354
|
access_key: "string_example",
|
1339
1355
|
access_key_secret: "string_example",
|
1356
|
+
sync_source_items: true,
|
1340
1357
|
)
|
1341
1358
|
p result
|
1342
1359
|
```
|
@@ -1345,6 +1362,10 @@ p result
|
|
1345
1362
|
|
1346
1363
|
##### access_key: `String`<a id="access_key-string"></a>
|
1347
1364
|
##### access_key_secret: `String`<a id="access_key_secret-string"></a>
|
1365
|
+
##### sync_source_items: `Boolean`<a id="sync_source_items-boolean"></a>
|
1366
|
+
Enabling this flag will fetch all available content from the source to be listed
|
1367
|
+
via list items endpoint
|
1368
|
+
|
1348
1369
|
#### 🔄 Return<a id="🔄-return"></a>
|
1349
1370
|
|
1350
1371
|
[OrganizationUserDataSourceAPI](./lib/carbon_ruby_sdk/models/organization_user_data_source_api.rb)
|
@@ -1388,10 +1409,11 @@ result = carbon.integrations.get_oauth_url(
|
|
1388
1409
|
set_page_as_boundary: false,
|
1389
1410
|
data_source_id: 1,
|
1390
1411
|
connecting_new_account: false,
|
1391
|
-
request_id: "
|
1412
|
+
request_id: "1975f217-47e4-4867-8acd-5bdb2858049b",
|
1392
1413
|
use_ocr: false,
|
1393
1414
|
parse_pdf_tables_with_ocr: false,
|
1394
1415
|
enable_file_picker: true,
|
1416
|
+
sync_source_items: true,
|
1395
1417
|
)
|
1396
1418
|
p result
|
1397
1419
|
```
|
@@ -1441,7 +1463,11 @@ Enable OCR for files that support it. Supported formats: pdf
|
|
1441
1463
|
##### parse_pdf_tables_with_ocr: `Boolean`<a id="parse_pdf_tables_with_ocr-boolean"></a>
|
1442
1464
|
##### enable_file_picker: `Boolean`<a id="enable_file_picker-boolean"></a>
|
1443
1465
|
Enable integration's file picker for sources that support it. Supported sources:
|
1444
|
-
|
1466
|
+
BOX, SHAREPOINT, ONEDRIVE, DROPBOX, GOOGLE_DRIVE
|
1467
|
+
|
1468
|
+
##### sync_source_items: `Boolean`<a id="sync_source_items-boolean"></a>
|
1469
|
+
Enabling this flag will fetch all available content from the source to be listed
|
1470
|
+
via list items endpoint
|
1445
1471
|
|
1446
1472
|
#### 🔄 Return<a id="🔄-return"></a>
|
1447
1473
|
|
@@ -1509,6 +1535,8 @@ result = carbon.integrations.list_data_source_items(
|
|
1509
1535
|
"limit" => 10,
|
1510
1536
|
"offset" => 0,
|
1511
1537
|
},
|
1538
|
+
order_by: "name",
|
1539
|
+
order_dir: "asc",
|
1512
1540
|
)
|
1513
1541
|
p result
|
1514
1542
|
```
|
@@ -1519,6 +1547,8 @@ p result
|
|
1519
1547
|
##### parent_id: `String`<a id="parent_id-string"></a>
|
1520
1548
|
##### filters: [`ListItemsFiltersNullable`](./lib/carbon_ruby_sdk/models/list_items_filters_nullable.rb)<a id="filters-listitemsfiltersnullablelibcarbon_ruby_sdkmodelslist_items_filters_nullablerb"></a>
|
1521
1549
|
##### pagination: [`Pagination`](./lib/carbon_ruby_sdk/models/pagination.rb)<a id="pagination-paginationlibcarbon_ruby_sdkmodelspaginationrb"></a>
|
1550
|
+
##### order_by: [`ExternalSourceItemsOrderBy`](./lib/carbon_ruby_sdk/models/external_source_items_order_by.rb)<a id="order_by-externalsourceitemsorderbylibcarbon_ruby_sdkmodelsexternal_source_items_order_byrb"></a>
|
1551
|
+
##### order_dir: [`OrderDirV2`](./lib/carbon_ruby_sdk/models/order_dir_v2.rb)<a id="order_dir-orderdirv2libcarbon_ruby_sdkmodelsorder_dir_v2rb"></a>
|
1522
1552
|
#### 🔄 Return<a id="🔄-return"></a>
|
1523
1553
|
|
1524
1554
|
[ListDataSourceItemsResponse](./lib/carbon_ruby_sdk/models/list_data_source_items_response.rb)
|
@@ -1635,6 +1665,36 @@ p result
|
|
1635
1665
|
---
|
1636
1666
|
|
1637
1667
|
|
1668
|
+
### `carbon.integrations.list_repos`<a id="carbonintegrationslist_repos"></a>
|
1669
|
+
|
1670
|
+
Once you have connected your GitHub account, you can use this endpoint to list the
|
1671
|
+
repositories your account has access to. You can use a data source ID or username to fetch from a specific account.
|
1672
|
+
|
1673
|
+
#### 🛠️ Usage<a id="🛠️-usage"></a>
|
1674
|
+
|
1675
|
+
```ruby
|
1676
|
+
result = carbon.integrations.list_repos(
|
1677
|
+
per_page: 30,
|
1678
|
+
page: 1,
|
1679
|
+
data_source_id: 1,
|
1680
|
+
)
|
1681
|
+
p result
|
1682
|
+
```
|
1683
|
+
|
1684
|
+
#### ⚙️ Parameters<a id="⚙️-parameters"></a>
|
1685
|
+
|
1686
|
+
##### per_page: `Integer`<a id="per_page-integer"></a>
|
1687
|
+
##### page: `Integer`<a id="page-integer"></a>
|
1688
|
+
##### data_source_id: `Integer`<a id="data_source_id-integer"></a>
|
1689
|
+
#### 🌐 Endpoint<a id="🌐-endpoint"></a>
|
1690
|
+
|
1691
|
+
`/integrations/github/repos` `GET`
|
1692
|
+
|
1693
|
+
[🔙 **Back to Table of Contents**](#table-of-contents)
|
1694
|
+
|
1695
|
+
---
|
1696
|
+
|
1697
|
+
|
1638
1698
|
### `carbon.integrations.sync_confluence`<a id="carbonintegrationssync_confluence"></a>
|
1639
1699
|
|
1640
1700
|
After listing pages in a user's Confluence account, the set of selected page `ids` and the
|
@@ -1659,7 +1719,7 @@ result = carbon.integrations.sync_confluence(
|
|
1659
1719
|
prepend_filename_to_chunks: false,
|
1660
1720
|
max_items_per_chunk: 1,
|
1661
1721
|
set_page_as_boundary: false,
|
1662
|
-
request_id: "
|
1722
|
+
request_id: "a7c990f4-5923-47b5-a9f8-6ef5416fe5c3",
|
1663
1723
|
use_ocr: false,
|
1664
1724
|
parse_pdf_tables_with_ocr: false,
|
1665
1725
|
)
|
@@ -1750,7 +1810,7 @@ result = carbon.integrations.sync_files(
|
|
1750
1810
|
prepend_filename_to_chunks: false,
|
1751
1811
|
max_items_per_chunk: 1,
|
1752
1812
|
set_page_as_boundary: false,
|
1753
|
-
request_id: "
|
1813
|
+
request_id: "a7c990f4-5923-47b5-a9f8-6ef5416fe5c3",
|
1754
1814
|
use_ocr: false,
|
1755
1815
|
parse_pdf_tables_with_ocr: false,
|
1756
1816
|
)
|
@@ -1800,6 +1860,7 @@ expires you will need to manually update it through this endpoint.
|
|
1800
1860
|
result = carbon.integrations.sync_git_hub(
|
1801
1861
|
username: "string_example",
|
1802
1862
|
access_token: "string_example",
|
1863
|
+
sync_source_items: false,
|
1803
1864
|
)
|
1804
1865
|
p result
|
1805
1866
|
```
|
@@ -1808,6 +1869,10 @@ p result
|
|
1808
1869
|
|
1809
1870
|
##### username: `String`<a id="username-string"></a>
|
1810
1871
|
##### access_token: `String`<a id="access_token-string"></a>
|
1872
|
+
##### sync_source_items: `Boolean`<a id="sync_source_items-boolean"></a>
|
1873
|
+
Enabling this flag will fetch all available content from the source to be listed
|
1874
|
+
via list items endpoint
|
1875
|
+
|
1811
1876
|
#### 🔄 Return<a id="🔄-return"></a>
|
1812
1877
|
|
1813
1878
|
[GenericSuccessResponse](./lib/carbon_ruby_sdk/models/generic_success_response.rb)
|
@@ -2075,6 +2140,37 @@ p result
|
|
2075
2140
|
---
|
2076
2141
|
|
2077
2142
|
|
2143
|
+
### `carbon.integrations.sync_repos`<a id="carbonintegrationssync_repos"></a>
|
2144
|
+
|
2145
|
+
You can retreive repos your token has access to using /integrations/github/repos and sync their content.
|
2146
|
+
You can also pass full name of any public repository (username/repo-name). This will store the repo content with
|
2147
|
+
carbon which can be accessed through /integrations/items/list endpoint. Maximum of 25 repositories are accepted per request.
|
2148
|
+
|
2149
|
+
#### 🛠️ Usage<a id="🛠️-usage"></a>
|
2150
|
+
|
2151
|
+
```ruby
|
2152
|
+
result = carbon.integrations.sync_repos(
|
2153
|
+
repos: [
|
2154
|
+
"string_example"
|
2155
|
+
],
|
2156
|
+
data_source_id: 1,
|
2157
|
+
)
|
2158
|
+
p result
|
2159
|
+
```
|
2160
|
+
|
2161
|
+
#### ⚙️ Parameters<a id="⚙️-parameters"></a>
|
2162
|
+
|
2163
|
+
##### repos: Array<`String`><a id="repos-array"></a>
|
2164
|
+
##### data_source_id: `Integer`<a id="data_source_id-integer"></a>
|
2165
|
+
#### 🌐 Endpoint<a id="🌐-endpoint"></a>
|
2166
|
+
|
2167
|
+
`/integrations/github/sync_repos` `POST`
|
2168
|
+
|
2169
|
+
[🔙 **Back to Table of Contents**](#table-of-contents)
|
2170
|
+
|
2171
|
+
---
|
2172
|
+
|
2173
|
+
|
2078
2174
|
### `carbon.integrations.sync_rss_feed`<a id="carbonintegrationssync_rss_feed"></a>
|
2079
2175
|
|
2080
2176
|
Rss Feed
|
@@ -2206,6 +2302,36 @@ p result
|
|
2206
2302
|
---
|
2207
2303
|
|
2208
2304
|
|
2305
|
+
### `carbon.organizations.update`<a id="carbonorganizationsupdate"></a>
|
2306
|
+
|
2307
|
+
Update Organization
|
2308
|
+
|
2309
|
+
#### 🛠️ Usage<a id="🛠️-usage"></a>
|
2310
|
+
|
2311
|
+
```ruby
|
2312
|
+
result = carbon.organizations.update(
|
2313
|
+
global_user_config: {
|
2314
|
+
},
|
2315
|
+
)
|
2316
|
+
p result
|
2317
|
+
```
|
2318
|
+
|
2319
|
+
#### ⚙️ Parameters<a id="⚙️-parameters"></a>
|
2320
|
+
|
2321
|
+
##### global_user_config: [`UserConfigurationNullable`](./lib/carbon_ruby_sdk/models/user_configuration_nullable.rb)<a id="global_user_config-userconfigurationnullablelibcarbon_ruby_sdkmodelsuser_configuration_nullablerb"></a>
|
2322
|
+
#### 🔄 Return<a id="🔄-return"></a>
|
2323
|
+
|
2324
|
+
[GenericSuccessResponse](./lib/carbon_ruby_sdk/models/generic_success_response.rb)
|
2325
|
+
|
2326
|
+
#### 🌐 Endpoint<a id="🌐-endpoint"></a>
|
2327
|
+
|
2328
|
+
`/organization/update` `POST`
|
2329
|
+
|
2330
|
+
[🔙 **Back to Table of Contents**](#table-of-contents)
|
2331
|
+
|
2332
|
+
---
|
2333
|
+
|
2334
|
+
|
2209
2335
|
### `carbon.users.delete`<a id="carbonusersdelete"></a>
|
2210
2336
|
|
2211
2337
|
Delete Users
|
@@ -470,7 +470,7 @@ module Carbon
|
|
470
470
|
# @param chunks_and_embeddings [Array<SingleChunksAndEmbeddingsUploadInput>]
|
471
471
|
# @param overwrite_existing [Boolean]
|
472
472
|
# @param chunks_only [Boolean]
|
473
|
-
# @param custom_credentials [Object]
|
473
|
+
# @param custom_credentials [Hash<String, Object>]
|
474
474
|
# @param body [ChunksAndEmbeddingsUploadInput]
|
475
475
|
# @param [Hash] extra additional parameters to pass along through :header_params, :query_params, or parameter name
|
476
476
|
def upload_chunks_and_embeddings(embedding_model:, chunks_and_embeddings:, overwrite_existing: false, chunks_only: false, custom_credentials: SENTINEL, extra: {})
|
@@ -491,7 +491,7 @@ module Carbon
|
|
491
491
|
# @param chunks_and_embeddings [Array<SingleChunksAndEmbeddingsUploadInput>]
|
492
492
|
# @param overwrite_existing [Boolean]
|
493
493
|
# @param chunks_only [Boolean]
|
494
|
-
# @param custom_credentials [Object]
|
494
|
+
# @param custom_credentials [Hash<String, Object>]
|
495
495
|
# @param body [ChunksAndEmbeddingsUploadInput]
|
496
496
|
# @param [Hash] extra additional parameters to pass along through :header_params, :query_params, or parameter name
|
497
497
|
def upload_chunks_and_embeddings_with_http_info(embedding_model:, chunks_and_embeddings:, overwrite_existing: false, chunks_only: false, custom_credentials: SENTINEL, extra: {})
|