2022-12-04 00:42:59 +00:00
|
|
|
[tool.poetry]
|
|
|
|
name = "langchain"
|
2023-02-12 15:47:10 +00:00
|
|
|
version = "0.0.84"
|
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"
|
|
|
|
PyYAML = "^6"
|
|
|
|
numpy = "^1"
|
|
|
|
faiss-cpu = {version = "^1", optional = true}
|
|
|
|
wikipedia = {version = "^1", optional = true}
|
|
|
|
elasticsearch = {version = "^8", 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}
|
2022-12-19 21:40:39 +00:00
|
|
|
torch = {version = "^1", optional = true}
|
|
|
|
jinja2 = {version = "^3", optional = true}
|
2022-12-16 06:35:42 +00:00
|
|
|
tiktoken = {version = "^0", optional = true, python="^3.9"}
|
2022-12-21 03:24:08 +00:00
|
|
|
pinecone-client = {version = "^2", optional = true}
|
|
|
|
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-01-20 17:45:01 +00:00
|
|
|
qdrant-client = {version = "^0.11.7", optional = true}
|
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}
|
|
|
|
huggingface_hub = {version = "^0", optional = true}
|
|
|
|
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-02-10 18:07:26 +00:00
|
|
|
pypdf = {version = "^3.4.0", optional = true}
|
2022-12-30 13:06:57 +00:00
|
|
|
|
2023-02-10 07:19:19 +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"
|
2022-12-04 00:42:59 +00:00
|
|
|
|
|
|
|
[tool.poetry.group.test.dependencies]
|
|
|
|
pytest = "^7.2.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"
|
2022-12-28 22:37:53 +00:00
|
|
|
duckdb-engine = "^0.6.6"
|
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
|
|
|
|
|
|
|
[tool.poetry.group.lint.dependencies]
|
|
|
|
flake8-docstrings = "^1.6.0"
|
|
|
|
isort = "^5.10.1"
|
|
|
|
flake8 = "^6.0.0"
|
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"
|
|
|
|
|
|
|
|
[tool.poetry.extras]
|
2023-02-07 15:59:35 +00:00
|
|
|
llms = ["cohere", "openai", "nlpcloud", "huggingface_hub", "manifest-ml", "torch", "transformers"]
|
2023-02-10 18:07:26 +00:00
|
|
|
all = ["cohere", "openai", "nlpcloud", "huggingface_hub", "manifest-ml", "elasticsearch", "google-search-results", "faiss-cpu", "sentence_transformers", "transformers", "spacy", "nltk", "wikipedia", "beautifulsoup4", "tiktoken", "torch", "jinja2", "pinecone-client", "weaviate-client", "redis", "google-api-python-client", "wolframalpha", "qdrant-client", "tensorflow-text", "pypdf"]
|
2022-12-04 00:42:59 +00:00
|
|
|
|
2022-10-24 21:51:15 +00:00
|
|
|
[tool.isort]
|
|
|
|
profile = "black"
|
|
|
|
|
|
|
|
[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]
|
|
|
|
requires = ["poetry-core"]
|
|
|
|
build-backend = "poetry.core.masonry.api"
|