hhhuang/CAG

Cache-Augmented Generation: A Simple, Efficient Alternative to RAG

50
/ 100
Established

This project helps AI application developers quickly generate responses from large language models (LLMs) when working with a defined set of knowledge. It takes a collection of documents (your knowledge base) and an LLM, then outputs generated answers to user questions. AI engineers and researchers working on knowledge-intensive applications will find this useful.

1,471 stars. No commits in the last 6 months.

Use this if you need to build LLM applications that provide fast, reliable answers from a specific body of knowledge that fits within the model's context window.

Not ideal if your application requires referencing an extremely large, dynamic knowledge base that cannot be preloaded into the LLM's context.

AI application development LLM deployment knowledge management conversational AI information retrieval
Stale 6m No Package No Dependents
Maintenance 2 / 25
Adoption 10 / 25
Maturity 16 / 25
Community 22 / 25

How are scores calculated?

Stars

1,471

Forks

217

Language

Python

License

MIT

Last pushed

May 26, 2025

Commits (30d)

0

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/rag/hhhuang/CAG"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.