AI Product Expert Certification - Master Generative AI Skills
Master Finance Tools - 35% Off CFI (Code CFI35)
Overview
Coursera Flash Sale
40% Off Coursera Plus for 3 Months!
Grab it
This 34-minute tutorial introduces LangChain v0.3, one of the most popular open-source libraries for AI Engineers that abstracts away complexity in building AI software, provides easy-to-use building blocks, and facilitates switching between AI service providers. Build a simple LLM-powered assistant while learning essential concepts including local and Colab setup, initializing OpenAI LLMs, LLM prompting, using prompt templates, creating LLM chains with LCEL, developing text generation pipelines, implementing structured outputs, and integrating image generation capabilities. The tutorial is part of a full course available at aurelio.ai and includes access to a GitHub repository with all code examples.
Syllabus
00:00 Getting Started with LangChain
00:46 Local Setup
03:32 Colab Setup
04:43 Initializing our OpenAI LLMs
09:06 LLM Prompting
10:31 LangChain Prompt Templates
15:20 Creating a LLM Chain with LCEL
20:31 Another Text Generation Pipeline
23:43 Structured Outputs in LangChain
28:27 Image Generation in LangChain
Taught by
James Briggs