ocolegro
Joined 7 years ago
Joined 7 years ago
The quickstart clearly has too much content in retrospect, and the feedback here makes it clear we should simplify.
Think of R2R as an SDK with an out of the box admin dashboard / playground that you can plug into.
The key advantages can be extracted from the response above to Kluless -
R2R is built around RESTful API and is dockerized, so devs can get started on app development immediately.
The system was designed so that devs can typically scale data ingestion up to provider bottlenecks w/out extra work.
We have implemented user-level permissions and high level document management alongside the vector db, which most devs need to build in a production setting, along with the API and data ingestion scaling.
Lastly, we also log every search and RAG completion that flows through the system. This is really important to find weaknesses and tune the system over time. Most devs end up needing an observability solution for their RAG.
All of these connect to an open source developer dashboard that allows you to see uploaded files, test different configs, etc.
These basic features mean that devs can spend more time on iterating / customizing their application specific features like custom data ingestion, hybrid search and advanced RAG.
For this we have a target dataset (the YC co directory) that we have around 100 questions over. We have found that when feeding an entire company listing in along with a single question we can get an accurate single answer (needle in haystack problem).
So to build our evaluation dataset we feed each question with each sample into the cheapest LLM we can find that reliably handles the job. We then aggregate the results.
This is not perfect but it allows us to have a way to benchmark our knowledge graph construction and querying strategy so that we can tune the system ourselves.
we have instructions for getting setup and running w/ ollama. It should be pretty smooth.
For instance, if a user asks "How does A compare to B" then the query expansion element of HyDE is incredibly useful. The actual value of translating queries into answers for embedding is a bit unclear, since most embedding models we are using have been ft'ed to map queries onto answers.
We've just released R2R V3 with a completely RESTful API that covers everything you need for production RAG applications. The biggest change is our Git-like knowledge graph architecture, but we've also unified all the core objects you need to build real applications.
Check our [API](https://r2r-docs.sciphi.ai/api-and-sdks/introduction) or join our [Discord](https://discord.gg/p6KqD2kjtB) if you want to dive deeper. We'd love feedback from folks building in production!