python310Packages.langsmith: init at 0.0.14
This commit is contained in:
parent
af8cd5ded7
commit
5103cdf48b
54
pkgs/development/python-modules/langsmith/default.nix
Normal file
54
pkgs/development/python-modules/langsmith/default.nix
Normal file
|
@ -0,0 +1,54 @@
|
||||||
|
{ lib
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchFromGitHub
|
||||||
|
, poetry-core
|
||||||
|
, pydantic
|
||||||
|
, requests
|
||||||
|
, pytestCheckHook
|
||||||
|
, pytest-asyncio
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage {
|
||||||
|
pname = "langsmith";
|
||||||
|
version = "0.0.14";
|
||||||
|
format = "pyproject";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "langchain-ai";
|
||||||
|
repo = "langchainplus-sdk";
|
||||||
|
# there are no correct tags
|
||||||
|
# https://github.com/langchain-ai/langchainplus-sdk/issues/105
|
||||||
|
rev = "092f67222e4beabca0f51ba03f1ee028f916da63";
|
||||||
|
hash = "sha256-U8fs16Uq80EB7Ey5YuQhUKKI9DOXJWlabM5JdoDnWP0=";
|
||||||
|
};
|
||||||
|
|
||||||
|
sourceRoot = "source/python";
|
||||||
|
|
||||||
|
nativeBuildInputs = [
|
||||||
|
poetry-core
|
||||||
|
];
|
||||||
|
|
||||||
|
propagatedBuildInputs = [
|
||||||
|
pydantic
|
||||||
|
requests
|
||||||
|
];
|
||||||
|
|
||||||
|
nativeCheckInputs = [
|
||||||
|
pytest-asyncio
|
||||||
|
pytestCheckHook
|
||||||
|
];
|
||||||
|
|
||||||
|
disabledTests = [
|
||||||
|
# these tests require network access
|
||||||
|
"integration_tests"
|
||||||
|
];
|
||||||
|
|
||||||
|
pythonImportsCheck = [ "langsmith" ];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Client library to connect to the LangSmith LLM Tracing and Evaluation Platform";
|
||||||
|
homepage = "https://github.com/langchain-ai/langchainplus-sdk";
|
||||||
|
license = licenses.mit;
|
||||||
|
maintainers = with maintainers; [ natsukium ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -5678,6 +5678,8 @@ self: super: with self; {
|
||||||
|
|
||||||
langdetect = callPackage ../development/python-modules/langdetect { };
|
langdetect = callPackage ../development/python-modules/langdetect { };
|
||||||
|
|
||||||
|
langsmith = callPackage ../development/python-modules/langsmith { };
|
||||||
|
|
||||||
language-data = callPackage ../development/python-modules/language-data { };
|
language-data = callPackage ../development/python-modules/language-data { };
|
||||||
|
|
||||||
language-tags = callPackage ../development/python-modules/language-tags { };
|
language-tags = callPackage ../development/python-modules/language-tags { };
|
||||||
|
|
Loading…
Reference in a new issue