
moneo/laravel-rag
Developer tools이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기
moneo/laravel-rag는 MCP 서버 후보로 수입 https://github.com/moneo/laravel-rag.]
개요
moneo/laravel-rag는 MCP 서버 후보로 수입 https://github.com/moneo/laravel-rag.]
개요(AI 번역)
Laravel에 대한 완전한 드라이버 기반 RAG (Retrieval-Augmented Generation) 파이프라인. 제공 업체-agnostic LLM 및 embedding 지원을위한 Prism PHP에 내장.
특징
- ** 드라이버 기반 벡터 상점 ** - pgvector (production) 및 sqlite-vec (local dev),
.env를 통해 교환 가능 - **블루프린트 매크로 ** —
$table->vector(),$table->vectorIndex()Laravel에 기본 느낌 -Model traits —HasVectorSearch과AutoEmbeds-Embedding cache - SHA-256 deduplication은 60-80%의 API 비용을 절감합니다. -Chunking 전략 — 캐릭터, 문장, Markdown, Semantic 펑크 - **Fluent RAG 파이프라인 ** -
Rag::from(Document::class)->ask('question') - Streaming SSE - Server-Sent 이벤트를 통해 실시간 응답 스트리밍
- **Agentic RAG ** - 긴급 평가를 가진 Iterative retrieval -Hybrid search — Reciprocal Rank Fusion (RRF) semantic + 전체 텍스트 결합 -LLM re-ranking — relevance에 의해 점수 및 재주문 펑크
- ** 대화 기억 ** - 자동 컨텍스트 요약과 스레드 대화
- RAG Evals - 첫 번째 Laravel-native 평가 프레임 워크 (Faithfulness, 관련, Context Recall)
이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.
README
원문 README의 일부입니다. 원문 보기.
Laravel RAG
A complete, driver-based RAG (Retrieval-Augmented Generation) pipeline for Laravel. Built on Prism PHP for provider-agnostic LLM and embedding support.
Features
- Driver-based vector stores — pgvector (production) and sqlite-vec (local dev), swappable via
.env - Blueprint macros —
$table->vector(),$table->vectorIndex()feel native to Laravel - Model traits —
HasVectorSearchandAutoEmbedsfor zero-boilerplate integration - Embedding cache — SHA-256 deduplication reduces API costs by 60-80%
- Chunking strategies — Character, Sentence, Markdown, and Semantic chunkers
- Fluent RAG pipeline —
Rag::from(Document::class)->ask('question') - Streaming SSE — Real-time response streaming via Server-Sent Events
- Agentic RAG — Iterative retrieval with sufficiency evaluation
- Hybrid search — Reciprocal Rank Fusion (RRF) combining semantic + full-text
- LLM re-ranking — Score and re-order chunks by relevance
- Conversation memory — Threaded conversations with automatic context summarization
- RAG Evals — First Laravel-native evaluation framework (Faithfulness, Relevancy, Context Recall)
- MCP Server — Expose your RAG as MCP tools for Claude Desktop, Cursor, etc.
- Artisan commands —
rag:index,rag:test,rag:estimate,rag:eval,rag:mcp-serve - DevTools — Debugbar collector and Telescope watcher
- Livewire component — Drop-in `` with streaming and sources
- Filament plugin — Admin panel for documents, embeddings, and interactive testing
Requirements
- PHP 8.2+
- Laravel 11+
- Prism PHP ^0.100
Vector store (choose one):
- pgvector (recommended for production) — PostgreSQL + pgvector extension
- sqlite-vec (local dev, Docker/Linux only) — sqlite-vec
Note: sqlite-vec requires PHP compiled with SQLite extension loading support. macOS PHP (Herd, Homebrew) does not support this. Use Docker, Laravel Sail, or switch to pgvector on macOS.
Installation
composer require moneo/laravel-rag
설치
This server does not publish a one-line install command.
Open the repository installation guide MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →