IBM
Project: Generative AI Applications with RAG and LangChain

Early bird sale! Unlock 10,000+ courses from Google, Microsoft, and more for £160/year. Save now.

IBM

Project: Generative AI Applications with RAG and LangChain

Kang Wang
Wojciech 'Victor' Fulmyk

Instructors: Kang Wang +1 more

9,780 already enrolled

Included with Coursera Plus

Gain insight into a topic and learn the fundamentals.
4.8

(73 reviews)

Intermediate level

Recommended experience

9 hours to complete
3 weeks at 3 hours a week
Flexible schedule
Learn at your own pace
Gain insight into a topic and learn the fundamentals.
4.8

(73 reviews)

Intermediate level

Recommended experience

9 hours to complete
3 weeks at 3 hours a week
Flexible schedule
Learn at your own pace

What you'll learn

  • Gain practical experience building your own real-world generative AI application to showcase in interviews

  • Create and configure a vector database to store document embeddings and develop a retriever to fetch relevant segments based on user queries

  • Set up a simple Gradio interface for user interaction and build a question-answering bot using LangChain and a large language model (LLM)

Skills you'll gain

  • Category: Databases
  • Category: Generative AI
  • Category: Natural Language Processing
  • Category: User Interface (UI)
  • Category: Large Language Modeling

Details to know

Shareable certificate

Add to your LinkedIn profile

Assessments

7 assignments

Taught in English

Build your subject-matter expertise

This course is available as part of
When you enroll in this course, you'll also be asked to select a specific program.
  • Learn new concepts from industry experts
  • Gain a foundational understanding of a subject or tool
  • Develop job-relevant skills with hands-on projects
  • Earn a shareable career certificate

There are 3 modules in this course

In this module, you will explore essential techniques for loading, preparing, and structuring documents to build effective retrieval-augmented generation (RAG) applications using LangChain. You will learn how to use LangChain’s document loaders to import content from various sources, apply best practices for document ingestion, and implement text-splitting strategies to enhance model responsiveness. You will also examine when and how to incorporate entire documents into prompts for optimal output. Through hands-on labs, you’ll gain practical experience by loading documents and applying text-splitting techniques in real-world scenarios.

What's included

3 videos4 readings2 assignments3 app items1 plugin

In this module, you will learn how to embed documents using watsonx’s embedding model and store these embeddings using vector databases, such as Chroma DB and FAISS. You will explore the role of embeddings in RAG pipelines, configure vector stores to manage these embeddings, and use LangChain to preprocess documents for embedding. Additionally, you will gain hands-on experience with advanced retrievers in LangChain, such as Vector Store-Based, Multi-Query, Self-Query, and Parent Document retrievers, to extract relevant information from documents efficiently. Finally, you’ll compare RAG-based approaches with fine-tuning using InstructLab to evaluate their trade-offs and applicability.

What's included

3 videos1 reading2 assignments3 app items2 plugins

In this module, you will combine all the components you’ve learned to build a complete generative AI application using LangChain and RAG. You’ll learn how to implement RAG to improve information retrieval, set up user interfaces using Gradio, and construct a question-answering bot that leverages LLMs and LangChain to respond to queries from loaded documents. Through hands-on labs, you’ll practice building a Gradio interface and developing your own QA bot. In the final project, you will build an AI application using RAG and LangChain. The supporting materials, like a cheat sheet and glossary, will reinforce your understanding, build confidence in your implementation skills, and assess your learning through a graded quiz. You'll leave this module with a deployable AI-powered assistant and clear the next steps for advancing your skills.

What's included

1 video4 readings3 assignments1 peer review2 app items4 plugins

Earn a career certificate

Add this credential to your LinkedIn profile, resume, or CV. Share it on social media and in your performance review.

Instructors

Instructor ratings
4.6 (21 ratings)
Kang Wang
Kang Wang
3 Courses23,281 learners

Offered by

IBM

Why people choose Coursera for their career

Felipe M.
Learner since 2018
"To be able to take courses at my own pace and rhythm has been an amazing experience. I can learn whenever it fits my schedule and mood."
Jennifer J.
Learner since 2020
"I directly applied the concepts and skills I learned from my courses to an exciting new project at work."
Larry W.
Learner since 2021
"When I need courses on topics that my university doesn't offer, Coursera is one of the best places to go."
Chaitanya A.
"Learning isn't just about being better at your job: it's so much more than that. Coursera allows me to learn without limits."

Learner reviews

4.8

73 reviews

  • 5 stars

    89.18%

  • 4 stars

    6.75%

  • 3 stars

    0%

  • 2 stars

    1.35%

  • 1 star

    2.70%

Showing 3 of 73

S
5

Reviewed on Dec 19, 2024

Frequently asked questions