python311Packages.langchain-community: init at 0.0.12

This commit is contained in:
natsukium
2024-01-14 17:00:46 +09:00
parent e3f00a4e05
commit bc4f1f5d2f
2 changed files with 66 additions and 0 deletions
@@ -0,0 +1,64 @@
{ lib
, buildPythonPackage
, fetchPypi
, poetry-core
, pythonOlder
, aiohttp
, dataclasses-json
, langchain-core
, langsmith
, numpy
, pyyaml
, requests
, sqlalchemy
, tenacity
, typer
}:
buildPythonPackage rec {
pname = "langchain-community";
version = "0.0.12";
pyproject = true;
disabled = pythonOlder "3.8";
src = fetchPypi {
pname = "langchain_community";
inherit version;
hash = "sha256-fP42xSsfuGwQldTewM9Gahx1KnRGEE6LOc8PcFEqSFE=";
};
nativeBuildInputs = [
poetry-core
];
propagatedBuildInputs = [
aiohttp
dataclasses-json
langchain-core
langsmith
numpy
pyyaml
requests
sqlalchemy
tenacity
];
passthru.optional-dependencies = {
cli = [
typer
];
};
pythonImportsCheck = [ "langchain_community" ];
# PyPI source does not have tests
doCheck = false;
meta = with lib; {
description = "Community contributed LangChain integrations";
homepage = "https://github.com/langchain-ai/langchain/tree/master/libs/community";
license = licenses.mit;
maintainers = with maintainers; [ natsukium ];
};
}
+2
View File
@@ -6182,6 +6182,8 @@ self: super: with self; {
langchain = callPackage ../development/python-modules/langchain { };
langchain-community = callPackage ../development/python-modules/langchain-community { };
langchain-core = callPackage ../development/python-modules/langchain-core { };
langcodes = callPackage ../development/python-modules/langcodes { };