This commit is contained in:
kgod
2026-05-26 21:02:17 +08:00
commit 8697477a53
10000 changed files with 1541403 additions and 0 deletions
@@ -0,0 +1 @@
pip
@@ -0,0 +1,104 @@
Metadata-Version: 2.4
Name: langchain
Version: 1.3.1
Summary: Building applications with LLMs through composability
Project-URL: Homepage, https://docs.langchain.com/
Project-URL: Documentation, https://reference.langchain.com/python/langchain/langchain/
Project-URL: Repository, https://github.com/langchain-ai/langchain
Project-URL: Issues, https://github.com/langchain-ai/langchain/issues
Project-URL: Changelog, https://github.com/langchain-ai/langchain/releases?q=tag%3A%22langchain%3D%3D1%22
Project-URL: Twitter, https://x.com/langchain_oss
Project-URL: Slack, https://www.langchain.com/join-community
Project-URL: Reddit, https://www.reddit.com/r/LangChain/
License: MIT
License-File: LICENSE
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Python: <4.0.0,>=3.10.0
Requires-Dist: langchain-core<2.0.0,>=1.4.0
Requires-Dist: langgraph<1.3.0,>=1.2.0
Requires-Dist: pydantic<3.0.0,>=2.7.4
Provides-Extra: anthropic
Requires-Dist: langchain-anthropic; extra == 'anthropic'
Provides-Extra: aws
Requires-Dist: langchain-aws; extra == 'aws'
Provides-Extra: azure-ai
Requires-Dist: langchain-azure-ai; extra == 'azure-ai'
Provides-Extra: baseten
Requires-Dist: langchain-baseten>=0.2.0; extra == 'baseten'
Provides-Extra: community
Requires-Dist: langchain-community; extra == 'community'
Provides-Extra: deepseek
Requires-Dist: langchain-deepseek; extra == 'deepseek'
Provides-Extra: fireworks
Requires-Dist: langchain-fireworks; extra == 'fireworks'
Provides-Extra: google-genai
Requires-Dist: langchain-google-genai; extra == 'google-genai'
Provides-Extra: google-vertexai
Requires-Dist: langchain-google-vertexai; extra == 'google-vertexai'
Provides-Extra: groq
Requires-Dist: langchain-groq; extra == 'groq'
Provides-Extra: huggingface
Requires-Dist: langchain-huggingface; extra == 'huggingface'
Provides-Extra: mistralai
Requires-Dist: langchain-mistralai; extra == 'mistralai'
Provides-Extra: ollama
Requires-Dist: langchain-ollama; extra == 'ollama'
Provides-Extra: openai
Requires-Dist: langchain-openai; extra == 'openai'
Provides-Extra: perplexity
Requires-Dist: langchain-perplexity; extra == 'perplexity'
Provides-Extra: together
Requires-Dist: langchain-together; extra == 'together'
Provides-Extra: xai
Requires-Dist: langchain-xai; extra == 'xai'
Description-Content-Type: text/markdown
# 🦜️🔗 LangChain
[![PyPI - Version](https://img.shields.io/pypi/v/langchain?label=%20)](https://pypi.org/project/langchain/#history)
[![PyPI - License](https://img.shields.io/pypi/l/langchain)](https://opensource.org/licenses/MIT)
[![PyPI - Downloads](https://img.shields.io/pepy/dt/langchain)](https://pypistats.org/packages/langchain)
[![Twitter](https://img.shields.io/twitter/url/https/twitter.com/langchain_oss.svg?style=social&label=Follow%20%40LangChain)](https://x.com/langchain_oss)
Looking for the JS/TS version? Check out [LangChain.js](https://github.com/langchain-ai/langchainjs).
To help you ship LangChain apps to production faster, check out [LangSmith](https://www.langchain.com/langsmith).
[LangSmith](https://www.langchain.com/langsmith) is a unified developer platform for building, testing, and monitoring LLM applications.
## Quick Install
```bash
pip install langchain
```
## 🤔 What is this?
LangChain is the easiest way to start building agents and applications powered by LLMs. With under 10 lines of code, you can connect to OpenAI, Anthropic, Google, and [more](https://docs.langchain.com/oss/python/integrations/providers/overview). LangChain provides a pre-built agent architecture and model integrations to help you get started quickly and seamlessly incorporate LLMs into your agents and applications.
We recommend you use LangChain if you want to quickly build agents and autonomous applications. Use [LangGraph](https://docs.langchain.com/oss/python/langgraph/overview), our low-level agent orchestration framework and runtime, when you have more advanced needs that require a combination of deterministic and agentic workflows, heavy customization, and carefully controlled latency.
LangChain [agents](https://docs.langchain.com/oss/python/langchain/agents) are built on top of LangGraph in order to provide durable execution, streaming, human-in-the-loop, persistence, and more. (You do not need to know LangGraph for basic LangChain agent usage.)
## 📖 Documentation
For full documentation, see the [API reference](https://reference.langchain.com/python/langchain/langchain/). For conceptual guides, tutorials, and examples on using LangChain, see the [LangChain Docs](https://docs.langchain.com/oss/python/langchain/overview). You can also chat with the docs using [Chat LangChain](https://chat.langchain.com).
## 📕 Releases & Versioning
See our [Releases](https://docs.langchain.com/oss/python/release-policy) and [Versioning](https://docs.langchain.com/oss/python/versioning) policies.
## 💁 Contributing
As an open-source project in a rapidly developing field, we are extremely open to contributions, whether it be in the form of a new feature, improved infrastructure, or better documentation.
For detailed information on how to contribute, see the [Contributing Guide](https://docs.langchain.com/oss/python/contributing/overview).
@@ -0,0 +1,69 @@
langchain-1.3.1.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4
langchain-1.3.1.dist-info/METADATA,sha256=_8teCLKBE6nEZCdoeGfASGozi_Wb2bVNe-5tdP0rkno,5770
langchain-1.3.1.dist-info/RECORD,,
langchain-1.3.1.dist-info/REQUESTED,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
langchain-1.3.1.dist-info/WHEEL,sha256=QccIxa26bgl1E6uMy58deGWi-0aeIkkangHcxk2kWfw,87
langchain-1.3.1.dist-info/licenses/LICENSE,sha256=TsZ-TKbmch26hJssqCJhWXyGph7iFLvyFBYAa3stBHg,1067
langchain/__init__.py,sha256=1BLjYaQzmUHnieie0PoLyyoTTvsuv1r6DXg8vd70Gfw,61
langchain/__pycache__/__init__.cpython-312.pyc,,
langchain/agents/__init__.py,sha256=xSMzY_PXzKmfOUVPkmL8JcXaOIq55xtP2DDeb_sDSoI,285
langchain/agents/__pycache__/__init__.cpython-312.pyc,,
langchain/agents/__pycache__/factory.cpython-312.pyc,,
langchain/agents/__pycache__/structured_output.cpython-312.pyc,,
langchain/agents/factory.py,sha256=jyD40tE6-uvHqfUmzWWM4sn9Jy5z191SH9jDRkaB1Mc,75449
langchain/agents/middleware/__init__.py,sha256=GO5Mkf72g56mQMRpH0o5A-HENuPQaHnY9gRt-PTPT-E,2760
langchain/agents/middleware/__pycache__/__init__.cpython-312.pyc,,
langchain/agents/middleware/__pycache__/_execution.cpython-312.pyc,,
langchain/agents/middleware/__pycache__/_redaction.cpython-312.pyc,,
langchain/agents/middleware/__pycache__/_retry.cpython-312.pyc,,
langchain/agents/middleware/__pycache__/context_editing.cpython-312.pyc,,
langchain/agents/middleware/__pycache__/file_search.cpython-312.pyc,,
langchain/agents/middleware/__pycache__/human_in_the_loop.cpython-312.pyc,,
langchain/agents/middleware/__pycache__/model_call_limit.cpython-312.pyc,,
langchain/agents/middleware/__pycache__/model_fallback.cpython-312.pyc,,
langchain/agents/middleware/__pycache__/model_retry.cpython-312.pyc,,
langchain/agents/middleware/__pycache__/pii.cpython-312.pyc,,
langchain/agents/middleware/__pycache__/shell_tool.cpython-312.pyc,,
langchain/agents/middleware/__pycache__/summarization.cpython-312.pyc,,
langchain/agents/middleware/__pycache__/todo.cpython-312.pyc,,
langchain/agents/middleware/__pycache__/tool_call_limit.cpython-312.pyc,,
langchain/agents/middleware/__pycache__/tool_emulator.cpython-312.pyc,,
langchain/agents/middleware/__pycache__/tool_retry.cpython-312.pyc,,
langchain/agents/middleware/__pycache__/tool_selection.cpython-312.pyc,,
langchain/agents/middleware/__pycache__/types.cpython-312.pyc,,
langchain/agents/middleware/_execution.py,sha256=utihTKOZ2zcfPteGnH1zELq_n49_6EENpt3Dh3XPn7Q,14198
langchain/agents/middleware/_redaction.py,sha256=LFNzDSTMIfHbTxtvXdm_eSZfm__cVpfk_5fCJlAoqKo,13942
langchain/agents/middleware/_retry.py,sha256=nZSUXbvgBXP5nS28X3iBuoSYYh7EG2oLNXcAs0XbRPM,3832
langchain/agents/middleware/context_editing.py,sha256=OMXGaD7yu-44bRfEkErTuT2zDcF7TcAuJ0ICd8ZZ2hI,9687
langchain/agents/middleware/file_search.py,sha256=xa0ah5BhoX2i_eHQuKDu8j-T1SQwd6TwgFPGQoIkCjA,12854
langchain/agents/middleware/human_in_the_loop.py,sha256=1LvFcbpt-qJTsT0CRdxznvpy2LUA1MWlgefDShE1cZE,14561
langchain/agents/middleware/model_call_limit.py,sha256=LUyVvlF8ZtZ-sV9w61BP67wtt1MQ4a_4cjuSkHtfTdw,9301
langchain/agents/middleware/model_fallback.py,sha256=o43JSXHmwzmWQc2S9BOpBidDfgjTFKBNgXLWNDUNXEc,4225
langchain/agents/middleware/model_retry.py,sha256=RG8r0ckgbOdLKjCImt44ZZuNMGBkC37CWLqQZLwfGUg,10995
langchain/agents/middleware/pii.py,sha256=KFSk5sLM2c25IH6u0FTCIq9rxfhabYBJMglXfpEgYlM,12596
langchain/agents/middleware/shell_tool.py,sha256=4WGW2bBTUEfskF4YmkAe5U0gjdefBYhzXZH5_haQwzk,32130
langchain/agents/middleware/summarization.py,sha256=rIwCtc_0mHTLmrbXAKPrEPLsfQ_pYvxrXlAbeCI105E,26741
langchain/agents/middleware/todo.py,sha256=qu2hbwgbpJsi3x50X1_jXVr49RDOJ7NX4nwnZdKtWMc,15009
langchain/agents/middleware/tool_call_limit.py,sha256=5fbtkya-z9rLhYN5DkEeppgTqhk_-ODEk397m522ebM,18872
langchain/agents/middleware/tool_emulator.py,sha256=Zdw6DYvxPBo6pMLEyVEp_SopgEa-h7CjQPhds_nSZk4,7466
langchain/agents/middleware/tool_retry.py,sha256=d8DSOs438iiObDs8XJMpaUra5WNl7hBOQpjkd95G2vg,14523
langchain/agents/middleware/tool_selection.py,sha256=9J40oN3QUpFmKOvVyGDYZ2HAabpyRW2BxkDQnaeuszQ,13074
langchain/agents/middleware/types.py,sha256=XXYmw5h5aHtuI6znaT9OZKnP_kJWlgvSrJhrYfJOGYU,72083
langchain/agents/structured_output.py,sha256=cv-cCHepL857CQLubJrgzA5qfjEIFKhRphtHfnypGZM,15127
langchain/chat_models/__init__.py,sha256=j1XZBNMC81eRac5eLs52ayQB8aTXBk0P78Z-nG_YGN4,286
langchain/chat_models/__pycache__/__init__.cpython-312.pyc,,
langchain/chat_models/__pycache__/base.cpython-312.pyc,,
langchain/chat_models/base.py,sha256=Z7WJ6bRCtv_oyGu-EXiuHD6EOwOH58TSrUp4actFXuY,41170
langchain/embeddings/__init__.py,sha256=UEfAD7CDsJ1qxo0ttYxO8FBc0YE2UGoxVlxUj1wblS8,587
langchain/embeddings/__pycache__/__init__.cpython-312.pyc,,
langchain/embeddings/__pycache__/base.cpython-312.pyc,,
langchain/embeddings/base.py,sha256=L__-UD162K7iMPbB4urMdxDviZ1pZcsSSzN3nh8eaUw,10590
langchain/messages/__init__.py,sha256=gA-2eKFWxgf97lRTWrR28e3QMiBjuPXqaNd16jkF9p0,1626
langchain/messages/__pycache__/__init__.cpython-312.pyc,,
langchain/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
langchain/rate_limiters/__init__.py,sha256=5490xUNhet37N2nX6kbJlDgf8u1DX-C1Cs_r7etXn8A,351
langchain/rate_limiters/__pycache__/__init__.cpython-312.pyc,,
langchain/tools/__init__.py,sha256=A6K6Rz8FSTADGwR713fn1PaMcqLTzeQHfbHHBmK2HLY,394
langchain/tools/__pycache__/__init__.cpython-312.pyc,,
langchain/tools/__pycache__/tool_node.cpython-312.pyc,,
langchain/tools/tool_node.py,sha256=1DRMsm5tc31T76rtqtqJkGINw7ny1zqVCF-ViGUymFs,477
@@ -0,0 +1,4 @@
Wheel-Version: 1.0
Generator: hatchling 1.29.0
Root-Is-Purelib: true
Tag: py3-none-any
@@ -0,0 +1,21 @@
MIT License
Copyright (c) LangChain, Inc.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.