Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Build a RAG Chatbot with Laravel 13, Gemini AI & pgvector
New
Rating: 4.5 out of 5(4 ratings)
75 students

Build a RAG Chatbot with Laravel 13, Gemini AI & pgvector

Learn to build a production-ready AI chatbot in Laravel 13 that answers questions from your own uploaded documents
Created byBrian Mweu
Last updated 7/2026
English
English [Auto],

What you'll learn

  • Setting up the environment for creating the RAG app
  • Build the knowledge base from scratch that stores the pdf documents
  • Build a chat interface for interactivity with Gemini AI
  • Testing the app to ensure its working correctly
  • Deploy the RAG application to Laravel Cloud

Course content

5 sections33 lectures3h 40m total length
  • Demo Project4:18
  • Visual wireframes2:56
  • System Architecture5:12
  • System Architecture continued2:31
  • Setup Commands8:55

Requirements

  • Basic knowledge of Laravel and Livewire is important

Description

In this course you will build a fully working RAG (Retrieval-Augmented Generation) chatbot from scratch using Laravel 13, Livewire v4, and the Laravel AI SDK no prior AI experience required.

You will learn how to upload PDF documents, extract and chunk their text, generate vector embeddings using Google Gemini's free API, and store them in PostgreSQL via pgvector. When a user asks a question, the app searches those vectors for the most relevant context and sends it to Gemini to generate a cited, accurate answer with source highlighting that shows exactly which part of the document was used.

The course follows a developer workflow, including debugging sessions, corrections, and honest explanations of why certain tools were chosen over others. You will not just copy code you will understand every decision made.

What you will build:

  • A Knowledge Base admin panel (upload, index, manage documents)

  • A real-time chat interface with cited source highlighting

  • A full RAG pipeline: parse → chunk → embed → store → retrieve → answer

  • A deployed live application on Laravel Cloud

Who this is for: Laravel developers who want to add practical AI features to their apps without relying on expensive black-box services. Also the course will cater for other developers using other types of technologies.

Who this course is for:

  • Web Developers