r/Rag Oct 03 '24

[Open source] r/RAG's official resource to help navigate the flood of RAG frameworks

64 Upvotes

Hey everyone!

If you’ve been active in r/RAG, you’ve probably noticed the massive wave of new RAG tools and frameworks that seem to be popping up every day. Keeping track of all these options can get overwhelming, fast.

That’s why I created RAGHub, our official community-driven resource to help us navigate this ever-growing landscape of RAG frameworks and projects.

What is RAGHub?

RAGHub is an open-source project where we can collectively list, track, and share the latest and greatest frameworks, projects, and resources in the RAG space. It’s meant to be a living document, growing and evolving as the community contributes and as new tools come onto the scene.

Why Should You Care?

  • Stay Updated: With so many new tools coming out, this is a way for us to keep track of what's relevant and what's just hype.
  • Discover Projects: Explore other community members' work and share your own.
  • Discuss: Each framework in RAGHub includes a link to Reddit discussions, so you can dive into conversations with others in the community.

How to Contribute

You can get involved by heading over to the RAGHub GitHub repo. If you’ve found a new framework, built something cool, or have a helpful article to share, you can:

  • Add new frameworks to the Frameworks table.
  • Share your projects or anything else RAG-related.
  • Add useful resources that will benefit others.

You can find instructions on how to contribute in the CONTRIBUTING.md file.

Join the Conversation!

We’ve also got a Discord server where you can chat with others about frameworks, projects, or ideas.

Thanks for being part of this awesome community!


r/Rag 12h ago

Based on popular requests: Morphik now supports all LLMs and Embedding Models!

13 Upvotes

Hi r/Rag,

My brother and I have been working on Morphik - an open source, end-to-end, research-driven RAG system. We recently migrated our LLM provider to support LiteLLM, and we now support all models that LiteLLM does!

This includes: embedding models, completion models, our GraphRAG systems, and even our metadata extraction layer.

Use gemini for knowledge graphs, Openai for embeddings, Claude for completions, and Ollama for extractions. Or any other permutation. All with single-line changes in our configuration file.

Lmk what you think!


r/Rag 12h ago

MCP and RAG

7 Upvotes

