carbon_ruby_sdk 0.2.37 → 0.2.39

Sign up to get free protection for your applications and to get access to all the features.
Files changed (93) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +1 -1
  3. data/README.md +342 -2
  4. data/lib/carbon_ruby_sdk/api/files_api.rb +21 -6
  5. data/lib/carbon_ruby_sdk/api/github_api.rb +825 -0
  6. data/lib/carbon_ruby_sdk/api/utilities_api.rb +6 -2
  7. data/lib/carbon_ruby_sdk/models/comments_input.rb +330 -0
  8. data/lib/carbon_ruby_sdk/models/comments_order_by.rb +36 -0
  9. data/lib/carbon_ruby_sdk/models/comments_response.rb +232 -0
  10. data/lib/carbon_ruby_sdk/models/commit.rb +282 -0
  11. data/lib/carbon_ruby_sdk/models/commit_user.rb +234 -0
  12. data/lib/carbon_ruby_sdk/models/commit_user_nullable.rb +234 -0
  13. data/lib/carbon_ruby_sdk/models/commits_input.rb +307 -0
  14. data/lib/carbon_ruby_sdk/models/commits_response.rb +232 -0
  15. data/lib/carbon_ruby_sdk/models/file_status.rb +41 -0
  16. data/lib/carbon_ruby_sdk/models/file_sync_config.rb +13 -1
  17. data/lib/carbon_ruby_sdk/models/file_sync_config_nullable.rb +13 -1
  18. data/lib/carbon_ruby_sdk/models/files_input.rb +307 -0
  19. data/lib/carbon_ruby_sdk/models/files_response.rb +232 -0
  20. data/lib/carbon_ruby_sdk/models/head_or_base.rb +248 -0
  21. data/lib/carbon_ruby_sdk/models/issue.rb +434 -0
  22. data/lib/carbon_ruby_sdk/models/issue_pr.rb +230 -0
  23. data/lib/carbon_ruby_sdk/models/issue_pr_nullable.rb +230 -0
  24. data/lib/carbon_ruby_sdk/models/issues_filter.rb +217 -0
  25. data/lib/carbon_ruby_sdk/models/issues_input.rb +325 -0
  26. data/lib/carbon_ruby_sdk/models/issues_order_by.rb +37 -0
  27. data/lib/carbon_ruby_sdk/models/issues_response.rb +232 -0
  28. data/lib/carbon_ruby_sdk/models/label.rb +234 -0
  29. data/lib/carbon_ruby_sdk/models/pr_comment.rb +358 -0
  30. data/lib/carbon_ruby_sdk/models/pr_commit.rb +264 -0
  31. data/lib/carbon_ruby_sdk/models/pr_file.rb +342 -0
  32. data/lib/carbon_ruby_sdk/models/pr_order_by.rb +37 -0
  33. data/lib/carbon_ruby_sdk/models/pr_state.rb +36 -0
  34. data/lib/carbon_ruby_sdk/models/pr_state_input.rb +37 -0
  35. data/lib/carbon_ruby_sdk/models/pull_request.rb +438 -0
  36. data/lib/carbon_ruby_sdk/models/pull_request_extended.rb +536 -0
  37. data/lib/carbon_ruby_sdk/models/pull_request_filters.rb +239 -0
  38. data/lib/carbon_ruby_sdk/models/pull_request_response.rb +232 -0
  39. data/lib/carbon_ruby_sdk/models/pull_requests_input.rb +325 -0
  40. data/lib/carbon_ruby_sdk/models/raw_text_input.rb +16 -4
  41. data/lib/carbon_ruby_sdk/models/sitemap_scrape_request.rb +16 -4
  42. data/lib/carbon_ruby_sdk/models/team.rb +234 -0
  43. data/lib/carbon_ruby_sdk/models/tree.rb +234 -0
  44. data/lib/carbon_ruby_sdk/models/upload_file_from_url_input.rb +16 -4
  45. data/lib/carbon_ruby_sdk/models/user.rb +234 -0
  46. data/lib/carbon_ruby_sdk/models/user_nullable.rb +234 -0
  47. data/lib/carbon_ruby_sdk/models/webscrape_request.rb +16 -4
  48. data/lib/carbon_ruby_sdk/version.rb +1 -1
  49. data/lib/carbon_ruby_sdk.rb +38 -0
  50. data/spec/api/files_api_spec.rb +1 -0
  51. data/spec/api/github_api_spec.rb +112 -0
  52. data/spec/models/comments_input_spec.rb +76 -0
  53. data/spec/models/comments_order_by_spec.rb +22 -0
  54. data/spec/models/comments_response_spec.rb +34 -0
  55. data/spec/models/commit_spec.rb +58 -0
  56. data/spec/models/commit_user_nullable_spec.rb +34 -0
  57. data/spec/models/commit_user_spec.rb +34 -0
  58. data/spec/models/commits_input_spec.rb +64 -0
  59. data/spec/models/commits_response_spec.rb +34 -0
  60. data/spec/models/file_status_spec.rb +22 -0
  61. data/spec/models/file_sync_config_nullable_spec.rb +6 -0
  62. data/spec/models/file_sync_config_spec.rb +6 -0
  63. data/spec/models/files_input_spec.rb +64 -0
  64. data/spec/models/files_response_spec.rb +34 -0
  65. data/spec/models/head_or_base_spec.rb +40 -0
  66. data/spec/models/issue_pr_nullable_spec.rb +34 -0
  67. data/spec/models/issue_pr_spec.rb +34 -0
  68. data/spec/models/issue_spec.rb +124 -0
  69. data/spec/models/issues_filter_spec.rb +28 -0
  70. data/spec/models/issues_input_spec.rb +76 -0
  71. data/spec/models/issues_order_by_spec.rb +22 -0
  72. data/spec/models/issues_response_spec.rb +34 -0
  73. data/spec/models/label_spec.rb +34 -0
  74. data/spec/models/pr_comment_spec.rb +94 -0
  75. data/spec/models/pr_commit_spec.rb +52 -0
  76. data/spec/models/pr_file_spec.rb +82 -0
  77. data/spec/models/pr_order_by_spec.rb +22 -0
  78. data/spec/models/pr_state_input_spec.rb +22 -0
  79. data/spec/models/pr_state_spec.rb +22 -0
  80. data/spec/models/pull_request_extended_spec.rb +166 -0
  81. data/spec/models/pull_request_filters_spec.rb +40 -0
  82. data/spec/models/pull_request_response_spec.rb +34 -0
  83. data/spec/models/pull_request_spec.rb +124 -0
  84. data/spec/models/pull_requests_input_spec.rb +76 -0
  85. data/spec/models/raw_text_input_spec.rb +6 -0
  86. data/spec/models/sitemap_scrape_request_spec.rb +6 -0
  87. data/spec/models/team_spec.rb +34 -0
  88. data/spec/models/tree_spec.rb +34 -0
  89. data/spec/models/upload_file_from_url_input_spec.rb +6 -0
  90. data/spec/models/user_nullable_spec.rb +34 -0
  91. data/spec/models/user_spec.rb +34 -0
  92. data/spec/models/webscrape_request_spec.rb +6 -0
  93. metadata +301 -193
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a57f6598d1b34985c7df426631d95d93b3a127acd26908b445c8791b8e7b2902
4
- data.tar.gz: fcca0c0c35cc0788fbb1318d1a6a3c27be3a1ffccd56d3728bf957a4d5c55c55
3
+ metadata.gz: d2401dfba4e022cabaea06fd3c5c88a7ac478ac5844ed523afec47f345661190
4
+ data.tar.gz: e5b881ccd3e79f60304ab784f7181b744c3e4d08982bbd5675bdc3448b6ed98e
5
5
  SHA512:
6
- metadata.gz: febf8d1fb4f090e10abb85c2168ae26ea0b29b50599a0b76cf6421af47e371a3e3d39491e091f94e66ef41c189bff6a57f40fec5bd291d25e2bad55468047905
7
- data.tar.gz: 8efeecf75ae284fcf13407a8bced6427f19b13ca32c77e17a4c89215d815d53e855079b603d0cdf24cb4eb892a4ad976245f519846aa8495be3ef84a44e5cb65
6
+ metadata.gz: 9ccf02f74adcd0cdc0af15baa8f812a608b4b4daf491ffce5af307643c44f2e9ef9f32f56361035c92e78d41548019831c0a59d82544098161200552944af5a3
7
+ data.tar.gz: 05f1c9282a7df5f52b4463a4bd5b508d7988fa1788ee55e57b936b9e5fb7291f6f5740c4be0d96a0645ba1cc47cbadc2763b0dc1315485832a3829e38b1ce5d8
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- carbon_ruby_sdk (0.2.37)
4
+ carbon_ruby_sdk (0.2.39)
5
5
  faraday (>= 1.0.1, < 3.0)
6
6
  faraday-multipart (~> 1.0, >= 1.0.4)
7
7
 
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.37-blue)](https://rubygems.org/gems/carbon_ruby_sdk/versions/0.2.37)
9
+ [![npm](https://img.shields.io/badge/gem-v0.2.39-blue)](https://rubygems.org/gems/carbon_ruby_sdk/versions/0.2.39)
10
10
 
11
11
  </div>
12
12
 
@@ -49,6 +49,13 @@ Connect external data to LLMs, no matter the source.
49
49
  * [`carbon.files.upload`](#carbonfilesupload)
50
50
  * [`carbon.files.upload_from_url`](#carbonfilesupload_from_url)
51
51
  * [`carbon.files.upload_text`](#carbonfilesupload_text)
52
+ * [`carbon.github.get_issue`](#carbongithubget_issue)
53
+ * [`carbon.github.get_issues`](#carbongithubget_issues)
54
+ * [`carbon.github.get_pr`](#carbongithubget_pr)
55
+ * [`carbon.github.get_pr_comments`](#carbongithubget_pr_comments)
56
+ * [`carbon.github.get_pr_commits`](#carbongithubget_pr_commits)
57
+ * [`carbon.github.get_pr_files`](#carbongithubget_pr_files)
58
+ * [`carbon.github.get_pull_requests`](#carbongithubget_pull_requests)
52
59
  * [`carbon.integrations.cancel`](#carbonintegrationscancel)
53
60
  * [`carbon.integrations.connect_data_source`](#carbonintegrationsconnect_data_source)
54
61
  * [`carbon.integrations.connect_freshdesk`](#carbonintegrationsconnect_freshdesk)
@@ -104,7 +111,7 @@ Connect external data to LLMs, no matter the source.
104
111
  Add to Gemfile:
105
112
 
106
113
  ```ruby
107
- gem 'carbon_ruby_sdk', '~> 0.2.37'
114
+ gem 'carbon_ruby_sdk', '~> 0.2.39'
108
115
  ```
109
116
 
110
117
  ## Getting Started<a id="getting-started"></a>
@@ -1491,6 +1498,7 @@ result = carbon.files.upload(
1491
1498
  enable_cold_storage: false,
1492
1499
  hot_storage_time_to_live: 1,
1493
1500
  generate_chunks_only: false,
1501
+ store_file_only: false,
1494
1502
  )
1495
1503
  p result
1496
1504
  ```
@@ -1563,6 +1571,10 @@ Time in seconds after which the file will be moved to cold storage.
1563
1571
  If this flag is enabled, the file will be chunked and stored with Carbon, but no
1564
1572
  embeddings will be generated. This overrides the skip_embedding_generation flag.
1565
1573
 
1574
+ ##### store_file_only: `Boolean`<a id="store_file_only-boolean"></a>
1575
+ If this flag is enabled, the file will be stored with Carbon, but no processing
1576
+ will be done.
1577
+
1566
1578
  #### 🔄 Return<a id="🔄-return"></a>
1567
1579
 
1568
1580
  [UserFile](./lib/carbon_ruby_sdk/models/user_file.rb)
@@ -1605,6 +1617,7 @@ result = carbon.files.upload_from_url(
1605
1617
  "enable_cold_storage" => false,
1606
1618
  },
1607
1619
  generate_chunks_only: false,
1620
+ store_file_only: false,
1608
1621
  )
1609
1622
  p result
1610
1623
  ```
@@ -1635,6 +1648,10 @@ Number of objects per chunk. For csv, tsv, xlsx, and json files only.
1635
1648
  If this flag is enabled, the file will be chunked and stored with Carbon, but no
1636
1649
  embeddings will be generated. This overrides the skip_embedding_generation flag.
1637
1650
 
1651
+ ##### store_file_only: `Boolean`<a id="store_file_only-boolean"></a>
1652
+ If this flag is enabled, the file will be stored with Carbon, but no processing
1653
+ will be done.
1654
+
1638
1655
  #### 🔄 Return<a id="🔄-return"></a>
1639
1656
 
1640
1657
  [UserFile](./lib/carbon_ruby_sdk/models/user_file.rb)
@@ -1677,6 +1694,7 @@ result = carbon.files.upload_text(
1677
1694
  "enable_cold_storage" => false,
1678
1695
  },
1679
1696
  generate_chunks_only: false,
1697
+ store_file_only: false,
1680
1698
  )
1681
1699
  p result
1682
1700
  ```
@@ -1696,6 +1714,10 @@ p result
1696
1714
  If this flag is enabled, the file will be chunked and stored with Carbon, but no
1697
1715
  embeddings will be generated. This overrides the skip_embedding_generation flag.
1698
1716
 
1717
+ ##### store_file_only: `Boolean`<a id="store_file_only-boolean"></a>
1718
+ If this flag is enabled, the file will be stored with Carbon, but no processing
1719
+ will be done.
1720
+
1699
1721
  #### 🔄 Return<a id="🔄-return"></a>
1700
1722
 
1701
1723
  [UserFile](./lib/carbon_ruby_sdk/models/user_file.rb)
@@ -1709,6 +1731,307 @@ embeddings will be generated. This overrides the skip_embedding_generation flag.
1709
1731
  ---
1710
1732
 
1711
1733
 
1734
+ ### `carbon.github.get_issue`<a id="carbongithubget_issue"></a>
1735
+
1736
+ Issue
1737
+
1738
+ #### 🛠️ Usage<a id="🛠️-usage"></a>
1739
+
1740
+ ```ruby
1741
+ result = carbon.github.get_issue(
1742
+ issue_number: 1,
1743
+ include_remote_data: false,
1744
+ data_source_id: 1,
1745
+ repository: "string_example",
1746
+ )
1747
+ p result
1748
+ ```
1749
+
1750
+ #### ⚙️ Parameters<a id="⚙️-parameters"></a>
1751
+
1752
+ ##### issue_number: `Integer`<a id="issue_number-integer"></a>
1753
+ ##### include_remote_data: `Boolean`<a id="include_remote_data-boolean"></a>
1754
+ ##### data_source_id: `Integer`<a id="data_source_id-integer"></a>
1755
+ ##### repository: `String`<a id="repository-string"></a>
1756
+ #### 🔄 Return<a id="🔄-return"></a>
1757
+
1758
+ [Issue](./lib/carbon_ruby_sdk/models/issue.rb)
1759
+
1760
+ #### 🌐 Endpoint<a id="🌐-endpoint"></a>
1761
+
1762
+ `/integrations/data/github/issues/{issue_number}` `GET`
1763
+
1764
+ [🔙 **Back to Table of Contents**](#table-of-contents)
1765
+
1766
+ ---
1767
+
1768
+
1769
+ ### `carbon.github.get_issues`<a id="carbongithubget_issues"></a>
1770
+
1771
+ Issues
1772
+
1773
+ #### 🛠️ Usage<a id="🛠️-usage"></a>
1774
+
1775
+ ```ruby
1776
+ result = carbon.github.get_issues(
1777
+ data_source_id: 1,
1778
+ repository: "string_example",
1779
+ include_remote_data: false,
1780
+ page: 1,
1781
+ page_size: 30,
1782
+ next_cursor: "string_example",
1783
+ filters: {
1784
+ "state" => "closed",
1785
+ },
1786
+ order_by: "created",
1787
+ order_dir: "asc",
1788
+ )
1789
+ p result
1790
+ ```
1791
+
1792
+ #### ⚙️ Parameters<a id="⚙️-parameters"></a>
1793
+
1794
+ ##### data_source_id: `Integer`<a id="data_source_id-integer"></a>
1795
+ ##### repository: `String`<a id="repository-string"></a>
1796
+ Full name of the repository, denoted as {owner}/{repo}
1797
+
1798
+ ##### include_remote_data: `Boolean`<a id="include_remote_data-boolean"></a>
1799
+ ##### page: `Integer`<a id="page-integer"></a>
1800
+ ##### page_size: `Integer`<a id="page_size-integer"></a>
1801
+ ##### next_cursor: `String`<a id="next_cursor-string"></a>
1802
+ ##### filters: [`IssuesFilter`](./lib/carbon_ruby_sdk/models/issues_filter.rb)<a id="filters-issuesfilterlibcarbon_ruby_sdkmodelsissues_filterrb"></a>
1803
+ ##### order_by: [`IssuesOrderBy`](./lib/carbon_ruby_sdk/models/issues_order_by.rb)<a id="order_by-issuesorderbylibcarbon_ruby_sdkmodelsissues_order_byrb"></a>
1804
+ ##### order_dir: [`OrderDirV2Nullable`](./lib/carbon_ruby_sdk/models/order_dir_v2_nullable.rb)<a id="order_dir-orderdirv2nullablelibcarbon_ruby_sdkmodelsorder_dir_v2_nullablerb"></a>
1805
+ #### 🔄 Return<a id="🔄-return"></a>
1806
+
1807
+ [IssuesResponse](./lib/carbon_ruby_sdk/models/issues_response.rb)
1808
+
1809
+ #### 🌐 Endpoint<a id="🌐-endpoint"></a>
1810
+
1811
+ `/integrations/data/github/issues` `POST`
1812
+
1813
+ [🔙 **Back to Table of Contents**](#table-of-contents)
1814
+
1815
+ ---
1816
+
1817
+
1818
+ ### `carbon.github.get_pr`<a id="carbongithubget_pr"></a>
1819
+
1820
+ Get Pr
1821
+
1822
+ #### 🛠️ Usage<a id="🛠️-usage"></a>
1823
+
1824
+ ```ruby
1825
+ result = carbon.github.get_pr(
1826
+ pull_number: 1,
1827
+ include_remote_data: false,
1828
+ data_source_id: 1,
1829
+ repository: "string_example",
1830
+ )
1831
+ p result
1832
+ ```
1833
+
1834
+ #### ⚙️ Parameters<a id="⚙️-parameters"></a>
1835
+
1836
+ ##### pull_number: `Integer`<a id="pull_number-integer"></a>
1837
+ ##### include_remote_data: `Boolean`<a id="include_remote_data-boolean"></a>
1838
+ ##### data_source_id: `Integer`<a id="data_source_id-integer"></a>
1839
+ ##### repository: `String`<a id="repository-string"></a>
1840
+ #### 🔄 Return<a id="🔄-return"></a>
1841
+
1842
+ [PullRequestExtended](./lib/carbon_ruby_sdk/models/pull_request_extended.rb)
1843
+
1844
+ #### 🌐 Endpoint<a id="🌐-endpoint"></a>
1845
+
1846
+ `/integrations/data/github/pull_requests/{pull_number}` `GET`
1847
+
1848
+ [🔙 **Back to Table of Contents**](#table-of-contents)
1849
+
1850
+ ---
1851
+
1852
+
1853
+ ### `carbon.github.get_pr_comments`<a id="carbongithubget_pr_comments"></a>
1854
+
1855
+ Pr Comments
1856
+
1857
+ #### 🛠️ Usage<a id="🛠️-usage"></a>
1858
+
1859
+ ```ruby
1860
+ result = carbon.github.get_pr_comments(
1861
+ data_source_id: 1,
1862
+ repository: "string_example",
1863
+ pull_number: 1,
1864
+ include_remote_data: false,
1865
+ page: 1,
1866
+ page_size: 30,
1867
+ next_cursor: "string_example",
1868
+ order_by: "created",
1869
+ order_dir: "asc",
1870
+ )
1871
+ p result
1872
+ ```
1873
+
1874
+ #### ⚙️ Parameters<a id="⚙️-parameters"></a>
1875
+
1876
+ ##### data_source_id: `Integer`<a id="data_source_id-integer"></a>
1877
+ ##### repository: `String`<a id="repository-string"></a>
1878
+ Full name of the repository, denoted as {owner}/{repo}
1879
+
1880
+ ##### pull_number: `Integer`<a id="pull_number-integer"></a>
1881
+ ##### include_remote_data: `Boolean`<a id="include_remote_data-boolean"></a>
1882
+ ##### page: `Integer`<a id="page-integer"></a>
1883
+ ##### page_size: `Integer`<a id="page_size-integer"></a>
1884
+ ##### next_cursor: `String`<a id="next_cursor-string"></a>
1885
+ ##### order_by: [`CommentsOrderBy`](./lib/carbon_ruby_sdk/models/comments_order_by.rb)<a id="order_by-commentsorderbylibcarbon_ruby_sdkmodelscomments_order_byrb"></a>
1886
+ ##### order_dir: [`OrderDirV2Nullable`](./lib/carbon_ruby_sdk/models/order_dir_v2_nullable.rb)<a id="order_dir-orderdirv2nullablelibcarbon_ruby_sdkmodelsorder_dir_v2_nullablerb"></a>
1887
+ #### 🔄 Return<a id="🔄-return"></a>
1888
+
1889
+ [CommentsResponse](./lib/carbon_ruby_sdk/models/comments_response.rb)
1890
+
1891
+ #### 🌐 Endpoint<a id="🌐-endpoint"></a>
1892
+
1893
+ `/integrations/data/github/pull_requests/comments` `POST`
1894
+
1895
+ [🔙 **Back to Table of Contents**](#table-of-contents)
1896
+
1897
+ ---
1898
+
1899
+
1900
+ ### `carbon.github.get_pr_commits`<a id="carbongithubget_pr_commits"></a>
1901
+
1902
+ Pr Commits
1903
+
1904
+ #### 🛠️ Usage<a id="🛠️-usage"></a>
1905
+
1906
+ ```ruby
1907
+ result = carbon.github.get_pr_commits(
1908
+ data_source_id: 1,
1909
+ repository: "string_example",
1910
+ pull_number: 1,
1911
+ include_remote_data: false,
1912
+ page: 1,
1913
+ page_size: 30,
1914
+ next_cursor: "string_example",
1915
+ )
1916
+ p result
1917
+ ```
1918
+
1919
+ #### ⚙️ Parameters<a id="⚙️-parameters"></a>
1920
+
1921
+ ##### data_source_id: `Integer`<a id="data_source_id-integer"></a>
1922
+ ##### repository: `String`<a id="repository-string"></a>
1923
+ Full name of the repository, denoted as {owner}/{repo}
1924
+
1925
+ ##### pull_number: `Integer`<a id="pull_number-integer"></a>
1926
+ ##### include_remote_data: `Boolean`<a id="include_remote_data-boolean"></a>
1927
+ ##### page: `Integer`<a id="page-integer"></a>
1928
+ ##### page_size: `Integer`<a id="page_size-integer"></a>
1929
+ ##### next_cursor: `String`<a id="next_cursor-string"></a>
1930
+ #### 🔄 Return<a id="🔄-return"></a>
1931
+
1932
+ [CommitsResponse](./lib/carbon_ruby_sdk/models/commits_response.rb)
1933
+
1934
+ #### 🌐 Endpoint<a id="🌐-endpoint"></a>
1935
+
1936
+ `/integrations/data/github/pull_requests/commits` `POST`
1937
+
1938
+ [🔙 **Back to Table of Contents**](#table-of-contents)
1939
+
1940
+ ---
1941
+
1942
+
1943
+ ### `carbon.github.get_pr_files`<a id="carbongithubget_pr_files"></a>
1944
+
1945
+ Pr Files
1946
+
1947
+ #### 🛠️ Usage<a id="🛠️-usage"></a>
1948
+
1949
+ ```ruby
1950
+ result = carbon.github.get_pr_files(
1951
+ data_source_id: 1,
1952
+ repository: "string_example",
1953
+ pull_number: 1,
1954
+ include_remote_data: false,
1955
+ page: 1,
1956
+ page_size: 30,
1957
+ next_cursor: "string_example",
1958
+ )
1959
+ p result
1960
+ ```
1961
+
1962
+ #### ⚙️ Parameters<a id="⚙️-parameters"></a>
1963
+
1964
+ ##### data_source_id: `Integer`<a id="data_source_id-integer"></a>
1965
+ ##### repository: `String`<a id="repository-string"></a>
1966
+ Full name of the repository, denoted as {owner}/{repo}
1967
+
1968
+ ##### pull_number: `Integer`<a id="pull_number-integer"></a>
1969
+ ##### include_remote_data: `Boolean`<a id="include_remote_data-boolean"></a>
1970
+ ##### page: `Integer`<a id="page-integer"></a>
1971
+ ##### page_size: `Integer`<a id="page_size-integer"></a>
1972
+ ##### next_cursor: `String`<a id="next_cursor-string"></a>
1973
+ #### 🔄 Return<a id="🔄-return"></a>
1974
+
1975
+ [FilesResponse](./lib/carbon_ruby_sdk/models/files_response.rb)
1976
+
1977
+ #### 🌐 Endpoint<a id="🌐-endpoint"></a>
1978
+
1979
+ `/integrations/data/github/pull_requests/files` `POST`
1980
+
1981
+ [🔙 **Back to Table of Contents**](#table-of-contents)
1982
+
1983
+ ---
1984
+
1985
+
1986
+ ### `carbon.github.get_pull_requests`<a id="carbongithubget_pull_requests"></a>
1987
+
1988
+ Get Prs
1989
+
1990
+ #### 🛠️ Usage<a id="🛠️-usage"></a>
1991
+
1992
+ ```ruby
1993
+ result = carbon.github.get_pull_requests(
1994
+ data_source_id: 1,
1995
+ repository: "string_example",
1996
+ include_remote_data: false,
1997
+ page: 1,
1998
+ page_size: 30,
1999
+ next_cursor: "string_example",
2000
+ filters: {
2001
+ "state" => "closed",
2002
+ },
2003
+ order_by: "created",
2004
+ order_dir: "asc",
2005
+ )
2006
+ p result
2007
+ ```
2008
+
2009
+ #### ⚙️ Parameters<a id="⚙️-parameters"></a>
2010
+
2011
+ ##### data_source_id: `Integer`<a id="data_source_id-integer"></a>
2012
+ ##### repository: `String`<a id="repository-string"></a>
2013
+ Full name of the repository, denoted as {owner}/{repo}
2014
+
2015
+ ##### include_remote_data: `Boolean`<a id="include_remote_data-boolean"></a>
2016
+ ##### page: `Integer`<a id="page-integer"></a>
2017
+ ##### page_size: `Integer`<a id="page_size-integer"></a>
2018
+ ##### next_cursor: `String`<a id="next_cursor-string"></a>
2019
+ ##### filters: [`PullRequestFilters`](./lib/carbon_ruby_sdk/models/pull_request_filters.rb)<a id="filters-pullrequestfilterslibcarbon_ruby_sdkmodelspull_request_filtersrb"></a>
2020
+ ##### order_by: [`PROrderBy`](./lib/carbon_ruby_sdk/models/pr_order_by.rb)<a id="order_by-prorderbylibcarbon_ruby_sdkmodelspr_order_byrb"></a>
2021
+ ##### order_dir: [`OrderDirV2Nullable`](./lib/carbon_ruby_sdk/models/order_dir_v2_nullable.rb)<a id="order_dir-orderdirv2nullablelibcarbon_ruby_sdkmodelsorder_dir_v2_nullablerb"></a>
2022
+ #### 🔄 Return<a id="🔄-return"></a>
2023
+
2024
+ [PullRequestResponse](./lib/carbon_ruby_sdk/models/pull_request_response.rb)
2025
+
2026
+ #### 🌐 Endpoint<a id="🌐-endpoint"></a>
2027
+
2028
+ `/integrations/data/github/pull_requests` `POST`
2029
+
2030
+ [🔙 **Back to Table of Contents**](#table-of-contents)
2031
+
2032
+ ---
2033
+
2034
+
1712
2035
  ### `carbon.integrations.cancel`<a id="carbonintegrationscancel"></a>
1713
2036
 
1714
2037
  Cancel Data Source Items Sync
@@ -1816,6 +2139,7 @@ result = carbon.integrations.connect_freshdesk(
1816
2139
  "include_speaker_labels" => false,
1817
2140
  "split_rows" => false,
1818
2141
  "generate_chunks_only" => false,
2142
+ "store_file_only" => false,
1819
2143
  "skip_file_processing" => false,
1820
2144
  },
1821
2145
  )
@@ -1884,6 +2208,7 @@ result = carbon.integrations.connect_gitbook(
1884
2208
  "include_speaker_labels" => false,
1885
2209
  "split_rows" => false,
1886
2210
  "generate_chunks_only" => false,
2211
+ "store_file_only" => false,
1887
2212
  "skip_file_processing" => false,
1888
2213
  },
1889
2214
  )
@@ -1950,6 +2275,7 @@ result = carbon.integrations.connect_guru(
1950
2275
  "include_speaker_labels" => false,
1951
2276
  "split_rows" => false,
1952
2277
  "generate_chunks_only" => false,
2278
+ "store_file_only" => false,
1953
2279
  "skip_file_processing" => false,
1954
2280
  },
1955
2281
  )
@@ -2082,6 +2408,7 @@ result = carbon.integrations.get_oauth_url(
2082
2408
  "include_speaker_labels" => false,
2083
2409
  "split_rows" => false,
2084
2410
  "generate_chunks_only" => false,
2411
+ "store_file_only" => false,
2085
2412
  "skip_file_processing" => false,
2086
2413
  },
2087
2414
  automatically_open_file_picker: true,
@@ -2466,6 +2793,7 @@ result = carbon.integrations.sync_azure_blob_files(
2466
2793
  "include_speaker_labels" => false,
2467
2794
  "split_rows" => false,
2468
2795
  "generate_chunks_only" => false,
2796
+ "store_file_only" => false,
2469
2797
  "skip_file_processing" => false,
2470
2798
  },
2471
2799
  )
@@ -2593,6 +2921,7 @@ result = carbon.integrations.sync_confluence(
2593
2921
  "include_speaker_labels" => false,
2594
2922
  "split_rows" => false,
2595
2923
  "generate_chunks_only" => false,
2924
+ "store_file_only" => false,
2596
2925
  "skip_file_processing" => false,
2597
2926
  },
2598
2927
  )
@@ -2702,6 +3031,7 @@ result = carbon.integrations.sync_files(
2702
3031
  "include_speaker_labels" => false,
2703
3032
  "split_rows" => false,
2704
3033
  "generate_chunks_only" => false,
3034
+ "store_file_only" => false,
2705
3035
  "skip_file_processing" => false,
2706
3036
  },
2707
3037
  )
@@ -2813,6 +3143,7 @@ result = carbon.integrations.sync_gitbook(
2813
3143
  "include_speaker_labels" => false,
2814
3144
  "split_rows" => false,
2815
3145
  "generate_chunks_only" => false,
3146
+ "store_file_only" => false,
2816
3147
  "skip_file_processing" => false,
2817
3148
  },
2818
3149
  )
@@ -2921,6 +3252,7 @@ result = carbon.integrations.sync_gmail(
2921
3252
  "include_speaker_labels" => false,
2922
3253
  "split_rows" => false,
2923
3254
  "generate_chunks_only" => false,
3255
+ "store_file_only" => false,
2924
3256
  "skip_file_processing" => false,
2925
3257
  },
2926
3258
  incremental_sync: false,
@@ -3044,6 +3376,7 @@ result = carbon.integrations.sync_outlook(
3044
3376
  "include_speaker_labels" => false,
3045
3377
  "split_rows" => false,
3046
3378
  "generate_chunks_only" => false,
3379
+ "store_file_only" => false,
3047
3380
  "skip_file_processing" => false,
3048
3381
  },
3049
3382
  incremental_sync: false,
@@ -3191,6 +3524,7 @@ result = carbon.integrations.sync_s3_files(
3191
3524
  "include_speaker_labels" => false,
3192
3525
  "split_rows" => false,
3193
3526
  "generate_chunks_only" => false,
3527
+ "store_file_only" => false,
3194
3528
  "skip_file_processing" => false,
3195
3529
  },
3196
3530
  )
@@ -3711,6 +4045,7 @@ result = carbon.utilities.scrape_sitemap(
3711
4045
  urls_to_scrape: [],
3712
4046
  download_css_and_media: false,
3713
4047
  generate_chunks_only: false,
4048
+ store_file_only: false,
3714
4049
  )
3715
4050
  p result
3716
4051
  ```
@@ -3754,6 +4089,10 @@ success rate is improved.
3754
4089
  If this flag is enabled, the file will be chunked and stored with Carbon, but no
3755
4090
  embeddings will be generated. This overrides the skip_embedding_generation flag.
3756
4091
 
4092
+ ##### store_file_only: `Boolean`<a id="store_file_only-boolean"></a>
4093
+ If this flag is enabled, the file will be stored with Carbon, but no processing
4094
+ will be done.
4095
+
3757
4096
  #### 🌐 Endpoint<a id="🌐-endpoint"></a>
3758
4097
 
3759
4098
  `/scrape_sitemap` `POST`
@@ -3796,6 +4135,7 @@ result = carbon.utilities.scrape_web(
3796
4135
  "url_paths_to_include" => [],
3797
4136
  "download_css_and_media" => false,
3798
4137
  "generate_chunks_only" => false,
4138
+ "store_file_only" => false,
3799
4139
  }
3800
4140
  ],
3801
4141
  )
@@ -1380,9 +1380,10 @@ module Carbon
1380
1380
  # @param enable_cold_storage [Boolean] Enable cold storage for the file. If set to true, the file will be moved to cold storage after a certain period of inactivity. Default is false.
1381
1381
  # @param hot_storage_time_to_live [Integer] Time in seconds after which the file will be moved to cold storage.
1382
1382
  # @param generate_chunks_only [Boolean] 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.
1383
+ # @param store_file_only [Boolean] If this flag is enabled, the file will be stored with Carbon, but no processing will be done.
1383
1384
  # @param body [BodyCreateUploadFileUploadfilePost]
1384
1385
  # @param [Hash] extra additional parameters to pass along through :header_params, :query_params, or parameter name
1385
- def upload(file:, chunk_size: SENTINEL, chunk_overlap: SENTINEL, skip_embedding_generation: false, set_page_as_boundary: false, embedding_model: 'OPENAI', use_ocr: false, generate_sparse_vectors: false, prepend_filename_to_chunks: false, max_items_per_chunk: SENTINEL, parse_pdf_tables_with_ocr: false, detect_audio_language: false, transcription_service: SENTINEL, include_speaker_labels: false, media_type: SENTINEL, split_rows: false, enable_cold_storage: false, hot_storage_time_to_live: SENTINEL, generate_chunks_only: false, extra: {})
1386
+ def upload(file:, chunk_size: SENTINEL, chunk_overlap: SENTINEL, skip_embedding_generation: false, set_page_as_boundary: false, embedding_model: 'OPENAI', use_ocr: false, generate_sparse_vectors: false, prepend_filename_to_chunks: false, max_items_per_chunk: SENTINEL, parse_pdf_tables_with_ocr: false, detect_audio_language: false, transcription_service: SENTINEL, include_speaker_labels: false, media_type: SENTINEL, split_rows: false, enable_cold_storage: false, hot_storage_time_to_live: SENTINEL, generate_chunks_only: false, store_file_only: false, extra: {})
1386
1387
  _body = {}
1387
1388
  _body[:file] = file if file != SENTINEL
1388
1389
  body_create_upload_file_uploadfile_post = _body
@@ -1404,6 +1405,7 @@ module Carbon
1404
1405
  extra[:enable_cold_storage] = enable_cold_storage if enable_cold_storage != SENTINEL
1405
1406
  extra[:hot_storage_time_to_live] = hot_storage_time_to_live if hot_storage_time_to_live != SENTINEL
1406
1407
  extra[:generate_chunks_only] = generate_chunks_only if generate_chunks_only != SENTINEL
1408
+ extra[:store_file_only] = store_file_only if store_file_only != SENTINEL
1407
1409
  api_response = upload_with_http_info_impl(file, body_create_upload_file_uploadfile_post, extra)
1408
1410
  api_response.data
1409
1411
  end
@@ -1455,9 +1457,10 @@ module Carbon
1455
1457
  # @param enable_cold_storage [Boolean] Enable cold storage for the file. If set to true, the file will be moved to cold storage after a certain period of inactivity. Default is false.
1456
1458
  # @param hot_storage_time_to_live [Integer] Time in seconds after which the file will be moved to cold storage.
1457
1459
  # @param generate_chunks_only [Boolean] 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.
1460
+ # @param store_file_only [Boolean] If this flag is enabled, the file will be stored with Carbon, but no processing will be done.
1458
1461
  # @param body [BodyCreateUploadFileUploadfilePost]
1459
1462
  # @param [Hash] extra additional parameters to pass along through :header_params, :query_params, or parameter name
1460
- def upload_with_http_info(file:, chunk_size: SENTINEL, chunk_overlap: SENTINEL, skip_embedding_generation: false, set_page_as_boundary: false, embedding_model: 'OPENAI', use_ocr: false, generate_sparse_vectors: false, prepend_filename_to_chunks: false, max_items_per_chunk: SENTINEL, parse_pdf_tables_with_ocr: false, detect_audio_language: false, transcription_service: SENTINEL, include_speaker_labels: false, media_type: SENTINEL, split_rows: false, enable_cold_storage: false, hot_storage_time_to_live: SENTINEL, generate_chunks_only: false, extra: {})
1463
+ def upload_with_http_info(file:, chunk_size: SENTINEL, chunk_overlap: SENTINEL, skip_embedding_generation: false, set_page_as_boundary: false, embedding_model: 'OPENAI', use_ocr: false, generate_sparse_vectors: false, prepend_filename_to_chunks: false, max_items_per_chunk: SENTINEL, parse_pdf_tables_with_ocr: false, detect_audio_language: false, transcription_service: SENTINEL, include_speaker_labels: false, media_type: SENTINEL, split_rows: false, enable_cold_storage: false, hot_storage_time_to_live: SENTINEL, generate_chunks_only: false, store_file_only: false, extra: {})
1461
1464
  _body = {}
1462
1465
  _body[:file] = file if file != SENTINEL
1463
1466
  body_create_upload_file_uploadfile_post = _body
@@ -1479,6 +1482,7 @@ module Carbon
1479
1482
  extra[:enable_cold_storage] = enable_cold_storage if enable_cold_storage != SENTINEL
1480
1483
  extra[:hot_storage_time_to_live] = hot_storage_time_to_live if hot_storage_time_to_live != SENTINEL
1481
1484
  extra[:generate_chunks_only] = generate_chunks_only if generate_chunks_only != SENTINEL
1485
+ extra[:store_file_only] = store_file_only if store_file_only != SENTINEL
1482
1486
  upload_with_http_info_impl(file, body_create_upload_file_uploadfile_post, extra)
1483
1487
  end
1484
1488
 
@@ -1505,6 +1509,7 @@ module Carbon
1505
1509
  # @option opts [Boolean] :enable_cold_storage Enable cold storage for the file. If set to true, the file will be moved to cold storage after a certain period of inactivity. Default is false. (default to false)
1506
1510
  # @option opts [Integer] :hot_storage_time_to_live Time in seconds after which the file will be moved to cold storage.
1507
1511
  # @option opts [Boolean] :generate_chunks_only 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. (default to false)
1512
+ # @option opts [Boolean] :store_file_only If this flag is enabled, the file will be stored with Carbon, but no processing will be done. (default to false)
1508
1513
  # @return [UserFile]
1509
1514
  private def upload_impl(file, body_create_upload_file_uploadfile_post, opts = {})
1510
1515
  data, _status_code, _headers = upload_with_http_info(file, body_create_upload_file_uploadfile_post, opts)
@@ -1534,6 +1539,7 @@ module Carbon
1534
1539
  # @option opts [Boolean] :enable_cold_storage Enable cold storage for the file. If set to true, the file will be moved to cold storage after a certain period of inactivity. Default is false. (default to false)
1535
1540
  # @option opts [Integer] :hot_storage_time_to_live Time in seconds after which the file will be moved to cold storage.
1536
1541
  # @option opts [Boolean] :generate_chunks_only 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. (default to false)
1542
+ # @option opts [Boolean] :store_file_only If this flag is enabled, the file will be stored with Carbon, but no processing will be done. (default to false)
1537
1543
  # @return [APIResponse] data is UserFile, status code, headers and response
1538
1544
  private def upload_with_http_info_impl(file, body_create_upload_file_uploadfile_post, opts = {})
1539
1545
  if @api_client.config.debugging
@@ -1570,6 +1576,7 @@ module Carbon
1570
1576
  query_params[:'enable_cold_storage'] = opts[:'enable_cold_storage'] if !opts[:'enable_cold_storage'].nil?
1571
1577
  query_params[:'hot_storage_time_to_live'] = opts[:'hot_storage_time_to_live'] if !opts[:'hot_storage_time_to_live'].nil?
1572
1578
  query_params[:'generate_chunks_only'] = opts[:'generate_chunks_only'] if !opts[:'generate_chunks_only'].nil?
1579
+ query_params[:'store_file_only'] = opts[:'store_file_only'] if !opts[:'store_file_only'].nil?
1573
1580
 
1574
1581
  # header parameters
1575
1582
  header_params = opts[:header_params] || {}
@@ -1633,9 +1640,10 @@ module Carbon
1633
1640
  # @param split_rows [Boolean]
1634
1641
  # @param cold_storage_params [ColdStorageProps]
1635
1642
  # @param generate_chunks_only [Boolean] 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.
1643
+ # @param store_file_only [Boolean] If this flag is enabled, the file will be stored with Carbon, but no processing will be done.
1636
1644
  # @param body [UploadFileFromUrlInput]
1637
1645
  # @param [Hash] extra additional parameters to pass along through :header_params, :query_params, or parameter name
1638
- def upload_from_url(url:, file_name: SENTINEL, chunk_size: SENTINEL, chunk_overlap: SENTINEL, skip_embedding_generation: false, set_page_as_boundary: false, embedding_model: 'OPENAI', generate_sparse_vectors: false, use_textract: false, prepend_filename_to_chunks: false, max_items_per_chunk: SENTINEL, parse_pdf_tables_with_ocr: false, detect_audio_language: false, transcription_service: SENTINEL, include_speaker_labels: false, media_type: SENTINEL, split_rows: false, cold_storage_params: SENTINEL, generate_chunks_only: false, extra: {})
1646
+ def upload_from_url(url:, file_name: SENTINEL, chunk_size: SENTINEL, chunk_overlap: SENTINEL, skip_embedding_generation: false, set_page_as_boundary: false, embedding_model: 'OPENAI', generate_sparse_vectors: false, use_textract: false, prepend_filename_to_chunks: false, max_items_per_chunk: SENTINEL, parse_pdf_tables_with_ocr: false, detect_audio_language: false, transcription_service: SENTINEL, include_speaker_labels: false, media_type: SENTINEL, split_rows: false, cold_storage_params: SENTINEL, generate_chunks_only: false, store_file_only: false, extra: {})
1639
1647
  _body = {}
1640
1648
  _body[:url] = url if url != SENTINEL
1641
1649
  _body[:file_name] = file_name if file_name != SENTINEL
@@ -1656,6 +1664,7 @@ module Carbon
1656
1664
  _body[:split_rows] = split_rows if split_rows != SENTINEL
1657
1665
  _body[:cold_storage_params] = cold_storage_params if cold_storage_params != SENTINEL
1658
1666
  _body[:generate_chunks_only] = generate_chunks_only if generate_chunks_only != SENTINEL
1667
+ _body[:store_file_only] = store_file_only if store_file_only != SENTINEL
1659
1668
  upload_file_from_url_input = _body
1660
1669
  api_response = upload_from_url_with_http_info_impl(upload_file_from_url_input, extra)
1661
1670
  api_response.data
@@ -1682,9 +1691,10 @@ module Carbon
1682
1691
  # @param split_rows [Boolean]
1683
1692
  # @param cold_storage_params [ColdStorageProps]
1684
1693
  # @param generate_chunks_only [Boolean] 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.
1694
+ # @param store_file_only [Boolean] If this flag is enabled, the file will be stored with Carbon, but no processing will be done.
1685
1695
  # @param body [UploadFileFromUrlInput]
1686
1696
  # @param [Hash] extra additional parameters to pass along through :header_params, :query_params, or parameter name
1687
- def upload_from_url_with_http_info(url:, file_name: SENTINEL, chunk_size: SENTINEL, chunk_overlap: SENTINEL, skip_embedding_generation: false, set_page_as_boundary: false, embedding_model: 'OPENAI', generate_sparse_vectors: false, use_textract: false, prepend_filename_to_chunks: false, max_items_per_chunk: SENTINEL, parse_pdf_tables_with_ocr: false, detect_audio_language: false, transcription_service: SENTINEL, include_speaker_labels: false, media_type: SENTINEL, split_rows: false, cold_storage_params: SENTINEL, generate_chunks_only: false, extra: {})
1697
+ def upload_from_url_with_http_info(url:, file_name: SENTINEL, chunk_size: SENTINEL, chunk_overlap: SENTINEL, skip_embedding_generation: false, set_page_as_boundary: false, embedding_model: 'OPENAI', generate_sparse_vectors: false, use_textract: false, prepend_filename_to_chunks: false, max_items_per_chunk: SENTINEL, parse_pdf_tables_with_ocr: false, detect_audio_language: false, transcription_service: SENTINEL, include_speaker_labels: false, media_type: SENTINEL, split_rows: false, cold_storage_params: SENTINEL, generate_chunks_only: false, store_file_only: false, extra: {})
1688
1698
  _body = {}
1689
1699
  _body[:url] = url if url != SENTINEL
1690
1700
  _body[:file_name] = file_name if file_name != SENTINEL
@@ -1705,6 +1715,7 @@ module Carbon
1705
1715
  _body[:split_rows] = split_rows if split_rows != SENTINEL
1706
1716
  _body[:cold_storage_params] = cold_storage_params if cold_storage_params != SENTINEL
1707
1717
  _body[:generate_chunks_only] = generate_chunks_only if generate_chunks_only != SENTINEL
1718
+ _body[:store_file_only] = store_file_only if store_file_only != SENTINEL
1708
1719
  upload_file_from_url_input = _body
1709
1720
  upload_from_url_with_http_info_impl(upload_file_from_url_input, extra)
1710
1721
  end
@@ -1799,9 +1810,10 @@ module Carbon
1799
1810
  # @param generate_sparse_vectors [Boolean]
1800
1811
  # @param cold_storage_params [ColdStorageProps]
1801
1812
  # @param generate_chunks_only [Boolean] 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.
1813
+ # @param store_file_only [Boolean] If this flag is enabled, the file will be stored with Carbon, but no processing will be done.
1802
1814
  # @param body [RawTextInput]
1803
1815
  # @param [Hash] extra additional parameters to pass along through :header_params, :query_params, or parameter name
1804
- def upload_text(contents:, name: SENTINEL, chunk_size: SENTINEL, chunk_overlap: SENTINEL, skip_embedding_generation: false, overwrite_file_id: SENTINEL, embedding_model: 'OPENAI', generate_sparse_vectors: false, cold_storage_params: SENTINEL, generate_chunks_only: false, extra: {})
1816
+ def upload_text(contents:, name: SENTINEL, chunk_size: SENTINEL, chunk_overlap: SENTINEL, skip_embedding_generation: false, overwrite_file_id: SENTINEL, embedding_model: 'OPENAI', generate_sparse_vectors: false, cold_storage_params: SENTINEL, generate_chunks_only: false, store_file_only: false, extra: {})
1805
1817
  _body = {}
1806
1818
  _body[:contents] = contents if contents != SENTINEL
1807
1819
  _body[:name] = name if name != SENTINEL
@@ -1813,6 +1825,7 @@ module Carbon
1813
1825
  _body[:generate_sparse_vectors] = generate_sparse_vectors if generate_sparse_vectors != SENTINEL
1814
1826
  _body[:cold_storage_params] = cold_storage_params if cold_storage_params != SENTINEL
1815
1827
  _body[:generate_chunks_only] = generate_chunks_only if generate_chunks_only != SENTINEL
1828
+ _body[:store_file_only] = store_file_only if store_file_only != SENTINEL
1816
1829
  raw_text_input = _body
1817
1830
  api_response = upload_text_with_http_info_impl(raw_text_input, extra)
1818
1831
  api_response.data
@@ -1841,9 +1854,10 @@ module Carbon
1841
1854
  # @param generate_sparse_vectors [Boolean]
1842
1855
  # @param cold_storage_params [ColdStorageProps]
1843
1856
  # @param generate_chunks_only [Boolean] 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.
1857
+ # @param store_file_only [Boolean] If this flag is enabled, the file will be stored with Carbon, but no processing will be done.
1844
1858
  # @param body [RawTextInput]
1845
1859
  # @param [Hash] extra additional parameters to pass along through :header_params, :query_params, or parameter name
1846
- def upload_text_with_http_info(contents:, name: SENTINEL, chunk_size: SENTINEL, chunk_overlap: SENTINEL, skip_embedding_generation: false, overwrite_file_id: SENTINEL, embedding_model: 'OPENAI', generate_sparse_vectors: false, cold_storage_params: SENTINEL, generate_chunks_only: false, extra: {})
1860
+ def upload_text_with_http_info(contents:, name: SENTINEL, chunk_size: SENTINEL, chunk_overlap: SENTINEL, skip_embedding_generation: false, overwrite_file_id: SENTINEL, embedding_model: 'OPENAI', generate_sparse_vectors: false, cold_storage_params: SENTINEL, generate_chunks_only: false, store_file_only: false, extra: {})
1847
1861
  _body = {}
1848
1862
  _body[:contents] = contents if contents != SENTINEL
1849
1863
  _body[:name] = name if name != SENTINEL
@@ -1855,6 +1869,7 @@ module Carbon
1855
1869
  _body[:generate_sparse_vectors] = generate_sparse_vectors if generate_sparse_vectors != SENTINEL
1856
1870
  _body[:cold_storage_params] = cold_storage_params if cold_storage_params != SENTINEL
1857
1871
  _body[:generate_chunks_only] = generate_chunks_only if generate_chunks_only != SENTINEL
1872
+ _body[:store_file_only] = store_file_only if store_file_only != SENTINEL
1858
1873
  raw_text_input = _body
1859
1874
  upload_text_with_http_info_impl(raw_text_input, extra)
1860
1875
  end