The Local Embedding Edge: Replacing OpenAI with Self-Hosted SLMs in Laravel RAG Pipelines
Transition from OpenAI to self-hosted embedding models in Laravel 13. This guide covers Ollama integration, pgvector dimension management, and high-throughput Python sidecars.
Beyond Semantic Similarity: Implementing GraphRAG with pgvector and Laravel
Learn how to implement GraphRAG in Laravel using pgvector and Recursive CTEs. Move beyond flat similarity search by extracting entity triples for multi-hop AI reasoning.
Hallucination-Proofing Your Agent: Building a RAG Evaluation Framework in PHP
Eliminate AI hallucinations by building a native RAG evaluation framework in Laravel 13 using Pest, LLM-as-a-judge, and quantitative metrics to verify agent faithfulness.
Architecting for the Bill: Building an LLM Rate Limiter and Cost Tracker in Laravel
Learn how to build a robust LLM cost management system in Laravel 13 using middleware to track tokens, manage multi-tenant budgets, and prevent runaway costs.
Building a Semantic Newsletter Engine with Laravel 13 AI SDK
A comprehensive guide to building an AI-powered newsletter engine. We demonstrate how to leverage Laravel 13's native vector search and the first-party AI SDK to create a curation tool that understands user intent and delivers deeply relevant technical content.
The 'Edit' Button for AI: Implementing Multi-Step Approval Workflows in Laravel 13 RAG
Autonomous AI is great until it hallucinates a refund policy. Learn how to use the Laravel 13 AI SDK and Livewire v4 to build a "Human-in-the-Loop" search engine. We'll show you how to intercept RAG responses, provide a human review UI, and ensure your AI-generated content is 100% brand-safe before it ever hits the user.
Beyond the Single Prompt: Orchestrating Multi-Step AI Workflows in Laravel 13
One AI agent is a chatbot; three AI agents are a department. In this tutorial, we move beyond basic API calls to build a sophisticated "Orchestrator-Worker" system. See how to use the Laravel 13 AI SDK to chain agents, handle structured output, and build reasoning engines that actually solve complex business problems.