python311Packages.langchain: clean up dependencies

This commit is contained in:
natsukium
2023-10-30 23:12:14 +09:00
parent 9d89f7ceef
commit 0d00863e3c
@@ -11,16 +11,13 @@
, dataclasses-json
, jsonpatch
, langsmith
, numexpr
, numpy
, openapi-schema-pydantic
, pydantic
, pyyaml
, requests
, sqlalchemy
, tenacity
# optional dependencies
, anthropic
, atlassian-python-api
, azure-core
, azure-cosmos
@@ -56,6 +53,7 @@
, pgvector
, pinecone-client
, psycopg2
, pymongo
, pyowm
, pypdf
, pytesseract
@@ -65,11 +63,10 @@
, redis
, requests-toolbelt
, sentence-transformers
, spacy
, steamship
, tiktoken
, torch
, transformers
, typer
, weaviate-client
, wikipedia
# test dependencies
@@ -117,11 +114,9 @@ buildPythonPackage rec {
requests
pyyaml
numpy
openapi-schema-pydantic
dataclasses-json
tenacity
aiohttp
numexpr
langsmith
anyio
jsonpatch
@@ -131,18 +126,15 @@ buildPythonPackage rec {
passthru.optional-dependencies = {
llms = [
anthropic
clarifai
cohere
openai
# openllm
# openlm
nlpcloud
huggingface-hub
manifest-ml
torch
transformers
# xinference
];
qdrant = [
qdrant-client
@@ -180,13 +172,11 @@ buildPythonPackage rec {
# azure-search-documents
];
all = [
anthropic
clarifai
cohere
openai
nlpcloud
huggingface-hub
# jina
manifest-ml
elasticsearch
opensearch-py
@@ -194,7 +184,6 @@ buildPythonPackage rec {
faiss
sentence-transformers
transformers
spacy
nltk
wikipedia
beautifulsoup4
@@ -203,6 +192,8 @@ buildPythonPackage rec {
jinja2
pinecone-client
# pinecone-text
# marqo
pymongo
weaviate-client
redis
google-api-python-client
@@ -236,7 +227,6 @@ buildPythonPackage rec {
# O365
jq
# docarray
steamship
pdfminer-six
lxml
requests-toolbelt
@@ -250,14 +240,15 @@ buildPythonPackage rec {
# tigrisdb
# nebula3-python
# awadb
# esprima
# octoai-sdk
esprima
rdflib
# amadeus
# xinference
librosa
python-arango
];
cli = [
typer
];
};
nativeCheckInputs = [