summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--misc/Makefile1
-rw-r--r--misc/py-langsmith/Makefile27
-rw-r--r--misc/py-langsmith/distinfo3
-rw-r--r--misc/py-langsmith/pkg-descr5
4 files changed, 36 insertions, 0 deletions
diff --git a/misc/Makefile b/misc/Makefile
index 4988a014b83c..fac90a13732b 100644
--- a/misc/Makefile
+++ b/misc/Makefile
@@ -456,6 +456,7 @@
SUBDIR += py-ipyfastscape
SUBDIR += py-jiwer
SUBDIR += py-kartograph
+ SUBDIR += py-langsmith
SUBDIR += py-laspy
SUBDIR += py-lazrs
SUBDIR += py-lightgbm
diff --git a/misc/py-langsmith/Makefile b/misc/py-langsmith/Makefile
new file mode 100644
index 000000000000..c0cda930e08c
--- /dev/null
+++ b/misc/py-langsmith/Makefile
@@ -0,0 +1,27 @@
+PORTNAME= langsmith
+DISTVERSION= 0.4.6
+CATEGORIES= misc python # machine-learning
+MASTER_SITES= PYPI
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= yuri@FreeBSD.org
+COMMENT= Library to connect to the LangSmith LLM Tracing & Evaluation Platform
+WWW= https://smith.langchain.com/ \
+ https://github.com/langchain-ai/langsmith-sdk/tree/main/python
+
+LICENSE= MIT
+
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}poetry-core>0:devel/py-poetry-core@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}httpx>=0.28.1:www/py-httpx@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}orjson>=3.9.14:devel/py-orjson@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}pydantic2>0:devel/py-pydantic2@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}requests>0:www/py-requests@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}requests-toolbelt>0:www/py-requests-toolbelt@${PY_FLAVOR}
+
+USES= python
+USE_PYTHON= pep517 autoplist
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/misc/py-langsmith/distinfo b/misc/py-langsmith/distinfo
new file mode 100644
index 000000000000..1db3d45c1775
--- /dev/null
+++ b/misc/py-langsmith/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1752786494
+SHA256 (langsmith-0.4.6.tar.gz) = 9189dbc9c60f2086ca3a1f0110cfe3aff6b0b7c2e0e3384f9572e70502e7933c
+SIZE (langsmith-0.4.6.tar.gz) = 352364
diff --git a/misc/py-langsmith/pkg-descr b/misc/py-langsmith/pkg-descr
new file mode 100644
index 000000000000..66f54506e9b8
--- /dev/null
+++ b/misc/py-langsmith/pkg-descr
@@ -0,0 +1,5 @@
+LangSmith helps your team debug, evaluate, and monitor your language models
+and intelligent agents. It works with any LLM Application, including a native
+integration with the LangChain Python and LangChain JS open source libraries.
+LangSmith is developed and maintained by LangChain, the company behind the
+LangChain framework.