BSD Ports

ai/py-langchain 1.2.6_1 MidnightBSD

LangChain: Building applications with LLMs through composability

System
MidnightBSD
Repository
mports
Maintainer
[email protected]
Last update
Commit
dee1e47e52
License
mit
Categories
ai, python

Description

LangChain is a framework for developing applications powered by large language models (LLMs).

LangChain simplifies every stage of the LLM application lifecycle: * Development: Build your applications using LangChain's open-source components and third-party integrations. Use LangGraph to build stateful agents with first-class streaming and human-in-the-loop support. * Productionization: Use LangSmith to inspect, monitor and evaluate your applications, so that you can continuously optimize and deploy with confidence. * Deployment: Turn your LangGraph applications into production-ready APIs and Assistants with LangGraph Platform.

Install

Binary package:

mport install ${PYTHON_PKGNAMEPREFIX}langchain

From mports:

cd /usr/mports/ai/py-langchain && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}langchain>0:ai/py-langchain

Dependencies

As this port's Makefile names them.

Build 2

Runtime 3

Build dependencies 2
Run dependencies 3

Configuration

No options to configure.

USES
python
Service scripts
none

Files

distinfo 1
FileSizeSHA256
langchain-1.2.6.tar.gz5531277d46cbf719d860a16f6fc182d5d3de17453dda187f3d43e9c40ac352a5094fdd
Master sites 1
  • PYPI

Commit history 1

DateCommitCreditsLog message
dee1e47e52 Lucas Holt ai: add new category and move AI/ML ports from misc
Create the ai category (Artificial intelligence and machine learning) and relocate 42 AI/ML ports from misc into it. - Register ai in Mk/bsd.mport.mk VALID_CATEGORIES and the top-level Makefile - Add ai/Makefile; drop the moved entries from misc/Makefile (also removes the stale linux-claude SUBDIR left over from the claude-code rename) - git mv 42 ports and set their primary CATEGORIES to ai - Rewrite misc/<port> dependency origins to ai/<port> in external dependents (devel/py-beartype, math/py-faiss, multimedia/py-torchcodec, textproc/py-tokenizers) and among the moved ports themselves - Record the origin migrations in MOVED Ports moved: chatgpt-shell-cli, claude-code, claude-code-legacy, clawhub, codex, gemini-cli, github-copilot-cli, grok-cli, lean-ctx, llama-cpp, ollama, …