Prompt Engineering with LangChain
Offered By: LinkedIn Learning
Course Description
Overview
Learn the foundations of LangChain, a powerful framework for large language model applications.
Syllabus
Introduction
- Create powerful LLM driven applications
- What are language models?
- How do language models generate text?
- Base LLMs vs. instruction-tuned LLMs
- Training, fine-tuning, and in-context learning
- Prompt engineering
- What is LangChain?
- LangChain overview
- Model I/O: Interface with language models
- Retrieval: Interface with application-specific data
- Chains: Construct sequences of calls
- Agents: Let chains choose tools based on high-level directives
- Memory: Persist application state between runs of a chain
- Prompt basics
- Principles and tactics for prompting
- Introduction to prompt templates
- Multi-input prompt templates
- Chat prompt template
- Serializing prompts
- Zero-shot prompts
- Custom prompt templates
- Prompt pipelining
- Chat prompt pipelining
- Prompt composition
- Few-shot prompt templates
- Few-shot prompt templates for chat
- Introduction to example selectors
- Length-based example selector
- Max marginal relevance example selector
- N-gram overlap example selector
- Semantic similarity example selector
- Partial prompt templates
- Chain of thought
- Self-consistency
- Self-ask
- ReAct
- RAG
- FLARE
- Plan and execute
- Prompt management
- LangSmith
- LangSmith walkthrough
- Prompt versioning in LangSmith
- LangSmith deep dive
- Managing prompt length for agents
- Applications of language models
- The LLM landscape
Taught by
Harpreet Sahota
Related Courses
Prompt Templates for GPT-3.5 and Other LLMs - LangChainJames Briggs via YouTube Getting Started with GPT-3 vs. Open Source LLMs - LangChain
James Briggs via YouTube Chatbot Memory for Chat-GPT, Davinci + Other LLMs - LangChain
James Briggs via YouTube Chat in LangChain
James Briggs via YouTube LangChain Data Loaders, Tokenizers, Chunking, and Datasets - Data Prep
James Briggs via YouTube