Practical Discussion: How to Build a RAG Pipeline for Massive PHP Codebases
Historical_Ad4384 · reddit · 2026-08-08
A team faces the challenge of querying across 50 individual PHP codebases using AI. Directly attaching code to prompts causes issues like massive context, difficult cross-referencing, and excessive token consumption.
To solve this, they plan to feed the codebases into a RAG (Retrieval-Augmented Generation) pipeline monthly to build a permanent internal knowledge graph. The core pain point currently is: how to correctly chunk PHP code to ensure accurate LLM queries? The post solicits best chunking strategies and practical experiences from the community.
More from coding & agent
- Open Source: Explore Claude Code Project Structure via Interactive Simulation — tom_doerr · 2026-08-09
- Filesystem as Memory: Paper Proposes Agent Architecture Halving Retrieval Costs — BLUECOW009 · 2026-08-09
- Hermes Agent Desktop Introduces HUD Mode: AI as an App Overlay Layer — Teknium · 2026-08-09
- DeepSeek-V3-Flash excels in overnight autonomous coding tasks — teortaxesTex · 2026-08-09
- Grapevine: Open-Source Plugin for Contextual Awareness Across Claude Code Sessions — daniel_mac8 · 2026-08-09
- AI Agent Refuses to Share Memory: Dev Faces Multi-Agent Orchestration Fail — alexcovo_eth · 2026-08-09