Re-implementing LangChain in 100 lines of code
LangChain has become a tremendously popular toolkit for building a wide range of LLM-powered applications, including chat, Q&A and document search. In this blogpost I re-implement some of the novel LangChain functionality as a learning exercise, looking at the low-level prompts it uses to create these higher level capabilities.
Re-implementing LangChain in 100 lines of code Artificial Intelligence · 04 May 2023 · 13 min read Re-implementing LangChain in 100 lines of code Colin Eberhardt LangChain has become a tremendously popular toolkit for building a wide range of LLM-powered applications, including chat, Q&A and document search. In this blogpost I re-implement some of the novel LangChain functionality as a learning exercise, looking at the low-level prompts it uses to create these higher-level capabilities. Anyone who has used GPT, or other Large Language Models (LLMs), will be familiar with the conc
Explore this link on the map →saved by
related reading
- The Problem With LangChain | Max Woolf's Blogminimaxir.com
- LLM Powered Autonomous Agents | Lil'Loglilianweng.github.io
- LangChain Tutorial in Python - Crash Course - Python Engineerpython-engineer.com
- Prompt Chaining | Prompt Engineering Guidepromptingguide.ai
- [2201.11903] Chain of Thought Prompting Elicits Reasoning in Large Language Modelsarxiv.org
- Patterns for Building LLM-based Systems & Productseugeneyan.com
- Building Effective AI Agents \ Anthropicanthropic.com
- The Unintelligibility is Ours: Notes on Chain of Thought1a3orn.com
- Langfuselangfuse.com
- Everything I'll forget about prompting LLMsolickel.com
- Prompting Fundamentals and How to Apply them Effectivelyeugeneyan.com
- RAG with Deep Agents - Docs by LangChainpython.langchain.com