-
-
Notifications
You must be signed in to change notification settings - Fork 195
/
langchain.gemspec
78 lines (70 loc) · 3.67 KB
/
langchain.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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
# frozen_string_literal: true
require_relative "lib/langchain/version"
Gem::Specification.new do |spec|
spec.name = "langchainrb"
spec.version = Langchain::VERSION
spec.authors = ["Andrei Bondarev"]
spec.email = ["andrei.bondarev13@gmail.com"]
spec.summary = "Build LLM-backed Ruby applications with Ruby's Langchain.rb"
spec.description = "Build LLM-backed Ruby applications with Ruby's Langchain.rb"
spec.homepage = "https://rubygems.org/gems/langchainrb"
spec.license = "MIT"
spec.required_ruby_version = ">= 3.1.0"
spec.metadata["homepage_uri"] = spec.homepage
spec.metadata["source_code_uri"] = "https://github.com/patterns-ai-core/langchainrb"
spec.metadata["changelog_uri"] = "https://github.com/patterns-ai-core/langchainrb/blob/main/CHANGELOG.md"
spec.metadata["documentation_uri"] = "https://rubydoc.info/gems/langchainrb"
# Specify which files should be added to the gem when it is released.
spec.files = Dir["LICENSE.txt", "README.md", "CHANGELOG.md", "lib/**/*"]
spec.bindir = "exe"
spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) }
spec.require_paths = ["lib"]
# dependencies
# Not sure if we should require this as it only applies to OpenAI usecase.
spec.add_dependency "baran", "~> 0.1.9"
spec.add_dependency "json-schema", "~> 4"
spec.add_dependency "zeitwerk", "~> 2.5"
spec.add_dependency "pragmatic_segmenter", "~> 0.3.0"
spec.add_dependency "matrix"
# development dependencies
spec.add_development_dependency "dotenv-rails", "~> 2.7.6"
spec.add_development_dependency "pry-byebug", "~> 3.10.0"
spec.add_development_dependency "yard", "~> 0.9.34"
spec.add_development_dependency "rdiscount", "~> 2.2.7" # for github-flavored markdown in yard
spec.add_development_dependency "vcr"
spec.add_development_dependency "webmock"
# optional dependencies
spec.add_development_dependency "ai21", "~> 0.2.1"
spec.add_development_dependency "anthropic", "~> 0.3"
spec.add_development_dependency "aws-sdk-bedrockruntime", "~> 1.1"
spec.add_development_dependency "chroma-db", "~> 0.6.0"
spec.add_development_dependency "cohere-ruby", "~> 0.9.10"
spec.add_development_dependency "docx", "~> 0.8.0"
spec.add_development_dependency "elasticsearch", "~> 8.2.0"
spec.add_development_dependency "epsilla-ruby", "~> 0.0.4"
spec.add_development_dependency "eqn", "~> 1.6.5"
spec.add_development_dependency "faraday"
spec.add_development_dependency "googleauth"
spec.add_development_dependency "google_search_results", "~> 2.0.0"
spec.add_development_dependency "hnswlib", "~> 0.8.1"
spec.add_development_dependency "hugging-face", "~> 0.3.4"
spec.add_development_dependency "milvus", "~> 0.10.3"
spec.add_development_dependency "llama_cpp", "~> 0.9.4"
spec.add_development_dependency "nokogiri", "~> 1.13"
spec.add_development_dependency "mail", "~> 2.8"
spec.add_development_dependency "mistral-ai"
spec.add_development_dependency "pg", "~> 1.5"
spec.add_development_dependency "pgvector", "~> 0.2.1"
spec.add_development_dependency "pdf-reader", "~> 2.0"
spec.add_development_dependency "pinecone", "~> 0.1.6"
spec.add_development_dependency "replicate-ruby", "~> 0.2.2"
spec.add_development_dependency "qdrant-ruby", "~> 0.9.8"
spec.add_development_dependency "roo", "~> 2.10.0"
spec.add_development_dependency "roo-xls", "~> 1.2.0"
spec.add_development_dependency "ruby-openai", "~> 7.1.0"
spec.add_development_dependency "safe_ruby", "~> 1.0.4"
spec.add_development_dependency "sequel", "~> 5.68.0"
spec.add_development_dependency "weaviate-ruby", "~> 0.9.2"
spec.add_development_dependency "wikipedia-client", "~> 1.17.0"
spec.add_development_dependency "power_point_pptx", "~> 0.1.0"
end