diff --git a/pkgs/development/python-modules/langchain/default.nix b/pkgs/development/python-modules/langchain/default.nix index 5b50f1fffe6b..91b7a54b1d0f 100644 --- a/pkgs/development/python-modules/langchain/default.nix +++ b/pkgs/development/python-modules/langchain/default.nix @@ -2,26 +2,15 @@ lib, aiohttp, async-timeout, - azure-core, - azure-cosmos, - azure-identity, bash, buildPythonPackage, - chardet, - clarifai, - cohere, - esprima, fetchFromGitHub, freezegun, - huggingface-hub, langchain-core, langchain-text-splitters, langsmith, lark, - manifest-ml, - nlpcloud, numpy, - openai, pandas, poetry-core, pydantic, @@ -31,19 +20,13 @@ pytestCheckHook, pythonOlder, pyyaml, - qdrant-client, requests-mock, requests, responses, - sentence-transformers, sqlalchemy, syrupy, tenacity, - tiktoken, toml, - torch, - transformers, - typer, }: buildPythonPackage rec { @@ -79,46 +62,6 @@ buildPythonPackage rec { tenacity ] ++ lib.optionals (pythonOlder "3.11") [ async-timeout ]; - passthru.optional-dependencies = { - llms = [ - clarifai - cohere - openai - # openlm - nlpcloud - huggingface-hub - manifest-ml - torch - transformers - ]; - qdrant = [ qdrant-client ]; - openai = [ - openai - tiktoken - ]; - text_helpers = [ chardet ]; - clarifai = [ clarifai ]; - cohere = [ cohere ]; - docarray = [ - # docarray - ]; - embeddings = [ sentence-transformers ]; - javascript = [ esprima ]; - azure = [ - azure-identity - azure-cosmos - openai - azure-core - # azure-ai-formrecognizer - # azure-ai-vision - # azure-cognitiveservices-speech - # azure-search-documents - # azure-ai-textanalytics - ]; - all = [ ]; - cli = [ typer ]; - }; - nativeCheckInputs = [ freezegun lark