Latest / Learning & reference

rag-demystified

github.com · Open source · Quiet

Advanced RAG pipeline built from scratch to explain its mechanics

Visit github.com ↗Share

Stars
855
Forks
56
Open issues
1
Last commit
Found
3 years ago

GitHub figures as of . They are context, not a ranking.

rag-demystified is a Python repository that builds an advanced retrieval-augmented generation pipeline from scratch, including a sub-question query engine. It adds illustrated explanations of how the system works, along with a discussion of prompt design and cost challenges, and suits developers who want to learn how RAG frameworks work underneath.

Repository description on GitHub: “An LLM-powered advanced RAG pipeline built from scratch”

What it does

  • Sub-question query engine implemented from scratch
  • Illustrated explanations of how the RAG pipeline works internally
  • Discussion of prompt and cost challenges encountered along the way

Good for

  • Learn how a sub-question RAG pipeline breaks down complex questions
  • Run the complex_qa.py example to see the pipeline work

Suits: Developers who want to learn how RAG frameworks work underneath.

Worth knowing: Needs an OpenAI API key set in a .env file to run the example

What you can try

Read the README on GitHub and install from source.

Links go to third-party sites KipFound does not control. KipFound has not installed, audited or tested this software.

Found vs. released

Kip first saw rag-demystified on , when pchunduri6 posted it to Show HN. GitHub listed no published releases for pchunduri6/rag-demystified when checked , so the project may ship straight from its main branch. The repository was created .

Day-7 and day-30 updates

Day 7 no new release

  • No tagged release was published in the first 7 days after it was found (GitHub release dates).
  • Show HN discussion at check time: 131 points, 19 comments. API record

Checked , later than day 7 because tracking began after.

Day 30 no new release

  • No tagged release was published in the first 30 days after it was found (GitHub release dates).
  • Show HN discussion at check time: 131 points, 19 comments. API record

Checked , later than day 30 because tracking began after.

Release timeline every entry links to its source

  1. Repository created on GitHub: pchunduri6/rag-demystified
  2. Found: pchunduri6 posted it to Show HN. Show HN
  3. Day-7 check recorded by Kip (details)
  4. Day-30 check recorded by Kip (details)

Quick answers

When was rag-demystified released?
No dated release record is available. Kip found it on Show HN on 28 Oct 2023.
Is rag-demystified open source?
Its source is public on GitHub at pchunduri6/rag-demystified under the Apache-2.0 licence.
What does rag-demystified run on?
Command line.
Is rag-demystified free?
It is open source, so the code is free to read and run; check the licence for terms.
Is rag-demystified still maintained?
It has had no commit or release for over a year as of the latest check.

Provenance

SourceRecordLast checked
Show HNlisting
official API record
GitHub repositorypchunduri6/rag-demystified
REST API record
GitHub Releasesrelease list
REST API record

Stable ID hn-38050326. Summary drafted with AI from the source records above and checked against KipFound’s rules before publishing. Dates and release facts come only from those records.

Share

Similar tools

More in Learning & reference

Made this, or spotted a mistake? Ask for a correction or removal. No account or email address needed.