Laravel & AI

Watch and track your favorite playlist.

Curated by: Laravel News (16 videos)


Currently Playing: I Built an AI Support Platform with Laravel 13's AI SDK

I Built an AI Support Platform with Laravel 13's AI SDK | Laravel News This is a preview of Ship AI with Laravel, a new series on Laravel News. I demo the finished product so you can see where we're headed. The agent hits the database, finds a real order, pulls the return policy from the knowledge base, and streams it back. One request. I type a follow-up asking if FedEx is having delays and it searches FedEx's actual service alert page instead of guessing from training data. I throw a support ticket at it that says "I was charged twice and nobody is answering my emails." It comes back: billing category, high priority, angry sentiment, one-line summary. Then I tried to break it with a prompt injection. A local LLM on my machine screens the message before OpenAI ever sees it. Blocked. Logged. Zero API cost. Prompts, tokens, and costs all get tracked on a dashboard down to the dollar. 11 episodes. We start from composer require laravel/ai and build the whole thing. Tech stack: Laravel 13, Laravel AI SDK, Tailwind CSS v4, Livewire v4, Alpine.js, PostgreSQL with pgvector What the series covers: - Agents, structured output, and custom tools - Embeddings, vector stores, and RAG with pgvector - Streaming chat UI with Livewire v4 - Live web search - Queues, provider failover, and middleware - Prompt injection protection with a local LLM - Testing with Pest - Cost and token tracking 👉 Timestamps 00:00 Live Order Lookup 00:25 Checking FedEx Delays 00:48 Building Support Platform 01:03 Ticket Classification Demo 01:34 RAG Memory and Search 01:42 Security Against Injection 02:02 Dashboard and Metrics 02:20 Series Roadmap Wrap ➫ Business Inquiries: hello@laravel-news.com ---------------------------------------------------------------------- JOIN OUR WEEKLY LARAVEL NEWSLETTER 👉 https://laravel-news.com/newsletter ----------------------------------------------------------------------


Tracks in this Playlist