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
Intro to Deep Learning with PyTorchFacebook via Udacity Natural Language Processing with Sequence Models
DeepLearning.AI via Coursera Deep Learning
Universidad AnĂ¡huac via edX Create a Superhero Name Generator with TensorFlow
Coursera Project Network via Coursera Natural Language Generation in Python
DataCamp