mirror of
https://github.com/hwchase17/langchain.git
synced 2025-08-18 17:11:25 +00:00
docs: update outdated README.md
content (#32540)
This commit is contained in:
parent
db438d8dcc
commit
397cd89988
@ -21,13 +21,13 @@ For full documentation see the [API reference](https://python.langchain.com/api_
|
|||||||
|
|
||||||
## 1️⃣ Core Interface: Runnables
|
## 1️⃣ Core Interface: Runnables
|
||||||
|
|
||||||
The concept of a Runnable is central to LangChain Core – it is the interface that most LangChain Core components implement, giving them
|
The concept of a `Runnable` is central to LangChain Core – it is the interface that most LangChain Core components implement, giving them
|
||||||
|
|
||||||
- a common invocation interface (invoke, batch, stream, etc.)
|
- a common invocation interface (`invoke()`, `batch()`, `stream()`, etc.)
|
||||||
- built-in utilities for retries, fallbacks, schemas and runtime configurability
|
- built-in utilities for retries, fallbacks, schemas and runtime configurability
|
||||||
- easy deployment with [LangServe](https://github.com/langchain-ai/langserve)
|
- easy deployment with [LangGraph](https://github.com/langchain-ai/langgraph)
|
||||||
|
|
||||||
For more check out the [runnable docs](https://python.langchain.com/docs/expression_language/interface). Examples of components that implement the interface include: LLMs, Chat Models, Prompts, Retrievers, Tools, Output Parsers.
|
For more check out the [runnable docs](https://python.langchain.com/docs/concepts/runnables/). Examples of components that implement the interface include: LLMs, Chat Models, Prompts, Retrievers, Tools, Output Parsers.
|
||||||
|
|
||||||
You can use LangChain Core objects in two ways:
|
You can use LangChain Core objects in two ways:
|
||||||
|
|
||||||
@ -51,7 +51,7 @@ LangChain Expression Language (LCEL) is a _declarative language_ for composing L
|
|||||||
|
|
||||||
LangChain Core compiles LCEL sequences to an _optimized execution plan_, with automatic parallelization, streaming, tracing, and async support.
|
LangChain Core compiles LCEL sequences to an _optimized execution plan_, with automatic parallelization, streaming, tracing, and async support.
|
||||||
|
|
||||||
For more check out the [LCEL docs](https://python.langchain.com/docs/expression_language/).
|
For more check out the [LCEL docs](https://python.langchain.com/docs/concepts/lcel/).
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
@ -59,8 +59,6 @@ For more advanced use cases, also check out [LangGraph](https://github.com/langc
|
|||||||
|
|
||||||
## 📕 Releases & Versioning
|
## 📕 Releases & Versioning
|
||||||
|
|
||||||
`langchain-core` is currently on version `0.1.x`.
|
|
||||||
|
|
||||||
As `langchain-core` contains the base abstractions and runtime for the whole LangChain ecosystem, we will communicate any breaking changes with advance notice and version bumps. The exception for this is anything in `langchain_core.beta`. The reason for `langchain_core.beta` is that given the rate of change of the field, being able to move quickly is still a priority, and this module is our attempt to do so.
|
As `langchain-core` contains the base abstractions and runtime for the whole LangChain ecosystem, we will communicate any breaking changes with advance notice and version bumps. The exception for this is anything in `langchain_core.beta`. The reason for `langchain_core.beta` is that given the rate of change of the field, being able to move quickly is still a priority, and this module is our attempt to do so.
|
||||||
|
|
||||||
Minor version increases will occur for:
|
Minor version increases will occur for:
|
||||||
|
@ -3,28 +3,21 @@
|
|||||||
⚡ Building applications with LLMs through composability ⚡
|
⚡ Building applications with LLMs through composability ⚡
|
||||||
|
|
||||||
[](https://github.com/langchain-ai/langchain/releases)
|
[](https://github.com/langchain-ai/langchain/releases)
|
||||||
[](https://github.com/langchain-ai/langchain/actions/workflows/lint.yml)
|
|
||||||
[](https://github.com/langchain-ai/langchain/actions/workflows/test.yml)
|
|
||||||
[](https://pepy.tech/project/langchain)
|
[](https://pepy.tech/project/langchain)
|
||||||
[](https://opensource.org/licenses/MIT)
|
[](https://opensource.org/licenses/MIT)
|
||||||
[](https://twitter.com/langchainai)
|
[](https://twitter.com/langchainai)
|
||||||
[](https://vscode.dev/redirect?url=vscode://ms-vscode-remote.remote-containers/cloneInVolume?url=https://github.com/langchain-ai/langchain)
|
[](https://vscode.dev/redirect?url=vscode://ms-vscode-remote.remote-containers/cloneInVolume?url=https://github.com/langchain-ai/langchain)
|
||||||
[](https://codespaces.new/langchain-ai/langchain)
|
[](https://codespaces.new/langchain-ai/langchain)
|
||||||
[](https://star-history.com/#langchain-ai/langchain)
|
[](https://star-history.com/#langchain-ai/langchain)
|
||||||
[](https://libraries.io/github/langchain-ai/langchain)
|
|
||||||
[](https://github.com/langchain-ai/langchain/issues)
|
|
||||||
|
|
||||||
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).
|
||||||
|
|
||||||
To help you ship LangChain apps to production faster, check out [LangSmith](https://smith.langchain.com).
|
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.
|
[LangSmith](https://smith.langchain.com) is a unified developer platform for building, testing, and monitoring LLM applications.
|
||||||
Fill out [this form](https://www.langchain.com/contact-sales) to speak with our sales team.
|
|
||||||
|
|
||||||
## Quick Install
|
## Quick Install
|
||||||
|
|
||||||
`pip install langchain`
|
`pip install langchain`
|
||||||
or
|
|
||||||
`pip install langsmith && conda install langchain -c conda-forge`
|
|
||||||
|
|
||||||
## 🤔 What is this?
|
## 🤔 What is this?
|
||||||
|
|
||||||
@ -34,22 +27,22 @@ This library aims to assist in the development of those types of applications. C
|
|||||||
|
|
||||||
**❓ Question answering with RAG**
|
**❓ Question answering with RAG**
|
||||||
|
|
||||||
- [Documentation](https://python.langchain.com/docs/use_cases/question_answering/)
|
- [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)
|
- End-to-end Example: [Chat LangChain](https://chat.langchain.com) and [repo](https://github.com/langchain-ai/chat-langchain)
|
||||||
|
|
||||||
**🧱 Extracting structured output**
|
**🧱 Extracting structured output**
|
||||||
|
|
||||||
- [Documentation](https://python.langchain.com/docs/use_cases/extraction/)
|
- [Documentation](https://python.langchain.com/docs/tutorials/extraction/)
|
||||||
- End-to-end Example: [SQL Llama2 Template](https://github.com/langchain-ai/langchain-extract/)
|
- End-to-end Example: [SQL Llama2 Template](https://github.com/langchain-ai/langchain-extract/)
|
||||||
|
|
||||||
**🤖 Chatbots**
|
**🤖 Chatbots**
|
||||||
|
|
||||||
- [Documentation](https://python.langchain.com/docs/use_cases/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)
|
- 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 [here](https://python.langchain.com) for full documentation on:
|
Please see [our full documentation](https://python.langchain.com) on:
|
||||||
|
|
||||||
- Getting started (installation, setting up the environment, simple examples)
|
- Getting started (installation, setting up the environment, simple examples)
|
||||||
- How-To examples (demos, integrations, helper functions)
|
- How-To examples (demos, integrations, helper functions)
|
||||||
@ -79,7 +72,7 @@ Agents involve an LLM making decisions about which Actions to take, taking that
|
|||||||
|
|
||||||
**🧐 Evaluation:**
|
**🧐 Evaluation:**
|
||||||
|
|
||||||
[BETA] 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.
|
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.
|
||||||
|
|
||||||
For more information on these concepts, please see our [full documentation](https://python.langchain.com).
|
For more information on these concepts, please see our [full documentation](https://python.langchain.com).
|
||||||
|
|
||||||
|
@ -3,28 +3,21 @@
|
|||||||
⚡ Building applications with LLMs through composability ⚡
|
⚡ Building applications with LLMs through composability ⚡
|
||||||
|
|
||||||
[](https://github.com/langchain-ai/langchain/releases)
|
[](https://github.com/langchain-ai/langchain/releases)
|
||||||
[](https://github.com/langchain-ai/langchain/actions/workflows/lint.yml)
|
|
||||||
[](https://github.com/langchain-ai/langchain/actions/workflows/test.yml)
|
|
||||||
[](https://pepy.tech/project/langchain)
|
[](https://pepy.tech/project/langchain)
|
||||||
[](https://opensource.org/licenses/MIT)
|
[](https://opensource.org/licenses/MIT)
|
||||||
[](https://twitter.com/langchainai)
|
[](https://twitter.com/langchainai)
|
||||||
[](https://vscode.dev/redirect?url=vscode://ms-vscode-remote.remote-containers/cloneInVolume?url=https://github.com/langchain-ai/langchain)
|
[](https://vscode.dev/redirect?url=vscode://ms-vscode-remote.remote-containers/cloneInVolume?url=https://github.com/langchain-ai/langchain)
|
||||||
[](https://codespaces.new/langchain-ai/langchain)
|
[](https://codespaces.new/langchain-ai/langchain)
|
||||||
[](https://star-history.com/#langchain-ai/langchain)
|
[](https://star-history.com/#langchain-ai/langchain)
|
||||||
[](https://libraries.io/github/langchain-ai/langchain)
|
|
||||||
[](https://github.com/langchain-ai/langchain/issues)
|
|
||||||
|
|
||||||
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).
|
||||||
|
|
||||||
To help you ship LangChain apps to production faster, check out [LangSmith](https://smith.langchain.com).
|
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.
|
[LangSmith](https://smith.langchain.com) is a unified developer platform for building, testing, and monitoring LLM applications.
|
||||||
Fill out [this form](https://www.langchain.com/contact-sales) to speak with our sales team.
|
|
||||||
|
|
||||||
## Quick Install
|
## Quick Install
|
||||||
|
|
||||||
`pip install langchain`
|
`pip install langchain`
|
||||||
or
|
|
||||||
`pip install langsmith && conda install langchain -c conda-forge`
|
|
||||||
|
|
||||||
## 🤔 What is this?
|
## 🤔 What is this?
|
||||||
|
|
||||||
@ -34,22 +27,22 @@ This library aims to assist in the development of those types of applications. C
|
|||||||
|
|
||||||
**❓ Question answering with RAG**
|
**❓ Question answering with RAG**
|
||||||
|
|
||||||
- [Documentation](https://python.langchain.com/docs/use_cases/question_answering/)
|
- [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)
|
- End-to-end Example: [Chat LangChain](https://chat.langchain.com) and [repo](https://github.com/langchain-ai/chat-langchain)
|
||||||
|
|
||||||
**🧱 Extracting structured output**
|
**🧱 Extracting structured output**
|
||||||
|
|
||||||
- [Documentation](https://python.langchain.com/docs/use_cases/extraction/)
|
- [Documentation](https://python.langchain.com/docs/tutorials/extraction/)
|
||||||
- End-to-end Example: [SQL Llama2 Template](https://github.com/langchain-ai/langchain-extract/)
|
- End-to-end Example: [SQL Llama2 Template](https://github.com/langchain-ai/langchain-extract/)
|
||||||
|
|
||||||
**🤖 Chatbots**
|
**🤖 Chatbots**
|
||||||
|
|
||||||
- [Documentation](https://python.langchain.com/docs/use_cases/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)
|
- 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 [here](https://python.langchain.com) for full documentation on:
|
Please see [our full documentation](https://python.langchain.com) on:
|
||||||
|
|
||||||
- Getting started (installation, setting up the environment, simple examples)
|
- Getting started (installation, setting up the environment, simple examples)
|
||||||
- How-To examples (demos, integrations, helper functions)
|
- How-To examples (demos, integrations, helper functions)
|
||||||
@ -79,7 +72,7 @@ Agents involve an LLM making decisions about which Actions to take, taking that
|
|||||||
|
|
||||||
**🧐 Evaluation:**
|
**🧐 Evaluation:**
|
||||||
|
|
||||||
[BETA] 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.
|
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.
|
||||||
|
|
||||||
For more information on these concepts, please see our [full documentation](https://python.langchain.com).
|
For more information on these concepts, please see our [full documentation](https://python.langchain.com).
|
||||||
|
|
||||||
|
@ -18,12 +18,6 @@ Pip:
|
|||||||
pip install -U langchain-tests
|
pip install -U langchain-tests
|
||||||
```
|
```
|
||||||
|
|
||||||
Poetry:
|
|
||||||
|
|
||||||
```bash
|
|
||||||
poetry add langchain-tests
|
|
||||||
```
|
|
||||||
|
|
||||||
uv:
|
uv:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
@ -14,12 +14,10 @@ pip install langchain-text-splitters
|
|||||||
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)
|
For full documentation see the [API reference](https://python.langchain.com/api_reference/text_splitters/index.html)
|
||||||
and the [Text Splitters](https://python.langchain.com/docs/modules/data_connection/document_transformers/) module in the main docs.
|
and the [Text Splitters](https://python.langchain.com/docs/how_to/#text-splitters) module in the main docs.
|
||||||
|
|
||||||
## 📕 Releases & Versioning
|
## 📕 Releases & Versioning
|
||||||
|
|
||||||
`langchain-text-splitters` is currently on version `0.0.x`.
|
|
||||||
|
|
||||||
Minor version increases will occur for:
|
Minor version increases will occur for:
|
||||||
|
|
||||||
- Breaking changes for any public interfaces NOT marked `beta`
|
- Breaking changes for any public interfaces NOT marked `beta`
|
||||||
|
Loading…
Reference in New Issue
Block a user