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
Stanford Seminar - Enabling NLP, Machine Learning, and Few-Shot Learning Using Associative ProcessingStanford University via YouTube GUI-Based Few Shot Classification Model Trainer - Demo
James Briggs via YouTube HyperTransformer - Model Generation for Supervised and Semi-Supervised Few-Shot Learning
Yannic Kilcher via YouTube GPT-3 - Language Models Are Few-Shot Learners
Yannic Kilcher via YouTube IMAML- Meta-Learning with Implicit Gradients
Yannic Kilcher via YouTube