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,62 @@
Metadata-Version: 2.4
Name: langchain-openai
Version: 1.2.1
Summary: An integration package connecting OpenAI and LangChain
Project-URL: Homepage, https://docs.langchain.com/oss/python/integrations/providers/openai
Project-URL: Documentation, https://reference.langchain.com/python/integrations/langchain_openai/
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=%22langchain-openai%22
Project-URL: Twitter, https://x.com/LangChain
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
Requires-Python: <4.0.0,>=3.10.0
Requires-Dist: langchain-core<2.0.0,>=1.3.2
Requires-Dist: openai<3.0.0,>=2.26.0
Requires-Dist: tiktoken<1.0.0,>=0.7.0
Description-Content-Type: text/markdown
# langchain-openai
[![PyPI - Version](https://img.shields.io/pypi/v/langchain-openai?label=%20)](https://pypi.org/project/langchain-openai/#history)
[![PyPI - License](https://img.shields.io/pypi/l/langchain-openai)](https://opensource.org/licenses/MIT)
[![PyPI - Downloads](https://img.shields.io/pepy/dt/langchain-openai)](https://pypistats.org/packages/langchain-openai)
[![Twitter](https://img.shields.io/twitter/url/https/twitter.com/langchain.svg?style=social&label=Follow%20%40LangChain)](https://x.com/langchain)
Looking for the JS/TS version? Check out [LangChain.js](https://github.com/langchain-ai/langchainjs).
## Quick Install
```bash
pip install langchain-openai
```
## 🤔 What is this?
This package contains the LangChain integrations for OpenAI through their `openai` SDK.
## 📖 Documentation
For full documentation, see the [API reference](https://reference.langchain.com/python/integrations/langchain_openai/). For conceptual guides, tutorials, and examples on using these classes, see the [LangChain Docs](https://docs.langchain.com/oss/python/integrations/providers/openai).
## 📕 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,48 @@
langchain_openai-1.2.1.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4
langchain_openai-1.2.1.dist-info/METADATA,sha256=SPFCAqbZrMo60UYrndaBpbLTgWYppnnGFdXoLc8JWgo,3109
langchain_openai-1.2.1.dist-info/RECORD,,
langchain_openai-1.2.1.dist-info/REQUESTED,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
langchain_openai-1.2.1.dist-info/WHEEL,sha256=QccIxa26bgl1E6uMy58deGWi-0aeIkkangHcxk2kWfw,87
langchain_openai-1.2.1.dist-info/licenses/LICENSE,sha256=DppmdYJVSc1jd0aio6ptnMUn5tIHrdAhQ12SclEBfBg,1072
langchain_openai/__init__.py,sha256=1W8WUlNfeW2kw1E_qOzFnqlhwYsa7IpM1C8xfp64u3o,560
langchain_openai/__pycache__/__init__.cpython-312.pyc,,
langchain_openai/chat_models/__init__.py,sha256=tp13_ZqgnNxUhWiuUQOvWADeqvTidCssqFFumemjtLs,203
langchain_openai/chat_models/__pycache__/__init__.cpython-312.pyc,,
langchain_openai/chat_models/__pycache__/_client_utils.cpython-312.pyc,,
langchain_openai/chat_models/__pycache__/_compat.cpython-312.pyc,,
langchain_openai/chat_models/__pycache__/azure.cpython-312.pyc,,
langchain_openai/chat_models/__pycache__/base.cpython-312.pyc,,
langchain_openai/chat_models/_client_utils.py,sha256=rH8VZ6Hnx3jgA3GTWvoiE2vKziDJgedWqhMgDQY1MTM,25544
langchain_openai/chat_models/_compat.py,sha256=o2WgO7FK5sHaZdLyO26PAwEr-Azc8q28THP30evlnhM,19936
langchain_openai/chat_models/azure.py,sha256=7DMkMJCEn6TNiDg8x_vQ4TxGO_B7P_bvEnAvVut-uCY,44975
langchain_openai/chat_models/base.py,sha256=q4qSkNYeVwopnhjnMfVUxhMi2qaegvfzBxdUg21i-WA,197219
langchain_openai/data/__init__.py,sha256=ZoM4a1AEp0HdKyqqNyDl5fFsGhGaKbzP1WVtiYIb4ec,82
langchain_openai/data/__pycache__/__init__.cpython-312.pyc,,
langchain_openai/data/__pycache__/_profiles.cpython-312.pyc,,
langchain_openai/data/_profiles.py,sha256=YQLAsSQ-ilUpMyS-gsfF-I_eIZctmCDGuavJQW2MM5w,41209
langchain_openai/data/profile_augmentations.toml,sha256=0-kvc-iM2A2NJgM8nAtzPx7coe_V-8fLEtK6HDSraOE,1030
langchain_openai/embeddings/__init__.py,sha256=QcWD3m2hStKTbZMa0-OPZT5y72joHiIsej27kYjMe00,224
langchain_openai/embeddings/__pycache__/__init__.cpython-312.pyc,,
langchain_openai/embeddings/__pycache__/azure.cpython-312.pyc,,
langchain_openai/embeddings/__pycache__/base.cpython-312.pyc,,
langchain_openai/embeddings/azure.py,sha256=FVSPeZT8gHGXaQ-A3ZVb0fEFpjlRAgMPfdomhJGTzbs,9127
langchain_openai/embeddings/base.py,sha256=7_qdBwLaLSM8obDEKqX5PPvkBAnarJxrD60WAc0t7e0,31376
langchain_openai/llms/__init__.py,sha256=ssOaUGWcmXg6hz3JWu38UCt_1gQvgK-BRLXhBI0u7cY,218
langchain_openai/llms/__pycache__/__init__.cpython-312.pyc,,
langchain_openai/llms/__pycache__/azure.cpython-312.pyc,,
langchain_openai/llms/__pycache__/base.cpython-312.pyc,,
langchain_openai/llms/azure.py,sha256=rBNtmIPK2ojSb8a1d-uIwdE-6-03bwbYjhgznPVoAvQ,8752
langchain_openai/llms/base.py,sha256=Gh2dv5S8gOzdqwdF-OuipxkaP4cSd5PMmtoW0gMUaJU,31131
langchain_openai/middleware/__init__.py,sha256=HCV3PSjXaQKXiuOH4aev__JOZiKOOkPwU4jJHsACh6M,259
langchain_openai/middleware/__pycache__/__init__.cpython-312.pyc,,
langchain_openai/middleware/__pycache__/openai_moderation.cpython-312.pyc,,
langchain_openai/middleware/openai_moderation.py,sha256=QcfhppO06cKN-q3Y2nA54iMApVDm_WsmT05EVnyXU5U,15399
langchain_openai/output_parsers/__init__.py,sha256=6N04Afc_iZj51B3XmQ5d3_YLZU9MJ1D7lXhwWuUc5EM,269
langchain_openai/output_parsers/__pycache__/__init__.cpython-312.pyc,,
langchain_openai/output_parsers/__pycache__/tools.cpython-312.pyc,,
langchain_openai/output_parsers/tools.py,sha256=6N04Afc_iZj51B3XmQ5d3_YLZU9MJ1D7lXhwWuUc5EM,269
langchain_openai/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
langchain_openai/tools/__init__.py,sha256=y_Sx6rsLOtSm-PqMBi6GWJageOSGw74RUx3GnCUwhKo,132
langchain_openai/tools/__pycache__/__init__.cpython-312.pyc,,
langchain_openai/tools/__pycache__/custom_tool.cpython-312.pyc,,
langchain_openai/tools/custom_tool.py,sha256=DrmLsR46plcjWaGYXu7k2G13ay0VqBjg7fcZZulTwz8,3199
@@ -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) 2023 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.