mirror of
https://github.com/hwchase17/langchain.git
synced 2025-09-03 20:16:52 +00:00
@@ -1,18 +1,7 @@
|
|||||||
-r test_requirements.txt
|
-r test_requirements.txt
|
||||||
# For integrations
|
-e '.[all]'
|
||||||
cohere
|
# For trickier integrations
|
||||||
elasticsearch
|
|
||||||
openai
|
|
||||||
google-search-results
|
|
||||||
nlpcloud
|
|
||||||
playwright
|
playwright
|
||||||
wikipedia
|
|
||||||
huggingface_hub
|
|
||||||
faiss-cpu
|
|
||||||
sentence_transformers
|
|
||||||
transformers
|
|
||||||
manifest-ml
|
manifest-ml
|
||||||
spacy
|
|
||||||
nltk
|
|
||||||
# For development
|
# For development
|
||||||
jupyter
|
jupyter
|
||||||
|
17
setup.py
17
setup.py
@@ -9,6 +9,19 @@ with open(Path(__file__).absolute().parents[0] / "langchain" / "VERSION") as _f:
|
|||||||
with open("README.md", "r") as f:
|
with open("README.md", "r") as f:
|
||||||
long_description = f.read()
|
long_description = f.read()
|
||||||
|
|
||||||
|
LLM_DEPENDENCIES = ["cohere", "openai", "nlpcloud", "huggingface_hub"]
|
||||||
|
OTHER_DEPENDENCIES = [
|
||||||
|
"elasticsearch",
|
||||||
|
"google-search-results",
|
||||||
|
"wikipedia",
|
||||||
|
"faiss-cpu",
|
||||||
|
"sentence_transformers",
|
||||||
|
"transformers",
|
||||||
|
"spacy",
|
||||||
|
"nltk",
|
||||||
|
]
|
||||||
|
|
||||||
|
|
||||||
setup(
|
setup(
|
||||||
name="langchain",
|
name="langchain",
|
||||||
version=__version__,
|
version=__version__,
|
||||||
@@ -20,4 +33,8 @@ setup(
|
|||||||
url="https://github.com/hwchase17/langchain",
|
url="https://github.com/hwchase17/langchain",
|
||||||
include_package_data=True,
|
include_package_data=True,
|
||||||
long_description_content_type="text/markdown",
|
long_description_content_type="text/markdown",
|
||||||
|
extras_require={
|
||||||
|
"llms": LLM_DEPENDENCIES,
|
||||||
|
"all": LLM_DEPENDENCIES + OTHER_DEPENDENCIES,
|
||||||
|
},
|
||||||
)
|
)
|
||||||
|
Reference in New Issue
Block a user