-
Notifications
You must be signed in to change notification settings - Fork 3
/
intelligence.gemspec
48 lines (38 loc) · 2.09 KB
/
intelligence.gemspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
require_relative 'lib/intelligence/version'
Gem::Specification.new do | spec |
spec.name = 'intelligence'
spec.version = Intelligence::VERSION
spec.authors = [ 'Kristoph Cichocki-Romanov' ]
spec.email = [ '[email protected]' ]
spec.summary = <<~TEXT.gsub( "\n", " " ).strip
A Ruby gem for seamlessly and uniformly interacting with large languge and vision model (LLM)
API's served by numerous services, including those of OpenAI, Anthropic, Google and others.
TEXT
spec.description = <<~TEXT.gsub( "\n", " " ).strip
Intelligence is a lightweight yet powerful Ruby gem that allows you to seamlessly and uniformly
interact with large language and vision models (LLM) API's of numerous vendors, including
OpenAI, Anthropic, Google, Cerebras, Groq, Hyperbolic, Samba Nova and Together AI. It can be
trivially expanded to other OpenAI conformant API providers as well as self hosted models.
Intelligence supports text models in streaming and non-streaming mode, vision models, and
tool use.
Intelligence has minimal dependencies and does not require the vendors ( often bloated )
SDK's.
TEXT
spec.license = 'MIT'
spec.homepage = 'https://github.com/EndlessInternational/intelligence'
spec.metadata = {
'source_code_uri' => 'https://github.com/EndlessInternational/intelligence',
'bug_tracker_uri' => 'https://github.com/EndlessInternational/intelligence/issues',
# 'documentation_uri' => 'https://github.com/EndlessInternational/intelligence/wiki'
}
spec.required_ruby_version = '>= 3.0'
spec.files = Dir[ "lib/**/*.rb", "LICENSE", "README.md", "intelligence.gemspec" ]
spec.require_paths = [ "lib" ]
spec.add_runtime_dependency 'faraday', '~> 2.7'
spec.add_runtime_dependency 'dynamicschema', '~> 1.0.0.beta03'
spec.add_runtime_dependency 'mime-types', '~> 3.6'
spec.add_runtime_dependency 'json-repair', '~> 0.2'
spec.add_development_dependency 'rspec', '~> 3.4'
spec.add_development_dependency 'debug', '~> 1.9'
spec.add_development_dependency 'vcr', '~> 6.3'
end