Over the weekend I built a website for teachers and parents to ask questions from Maria Montessori but couldn't fit all the relevant docs into context windows. The other RAG libraries were either doing too much (IMO) or involved connecting to an external Postgres which felt extra for what I was building. So I created this minimal RAG plugin, built for side projects. It is actually unrelated to nextjs, should run in any nodeJS env.
If anyone finds this useful I'll probably add some parsing for non-text formats like PDF, images, videos.
christiansafka•1h ago
If anyone finds this useful I'll probably add some parsing for non-text formats like PDF, images, videos.
Repo: https://github.com/christiansafka/nextjs-rag