mirror of
https://github.com/hwchase17/langchain.git
synced 2025-10-22 17:50:03 +00:00
docs: update package READMEs (#33488)
This commit is contained in:
@@ -12,13 +12,16 @@
|
|||||||
|
|
||||||
<p align="center">
|
<p align="center">
|
||||||
<a href="https://opensource.org/licenses/MIT" target="_blank">
|
<a href="https://opensource.org/licenses/MIT" target="_blank">
|
||||||
<img src="https://img.shields.io/pypi/l/langchain-core?style=flat-square" alt="PyPI - License">
|
<img src="https://img.shields.io/pypi/l/langchain" alt="PyPI - License">
|
||||||
</a>
|
</a>
|
||||||
<a href="https://pypistats.org/packages/langchain-core" target="_blank">
|
<a href="https://pypistats.org/packages/langchain" target="_blank">
|
||||||
<img src="https://img.shields.io/pepy/dt/langchain" alt="PyPI - Downloads">
|
<img src="https://img.shields.io/pepy/dt/langchain" alt="PyPI - Downloads">
|
||||||
</a>
|
</a>
|
||||||
|
<a href="https://pypi.org/project/langchain/#history" target="_blank">
|
||||||
|
<img src="https://img.shields.io/pypi/v/langchain?label=%20" alt="Version">
|
||||||
|
</a>
|
||||||
<a href="https://vscode.dev/redirect?url=vscode://ms-vscode-remote.remote-containers/cloneInVolume?url=https://github.com/langchain-ai/langchain" target="_blank">
|
<a href="https://vscode.dev/redirect?url=vscode://ms-vscode-remote.remote-containers/cloneInVolume?url=https://github.com/langchain-ai/langchain" target="_blank">
|
||||||
<img src="https://img.shields.io/static/v1?label=Dev%20Containers&message=Open&color=blue&logo=visualstudiocode&style=flat-square" alt="Open in Dev Containers">
|
<img src="https://img.shields.io/static/v1?label=Dev%20Containers&message=Open&color=blue&logo=visualstudiocode" alt="Open in Dev Containers">
|
||||||
</a>
|
</a>
|
||||||
<a href="https://codespaces.new/langchain-ai/langchain" target="_blank">
|
<a href="https://codespaces.new/langchain-ai/langchain" target="_blank">
|
||||||
<img src="https://github.com/codespaces/badge.svg" alt="Open in Github Codespace" title="Open in Github Codespace" width="150" height="20">
|
<img src="https://github.com/codespaces/badge.svg" alt="Open in Github Codespace" title="Open in Github Codespace" width="150" height="20">
|
||||||
|
|||||||
@@ -1,6 +1,30 @@
|
|||||||
# langchain-cli
|
# langchain-cli
|
||||||
|
|
||||||
This package implements the official CLI for LangChain. Right now, it is most useful
|
[](https://pypi.org/project/langchain-cli/#history)
|
||||||
for getting started with LangChain Templates!
|
[](https://opensource.org/licenses/MIT)
|
||||||
|
[](https://pypistats.org/packages/langchain-cli)
|
||||||
|
[](https://twitter.com/langchainai)
|
||||||
|
|
||||||
|
## Quick Install
|
||||||
|
|
||||||
|
```bash
|
||||||
|
pip install langchain-cli
|
||||||
|
```
|
||||||
|
|
||||||
|
## 🤔 What is this?
|
||||||
|
|
||||||
|
This package implements the official CLI for LangChain. Right now, it is most useful for getting started with LangChain Templates!
|
||||||
|
|
||||||
|
## 📖 Documentation
|
||||||
|
|
||||||
[CLI Docs](https://github.com/langchain-ai/langchain/blob/master/libs/cli/DOCS.md)
|
[CLI Docs](https://github.com/langchain-ai/langchain/blob/master/libs/cli/DOCS.md)
|
||||||
|
|
||||||
|
## 📕 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).
|
||||||
|
|||||||
@@ -32,7 +32,7 @@
|
|||||||
"\n",
|
"\n",
|
||||||
"| Class | Package | Local | Serializable | [JS support](https://js.langchain.com/docs/integrations/chat/__package_name_short_snake__) | Package downloads | Package latest |\n",
|
"| Class | Package | Local | Serializable | [JS support](https://js.langchain.com/docs/integrations/chat/__package_name_short_snake__) | Package downloads | Package latest |\n",
|
||||||
"| :--- | :--- | :---: | :---: | :---: | :---: | :---: |\n",
|
"| :--- | :--- | :---: | :---: | :---: | :---: | :---: |\n",
|
||||||
"| [Chat__ModuleName__](https://python.langchain.com/api_reference/__package_name_short_snake__/chat_models/__module_name__.chat_models.Chat__ModuleName__.html) | [__package_name__](https://python.langchain.com/api_reference/__package_name_short_snake__/) | ✅/❌ | beta/❌ | ✅/❌ |  |  |\n",
|
"| [Chat__ModuleName__](https://python.langchain.com/api_reference/__package_name_short_snake__/chat_models/__module_name__.chat_models.Chat__ModuleName__.html) | [__package_name__](https://python.langchain.com/api_reference/__package_name_short_snake__/) | ✅/❌ | beta/❌ | ✅/❌ |  |  |\n",
|
||||||
"\n",
|
"\n",
|
||||||
"### Model features\n",
|
"### Model features\n",
|
||||||
"| [Tool calling](/docs/how_to/tool_calling) | [Structured output](/docs/how_to/structured_output/) | JSON mode | [Image input](/docs/how_to/multimodal_inputs/) | Audio input | Video input | [Token-level streaming](/docs/how_to/chat_streaming/) | Native async | [Token usage](/docs/how_to/chat_token_usage_tracking/) | [Logprobs](/docs/how_to/logprobs/) |\n",
|
"| [Tool calling](/docs/how_to/tool_calling) | [Structured output](/docs/how_to/structured_output/) | JSON mode | [Image input](/docs/how_to/multimodal_inputs/) | Audio input | Video input | [Token-level streaming](/docs/how_to/chat_streaming/) | Native async | [Token usage](/docs/how_to/chat_token_usage_tracking/) | [Logprobs](/docs/how_to/logprobs/) |\n",
|
||||||
|
|||||||
@@ -30,7 +30,7 @@
|
|||||||
"\n",
|
"\n",
|
||||||
"| Class | Package | Local | Serializable | [JS support](https://js.langchain.com/docs/integrations/llms/__package_name_short_snake__) | Package downloads | Package latest |\n",
|
"| Class | Package | Local | Serializable | [JS support](https://js.langchain.com/docs/integrations/llms/__package_name_short_snake__) | Package downloads | Package latest |\n",
|
||||||
"| :--- | :--- | :---: | :---: | :---: | :---: | :---: |\n",
|
"| :--- | :--- | :---: | :---: | :---: | :---: | :---: |\n",
|
||||||
"| [__ModuleName__LLM](https://api.python.langchain.com/en/latest/llms/__module_name__.llms.__ModuleName__LLM.html) | [__package_name__](https://api.python.langchain.com/en/latest/__package_name_short_snake___api_reference.html) | ✅/❌ | beta/❌ | ✅/❌ |  |  |\n",
|
"| [__ModuleName__LLM](https://api.python.langchain.com/en/latest/llms/__module_name__.llms.__ModuleName__LLM.html) | [__package_name__](https://api.python.langchain.com/en/latest/__package_name_short_snake___api_reference.html) | ✅/❌ | beta/❌ | ✅/❌ |  |  |\n",
|
||||||
"\n",
|
"\n",
|
||||||
"## Setup\n",
|
"## Setup\n",
|
||||||
"\n",
|
"\n",
|
||||||
|
|||||||
@@ -37,7 +37,7 @@
|
|||||||
"\n",
|
"\n",
|
||||||
"| Class | Package | Local | [JS support](https://js.langchain.com/docs/integrations/stores/_package_name_) | Package downloads | Package latest |\n",
|
"| Class | Package | Local | [JS support](https://js.langchain.com/docs/integrations/stores/_package_name_) | Package downloads | Package latest |\n",
|
||||||
"| :--- | :--- | :---: | :---: | :---: | :---: |\n",
|
"| :--- | :--- | :---: | :---: | :---: | :---: |\n",
|
||||||
"| [__ModuleName__ByteStore](https://api.python.langchain.com/en/latest/stores/__module_name__.stores.__ModuleName__ByteStore.html) | [__package_name__](https://api.python.langchain.com/en/latest/__package_name_short_snake___api_reference.html) | ✅/❌ | ✅/❌ |  |  |\n",
|
"| [__ModuleName__ByteStore](https://api.python.langchain.com/en/latest/stores/__module_name__.stores.__ModuleName__ByteStore.html) | [__package_name__](https://api.python.langchain.com/en/latest/__package_name_short_snake___api_reference.html) | ✅/❌ | ✅/❌ |  |  |\n",
|
||||||
"\n",
|
"\n",
|
||||||
"## Setup\n",
|
"## Setup\n",
|
||||||
"\n",
|
"\n",
|
||||||
|
|||||||
@@ -31,7 +31,7 @@
|
|||||||
"\n",
|
"\n",
|
||||||
"| Class | Package | Serializable | [JS support](https://js.langchain.com/docs/integrations/tools/__module_name__) | Package latest |\n",
|
"| Class | Package | Serializable | [JS support](https://js.langchain.com/docs/integrations/tools/__module_name__) | Package latest |\n",
|
||||||
"| :--- | :--- | :---: | :---: | :---: |\n",
|
"| :--- | :--- | :---: | :---: | :---: |\n",
|
||||||
"| [__ModuleName__](https://python.langchain.com/v0.2/api_reference/community/tools/langchain_community.tools.__module_name__.tool.__ModuleName__.html) | [langchain-community](https://api.python.langchain.com/en/latest/community_api_reference.html) | beta/❌ | ✅/❌ |  |\n",
|
"| [__ModuleName__](https://python.langchain.com/v0.2/api_reference/community/tools/langchain_community.tools.__module_name__.tool.__ModuleName__.html) | [langchain-community](https://api.python.langchain.com/en/latest/community_api_reference.html) | beta/❌ | ✅/❌ |  |\n",
|
||||||
"\n",
|
"\n",
|
||||||
"### Tool features\n",
|
"### Tool features\n",
|
||||||
"\n",
|
"\n",
|
||||||
|
|||||||
@@ -1,7 +1,14 @@
|
|||||||
# 🦜🍎️ LangChain Core
|
# 🦜🍎️ LangChain Core
|
||||||
|
|
||||||
[](https://opensource.org/licenses/MIT)
|
[](https://pypi.org/project/langchain-core/#history)
|
||||||
|
[](https://opensource.org/licenses/MIT)
|
||||||
[](https://pypistats.org/packages/langchain-core)
|
[](https://pypistats.org/packages/langchain-core)
|
||||||
|
[](https://twitter.com/langchainai)
|
||||||
|
|
||||||
|
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://smith.langchain.com).
|
||||||
|
[LangSmith](https://smith.langchain.com) is a unified developer platform for building, testing, and monitoring LLM applications.
|
||||||
|
|
||||||
## Quick Install
|
## Quick Install
|
||||||
|
|
||||||
@@ -9,7 +16,7 @@
|
|||||||
pip install langchain-core
|
pip install langchain-core
|
||||||
```
|
```
|
||||||
|
|
||||||
## What is it?
|
## 🤔 What is this?
|
||||||
|
|
||||||
LangChain Core contains the base abstractions that power the LangChain ecosystem.
|
LangChain Core contains the base abstractions that power the LangChain ecosystem.
|
||||||
|
|
||||||
@@ -17,8 +24,6 @@ These abstractions are designed to be as modular and simple as possible.
|
|||||||
|
|
||||||
The benefit of having these abstractions is that any provider can implement the required interface and then easily be used in the rest of the LangChain ecosystem.
|
The benefit of having these abstractions is that any provider can implement the required interface and then easily be used in the rest of the LangChain ecosystem.
|
||||||
|
|
||||||
For full documentation see the [API reference](https://reference.langchain.com/python/).
|
|
||||||
|
|
||||||
## ⛰️ Why build on top of LangChain Core?
|
## ⛰️ Why build on top of LangChain Core?
|
||||||
|
|
||||||
The LangChain ecosystem is built on top of `langchain-core`. Some of the benefits:
|
The LangChain ecosystem is built on top of `langchain-core`. Some of the benefits:
|
||||||
@@ -27,12 +32,16 @@ The LangChain ecosystem is built on top of `langchain-core`. Some of the benefit
|
|||||||
- **Stability**: We are committed to a stable versioning scheme, and will communicate any breaking changes with advance notice and version bumps.
|
- **Stability**: We are committed to a stable versioning scheme, and will communicate any breaking changes with advance notice and version bumps.
|
||||||
- **Battle-tested**: Core components have the largest install base in the LLM ecosystem, and are used in production by many companies.
|
- **Battle-tested**: Core components have the largest install base in the LLM ecosystem, and are used in production by many companies.
|
||||||
|
|
||||||
|
## 📖 Documentation
|
||||||
|
|
||||||
|
For full documentation, see the [API reference](https://reference.langchain.com/python/langchain_core/).
|
||||||
|
|
||||||
## 📕 Releases & Versioning
|
## 📕 Releases & Versioning
|
||||||
|
|
||||||
See our [Releases](https://docs.langchain.com/oss/python/release-policy) and [Versioning Policy](https://docs.langchain.com/oss/python/versioning).
|
See our [Releases](https://docs.langchain.com/oss/python/release-policy) and [Versioning](https://docs.langchain.com/oss/python/versioning) policies.
|
||||||
|
|
||||||
## 💁 Contributing
|
## 💁 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.
|
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).
|
For detailed information on how to contribute, see the [Contributing Guide](https://docs.langchain.com/oss/python/contributing/overview).
|
||||||
|
|||||||
@@ -1,9 +1,8 @@
|
|||||||
# 🦜️🔗 LangChain
|
# 🦜️🔗 LangChain Classic
|
||||||
|
|
||||||
⚡ Building applications with LLMs through composability ⚡
|
[](https://pypi.org/project/langchain-classic/#history)
|
||||||
|
[](https://opensource.org/licenses/MIT)
|
||||||
[](https://opensource.org/licenses/MIT)
|
[](https://pypistats.org/packages/langchain-classic)
|
||||||
[](https://pypistats.org/packages/langchain)
|
|
||||||
[](https://twitter.com/langchainai)
|
[](https://twitter.com/langchainai)
|
||||||
|
|
||||||
Looking for the JS/TS version? Check out [LangChain.js](https://github.com/langchain-ai/langchainjs).
|
Looking for the JS/TS version? Check out [LangChain.js](https://github.com/langchain-ai/langchainjs).
|
||||||
@@ -13,67 +12,26 @@ To help you ship LangChain apps to production faster, check out [LangSmith](http
|
|||||||
|
|
||||||
## Quick Install
|
## Quick Install
|
||||||
|
|
||||||
`pip install langchain-classic`
|
```bash
|
||||||
|
pip install langchain-classic
|
||||||
|
```
|
||||||
|
|
||||||
## 🤔 What is this?
|
## 🤔 What is this?
|
||||||
|
|
||||||
Large language models (LLMs) are emerging as a transformative technology, enabling developers to build applications that they previously could not. However, using these LLMs in isolation is often insufficient for creating a truly powerful app - the real power comes when you can combine them with other sources of computation or knowledge.
|
Legacy chains, `langchain-community` re-exports, indexing API, deprecated functionality, and more.
|
||||||
|
|
||||||
This library aims to assist in the development of those types of applications. Common examples of these applications include:
|
In most cases, you should be using the main [`langchain`](https://pypi.org/project/langchain/) package.
|
||||||
|
|
||||||
**❓ Question answering with RAG**
|
|
||||||
|
|
||||||
- [Documentation](https://python.langchain.com/docs/tutorials/rag/)
|
|
||||||
- End-to-end Example: [Chat LangChain](https://chat.langchain.com) and [repo](https://github.com/langchain-ai/chat-langchain)
|
|
||||||
|
|
||||||
**🧱 Extracting structured output**
|
|
||||||
|
|
||||||
- [Documentation](https://python.langchain.com/docs/tutorials/extraction/)
|
|
||||||
- End-to-end Example: [SQL Llama2 Template](https://github.com/langchain-ai/langchain-extract/)
|
|
||||||
|
|
||||||
**🤖 Chatbots**
|
|
||||||
|
|
||||||
- [Documentation](https://python.langchain.com/docs/tutorials/chatbot/)
|
|
||||||
- End-to-end Example: [Web LangChain (web researcher chatbot)](https://weblangchain.vercel.app) and [repo](https://github.com/langchain-ai/weblangchain)
|
|
||||||
|
|
||||||
## 📖 Documentation
|
## 📖 Documentation
|
||||||
|
|
||||||
Please see [our full documentation](https://python.langchain.com) on:
|
For full documentation, see the [API reference](https://reference.langchain.com/python/langchain_classic).
|
||||||
|
|
||||||
- Getting started (installation, setting up the environment, simple examples)
|
## 📕 Releases & Versioning
|
||||||
- How-To examples (demos, integrations, helper functions)
|
|
||||||
- Reference (full API docs)
|
|
||||||
- Resources (high-level explanation of core concepts)
|
|
||||||
|
|
||||||
## 🚀 What can this help with?
|
See our [Releases](https://docs.langchain.com/oss/python/release-policy) and [Versioning](https://docs.langchain.com/oss/python/versioning) policies.
|
||||||
|
|
||||||
There are five main areas that LangChain is designed to help with.
|
|
||||||
These are, in increasing order of complexity:
|
|
||||||
|
|
||||||
**🤖 Agents:**
|
|
||||||
|
|
||||||
Agents involve an LLM making decisions about which Actions to take, taking that Action, seeing an Observation, and repeating that until done. LangChain provides a standard interface for agents, a selection of agents to choose from, and examples of end-to-end agents.
|
|
||||||
|
|
||||||
**📚 Retrieval Augmented Generation:**
|
|
||||||
|
|
||||||
Retrieval Augmented Generation involves specific types of chains that first interact with an external data source to fetch data for use in the generation step. Examples include summarization of long pieces of text and question/answering over specific data sources.
|
|
||||||
|
|
||||||
**🧐 Evaluation:**
|
|
||||||
|
|
||||||
Generative models are notoriously hard to evaluate with traditional metrics. One new way of evaluating them is using language models themselves to do the evaluation. LangChain provides some prompts/chains for assisting in this.
|
|
||||||
|
|
||||||
**📃 Models and Prompts:**
|
|
||||||
|
|
||||||
This includes prompt management, prompt optimization, a generic interface for all LLMs, and common utilities for working with chat models and LLMs.
|
|
||||||
|
|
||||||
**🔗 Chains:**
|
|
||||||
|
|
||||||
Chains go beyond a single LLM call and involve sequences of calls (whether to an LLM or a different utility). LangChain provides a standard interface for chains, lots of integrations with other tools, and end-to-end chains for common applications.
|
|
||||||
|
|
||||||
For more information on these concepts, please see our [full documentation](https://python.langchain.com).
|
|
||||||
|
|
||||||
## 💁 Contributing
|
## 💁 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.
|
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://python.langchain.com/docs/contributing/).
|
For detailed information on how to contribute, see the [Contributing Guide](https://docs.langchain.com/oss/python/contributing/overview).
|
||||||
|
|||||||
@@ -1,8 +1,7 @@
|
|||||||
# 🦜️🔗 LangChain
|
# 🦜️🔗 LangChain
|
||||||
|
|
||||||
⚡ Building applications with LLMs through composability ⚡
|
[](https://pypi.org/project/langchain/#history)
|
||||||
|
[](https://opensource.org/licenses/MIT)
|
||||||
[](https://opensource.org/licenses/MIT)
|
|
||||||
[](https://pypistats.org/packages/langchain)
|
[](https://pypistats.org/packages/langchain)
|
||||||
[](https://twitter.com/langchainai)
|
[](https://twitter.com/langchainai)
|
||||||
|
|
||||||
@@ -13,67 +12,28 @@ To help you ship LangChain apps to production faster, check out [LangSmith](http
|
|||||||
|
|
||||||
## Quick Install
|
## Quick Install
|
||||||
|
|
||||||
`pip install langchain`
|
```bash
|
||||||
|
pip install langchain
|
||||||
|
```
|
||||||
|
|
||||||
## 🤔 What is this?
|
## 🤔 What is this?
|
||||||
|
|
||||||
Large language models (LLMs) are emerging as a transformative technology, enabling developers to build applications that they previously could not. However, using these LLMs in isolation is often insufficient for creating a truly powerful app - the real power comes when you can combine them with other sources of computation or knowledge.
|
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.
|
||||||
|
|
||||||
This library aims to assist in the development of those types of applications. Common examples of these applications include:
|
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.
|
||||||
|
|
||||||
**❓ Question answering with RAG**
|
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](https://python.langchain.com/docs/tutorials/rag/)
|
|
||||||
- End-to-end Example: [Chat LangChain](https://chat.langchain.com) and [repo](https://github.com/langchain-ai/chat-langchain)
|
|
||||||
|
|
||||||
**🧱 Extracting structured output**
|
|
||||||
|
|
||||||
- [Documentation](https://python.langchain.com/docs/tutorials/extraction/)
|
|
||||||
- End-to-end Example: [SQL Llama2 Template](https://github.com/langchain-ai/langchain-extract/)
|
|
||||||
|
|
||||||
**🤖 Chatbots**
|
|
||||||
|
|
||||||
- [Documentation](https://python.langchain.com/docs/tutorials/chatbot/)
|
|
||||||
- End-to-end Example: [Web LangChain (web researcher chatbot)](https://weblangchain.vercel.app) and [repo](https://github.com/langchain-ai/weblangchain)
|
|
||||||
|
|
||||||
## 📖 Documentation
|
## 📖 Documentation
|
||||||
|
|
||||||
Please see [our full documentation](https://python.langchain.com) on:
|
For full documentation, see the [API reference](https://reference.langchain.com/python/langchain_classic).
|
||||||
|
|
||||||
- Getting started (installation, setting up the environment, simple examples)
|
## 📕 Releases & Versioning
|
||||||
- How-To examples (demos, integrations, helper functions)
|
|
||||||
- Reference (full API docs)
|
|
||||||
- Resources (high-level explanation of core concepts)
|
|
||||||
|
|
||||||
## 🚀 What can this help with?
|
See our [Releases](https://docs.langchain.com/oss/python/release-policy) and [Versioning](https://docs.langchain.com/oss/python/versioning) policies.
|
||||||
|
|
||||||
There are five main areas that LangChain is designed to help with.
|
|
||||||
These are, in increasing order of complexity:
|
|
||||||
|
|
||||||
**🤖 Agents:**
|
|
||||||
|
|
||||||
Agents involve an LLM making decisions about which Actions to take, taking that Action, seeing an Observation, and repeating that until done. LangChain provides a standard interface for agents, a selection of agents to choose from, and examples of end-to-end agents.
|
|
||||||
|
|
||||||
**📚 Retrieval Augmented Generation:**
|
|
||||||
|
|
||||||
Retrieval Augmented Generation involves specific types of chains that first interact with an external data source to fetch data for use in the generation step. Examples include summarization of long pieces of text and question/answering over specific data sources.
|
|
||||||
|
|
||||||
**🧐 Evaluation:**
|
|
||||||
|
|
||||||
Generative models are notoriously hard to evaluate with traditional metrics. One new way of evaluating them is using language models themselves to do the evaluation. LangChain provides some prompts/chains for assisting in this.
|
|
||||||
|
|
||||||
**📃 Models and Prompts:**
|
|
||||||
|
|
||||||
This includes prompt management, prompt optimization, a generic interface for all LLMs, and common utilities for working with chat models and LLMs.
|
|
||||||
|
|
||||||
**🔗 Chains:**
|
|
||||||
|
|
||||||
Chains go beyond a single LLM call and involve sequences of calls (whether to an LLM or a different utility). LangChain provides a standard interface for chains, lots of integrations with other tools, and end-to-end chains for common applications.
|
|
||||||
|
|
||||||
For more information on these concepts, please see our [full documentation](https://python.langchain.com).
|
|
||||||
|
|
||||||
## 💁 Contributing
|
## 💁 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.
|
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://python.langchain.com/docs/contributing/).
|
For detailed information on how to contribute, see the [Contributing Guide](https://docs.langchain.com/oss/python/contributing/overview).
|
||||||
|
|||||||
@@ -1,3 +1,7 @@
|
|||||||
# FAQ
|
# FAQ
|
||||||
|
|
||||||
Looking for an integration not listed here? Check out the [integrations documentation](https://docs.langchain.com/oss/python/integrations/providers) and the [note](../README.md) in the `libs/` README about third-party maintained packages.
|
Looking for an integration not listed here? Check out the [integrations documentation](https://docs.langchain.com/oss/python/integrations/providers) and the [note](../README.md) in the `libs/` README about third-party maintained packages.
|
||||||
|
|
||||||
|
## Integration docs
|
||||||
|
|
||||||
|
For full documentation, see the [primary](https://docs.langchain.com/oss/python/integrations/providers/overview) and [API reference](https://reference.langchain.com/python/integrations/) docs for integrations.
|
||||||
|
|||||||
@@ -1,5 +1,22 @@
|
|||||||
# langchain-anthropic
|
# langchain-anthropic
|
||||||
|
|
||||||
|
[](https://pypi.org/project/langchain-anthropic/#history)
|
||||||
|
[](https://opensource.org/licenses/MIT)
|
||||||
|
[](https://pypistats.org/packages/langchain-anthropic)
|
||||||
|
[](https://twitter.com/langchainai)
|
||||||
|
|
||||||
|
Looking for the JS/TS version? Check out [LangChain.js](https://github.com/langchain-ai/langchainjs).
|
||||||
|
|
||||||
|
## Quick Install
|
||||||
|
|
||||||
|
```bash
|
||||||
|
pip install langchain-anthropic
|
||||||
|
```
|
||||||
|
|
||||||
|
## 🤔 What is this?
|
||||||
|
|
||||||
This package contains the LangChain integration for Anthropic's generative models.
|
This package contains the LangChain integration for Anthropic's generative models.
|
||||||
|
|
||||||
|
## 📖 Documentation
|
||||||
|
|
||||||
View the [documentation](https://docs.langchain.com/oss/python/integrations/providers/anthropic) for more details.
|
View the [documentation](https://docs.langchain.com/oss/python/integrations/providers/anthropic) for more details.
|
||||||
|
|||||||
@@ -1,5 +1,22 @@
|
|||||||
# langchain-chroma
|
# langchain-chroma
|
||||||
|
|
||||||
|
[](https://pypi.org/project/langchain-chroma/#history)
|
||||||
|
[](https://opensource.org/licenses/MIT)
|
||||||
|
[](https://pypistats.org/packages/langchain-chroma)
|
||||||
|
[](https://twitter.com/langchainai)
|
||||||
|
|
||||||
|
Looking for the JS/TS version? Check out [LangChain.js](https://github.com/langchain-ai/langchainjs).
|
||||||
|
|
||||||
|
## Quick Install
|
||||||
|
|
||||||
|
```bash
|
||||||
|
pip install langchain-chroma
|
||||||
|
```
|
||||||
|
|
||||||
|
## 🤔 What is this?
|
||||||
|
|
||||||
This package contains the LangChain integration with Chroma.
|
This package contains the LangChain integration with Chroma.
|
||||||
|
|
||||||
|
## 📖 Documentation
|
||||||
|
|
||||||
View the [documentation](https://docs.langchain.com/oss/python/integrations/providers/chroma) for more details.
|
View the [documentation](https://docs.langchain.com/oss/python/integrations/providers/chroma) for more details.
|
||||||
|
|||||||
@@ -1,5 +1,22 @@
|
|||||||
# langchain-deepseek
|
# langchain-deepseek
|
||||||
|
|
||||||
This package contains the LangChain integration with the DeepSeek API
|
[](https://pypi.org/project/langchain-deepseek/#history)
|
||||||
|
[](https://opensource.org/licenses/MIT)
|
||||||
|
[](https://pypistats.org/packages/langchain-deepseek)
|
||||||
|
[](https://twitter.com/langchainai)
|
||||||
|
|
||||||
|
Looking for the JS/TS version? Check out [LangChain.js](https://github.com/langchain-ai/langchainjs).
|
||||||
|
|
||||||
|
## Quick Install
|
||||||
|
|
||||||
|
```bash
|
||||||
|
pip install langchain-deepseek
|
||||||
|
```
|
||||||
|
|
||||||
|
## 🤔 What is this?
|
||||||
|
|
||||||
|
This package contains the LangChain integration with DeepSeek.
|
||||||
|
|
||||||
|
## 📖 Documentation
|
||||||
|
|
||||||
View the [documentation](https://docs.langchain.com/oss/python/integrations/providers/deepseek) for more details.
|
View the [documentation](https://docs.langchain.com/oss/python/integrations/providers/deepseek) for more details.
|
||||||
|
|||||||
@@ -1,5 +1,22 @@
|
|||||||
# langchain-exa
|
# langchain-exa
|
||||||
|
|
||||||
This package contains the LangChain integrations for Exa Cloud generative models.
|
[](https://pypi.org/project/langchain-exa/#history)
|
||||||
|
[](https://opensource.org/licenses/MIT)
|
||||||
|
[](https://pypistats.org/packages/langchain-exa)
|
||||||
|
[](https://twitter.com/langchainai)
|
||||||
|
|
||||||
View the [documentation](https://docs.langchain.com/oss/python/integrations/providers/exa_search) for more details.
|
Looking for the JS/TS version? Check out [LangChain.js](https://github.com/langchain-ai/langchainjs).
|
||||||
|
|
||||||
|
## Quick Install
|
||||||
|
|
||||||
|
```bash
|
||||||
|
pip install langchain-exa
|
||||||
|
```
|
||||||
|
|
||||||
|
## 🤔 What is this?
|
||||||
|
|
||||||
|
This package contains the LangChain integration with Exa.
|
||||||
|
|
||||||
|
## 📖 Documentation
|
||||||
|
|
||||||
|
View the [documentation](https://docs.langchain.com/oss/python/integrations/providers/exa) for more details.
|
||||||
|
|||||||
@@ -1,5 +1,22 @@
|
|||||||
# LangChain-Fireworks
|
# langchain-fireworks
|
||||||
|
|
||||||
|
[](https://pypi.org/project/langchain-fireworks/#history)
|
||||||
|
[](https://opensource.org/licenses/MIT)
|
||||||
|
[](https://pypistats.org/packages/langchain-fireworks)
|
||||||
|
[](https://twitter.com/langchainai)
|
||||||
|
|
||||||
|
Looking for the JS/TS version? Check out [LangChain.js](https://github.com/langchain-ai/langchainjs).
|
||||||
|
|
||||||
|
## Quick Install
|
||||||
|
|
||||||
|
```bash
|
||||||
|
pip install langchain-fireworks
|
||||||
|
```
|
||||||
|
|
||||||
|
## 🤔 What is this?
|
||||||
|
|
||||||
This is the partner package for tying Fireworks.ai and LangChain. Fireworks really strive to provide good support for LangChain use cases, so if you run into any issues please let us know. You can reach out to us [in our Discord channel](https://discord.com/channels/1137072072808472616/)
|
This is the partner package for tying Fireworks.ai and LangChain. Fireworks really strive to provide good support for LangChain use cases, so if you run into any issues please let us know. You can reach out to us [in our Discord channel](https://discord.com/channels/1137072072808472616/)
|
||||||
|
|
||||||
|
## 📖 Documentation
|
||||||
|
|
||||||
View the [documentation](https://docs.langchain.com/oss/python/integrations/providers/fireworks) for more details.
|
View the [documentation](https://docs.langchain.com/oss/python/integrations/providers/fireworks) for more details.
|
||||||
|
|||||||
@@ -1,3 +1,18 @@
|
|||||||
# langchain-groq
|
# langchain-groq
|
||||||
|
|
||||||
|
[](https://pypi.org/project/langchain-groq/#history)
|
||||||
|
[](https://opensource.org/licenses/MIT)
|
||||||
|
[](https://pypistats.org/packages/langchain-groq)
|
||||||
|
[](https://twitter.com/langchainai)
|
||||||
|
|
||||||
|
Looking for the JS/TS version? Check out [LangChain.js](https://github.com/langchain-ai/langchainjs).
|
||||||
|
|
||||||
|
## Quick Install
|
||||||
|
|
||||||
|
```bash
|
||||||
|
pip install langchain-groq
|
||||||
|
```
|
||||||
|
|
||||||
|
## 📖 Documentation
|
||||||
|
|
||||||
View the [documentation](https://docs.langchain.com/oss/python/integrations/providers/groq) for more details.
|
View the [documentation](https://docs.langchain.com/oss/python/integrations/providers/groq) for more details.
|
||||||
|
|||||||
@@ -1,5 +1,22 @@
|
|||||||
# langchain-huggingface
|
# langchain-huggingface
|
||||||
|
|
||||||
This package contains the LangChain integrations for huggingface related classes.
|
[](https://pypi.org/project/langchain-huggingface/#history)
|
||||||
|
[](https://opensource.org/licenses/MIT)
|
||||||
|
[](https://pypistats.org/packages/langchain-huggingface)
|
||||||
|
[](https://twitter.com/langchainai)
|
||||||
|
|
||||||
View the [documentation](https://docs.langchain.com/oss/python/integrations/providers/groq) for more details.
|
Looking for the JS/TS version? Check out [LangChain.js](https://github.com/langchain-ai/langchainjs).
|
||||||
|
|
||||||
|
## Quick Install
|
||||||
|
|
||||||
|
```bash
|
||||||
|
pip install langchain-huggingface
|
||||||
|
```
|
||||||
|
|
||||||
|
## 🤔 What is this?
|
||||||
|
|
||||||
|
This package contains the LangChain integrations for Hugging Face related classes.
|
||||||
|
|
||||||
|
## 📖 Documentation
|
||||||
|
|
||||||
|
View the [documentation](https://docs.langchain.com/oss/python/integrations/providers/huggingface) for more details.
|
||||||
|
|||||||
@@ -1,3 +1,18 @@
|
|||||||
# langchain-mistralai
|
# langchain-mistralai
|
||||||
|
|
||||||
|
[](https://pypi.org/project/langchain-mistralai/#history)
|
||||||
|
[](https://opensource.org/licenses/MIT)
|
||||||
|
[](https://pypistats.org/packages/langchain-mistralai)
|
||||||
|
[](https://twitter.com/langchainai)
|
||||||
|
|
||||||
|
Looking for the JS/TS version? Check out [LangChain.js](https://github.com/langchain-ai/langchainjs).
|
||||||
|
|
||||||
|
## Quick Install
|
||||||
|
|
||||||
|
```bash
|
||||||
|
pip install langchain-mistralai
|
||||||
|
```
|
||||||
|
|
||||||
|
## 📖 Documentation
|
||||||
|
|
||||||
View the [documentation](https://docs.langchain.com/oss/python/integrations/providers/mistralai) for more details.
|
View the [documentation](https://docs.langchain.com/oss/python/integrations/providers/mistralai) for more details.
|
||||||
|
|||||||
@@ -1,5 +1,22 @@
|
|||||||
# langchain-nomic
|
# langchain-nomic
|
||||||
|
|
||||||
|
[](https://pypi.org/project/langchain-nomic/#history)
|
||||||
|
[](https://opensource.org/licenses/MIT)
|
||||||
|
[](https://pypistats.org/packages/langchain-nomic)
|
||||||
|
[](https://twitter.com/langchainai)
|
||||||
|
|
||||||
|
Looking for the JS/TS version? Check out [LangChain.js](https://github.com/langchain-ai/langchainjs).
|
||||||
|
|
||||||
|
## Quick Install
|
||||||
|
|
||||||
|
```bash
|
||||||
|
pip install langchain-nomic
|
||||||
|
```
|
||||||
|
|
||||||
|
## 🤔 What is this?
|
||||||
|
|
||||||
This package contains the LangChain integration with Nomic
|
This package contains the LangChain integration with Nomic
|
||||||
|
|
||||||
|
## 📖 Documentation
|
||||||
|
|
||||||
View the [documentation](https://docs.langchain.com/oss/python/integrations/providers/nomic) for more details.
|
View the [documentation](https://docs.langchain.com/oss/python/integrations/providers/nomic) for more details.
|
||||||
|
|||||||
@@ -1,7 +1,24 @@
|
|||||||
# langchain-ollama
|
# langchain-ollama
|
||||||
|
|
||||||
|
[](https://pypi.org/project/langchain-ollama/#history)
|
||||||
|
[](https://opensource.org/licenses/MIT)
|
||||||
|
[](https://pypistats.org/packages/langchain-ollama)
|
||||||
|
[](https://twitter.com/langchainai)
|
||||||
|
|
||||||
|
Looking for the JS/TS version? Check out [LangChain.js](https://github.com/langchain-ai/langchainjs).
|
||||||
|
|
||||||
|
## Quick Install
|
||||||
|
|
||||||
|
```bash
|
||||||
|
pip install langchain-ollama
|
||||||
|
```
|
||||||
|
|
||||||
|
## 🤔 What is this?
|
||||||
|
|
||||||
This package contains the LangChain integration with Ollama
|
This package contains the LangChain integration with Ollama
|
||||||
|
|
||||||
|
## 📖 Documentation
|
||||||
|
|
||||||
View the [documentation](https://docs.langchain.com/oss/python/integrations/providers/ollama) for more details.
|
View the [documentation](https://docs.langchain.com/oss/python/integrations/providers/ollama) for more details.
|
||||||
|
|
||||||
## Development
|
## Development
|
||||||
|
|||||||
@@ -1,5 +1,22 @@
|
|||||||
# langchain-openai
|
# langchain-openai
|
||||||
|
|
||||||
|
[](https://pypi.org/project/langchain-openai/#history)
|
||||||
|
[](https://opensource.org/licenses/MIT)
|
||||||
|
[](https://pypistats.org/packages/langchain-openai)
|
||||||
|
[](https://twitter.com/langchainai)
|
||||||
|
|
||||||
|
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.
|
This package contains the LangChain integrations for OpenAI through their `openai` SDK.
|
||||||
|
|
||||||
|
## 📖 Documentation
|
||||||
|
|
||||||
View the [documentation](https://docs.langchain.com/oss/python/integrations/providers/openai) for more details.
|
View the [documentation](https://docs.langchain.com/oss/python/integrations/providers/openai) for more details.
|
||||||
|
|||||||
@@ -1,5 +1,22 @@
|
|||||||
# langchain-perplexity
|
# langchain-perplexity
|
||||||
|
|
||||||
|
[](https://pypi.org/project/langchain-perplexity/#history)
|
||||||
|
[](https://opensource.org/licenses/MIT)
|
||||||
|
[](https://pypistats.org/packages/langchain-perplexity)
|
||||||
|
[](https://twitter.com/langchainai)
|
||||||
|
|
||||||
|
Looking for the JS/TS version? Check out [LangChain.js](https://github.com/langchain-ai/langchainjs).
|
||||||
|
|
||||||
|
## Quick Install
|
||||||
|
|
||||||
|
```bash
|
||||||
|
pip install langchain-perplexity
|
||||||
|
```
|
||||||
|
|
||||||
|
## 🤔 What is this?
|
||||||
|
|
||||||
This package contains the LangChain integration with Perplexity.
|
This package contains the LangChain integration with Perplexity.
|
||||||
|
|
||||||
|
## 📖 Documentation
|
||||||
|
|
||||||
View the [documentation](https://docs.langchain.com/oss/python/integrations/providers/perplexity) for more details.
|
View the [documentation](https://docs.langchain.com/oss/python/integrations/providers/perplexity) for more details.
|
||||||
|
|||||||
@@ -1,15 +1,26 @@
|
|||||||
# langchain-prompty
|
# langchain-prompty
|
||||||
|
|
||||||
|
[](https://pypi.org/project/langchain-prompty/#history)
|
||||||
|
[](https://opensource.org/licenses/MIT)
|
||||||
|
[](https://pypistats.org/packages/langchain-prompty)
|
||||||
|
[](https://twitter.com/langchainai)
|
||||||
|
|
||||||
|
Looking for the JS/TS version? Check out [LangChain.js](https://github.com/langchain-ai/langchainjs).
|
||||||
|
|
||||||
|
## Quick Install
|
||||||
|
|
||||||
|
```bash
|
||||||
|
pip install langchain-prompty
|
||||||
|
```
|
||||||
|
|
||||||
|
## 🤔 What is this?
|
||||||
|
|
||||||
This package contains the LangChain integration with Microsoft Prompty.
|
This package contains the LangChain integration with Microsoft Prompty.
|
||||||
|
|
||||||
|
## 📖 Documentation
|
||||||
|
|
||||||
View the [documentation](https://docs.langchain.com/oss/python/integrations/providers/microsoft) for more details.
|
View the [documentation](https://docs.langchain.com/oss/python/integrations/providers/microsoft) for more details.
|
||||||
|
|
||||||
## Installation
|
|
||||||
|
|
||||||
```bash
|
|
||||||
pip install -U langchain-prompty
|
|
||||||
```
|
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
Use the `create_chat_prompt` function to load `prompty` file as prompt.
|
Use the `create_chat_prompt` function to load `prompty` file as prompt.
|
||||||
|
|||||||
@@ -1,5 +1,22 @@
|
|||||||
# langchain-qdrant
|
# langchain-qdrant
|
||||||
|
|
||||||
|
[](https://pypi.org/project/langchain-qdrant/#history)
|
||||||
|
[](https://opensource.org/licenses/MIT)
|
||||||
|
[](https://pypistats.org/packages/langchain-qdrant)
|
||||||
|
[](https://twitter.com/langchainai)
|
||||||
|
|
||||||
|
Looking for the JS/TS version? Check out [LangChain.js](https://github.com/langchain-ai/langchainjs).
|
||||||
|
|
||||||
|
## Quick Install
|
||||||
|
|
||||||
|
```bash
|
||||||
|
pip install langchain-qdrant
|
||||||
|
```
|
||||||
|
|
||||||
|
## 🤔 What is this?
|
||||||
|
|
||||||
This package contains the LangChain integration with [Qdrant](https://qdrant.tech/).
|
This package contains the LangChain integration with [Qdrant](https://qdrant.tech/).
|
||||||
|
|
||||||
|
## 📖 Documentation
|
||||||
|
|
||||||
View the [documentation](https://docs.langchain.com/oss/python/integrations/providers/qdrant) for more details.
|
View the [documentation](https://docs.langchain.com/oss/python/integrations/providers/qdrant) for more details.
|
||||||
|
|||||||
@@ -1,5 +1,22 @@
|
|||||||
# langchain-xai
|
# langchain-xai
|
||||||
|
|
||||||
|
[](https://pypi.org/project/langchain-xai/#history)
|
||||||
|
[](https://opensource.org/licenses/MIT)
|
||||||
|
[](https://pypistats.org/packages/langchain-xai)
|
||||||
|
[](https://twitter.com/langchainai)
|
||||||
|
|
||||||
|
Looking for the JS/TS version? Check out [LangChain.js](https://github.com/langchain-ai/langchainjs).
|
||||||
|
|
||||||
|
## Quick Install
|
||||||
|
|
||||||
|
```bash
|
||||||
|
pip install langchain-xai
|
||||||
|
```
|
||||||
|
|
||||||
|
## 🤔 What is this?
|
||||||
|
|
||||||
This package contains the LangChain integrations for [xAI](https://x.ai/) through their [APIs](https://console.x.ai).
|
This package contains the LangChain integrations for [xAI](https://x.ai/) through their [APIs](https://console.x.ai).
|
||||||
|
|
||||||
|
## 📖 Documentation
|
||||||
|
|
||||||
View the [documentation](https://docs.langchain.com/oss/python/integrations/providers/xai) for more details.
|
View the [documentation](https://docs.langchain.com/oss/python/integrations/providers/xai) for more details.
|
||||||
|
|||||||
@@ -1,28 +1,39 @@
|
|||||||
# langchain-tests
|
# 🦜️🔗 langchain-tests
|
||||||
|
|
||||||
This is a testing library for LangChain integrations. It contains the base classes for
|
[](https://pypi.org/project/langchain-tests/#history)
|
||||||
a standard set of tests.
|
[](https://opensource.org/licenses/MIT)
|
||||||
|
[](https://pypistats.org/packages/langchain-tests)
|
||||||
|
[](https://twitter.com/langchainai)
|
||||||
|
|
||||||
## Installation
|
Looking for the JS/TS version? Check out [LangChain.js](https://github.com/langchain-ai/langchainjs).
|
||||||
|
|
||||||
We encourage pinning your version to a specific version in order to avoid breaking
|
## Quick Install
|
||||||
your CI when we publish new tests. We recommend upgrading to the latest version
|
|
||||||
periodically to make sure you have the latest tests.
|
|
||||||
|
|
||||||
Not pinning your version will ensure you always have the latest tests, but it may
|
|
||||||
also break your CI if we introduce tests that your integration doesn't pass.
|
|
||||||
|
|
||||||
Pip:
|
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
pip install -U langchain-tests
|
pip install langchain-tests
|
||||||
```
|
```
|
||||||
|
|
||||||
uv:
|
## 🤔 What is this?
|
||||||
|
|
||||||
```bash
|
This is a testing library for LangChain integrations. It contains the base classes for a standard set of tests.
|
||||||
uv add langchain-tests
|
|
||||||
```
|
## 📖 Documentation
|
||||||
|
|
||||||
|
For full documentation, see the [API reference](https://reference.langchain.com/python/langchain).
|
||||||
|
|
||||||
|
## 📕 Releases & Versioning
|
||||||
|
|
||||||
|
See our [Releases](https://docs.langchain.com/oss/python/release-policy) and [Versioning](https://docs.langchain.com/oss/python/versioning) policies.
|
||||||
|
|
||||||
|
We encourage pinning your version to a specific version in order to avoid breaking your CI when we publish new tests. We recommend upgrading to the latest version periodically to make sure you have the latest tests.
|
||||||
|
|
||||||
|
Not pinning your version will ensure you always have the latest tests, but it may also break your CI if we introduce tests that your integration doesn't pass.
|
||||||
|
|
||||||
|
## 💁 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).
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,11 @@
|
|||||||
# 🦜✂️ LangChain Text Splitters
|
# 🦜✂️ LangChain Text Splitters
|
||||||
|
|
||||||
[](https://opensource.org/licenses/MIT)
|
[](https://pypi.org/project/langchain-text-splitters/#history)
|
||||||
|
[](https://opensource.org/licenses/MIT)
|
||||||
[](https://pypistats.org/packages/langchain-text-splitters)
|
[](https://pypistats.org/packages/langchain-text-splitters)
|
||||||
|
[](https://twitter.com/langchainai)
|
||||||
|
|
||||||
|
Looking for the JS/TS version? Check out [LangChain.js](https://github.com/langchain-ai/langchainjs).
|
||||||
|
|
||||||
## Quick Install
|
## Quick Install
|
||||||
|
|
||||||
@@ -9,28 +13,24 @@
|
|||||||
pip install langchain-text-splitters
|
pip install langchain-text-splitters
|
||||||
```
|
```
|
||||||
|
|
||||||
## What is it?
|
## 🤔 What is this?
|
||||||
|
|
||||||
LangChain Text Splitters contains utilities for splitting into chunks a wide variety of text documents.
|
LangChain Text Splitters contains utilities for splitting into chunks a wide variety of text documents.
|
||||||
|
|
||||||
For full documentation see the [API reference](https://python.langchain.com/api_reference/text_splitters/index.html)
|
## 📖 Documentation
|
||||||
and the [Text Splitters](https://python.langchain.com/docs/how_to/#text-splitters) module in the main docs.
|
|
||||||
|
For full documentation, see the [API reference](https://reference.langchain.com/python/langchain).
|
||||||
|
|
||||||
## 📕 Releases & Versioning
|
## 📕 Releases & Versioning
|
||||||
|
|
||||||
Minor version increases will occur for:
|
See our [Releases](https://docs.langchain.com/oss/python/release-policy) and [Versioning](https://docs.langchain.com/oss/python/versioning) policies.
|
||||||
|
|
||||||
- Breaking changes for any public interfaces NOT marked `beta`
|
We encourage pinning your version to a specific version in order to avoid breaking your CI when we publish new tests. We recommend upgrading to the latest version periodically to make sure you have the latest tests.
|
||||||
|
|
||||||
Patch version increases will occur for:
|
Not pinning your version will ensure you always have the latest tests, but it may also break your CI if we introduce tests that your integration doesn't pass.
|
||||||
|
|
||||||
- Bug fixes
|
|
||||||
- New features
|
|
||||||
- Any changes to private interfaces
|
|
||||||
- Any changes to `beta` features
|
|
||||||
|
|
||||||
## 💁 Contributing
|
## 💁 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.
|
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).
|
For detailed information on how to contribute, see the [Contributing Guide](https://docs.langchain.com/oss/python/contributing/overview).
|
||||||
|
|||||||
Reference in New Issue
Block a user