natsukium 2023-05-18 11:27:01 +09:00
parent 905312c79e
commit 9b01547344
No known key found for this signature in database
GPG Key ID: 9EA45A31DB994C53

View File

@ -52,14 +52,17 @@
, duckduckgo-search , duckduckgo-search
, lark , lark
, jq , jq
, protobuf
, steamship , steamship
, pdfminer-six , pdfminer-six
, lxml , lxml
, chardet
, requests-toolbelt
, neo4j
# test dependencies # test dependencies
, pytest-vcr , pytest-vcr
, pytest-asyncio , pytest-asyncio
, pytest-mock , pytest-mock
, pytest-socket
, pandas , pandas
, toml , toml
, freezegun , freezegun
@ -70,7 +73,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "langchain"; pname = "langchain";
version = "0.0.170"; version = "0.0.179";
format = "pyproject"; format = "pyproject";
disabled = pythonOlder "3.8"; disabled = pythonOlder "3.8";
@ -79,7 +82,7 @@ buildPythonPackage rec {
owner = "hwchase17"; owner = "hwchase17";
repo = "langchain"; repo = "langchain";
rev = "refs/tags/v${version}"; rev = "refs/tags/v${version}";
hash = "sha256-0hV8X1c+vMJlynNud//hb164oTYmYlsmeSM4dKwC0G4="; hash = "sha256-9MotnDsDXwdwVGuD3sO+FFWluPCHHXkQRH0B1zskLZg=";
}; };
postPatch = '' postPatch = ''
@ -129,9 +132,15 @@ buildPythonPackage rec {
openai = [ openai = [
openai openai
]; ];
text_helpers = [
chardet
];
cohere = [ cohere = [
cohere cohere
]; ];
docarray = [
# docarray
];
embeddings = [ embeddings = [
sentence-transformers sentence-transformers
]; ];
@ -189,17 +198,22 @@ buildPythonPackage rec {
# clickhouse-connect # clickhouse-connect
azure-cosmos azure-cosmos
# lancedb # lancedb
# langkit
lark lark
pexpect pexpect
# pyvespa # pyvespa
# O365 # O365
jq jq
# docarray # docarray
protobuf
# hnswlib
steamship steamship
pdfminer-six pdfminer-six
lxml lxml
requests-toolbelt
neo4j
# openlm
# azure-ai-formrecognizer
# azure-ai-vision
# azure-cognitiveservices-speech
]; ];
}; };
@ -207,6 +221,7 @@ buildPythonPackage rec {
pytestCheckHook pytestCheckHook
pytest-vcr pytest-vcr
pytest-mock pytest-mock
pytest-socket
pytest-asyncio pytest-asyncio
pandas pandas
toml toml
@ -223,6 +238,9 @@ buildPythonPackage rec {
# these tests have db access # these tests have db access
"test_table_info" "test_table_info"
"test_sql_database_run" "test_sql_database_run"
# these tests have network access
"test_socket_disabled"
]; ];
meta = with lib; { meta = with lib; {