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.
FAQ
FAQ area empty
Course curriculum
Chương 1 Setting Up the Environment 5 bài · 24 phút
Chương 2 The Knowledge Base 10 bài · 1 giờ 13 phút
- Setting up Docker Học thử 7:14
- Database Schema Học thử 5:41
- Model Relationships Học thử 4:42
-
Create KnowledgeBase Admin 10:12
-
Create KnowledgeBase Create 7:21
-
Create KnowledgeBase Show 3:56
-
Create IndexKnowledgeBaseJob 5:34
-
Installing Laravel SDK 6:08
-
Creating PDF parser 11:27
-
Complete RAG pipeline 11:02
Chương 3 Chat Interface 10 bài · 1 giờ 11 phút
-
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 3 bài · 29 phút
-
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 5 bài · 23 phút
-
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
0 Student
1 Course
0 review