jawwad-ali/self-healing-rag
Self-healing RAG pipeline with drift detection and auto-remediation. Built on n8n + Neon Postgres + OpenAI.
SUMMARY AI summary by gpt-5-mini
Self-Healing RAG Pipelineは、RAG(Retrieval-Augmented Generation)システムが自分の回答品質を定期的に監視し、劣化や知識ベースの変化を検出して自動的に修復するためのワークフロー集です。n8nとNeon Postgres(pgvector)を中心に、OpenAIのモデルで埋め込みと回答を行い、Pythonランタイム不要で動きます。主な利用者はRAGを運用するインフラ/AIチームや、ドキュメント駆動のQAを安定運用したいエンジニアです。 主な機能: - メインワークフロー:クエリ受信→上位K件を検索→LLMで応答→全てをPostgresにログ - 3つのウォッチャー:6時間ごとの品質評価(別モデルで自己採点)、ドキュメント編集時の意味変化検出と必要時の再埋め込み、週次の埋め込みドリフト検出 - Postgresが単一のAPIになり、ワークフロー間はDB経由で連携 - 将来的に調査エージェントやカナリアデプロイ、ユーザーフィードバックループを追加する段階的ロードマップ(フェーズ0〜5) リポジトリには設計書、サンプルコーパス、DBマイグレーション、n8nワークフローの雛形が含まれ、ローカル実行は.env設定→Postgresマイグレーション→n8nへワークフローインポート→チャットWebhookという流れを想定しています。
AI Coding Tools Used
This repository contains config files from these AI coding tools, indicating AI-assisted development.
DETECTED Detected AI stack
AI-related keywords found in this repo's description, topics, or README summary — grouped by category. Each badge links to the corresponding ranking detail page.
GitHub Topics
Language breakdown (by bytes)
Owner
Full-Stack Software Engineer | AI & scalable web apps | Open-source contributor | Portfolio: https://ali-jawwad.vercel.app | Karachi, Pakistan 🇵🇰
Dates
| Created on GitHub | 2026-05-09 |
| Last push | 2026-05-09 |
| First seen here | 2026-05-09 |
| Last fetched | 2026-05-09 18:11 |
Similar repos (same language)
DeepSeek V4 code worker MCP for Codex Desktop, powered by Claude Code
dogovo/codex-use-claude在Codex中调用Claude code
sky791016/lean-ai-dev-team8-agent Claude Code skill powered by Lean AI Methodology (精益AI方法论) · Kai Shi
bullish0x/goal-ccGive Claude Code a durable objective and it won't stop until the work is done — budgets, deadlines, notes, and a Stop-hook guard in a single file with no dependencies.
alantriesagain/gaitewayUnified API for agents like Claude Code, Codex, Gemini Cli
aayushostwal/nexusPlugin-first AI terminal workspace for Codex and Claude Code with planning, CI/CD debugging, reusable agents, skills, TODOs, and MCP tool integrations.
ejentum/ejentum-mcpMCP server for the Ejentum Logic API. Exposes the four cognitive harnesses (reasoning, code, anti-deception, memory) as MCP tools any agentic client can call.
yimeixiaobai/wps-claudecode实现 Claude Code 与 WPS 智能文档的双向打通