carbon_ruby_sdk 0.1.4 → 0.1.5
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 +2 -2
- data/lib/carbon_ruby_sdk/models/embedding_generators.rb +6 -1
- data/lib/carbon_ruby_sdk/models/embedding_generators_nullable.rb +6 -1
- data/lib/carbon_ruby_sdk/models/file_formats.rb +1 -6
- data/lib/carbon_ruby_sdk/models/file_formats_nullable.rb +1 -6
- data/lib/carbon_ruby_sdk/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 58958795ddfad5666367afc517c5d3f538823c2d6a3b29cfa5a6b5adc7d775bb
|
4
|
+
data.tar.gz: 169f320f74f9c1ab73bf5b6855ff45be3df795a3347fc07a05b291354af2b2fe
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5fd551a710809c3f5907508f27b5ebbf9a63ec9accedb216f30c26143487d7a2acbd37023ec5eb15a8041fe9b7c479f8aa473870d52cb83070aefd1fba1ee2a8
|
7
|
+
data.tar.gz: fa80b65792aec38897c35061c72dcd9d82740ede5968abc64fc1dfc72771e301846fd7aa7bbcd31fae503fe8e16b5a9f6477a76a549474e9a0efa3b065ac4f63
|
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.1.
|
9
|
+
[![npm](https://img.shields.io/badge/gem-v0.1.5-blue)](https://rubygems.org/gems/carbon_ruby_sdk/versions/0.1.5)
|
10
10
|
|
11
11
|
</div>
|
12
12
|
|
@@ -77,7 +77,7 @@ Connect external data to LLMs, no matter the source.
|
|
77
77
|
Add to Gemfile:
|
78
78
|
|
79
79
|
```ruby
|
80
|
-
gem 'carbon_ruby_sdk', '~> 0.1.
|
80
|
+
gem 'carbon_ruby_sdk', '~> 0.1.5'
|
81
81
|
```
|
82
82
|
|
83
83
|
## Getting Started<a id="getting-started"></a>
|
@@ -13,6 +13,11 @@ module Carbon
|
|
13
13
|
class EmbeddingGenerators
|
14
14
|
OPENAI = "OPENAI".freeze
|
15
15
|
AZURE_OPENAI = "AZURE_OPENAI".freeze
|
16
|
+
AZURE_ADA_LARGE_256 = "AZURE_ADA_LARGE_256".freeze
|
17
|
+
AZURE_ADA_LARGE_1024 = "AZURE_ADA_LARGE_1024".freeze
|
18
|
+
AZURE_ADA_LARGE_3072 = "AZURE_ADA_LARGE_3072".freeze
|
19
|
+
AZURE_ADA_SMALL_512 = "AZURE_ADA_SMALL_512".freeze
|
20
|
+
AZURE_ADA_SMALL_1536 = "AZURE_ADA_SMALL_1536".freeze
|
16
21
|
COHERE_MULTILINGUAL_V3 = "COHERE_MULTILINGUAL_V3".freeze
|
17
22
|
VERTEX_MULTIMODAL = "VERTEX_MULTIMODAL".freeze
|
18
23
|
OPENAI_ADA_LARGE_256 = "OPENAI_ADA_LARGE_256".freeze
|
@@ -22,7 +27,7 @@ module Carbon
|
|
22
27
|
OPENAI_ADA_SMALL_1536 = "OPENAI_ADA_SMALL_1536".freeze
|
23
28
|
|
24
29
|
def self.all_vars
|
25
|
-
@all_vars ||= [OPENAI, AZURE_OPENAI, COHERE_MULTILINGUAL_V3, VERTEX_MULTIMODAL, OPENAI_ADA_LARGE_256, OPENAI_ADA_LARGE_1024, OPENAI_ADA_LARGE_3072, OPENAI_ADA_SMALL_512, OPENAI_ADA_SMALL_1536].freeze
|
30
|
+
@all_vars ||= [OPENAI, AZURE_OPENAI, AZURE_ADA_LARGE_256, AZURE_ADA_LARGE_1024, AZURE_ADA_LARGE_3072, AZURE_ADA_SMALL_512, AZURE_ADA_SMALL_1536, COHERE_MULTILINGUAL_V3, VERTEX_MULTIMODAL, OPENAI_ADA_LARGE_256, OPENAI_ADA_LARGE_1024, OPENAI_ADA_LARGE_3072, OPENAI_ADA_SMALL_512, OPENAI_ADA_SMALL_1536].freeze
|
26
31
|
end
|
27
32
|
|
28
33
|
# Builds the enum from string
|
@@ -13,6 +13,11 @@ module Carbon
|
|
13
13
|
class EmbeddingGeneratorsNullable
|
14
14
|
OPENAI = "OPENAI".freeze
|
15
15
|
AZURE_OPENAI = "AZURE_OPENAI".freeze
|
16
|
+
AZURE_ADA_LARGE_256 = "AZURE_ADA_LARGE_256".freeze
|
17
|
+
AZURE_ADA_LARGE_1024 = "AZURE_ADA_LARGE_1024".freeze
|
18
|
+
AZURE_ADA_LARGE_3072 = "AZURE_ADA_LARGE_3072".freeze
|
19
|
+
AZURE_ADA_SMALL_512 = "AZURE_ADA_SMALL_512".freeze
|
20
|
+
AZURE_ADA_SMALL_1536 = "AZURE_ADA_SMALL_1536".freeze
|
16
21
|
COHERE_MULTILINGUAL_V3 = "COHERE_MULTILINGUAL_V3".freeze
|
17
22
|
VERTEX_MULTIMODAL = "VERTEX_MULTIMODAL".freeze
|
18
23
|
OPENAI_ADA_LARGE_256 = "OPENAI_ADA_LARGE_256".freeze
|
@@ -22,7 +27,7 @@ module Carbon
|
|
22
27
|
OPENAI_ADA_SMALL_1536 = "OPENAI_ADA_SMALL_1536".freeze
|
23
28
|
|
24
29
|
def self.all_vars
|
25
|
-
@all_vars ||= [OPENAI, AZURE_OPENAI, COHERE_MULTILINGUAL_V3, VERTEX_MULTIMODAL, OPENAI_ADA_LARGE_256, OPENAI_ADA_LARGE_1024, OPENAI_ADA_LARGE_3072, OPENAI_ADA_SMALL_512, OPENAI_ADA_SMALL_1536].freeze
|
30
|
+
@all_vars ||= [OPENAI, AZURE_OPENAI, AZURE_ADA_LARGE_256, AZURE_ADA_LARGE_1024, AZURE_ADA_LARGE_3072, AZURE_ADA_SMALL_512, AZURE_ADA_SMALL_1536, COHERE_MULTILINGUAL_V3, VERTEX_MULTIMODAL, OPENAI_ADA_LARGE_256, OPENAI_ADA_LARGE_1024, OPENAI_ADA_LARGE_3072, OPENAI_ADA_SMALL_512, OPENAI_ADA_SMALL_1536].freeze
|
26
31
|
end
|
27
32
|
|
28
33
|
# Builds the enum from string
|
@@ -22,19 +22,14 @@ module Carbon
|
|
22
22
|
RTF = "RTF".freeze
|
23
23
|
JSON = "JSON".freeze
|
24
24
|
NOTION = "NOTION".freeze
|
25
|
-
GOOGLE_DRIVE = "GOOGLE_DRIVE".freeze
|
26
25
|
GOOGLE_DOCS = "GOOGLE_DOCS".freeze
|
27
26
|
GOOGLE_SHEETS = "GOOGLE_SHEETS".freeze
|
28
27
|
GOOGLE_SLIDES = "GOOGLE_SLIDES".freeze
|
29
28
|
INTERCOM = "INTERCOM".freeze
|
30
|
-
DROPBOX = "DROPBOX".freeze
|
31
|
-
ONEDRIVE = "ONEDRIVE".freeze
|
32
|
-
SHAREPOINT = "SHAREPOINT".freeze
|
33
29
|
CONFLUENCE = "CONFLUENCE".freeze
|
34
30
|
RSS_FEED = "RSS_FEED".freeze
|
35
31
|
GMAIL = "GMAIL".freeze
|
36
32
|
OUTLOOK = "OUTLOOK".freeze
|
37
|
-
BOX = "BOX".freeze
|
38
33
|
ZENDESK = "ZENDESK".freeze
|
39
34
|
FRESHDESK = "FRESHDESK".freeze
|
40
35
|
WEB_SCRAPE = "WEB_SCRAPE".freeze
|
@@ -55,7 +50,7 @@ module Carbon
|
|
55
50
|
WEBM = "WEBM".freeze
|
56
51
|
|
57
52
|
def self.all_vars
|
58
|
-
@all_vars ||= [TXT, CSV, TSV, PDF, DOCX, PPTX, XLSX, MD, RTF, JSON, NOTION,
|
53
|
+
@all_vars ||= [TXT, CSV, TSV, PDF, DOCX, PPTX, XLSX, MD, RTF, JSON, NOTION, GOOGLE_DOCS, GOOGLE_SHEETS, GOOGLE_SLIDES, INTERCOM, CONFLUENCE, RSS_FEED, GMAIL, OUTLOOK, ZENDESK, FRESHDESK, WEB_SCRAPE, GITBOOK, SALESFORCE, JPG, PNG, MP3, MP4, MP2, AAC, WAV, FLAC, PCM, M4_A, OGG, OPUS, WEBM].freeze
|
59
54
|
end
|
60
55
|
|
61
56
|
# Builds the enum from string
|
@@ -22,19 +22,14 @@ module Carbon
|
|
22
22
|
RTF = "RTF".freeze
|
23
23
|
JSON = "JSON".freeze
|
24
24
|
NOTION = "NOTION".freeze
|
25
|
-
GOOGLE_DRIVE = "GOOGLE_DRIVE".freeze
|
26
25
|
GOOGLE_DOCS = "GOOGLE_DOCS".freeze
|
27
26
|
GOOGLE_SHEETS = "GOOGLE_SHEETS".freeze
|
28
27
|
GOOGLE_SLIDES = "GOOGLE_SLIDES".freeze
|
29
28
|
INTERCOM = "INTERCOM".freeze
|
30
|
-
DROPBOX = "DROPBOX".freeze
|
31
|
-
ONEDRIVE = "ONEDRIVE".freeze
|
32
|
-
SHAREPOINT = "SHAREPOINT".freeze
|
33
29
|
CONFLUENCE = "CONFLUENCE".freeze
|
34
30
|
RSS_FEED = "RSS_FEED".freeze
|
35
31
|
GMAIL = "GMAIL".freeze
|
36
32
|
OUTLOOK = "OUTLOOK".freeze
|
37
|
-
BOX = "BOX".freeze
|
38
33
|
ZENDESK = "ZENDESK".freeze
|
39
34
|
FRESHDESK = "FRESHDESK".freeze
|
40
35
|
WEB_SCRAPE = "WEB_SCRAPE".freeze
|
@@ -55,7 +50,7 @@ module Carbon
|
|
55
50
|
WEBM = "WEBM".freeze
|
56
51
|
|
57
52
|
def self.all_vars
|
58
|
-
@all_vars ||= [TXT, CSV, TSV, PDF, DOCX, PPTX, XLSX, MD, RTF, JSON, NOTION,
|
53
|
+
@all_vars ||= [TXT, CSV, TSV, PDF, DOCX, PPTX, XLSX, MD, RTF, JSON, NOTION, GOOGLE_DOCS, GOOGLE_SHEETS, GOOGLE_SLIDES, INTERCOM, CONFLUENCE, RSS_FEED, GMAIL, OUTLOOK, ZENDESK, FRESHDESK, WEB_SCRAPE, GITBOOK, SALESFORCE, JPG, PNG, MP3, MP4, MP2, AAC, WAV, FLAC, PCM, M4_A, OGG, OPUS, WEBM].freeze
|
59
54
|
end
|
60
55
|
|
61
56
|
# Builds the enum from string
|
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.1.
|
4
|
+
version: 0.1.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Konfig
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-03-
|
11
|
+
date: 2024-03-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|