|
| 1 | +# Welcome to LangChain |
| 2 | + |
| 3 | +Large language models (LLMs) are emerging as a transformative technology, enabling |
| 4 | +developers to build applications that they previously could not. |
| 5 | +But using these LLMs in isolation is often not enough to |
| 6 | +create a truly powerful app - the real power comes when you are able to |
| 7 | +combine them with other sources of computation or knowledge. |
| 8 | + |
| 9 | +This library is aimed at assisting in the development of those types of applications. Common examples of these types of applications include: |
| 10 | + |
| 11 | +- ❓[Question Answering over specific documents](./modules/chains/question_answering.md) |
| 12 | +- 💬 [Chatbots](./modules/memory/buffer_memory.md) |
| 13 | +- 🤖 [Agents](./modules/agents/overview.md) |
| 14 | + |
| 15 | +## Getting Started |
| 16 | + |
| 17 | +Checkout the below guide for a walkthrough of how to get started using LangChain to create an Language Model application. |
| 18 | + |
| 19 | +- [Getting Started Documentation](./getting-started.md) |
| 20 | + |
| 21 | +## Modules |
| 22 | + |
| 23 | +There are several main modules that LangChain provides support for. |
| 24 | +For each module we provide some examples to get started and get familiar with some of the concepts. |
| 25 | +These modules are, in increasing order of complexity: |
| 26 | + |
| 27 | + |
| 28 | +- Prompts: This includes prompt management, prompt optimization, and prompt serialization. |
| 29 | + |
| 30 | +- LLMs: This includes a generic interface for all LLMs, and common utilities for working with LLMs. |
| 31 | + |
| 32 | +- Indexes: This includes patterns and functionality for structuring your own text data so it can interact with language models (including embeddings, vectorstores, text splitters, etc). |
| 33 | + |
| 34 | +- Chains: Chains go beyond just a single LLM call, and are 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. |
| 35 | + |
| 36 | +- 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. |
| 37 | + |
| 38 | +- Memory: Memory is the concept of persisting state between calls of a chain/agent. LangChain provides a standard interface for memory, a collection of memory implementations, and examples of chains/agents that use memory. |
| 39 | + |
| 40 | + |
| 41 | +## Reference Docs |
| 42 | +--------------- |
| 43 | + |
| 44 | +All of LangChain's reference documentation, in one place. Full documentation on all methods and classes. |
| 45 | + |
| 46 | + |
| 47 | +## Additional Resources |
| 48 | +--------------------- |
| 49 | + |
| 50 | +Additional collection of resources we think may be useful as you develop your application! |
| 51 | + |
| 52 | +- [LangChainHub](https://github.com/hwchase17/langchain-hub): The LangChainHub is a place to share and explore other prompts, chains, and agents. |
| 53 | + |
| 54 | +- [Discord](https://discord.gg/6adMQxSpJS): Join us on our Discord to discuss all things LangChain! |
| 55 | + |
| 56 | +- [Production Support](https://forms.gle/57d8AmXBYp8PP8tZA): As you move your LangChains into production, we'd love to offer more comprehensive support. Please fill out this form and we'll set up a dedicated support Slack channel. |
0 commit comments