Hello guys, still trying to wrap my head around what an MCP is actually useful for. Can it be interesting to implement it in a RAG use case where my MCP Server would basically be a database (I'm specifically thinking about Neo4j graph database where I not only have a vector index but also other linked data that could be extracted using generated cypher queries (two different tools in this scenario)). On the other side, I have a hard time understanding what an MCP Client is ? In my case, I'm working with Gemini, are there existing MCP clients supporting gemini that I can just connect to an MCP server if I have one ?


r/Rag 3h ago

Isn't an MCP server actually just a client to your data sources that runs locally. Couldn't it have just been a library?

1 Upvotes

I've been reading about MCP now and AFAIU it's just a transformation later on top of the data APIs of your actual data sources you want to build the RAG on. Couldn't it just have been a library instead of a full blown service? For example I'm seeing MCP servers to interact with your local filesystem as well. Isn't that an extreme overhead to spawn up a service to call os APIs where it would have been much easier to just call the os APIs directly from your application?


r/Rag 3h ago

How to refine keyword filter search for RAG to ignore Table of Contents

1 Upvotes

So I have Qdrant set up for my RAG project.

I'm looking to refine the vector search so that it returns the most relevant entries from my embedded documents in Qdrant. I have implemented keyword filtering to help with this.

The problem I am facing now is that my Qdrant instance contains a document with a very large table of contents. Said TOC contains every keyword I am using using in the project. Naturally, every query that filters by keyword (and quite a few that don't) regularly return sections from the table of contents and nothing else. This is useless to me. I need to access the meat of my documents.

I don't want to re-embed the document sans TOC because I would really like to incorporate something in my code that is able to recognize and work around situations such as this.

Any thoughts on the best way to approach this?

Once I can get relevant entries from Qdrant as it stands now, I'll re-embed the document with the TOC removed.


r/Rag 10h ago

If you're creating ANY sort of content about AI agents, let's collaborate.

Thumbnail
1 Upvotes

r/Rag 21h ago

LightRAG weird knowledge graph nodes

6 Upvotes

I'm trying out LightRAG with gemma2:2b and nomic-embed-text, both through the Ollama API. I'm feeding it the text from the 1st Harry Potter book. It correctly finds nodes like Hagrid, Hermione, Dumbledore etc. but there is this weird noise where it for some reason adds the World Athletics, Tokyo, Carbon fiber spikes and other random things from seemingly unknown sources, here's the sample of the graphxml file :
Has anyone else encountered this issue?

<node id="100m Sprint Record">

<data key="d0">100m Sprint Record</data>

<data key="d1">record</data>

<data key="d2">A 100-meter sprint record was achieved by Noah Carter, an athlete who broke the previous record&lt;SEP&gt;A 100-meter sprint record was achieved by Noah Carter, an athlete who broke the previous record.&lt;SEP&gt;A milestone achievement in athletics that is broken by Noah Carter during the Championship.&lt;SEP&gt;A milestone in athletics achieved by Noah Carter during the championship.&lt;SEP&gt;The **100m sprint record** is a benchmark in athletics that holds significant importance. It represents the fastest time ever achieved in sprinting and was recently broken by athlete Noah Carter at the World Athletics Championship. This new record marks a notable achievement for both athletic competition and Harry Potter's journey within the story. The 100m sprint record serves as a symbolic benchmark for Harry's progress throughout the book series, signifying his advancement in skill and potential. The record holds special significance within the Harry Potter universe, acting as a turning point in Harry's life. Notably, the record is frequently discussed in the context of athletics and its impact on Harry's character development.

&lt;SEP&gt;The 100m sprint record is a benchmark in athletics, recently broken by Noah Carter.&lt;SEP&gt;The record of the 100m sprint was broken and Harry, Ron, and Hermione will have to deal with the consequences. &lt;SEP&gt;The 100m sprint record has been broken by Noah Carter.&lt;SEP&gt;The record for the 100m sprint has been broken by Noah Carter.&lt;SEP&gt;The 100m Sprint record set by Harry Potter in the World Athletics Championship broke a long-standing record.&lt;SEP&gt;A new record for the fastest 100-meter sprint has been set by Noah Carter.&lt;SEP&gt;A new record for the fastest 100-meter sprint has been set by Noah Carter. &lt;SEP&gt;A new 100m sprint record was set by Noah Carter.&lt;SEP&gt;The achievement of a 100m sprint represents Harry's athletic ambition, highlighting his dedication to it&lt;SEP&gt;This refers to a significant achievement and record that Harry aims to achieve, showcasing his athletic spirit.&lt;SEP&gt;The 100-meter sprint record is a benchmark in athletics, recently set by Harry Potter.</data>

<data key="d3">chunk-888b2c5bb8867950b8a870d7d2824266&lt;SEP&gt;chunk-b614d1aec020e8cc31b0100384867852&lt;SEP&gt;chunk-a6af218ba8b230c2434bd7473bd49c7c&lt;SEP&gt;chunk-b80fee5750a0d43282965ba6532b8354&lt;SEP&gt;chunk-4fb9c750861c95f88bcee23b1d0bbeaa&lt;SEP&gt;chunk-7a74e12813bfc6fa130a05b5fc3aa6d3&lt;SEP&gt;chunk-897909b38abdba857dc89f09e097d81a&lt;SEP&gt;chunk-6116ce26684edb1b15c7abd0e3005597&lt;SEP&gt;chunk-5439ec972a51963c7e6c21ef5cad1a84&lt;SEP&gt;chunk-299939d054c6dd5aa4ccaddab0d15cc9&lt;SEP&gt;chunk-0e23d010002920969d42ff9f849e54e5&lt;SEP&gt;chunk-87fe37e8b41667e46211c1c0f1d02946&lt;SEP&gt;chunk-6dd2e1ab2d5d096694831dfa14797ffc&lt;SEP&gt;chunk-80785cbbf315b2cd9223065a6b60c97e&lt;SEP&gt;chunk-3d4dc8abcefbdfa2f74f90eb828a29ec&lt;SEP&gt;chunk-fbd54245f479d37d9787d3399f89df97&lt;SEP&gt;chunk-f273edb3cbaf63d05fb291d027ef7e6e&lt;SEP&gt;chunk-60da9bfb1d7a01c55ce37276d5dba565&lt;SEP&gt;chunk-08e62eb6521518451a6a6398b348af6d&lt;SEP&gt;chunk-9a985e9ccfb90aa2e9d9a6850bcd64ad&lt;SEP&gt;chunk-c269ea3543c434ee58a864a7762c148b&lt;SEP&gt;chunk-dea9134efb4e05c52b41280913ebac61&lt;SEP&gt;chunk-f8ebda27018001bcddb7c86736fdd121&lt;SEP&gt;chunk-a9398226c21057afdf0e31594f4ddd9c&lt;SEP&gt;chunk-694e441b1bcaf5cf3a0de6c7c2dff799&lt;SEP&gt;chunk-5d13c1644f5528276ea6daf030f2b50f&lt;SEP&gt;chunk-53fedddf2a38bcc23324ec3f91c9cd7e&lt;SEP&gt;chunk-e163d0bbe46eecd2476abff9fac3c0bf&lt;SEP&gt;chunk-7bd3d1c453f41ca1d44588d21e2ee1ab&lt;SEP&gt;chunk-0156fba3b08f6b19546c33ecce2e87ad&lt;SEP&gt;chunk-615574e88673b1808cedc524347639f4&lt;SEP&gt;chunk-eef254f5d603eb9f24bc655043a61b50&lt;SEP&gt;chunk-deec7cb7ef08b4f1ff469ccd1393a6d2&lt;SEP&gt;chunk-45f548a454e1f63199153f27379d38fc&lt;SEP&gt;chunk-08f5811a86a7efc9d7f44a17b96a6b41&lt;SEP&gt;chunk-108763165a223b872248910b3cc4baaf&lt;SEP&gt;chunk-6c6351a3e2ae883d62372a1b760d7a24&lt;SEP&gt;chunk-ad40f1001d302e5be7803daa2a6bd29e&lt;SEP&gt;chunk-535e638615d9001f55d72bf6a6d86528&lt;SEP&gt;chunk-8820832ffe56507f2428c1cad7368e16&lt;SEP&gt;chunk-2c831b8aaa5f287717a517502e401159&lt;SEP&gt;chunk-823eb9bd84b16298a9e84719345e662e&lt;SEP&gt;chunk-0f5ac8f7cbcb1bf6e16466cf46e9a612&lt;SEP&gt;chunk-8286120e4dfb517f2dab6fdbf2f5d91d&lt;SEP&gt;chunk-435756faef3161bb705f7a0384bdefd1</data>

<data key="d4">unknown_source</data>

</node>

<node id="Carbon-Fiber Spikes">

<data key="d0">Carbon-Fiber Spikes</data>

<data key="d1">equipment</data>

<data key="d2">Advanced running shoes that enhance speed and traction&lt;SEP&gt;Advanced spiking shoes used for enhanced speed and traction.&lt;SEP&gt;Advanced sprinting shoes designed for enhanced speed and traction.&lt;SEP&gt;Carbon-fiber spikes are advanced sprinting shoes that provide enhanced speed and traction, used by athletes like Noah Carter for a speed advantage.&lt;SEP&gt;The **Carbon-Fiber Spikes** are advanced sprinting shoes designed to enhance both speed and traction. They are widely used by athletes, particularly sprinters, to improve performance during races. These high-tech spikes are made with carbon fibers and designed to deliver a competitive advantage on the track.

Let me know if you have any other entities or descriptions that I need to include!

&lt;SEP&gt;Carbon-fiber spikes are advanced sprinting shoes that provide enhanced speed and traction.&lt;SEP&gt;Carbon-fiber spikes are advanced sprinting shoes that provide enhanced speed and traction.&lt;SEP&gt;Carbon-fiber spikes are advanced sprinting shoes that provide enhanced speed and traction.&lt;SEP&gt;Advanced sprinting shoes that provide enhanced speed and traction.&lt;SEP&gt;Carbon-fiber spikes are advanced sprinting shoes that provide enhanced speed and traction.&lt;SEP&gt;Carbon-fiber spikes are advanced sprinting shoes that provide enhanced speed and traction.&lt;SEP&gt;Advanced sprinting shoes that improve performance and speed.&lt;SEP&gt;Advanced sprinting shoes used to enhance performance and speed.&lt;SEP&gt;Carbon-fiber spikes were used to enhance speed and traction during the race.&lt;SEP&gt;advanced running shoes that enhance speed and traction&lt;SEP&gt;Carbon-fiber spikes are advanced sprinting shoes that provide enhanced speed and traction.&lt;SEP&gt;Carbon-fiber spikes provide enhanced speed and traction.&lt;SEP&gt;Advanced sprinting shoes designed to improve performance and speed&lt;SEP&gt;Advanced sprinting shoes designed to improve performance and speed.&lt;SEP&gt;Carbon-fiber spikes are specialized athletic footwear used to enhance speed and traction in sprinting&lt;SEP&gt;Carbon-fiber spikes are specialized athletic footwear used to enhance speed and traction in sprinting.&lt;SEP&gt;Advanced sprinting shoes that provide enhanced speed and traction&lt;SEP&gt;Carbon-fiber spikes are advanced sprinting shoes that provide enhanced speed and traction.&lt;SEP&gt;Carbon-fiber spikes are advanced sprinting shoes that provide enhanced speed and traction.</data>

<data key="d3">chunk-888b2c5bb8867950b8a870d7d2824266&lt;SEP&gt;chunk-b614d1aec020e8cc31b0100384867852&lt;SEP&gt;chunk-b80fee5750a0d43282965ba6532b8354&lt;SEP&gt;chunk-5f4c8585315e05c2a27d04dd283d0098&lt;SEP&gt;chunk-6116ce26684edb1b15c7abd0e3005597&lt;SEP&gt;chunk-b2b20b95c80b9e67a171203a7b959e1a&lt;SEP&gt;chunk-d0868cffc46008c5cba3944f1f472db5&lt;SEP&gt;chunk-299939d054c6dd5aa4ccaddab0d15cc9&lt;SEP&gt;chunk-87fe37e8b41667e46211c1c0f1d02946&lt;SEP&gt;chunk-80785cbbf315b2cd9223065a6b60c97e&lt;SEP&gt;chunk-9bf4e7f42d665752d3f9bb30c24e0073&lt;SEP&gt;chunk-3d4dc8abcefbdfa2f74f90eb828a29ec&lt;SEP&gt;chunk-3d69418ca1945e1ff7fecb817c9e7585&lt;SEP&gt;chunk-fbd54245f479d37d9787d3399f89df97&lt;SEP&gt;chunk-60da9bfb1d7a01c55ce37276d5dba565&lt;SEP&gt;chunk-416e00e05213cbfb1f8e0171d6814de7&lt;SEP&gt;chunk-08e62eb6521518451a6a6398b348af6d&lt;SEP&gt;chunk-9a985e9ccfb90aa2e9d9a6850bcd64ad&lt;SEP&gt;chunk-ce27c22d2b0fc1cc325835bb4eb9f60b&lt;SEP&gt;chunk-f8ebda27018001bcddb7c86736fdd121&lt;SEP&gt;chunk-a9398226c21057afdf0e31594f4ddd9c&lt;SEP&gt;chunk-885f987d80e90f3309e22b90ff84e0f4&lt;SEP&gt;chunk-5d13c1644f5528276ea6daf030f2b50f&lt;SEP&gt;chunk-53fedddf2a38bcc23324ec3f91c9cd7e&lt;SEP&gt;chunk-e163d0bbe46eecd2476abff9fac3c0bf&lt;SEP&gt;chunk-a3f7ae0e79f3fc42f96eeef5d26224d4&lt;SEP&gt;chunk-7bd3d1c453f41ca1d44588d21e2ee1ab&lt;SEP&gt;chunk-0156fba3b08f6b19546c33ecce2e87ad&lt;SEP&gt;chunk-49194b1a6e7aef86df2383c6a81009b4&lt;SEP&gt;chunk-eef254f5d603eb9f24bc655043a61b50&lt;SEP&gt;chunk-45f548a454e1f63199153f27379d38fc&lt;SEP&gt;chunk-108763165a223b872248910b3cc4baaf&lt;SEP&gt;chunk-ad40f1001d302e5be7803daa2a6bd29e&lt;SEP&gt;chunk-b161ab52d0c9ddc207be50afe3b80e36&lt;SEP&gt;chunk-f26e6c0d60f1fe256b484dd1151e5bd2&lt;SEP&gt;chunk-535e638615d9001f55d72bf6a6d86528&lt;SEP&gt;chunk-2c831b8aaa5f287717a517502e401159&lt;SEP&gt;chunk-823eb9bd84b16298a9e84719345e662e&lt;SEP&gt;chunk-e7634d10b7dfefc8aa19e7d4b6b84c36&lt;SEP&gt;chunk-0f5ac8f7cbcb1bf6e16466cf46e9a612&lt;SEP&gt;chunk-2afd22aa28321811d5099ba9500a58c1&lt;SEP&gt;chunk-1484be23d35cbeb678d5ca86754c6d1b&lt;SEP&gt;chunk-f4b0534a66b0ed6cab86f504a6be4d70&lt;SEP&gt;chunk-9c5d172e00eea5d668df6136c967f3c2&lt;SEP&gt;chunk-8286120e4dfb517f2dab6fdbf2f5d91d&lt;SEP&gt;chunk-435756faef3161bb705f7a0384bdefd1</data>

<data key="d4">unknown_source</data>

</node>

<node id="World Athletics Federation">

<data key="d0">World Athletics Federation</data>

<data key="d1">organization</data>

<data key="d2">The **World Athletics Federation** (also known as IAAF) is a globally recognized governing body that oversees athletic competitions and records, playing a crucial role in sports governance. It is responsible for validating and recognizing new sprint records, ensuring their legitimacy within international athletics. The federation sets standards and regulates international athletics, including the World Athletics Championship.

It acts as the regulatory authority for track and field disciplines, overseeing events like the 100m sprint record. This organization ensures the integrity of athletic competitions by verifying records and maintaining a standard across diverse athletic fields. The **World Athletics Federation** is the official governing body responsible for managing and upholding the standards of track and field, ensuring the legitimacy and fairness of competitions worldwide.

&lt;SEP&gt;The World Athletics Federation is the governing body overseeing the World Athletics Championship and record validations.&lt;SEP&gt;The governing body for athletics, responsible for record validations.&lt;SEP&gt;The World Athletics Federation is the governing body overseeing the World Athletics Championship and record validations.&lt;SEP&gt;The World Athletics Federation is the governing body overseeing the World Athletics Championship and record validations.&lt;SEP&gt;The World Athletics Federation oversees record validations and manages competitions&lt;SEP&gt;The World Athletics Federation oversees the record validations and manages competitions&lt;SEP&gt;The World Athletics Federation is the governing body overseeing the World Athletics Championship and record validations.&lt;SEP&gt;The governing body of track and field events, responsible for upholding records and regulations.&lt;SEP&gt;The World Athletics Federation oversees and validates athletic records, including world championship results.&lt;SEP&gt;The World Athletics Federation oversees record validations and manages championships&lt;SEP&gt;The World Athletics Federation oversees record validations and manages championships.&lt;SEP&gt;The World Athletics Federation is the governing body overseeing the World Athletics Championship and record validations.&lt;SEP&gt;The World Athletics Federation is responsible for validating and recognizing new sprint records.&lt;SEP&gt;The World Athletics Federation governs the sport of athletics, including record validation.&lt;SEP&gt;The World Athletics Federation is the governing body overseeing the World Athletics Championship and record validations.</data>

<data key="d3">chunk-888b2c5bb8867950b8a870d7d2824266&lt;SEP&gt;chunk-b862519cae7756afae3e7c44fb8fee40&lt;SEP&gt;chunk-ed669c7907f6d6253b5c1aa9656ba02c&lt;SEP&gt;chunk-b80fee5750a0d43282965ba6532b8354&lt;SEP&gt;chunk-6116ce26684edb1b15c7abd0e3005597&lt;SEP&gt;chunk-b2b20b95c80b9e67a171203a7b959e1a&lt;SEP&gt;chunk-299939d054c6dd5aa4ccaddab0d15cc9&lt;SEP&gt;chunk-87fe37e8b41667e46211c1c0f1d02946&lt;SEP&gt;chunk-80785cbbf315b2cd9223065a6b60c97e&lt;SEP&gt;chunk-9bf4e7f42d665752d3f9bb30c24e0073&lt;SEP&gt;chunk-3d69418ca1945e1ff7fecb817c9e7585&lt;SEP&gt;chunk-fbd54245f479d37d9787d3399f89df97&lt;SEP&gt;chunk-60da9bfb1d7a01c55ce37276d5dba565&lt;SEP&gt;chunk-08e62eb6521518451a6a6398b348af6d&lt;SEP&gt;chunk-9a985e9ccfb90aa2e9d9a6850bcd64ad&lt;SEP&gt;chunk-ce27c22d2b0fc1cc325835bb4eb9f60b&lt;SEP&gt;chunk-dea9134efb4e05c52b41280913ebac61&lt;SEP&gt;chunk-f8ebda27018001bcddb7c86736fdd121&lt;SEP&gt;chunk-53fedddf2a38bcc23324ec3f91c9cd7e&lt;SEP&gt;chunk-a3f7ae0e79f3fc42f96eeef5d26224d4&lt;SEP&gt;chunk-49194b1a6e7aef86df2383c6a81009b4&lt;SEP&gt;chunk-eef254f5d603eb9f24bc655043a61b50&lt;SEP&gt;chunk-deec7cb7ef08b4f1ff469ccd1393a6d2&lt;SEP&gt;chunk-45f548a454e1f63199153f27379d38fc&lt;SEP&gt;chunk-6c6351a3e2ae883d62372a1b760d7a24&lt;SEP&gt;chunk-108763165a223b872248910b3cc4baaf&lt;SEP&gt;chunk-f26e6c0d60f1fe256b484dd1151e5bd2&lt;SEP&gt;chunk-535e638615d9001f55d72bf6a6d86528&lt;SEP&gt;chunk-2c831b8aaa5f287717a517502e401159&lt;SEP&gt;chunk-823eb9bd84b16298a9e84719345e662e&lt;SEP&gt;chunk-e7634d10b7dfefc8aa19e7d4b6b84c36&lt;SEP&gt;chunk-0f5ac8f7cbcb1bf6e16466cf46e9a612&lt;SEP&gt;chunk-2afd22aa28321811d5099ba9500a58c1&lt;SEP&gt;chunk-1484be23d35cbeb678d5ca86754c6d1b&lt;SEP&gt;chunk-b048ef576c23bae9e09528d9cd20dc6f&lt;SEP&gt;chunk-f4b0534a66b0ed6cab86f504a6be4d70&lt;SEP&gt;chunk-9c5d172e00eea5d668df6136c967f3c2&lt;SEP&gt;chunk-8286120e4dfb517f2dab6fdbf2f5d91d&lt;SEP&gt;chunk-435756faef3161bb705f7a0384bdefd1</data>

<data key="d4">unknown_source</data>


r/Rag 1d ago

How to evaluate your RAG system

57 Upvotes

Hi everyone, I'm Jeff, the cofounder of Chroma. We're working on creating best practices for building powerful and reliable AI applications with retrieval.

In this technical report, we introduce representative generative benchmarking—custom evaluation sets built from your own data and reflective of the queries users actually make in production. These benchmarks are designed to test retrieval systems under similar conditions they face in production, rather than relying on artificial or generic datasets.

Benchmarking is essential for evaluating AI systems, especially in tasks like document retrieval where outputs are probabilistic and highly context-dependent. However, widely used benchmarks like MTEB are often overly clean, generic, and in many cases, have been memorized by the embedding models during training. We show that strong results on public benchmarks can fail to generalize to production settings, and we present a generation method that produces realistic queries representative of actual user queries.

Check out our technical report here: https://research.trychroma.com/generative-benchmarking


r/Rag 14h ago

Github issues to RAG

1 Upvotes

I shipped a feature on CrawlChat.app that - Takes a Github URL - Fetches repository issues - Turn them into RAG - Let people get help from it on chat widget, Discord bot, or as MCP


r/Rag 15h ago

Discussion Data modelling

1 Upvotes

Hey guys, I’m receiving CSV files from BI reports that list the tables and columns used for each report. I need to understand these tables and columns since they’re from SAP. There are over 100 reports like this, and I need to map the source table and columns to build a star schema data model.

PS: The task is to perform a data migration from SAP to another system.

I was thinking if GPT could help me build this data model. It could map the relations from the previous reports and identify dimensions and fact tables. When new files are received, GPT could analyse them, map them, and expand the data model.

I’ve populated the tables and columns to graph and analyse the relationships, but I haven’t been able to build the structure yet. Since new tables are created and mapped, the data model has to be expanded.

Can the GPT hold the previous data model context, it need to tell the PK, FK and dim and facts.

Is there any way I could get this done properly.


r/Rag 15h ago

Research What kind of latency are you getting from user message to first response when using a RAG?

1 Upvotes

Anyone measuring?

We're sitting around 300-500ms depending on the size of the query.

I know 200ms of this is simply the routing, but curious to know what others are seeing in their implementations.


r/Rag 1d ago

3 Billion Vectors in PostgreSQL to Protect the Earth

Thumbnail
blog.vectorchord.ai
8 Upvotes

r/Rag 19h ago

Embedding not saved in vectorstore

0 Upvotes

Hi everyone, im building a RAG app. I am using chroma db as the vectorstore. I have a problem that when i pass my embedding to chroma it does not persiste them or save them i memory while running. Sometimes it just crashes (with exit code -1073741819) , other times the script runs completely but the vectors are not stored. I have tried using the implementation from the chromadb library and the LangChain integration. When i run the same exact script with the same exact dependencies and versions ( from the same requirements file) on a Linux machine it works perfectly ( im on Windows). Does anyone know what the problem might be and how to fix it?


r/Rag 1d ago

Searching emails with RAG

3 Upvotes

Hey, very new to RAG! I'm trying to search for emails using RAG and I've built a very barebones solution. It literally just embeds each subject+body combination (some of these emails are pretty long so definitely not ideal). The outputs are pretty bad atm, which chunking methods + other changes should I start with?

Edit: The user asks natural language questions about their email, forgot to add earlier


r/Rag 1d ago

Tutorial Model Context Protocol tutorials for beginners

1 Upvotes

This playlist comprises of numerous tutorials on MCP servers including

  1. What is MCP?
  2. How to use MCPs with any LLM (paid APIs, local LLMs, Ollama)?
  3. How to develop custom MCP server?
  4. GSuite MCP server tutorial for Gmail, Calendar integration
  5. WhatsApp MCP server tutorial
  6. Discord and Slack MCP server tutorial
  7. Powerpoint and Excel MCP server
  8. Blender MCP for graphic designers
  9. Figma MCP server tutorial
  10. Docker MCP server tutorial
  11. Filesystem MCP server for managing files in PC
  12. Browser control using Playwright and puppeteer
  13. Why MCP servers can be risky
  14. SQL database MCP server tutorial
  15. Integrated Cursor with MCP servers
  16. GitHub MCP tutorial
  17. Notion MCP tutorial
  18. Jupyter MCP tutorial

Hope this is useful !!

Playlist : https://youtube.com/playlist?list=PLnH2pfPCPZsJ5aJaHdTW7to2tZkYtzIwp&si=XHHPdC6UCCsoCSBZ


r/Rag 1d ago

Discussion How can I efficiently feed GitHub based documentation to an LLM ?

Thumbnail
5 Upvotes

r/Rag 1d ago

Should I Expand My Knowledge Base to Multiple Languages or Use Google Translate API? RAG (STS)

4 Upvotes

I’m building a multilingual system that needs to handle responses in international languages (e.g., French, Spanish ). The flow involves:

User speaks in their language → Speech-to-text

Convert to English → Search knowledge base

Translate English response → Text-to-speech in the user’s language

Questions:

Should I expand my knowledge base to multiple languages or use the Google Translate API for dynamic translation?

Which approach would be better for scalability and accuracy?

Any tips on integrating Speech-to-Text, Vector DB, Translation API, and Text-to-Speech smoothly?


r/Rag 2d ago

GraphRag vs LightRag

16 Upvotes

What do you think about the quality of data retrieval between Graphrag & Lightrag? My task involves extracting patterns & insights from a wide range of documents & topics. From what I have seen the graph generated by Lightrag is good but seems to lack a coherent structure. On the Lightrag paper they seem to have metrics showing almost similar or better performance to Graphrag, but I am skeptical.


r/Rag 1d ago

Is this considered a Rag System or not?

3 Upvotes

I'm building an agentic rag system for a client, but have had some problems with vector search and decided to create a custom retrieval method that filters and does not use any embedding or database. I'm still "retrieving" from an knowledge-base. But I wonder if this still is considered a rag system?


r/Rag 1d ago

Thoughts on Cole Medin’s YouTube channel?

Thumbnail
youtu.be
0 Upvotes

Hey everyone,

I recently came across Cole Medin’s YouTube channel and found his RAG tutorials pretty impressive at first glance. Before diving deeper, though, I’d really appreciate some input from those with more experience.

Would you consider Cole Medin’s content a solid and reliable resource for learning RAG? Or do you think his material is too basic for practical, production-level use? If there’s another YouTuber, blogger, or resource you’d recommend as a better starting point, I’d love to hear about it.

Thanks!


r/Rag 1d ago

What is the state of art RAG pipeline at the time ?

0 Upvotes

Lets say I want to use Langchain. This one tool is compulsory. Can you suggest me some best case scenario and tools to make a RAG pipeline that is related to news summary related data.
Users query would be " Give me latest news on NVIDIA." or something like that.


r/Rag 2d ago

News & Updates LLAMA 4 Scout on Mac, 32 Tokens/sec 4-bit, 24 Tokens/sec 6-bit

10 Upvotes

r/Rag 2d ago

Is RAG still relevant with 10M+ context length

Post image
124 Upvotes

Meta just released LLaMA 4 with a massive 10 million token context window. With this kind of capacity, how much does RAG still matter? Could bigger context models make RAG mostly obsolete in the near future?


r/Rag 1d ago

How does Graph RAG work?

0 Upvotes

r/Rag 2d ago

Q&A Currently we're using a RAG as a service that costs $120-$200 based on our usage, what's the best solution to switch to now in 2025?

12 Upvotes

Hi

I have a question for experts here now in 2025 what's the best RAG solution that has the fastest & most accurate results, we need the speed since we're connecting it to video so speed and currently we're using Vectara as RAG solution + OpenAI

I am helping my client scale this and want to know what's the best solution now, with all the fuss around RAG is dead ( I don't htink so) what's the best solution?! where should I look into?

We're dealing mostly with PDFs with visuals and alot of them so semantic search is important


r/Rag 2d ago

Using Haystack and Hayhooks for search-based RAG

4 Upvotes

I made a previous post on Step by Step RAG and mentioned that RAG wasn't necessarily about vector databases and embedding models, but about retrieval, from any source.

I thought about this some more and after playing with Haystack and Hayhooks, I realized that Hayhooks had all the tools I needed to make search-based RAG tools available to some Letta agents I was using.

I've packaged up the pipelines into a turnkey solution using Docker Compose, and I've been using Hayhooks as a tools server quite effectively. I feel like I've barely scratched the surface of what Haystack can do -- I'm really impressed with it.

https://github.com/wsargent/groundedllm