ultimate-rag

Community

Hallucination-free RAG with Lyapunov convergence.

Authorlofibrainwav
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill delivers a hybrid Corrective RAG and Self-RAG system with mathematical convergence guarantees, reducing hallucinations and improving retrieval reliability.

Core Features & Use Cases

  • Corrective RAG (CRAG): threshold-based corrections, automatic web search fallback, and knowledge graph augmentation for entity relationships.
  • Self-RAG: self-critique and iterative refinement with convergence tracking to improve answer quality over iterations.
  • Lyapunov Convergence: formal guarantees of stability and convergence within a bounded number of iterations.

Quick Start

rag = UltimateRAG(top_k=5, max_iterations=10) result = rag.query("What is Trinity Score philosophy?") print(result.answer)

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: ultimate-rag
Download link: https://github.com/lofibrainwav/AFO_Kingdom/archive/main.zip#ultimate-rag

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository