This repository is structured to guide learners through both theoretical concepts and practical exercises on LangChain Expression Language (LCEL), enabling the construction of complex, stateful LLM applications.
- /exercises: Contains Python files with coding exercises to practice LCEL in real-world scenarios.
- /theory: Contains Markdown (.md) files with detailed tutorials and theoretical explanations to deepen your understanding of LCEL concepts.
- Introduction to LCEL: Understand the core concepts and advantages of using LCEL for building multi-actor applications.
- Setting Up Your Environment: Step-by-step guide to prepare your development environment for LCEL coding.
- Basic Chain Construction: Learn how to create simple chains combining prompts, models, and output parsers.
- Advanced Chain Techniques: Dive into more complex examples, including retrieval-augmented generation (RAG) chains for context-aware responses.
- Utilizing Streaming and Parallelism: Explore LCEL's built-in support for streaming data and executing parallel operations.
- Debugging and Logging: Tips and tricks for debugging your chains and effectively logging their operations.
- Real-World Applications: Examples and case studies on applying LCEL to solve practical problems.
- Ensure Python is installed on your system.
- Install LangChain and dependencies:
Feel free to fork this repository, contribute new examples, or improve the tutorials. Check out our contributing guidelines for more information.
This project is licensed under the MIT License - see the LICENSE file for details.
Happy Coding!