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

  • 0.0 (0 Reviews)
  • 0 Students
  • 33 Lessons
  • Brian Mweu

Course Overview

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.

See more

FAQ

FAQ area empty

Course curriculum

5 chương 33 bài học 3 giờ 40 phút 7 bài học thử miễn phí
Chương 1 Setting Up the Environment
Chương 2 The Knowledge Base
Chương 3 Chat Interface
  • The roadmap 3:27
  • ChatIndex 11:27
  • DocumentQA & LocalVectorSearch 10:51
  • ChatInterface Component 12:55
  • Admin Login Route 7:56
  • Source highlighting & Polish 3:06
  • Update DocumentQA 7:25
  • Update ChatInterface Component 3:56
  • Update Chatinterface blade 6:32
  • Final testing of the app 3:35
Chương 4 Testing
  • Testing Core Services Intro 3:50
  • Testing the PdfParserServiceTest 8:12
  • The docker test database 17:11
Chương 5 Deploying a Laravel RAG Chatbot to Laravel Cloud
  • Prerequisites and the Cloud CLi 5:40
  • Authenticate and Initialize 2:27
  • Provision the serverless Vector Database 3:30
  • Connect to database & Add keys 2:38
  • Final deployment 8:32

Requirment

  • Basic knowledge of Laravel and Livewire is important

Outcomes

  • 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

Instructor

...
Brian Mweu

0.0

  • ... 0 Student
  • ... 1 Course
  • ... 0 review

View Details

Reviews

Rate this course :

Remove all
Một sản phẩm của Công ty Cổ phần Thương mại Vạn Tín Việt·vantinviet.com