2022-12-04 00:42:59 +00:00
|
|
|
[tool.poetry]
|
|
|
|
name = "langchain"
|
2023-04-24 18:08:32 +00:00
|
|
|
version = "0.0.148"
|
2022-12-04 00:42:59 +00:00
|
|
|
description = "Building applications with LLMs through composability"
|
|
|
|
authors = []
|
|
|
|
license = "MIT"
|
|
|
|
readme = "README.md"
|
|
|
|
repository = "https://www.github.com/hwchase17/langchain"
|
|
|
|
|
2023-01-27 01:38:13 +00:00
|
|
|
[tool.poetry.scripts]
|
|
|
|
langchain-server = "langchain.server:main"
|
|
|
|
|
2022-12-04 00:42:59 +00:00
|
|
|
[tool.poetry.dependencies]
|
|
|
|
python = ">=3.8.1,<4.0"
|
|
|
|
pydantic = "^1"
|
|
|
|
SQLAlchemy = "^1"
|
|
|
|
requests = "^2"
|
2023-03-17 00:05:36 +00:00
|
|
|
PyYAML = ">=5.4.1"
|
2022-12-04 00:42:59 +00:00
|
|
|
numpy = "^1"
|
2023-04-20 03:48:47 +00:00
|
|
|
tqdm = {version = ">=4.48.0", optional = true}
|
2023-04-06 05:19:09 +00:00
|
|
|
openapi-schema-pydantic = "^1.2"
|
2022-12-04 00:42:59 +00:00
|
|
|
faiss-cpu = {version = "^1", optional = true}
|
|
|
|
wikipedia = {version = "^1", optional = true}
|
|
|
|
elasticsearch = {version = "^8", optional = true}
|
2023-02-21 02:39:34 +00:00
|
|
|
opensearch-py = {version = "^2.0.0", optional = true}
|
2022-12-22 17:31:27 +00:00
|
|
|
redis = {version = "^4", optional = true}
|
2022-12-04 00:42:59 +00:00
|
|
|
manifest-ml = {version = "^0.0.1", optional = true}
|
|
|
|
spacy = {version = "^3", optional = true}
|
|
|
|
nltk = {version = "^3", optional = true}
|
|
|
|
transformers = {version = "^4", optional = true}
|
2022-12-07 05:55:02 +00:00
|
|
|
beautifulsoup4 = {version = "^4", optional = true}
|
2023-04-14 04:38:49 +00:00
|
|
|
torch = {version = ">=1,<3", optional = true}
|
2022-12-19 21:40:39 +00:00
|
|
|
jinja2 = {version = "^3", optional = true}
|
2023-03-23 02:39:57 +00:00
|
|
|
tiktoken = {version = "^0.3.2", optional = true, python="^3.9"}
|
2022-12-21 03:24:08 +00:00
|
|
|
pinecone-client = {version = "^2", optional = true}
|
2023-04-12 04:32:17 +00:00
|
|
|
pinecone-text = {version = "^0.4.2", optional = true}
|
2023-04-22 16:17:38 +00:00
|
|
|
clickhouse-connect = {version="^0.5.14", optional=true}
|
2022-12-21 03:24:08 +00:00
|
|
|
weaviate-client = {version = "^3", optional = true}
|
2022-12-30 13:06:57 +00:00
|
|
|
google-api-python-client = {version = "2.70.0", optional = true}
|
2023-01-11 13:52:19 +00:00
|
|
|
wolframalpha = {version = "5.0.0", optional = true}
|
2023-04-15 00:22:01 +00:00
|
|
|
anthropic = {version = "^0.2.6", optional = true}
|
2023-04-07 19:24:32 +00:00
|
|
|
qdrant-client = {version = "^1.1.2", optional = true, python = ">=3.8.1,<3.12"}
|
2023-01-27 01:38:13 +00:00
|
|
|
dataclasses-json = "^0.5.7"
|
2023-01-31 08:00:08 +00:00
|
|
|
tensorflow-text = {version = "^2.11.0", optional = true, python = "^3.10, <3.12"}
|
2023-02-03 03:56:26 +00:00
|
|
|
tenacity = "^8.1.0"
|
2023-02-10 07:19:19 +00:00
|
|
|
cohere = {version = "^3", optional = true}
|
|
|
|
openai = {version = "^0", optional = true}
|
|
|
|
nlpcloud = {version = "^1", optional = true}
|
2023-02-27 06:11:38 +00:00
|
|
|
nomic = {version = "^1.0.43", optional = true}
|
2023-02-10 07:19:19 +00:00
|
|
|
huggingface_hub = {version = "^0", optional = true}
|
2023-03-28 15:16:17 +00:00
|
|
|
jina = {version = "^3.14", optional = true}
|
2023-02-10 07:19:19 +00:00
|
|
|
google-search-results = {version = "^2", optional = true}
|
|
|
|
sentence-transformers = {version = "^2", optional = true}
|
2023-02-08 05:21:57 +00:00
|
|
|
aiohttp = "^3.8.3"
|
2023-04-19 23:53:34 +00:00
|
|
|
arxiv = {version = "^1.4", optional = true}
|
2023-02-10 18:07:26 +00:00
|
|
|
pypdf = {version = "^3.4.0", optional = true}
|
2023-02-13 07:01:26 +00:00
|
|
|
networkx = {version="^2.6.3", optional = true}
|
2023-02-25 16:48:02 +00:00
|
|
|
aleph-alpha-client = {version="^2.15.0", optional = true}
|
2023-04-24 04:23:54 +00:00
|
|
|
deeplake = {version = "^3.3.0", optional = true}
|
2023-03-15 04:13:58 +00:00
|
|
|
pgvector = {version = "^0.1.6", optional = true}
|
|
|
|
psycopg2-binary = {version = "^2.9.5", optional = true}
|
2023-04-08 03:43:53 +00:00
|
|
|
#boto3 = {version = "^1.26.96", optional = true} # TODO: fix it, commented because the version failed with deeplake
|
2023-03-28 19:02:14 +00:00
|
|
|
pyowm = {version = "^3.3.0", optional = true}
|
2023-04-06 19:54:32 +00:00
|
|
|
async-timeout = {version = "^4.0.0", python = "<3.11"}
|
2023-04-22 15:24:48 +00:00
|
|
|
azure-identity = {version = "^1.12.0", optional=true}
|
2023-04-12 21:16:58 +00:00
|
|
|
gptcache = {version = ">=0.1.7", optional = true}
|
2023-04-18 03:23:45 +00:00
|
|
|
atlassian-python-api = {version = "^3.36.0", optional=true}
|
|
|
|
pytesseract = {version = "^0.3.10", optional=true}
|
|
|
|
html2text = {version="^2020.1.16", optional=true}
|
2023-04-16 15:50:32 +00:00
|
|
|
numexpr = "^2.8.4"
|
2023-04-20 04:32:26 +00:00
|
|
|
duckduckgo-search = {version="^2.8.6", optional=true}
|
2023-02-10 07:19:19 +00:00
|
|
|
|
2023-04-22 15:24:48 +00:00
|
|
|
|
2023-01-05 05:39:50 +00:00
|
|
|
[tool.poetry.group.docs.dependencies]
|
|
|
|
autodoc_pydantic = "^1.8.0"
|
|
|
|
myst_parser = "^0.18.1"
|
|
|
|
nbsphinx = "^0.8.9"
|
|
|
|
sphinx = "^4.5.0"
|
|
|
|
sphinx-autobuild = "^2021.3.14"
|
|
|
|
sphinx_book_theme = "^0.3.3"
|
|
|
|
sphinx_rtd_theme = "^1.0.0"
|
|
|
|
sphinx-typlog-theme = "^0.8.0"
|
|
|
|
sphinx-panels = "^0.6.0"
|
|
|
|
toml = "^0.10.2"
|
|
|
|
myst-nb = "^0.17.1"
|
|
|
|
linkchecker = "^10.2.1"
|
2023-03-13 04:15:07 +00:00
|
|
|
sphinx-copybutton = "^0.5.1"
|
2022-12-04 00:42:59 +00:00
|
|
|
|
|
|
|
[tool.poetry.group.test.dependencies]
|
2023-04-12 03:45:36 +00:00
|
|
|
pytest = "^7.3.0"
|
2022-12-13 13:48:53 +00:00
|
|
|
pytest-cov = "^4.0.0"
|
2022-12-04 00:42:59 +00:00
|
|
|
pytest-dotenv = "^0.5.2"
|
2023-03-17 04:55:35 +00:00
|
|
|
duckdb-engine = "^0.7.0"
|
2022-12-28 22:13:08 +00:00
|
|
|
pytest-watcher = "^0.2.6"
|
2023-01-27 01:38:13 +00:00
|
|
|
freezegun = "^1.2.2"
|
2023-01-30 22:52:17 +00:00
|
|
|
responses = "^0.22.0"
|
2023-02-08 05:21:57 +00:00
|
|
|
pytest-asyncio = "^0.20.3"
|
2022-12-04 00:42:59 +00:00
|
|
|
|
2023-04-05 13:51:32 +00:00
|
|
|
[tool.poetry.group.test_integration]
|
|
|
|
optional = true
|
|
|
|
|
|
|
|
[tool.poetry.group.test_integration.dependencies]
|
2023-04-07 14:28:57 +00:00
|
|
|
pytest-vcr = "^1.0.2"
|
|
|
|
wrapt = "^1.15.0"
|
2023-04-12 03:45:36 +00:00
|
|
|
openai = "^0.27.4"
|
|
|
|
elasticsearch = {extras = ["async"], version = "^8.6.2"}
|
2023-04-08 03:43:53 +00:00
|
|
|
redis = "^4.5.4"
|
|
|
|
pinecone-client = "^2.2.1"
|
2023-04-12 04:32:17 +00:00
|
|
|
pinecone-text = "^0.4.2"
|
2023-04-22 16:17:38 +00:00
|
|
|
clickhouse-connect = "^0.5.14"
|
2023-04-08 03:43:53 +00:00
|
|
|
pgvector = "^0.1.6"
|
|
|
|
transformers = "^4.27.4"
|
|
|
|
pandas = "^2.0.0"
|
|
|
|
deeplake = "^3.2.21"
|
2023-04-14 05:37:34 +00:00
|
|
|
weaviate-client = "^3.15.5"
|
2023-04-12 04:32:17 +00:00
|
|
|
torch = "^1.0.0"
|
2023-04-12 03:45:36 +00:00
|
|
|
chromadb = "^0.3.21"
|
|
|
|
tiktoken = "^0.3.3"
|
2023-04-14 04:49:31 +00:00
|
|
|
python-dotenv = "^1.0.0"
|
2023-04-24 01:25:20 +00:00
|
|
|
sentence-transformers = "^2"
|
2023-04-14 04:49:31 +00:00
|
|
|
gptcache = "^0.1.9"
|
|
|
|
promptlayer = "^0.1.80"
|
2023-04-05 13:51:32 +00:00
|
|
|
|
2022-12-04 00:42:59 +00:00
|
|
|
[tool.poetry.group.lint.dependencies]
|
2023-02-25 16:59:52 +00:00
|
|
|
ruff = "^0.0.249"
|
2022-12-05 05:12:05 +00:00
|
|
|
types-toml = "^0.10.8.1"
|
2023-01-27 01:38:13 +00:00
|
|
|
types-redis = "^4.3.21.6"
|
2023-02-10 19:38:24 +00:00
|
|
|
black = "^23.1.0"
|
2022-12-04 00:42:59 +00:00
|
|
|
|
|
|
|
[tool.poetry.group.typing.dependencies]
|
|
|
|
mypy = "^0.991"
|
|
|
|
types-pyyaml = "^6.0.12.2"
|
|
|
|
types-requests = "^2.28.11.5"
|
|
|
|
|
|
|
|
[tool.poetry.group.dev]
|
|
|
|
optional = true
|
|
|
|
|
|
|
|
[tool.poetry.group.dev.dependencies]
|
|
|
|
jupyter = "^1.0.0"
|
|
|
|
playwright = "^1.28.0"
|
2023-04-03 21:11:18 +00:00
|
|
|
setuptools = "^67.6.1"
|
2022-12-04 00:42:59 +00:00
|
|
|
|
|
|
|
[tool.poetry.extras]
|
2023-02-14 06:06:25 +00:00
|
|
|
llms = ["anthropic", "cohere", "openai", "nlpcloud", "huggingface_hub", "manifest-ml", "torch", "transformers"]
|
2023-04-04 13:48:21 +00:00
|
|
|
qdrant = ["qdrant-client"]
|
|
|
|
openai = ["openai"]
|
|
|
|
cohere = ["cohere"]
|
2023-04-24 01:25:20 +00:00
|
|
|
embeddings = ["sentence-transformers"]
|
|
|
|
all = ["anthropic", "cohere", "openai", "nlpcloud", "huggingface_hub", "jina", "manifest-ml", "elasticsearch", "opensearch-py", "google-search-results", "faiss-cpu", "sentence-transformers", "transformers", "spacy", "nltk", "wikipedia", "beautifulsoup4", "tiktoken", "torch", "jinja2", "pinecone-client", "pinecone-text", "weaviate-client", "redis", "google-api-python-client", "wolframalpha", "qdrant-client", "tensorflow-text", "pypdf", "networkx", "nomic", "aleph-alpha-client", "deeplake", "pgvector", "psycopg2-binary", "boto3", "pyowm", "pytesseract", "html2text", "atlassian-python-api", "gptcache", "duckduckgo-search", "arxiv", "azure-identity", "clickhouse-connect"]
|
2022-12-04 00:42:59 +00:00
|
|
|
|
2023-02-25 16:59:52 +00:00
|
|
|
[tool.ruff]
|
|
|
|
select = [
|
|
|
|
"E", # pycodestyle
|
|
|
|
"F", # pyflakes
|
|
|
|
"I", # isort
|
|
|
|
]
|
2023-04-21 17:47:57 +00:00
|
|
|
exclude = [
|
|
|
|
"tests/integration_tests/examples/non-utf8-encoding.py",
|
|
|
|
]
|
2022-10-24 21:51:15 +00:00
|
|
|
|
|
|
|
[tool.mypy]
|
|
|
|
ignore_missing_imports = "True"
|
|
|
|
disallow_untyped_defs = "True"
|
|
|
|
exclude = ["notebooks"]
|
2022-12-04 00:42:59 +00:00
|
|
|
|
2023-01-22 22:48:20 +00:00
|
|
|
[tool.coverage.run]
|
|
|
|
omit = [
|
|
|
|
"tests/*",
|
|
|
|
]
|
|
|
|
|
2022-12-04 00:42:59 +00:00
|
|
|
[build-system]
|
2023-04-25 01:19:51 +00:00
|
|
|
requires = ["poetry-core>=1.0.0"]
|
2022-12-04 00:42:59 +00:00
|
|
|
build-backend = "poetry.core.masonry.api"
|