18 karma · joined May 9, 2011 (15y ago) · 31 submissions
1.
Rewriting a Million Lines of Code in Go: The RAGFlow 1.0 Rebuild(ragflow.io ↗)
3 points · by yingfeng · 1w ago · discuss
2.
Context as Infrastructure: Knowledge Compilation for Retrieval in Agent Harness(arxiv.org ↗)
3 points · by yingfeng · 3w ago · discuss
3.
What is Agent context engine(ragflow.io ↗)
1 points · by yingfeng · 10mo ago · discuss
4.
Halfway Through 2025: A RAG Progress Report(medium.com ↗)
1 points · by yingfeng · 1y ago · discuss
6.
RAGFlow 0.9 is released to support GraphRAG end-to-end(github.com ↗)
3 points · by yingfeng · 2y ago · discuss
7.
Multi-way retrieval evaluations based on the Infinity database(medium.com ↗)
1 points · by yingfeng · 2y ago · discuss
8.
Show HN: Infinity – Incredibly fast database for RAG with powerful hybrid search(github.com ↗)
2 points · by yingfeng · 2y ago · discuss
comment 2y ago · link · parent
1. Performance
The performance of pg_vector is far slower than vector search of Infinity due to the vector index design. The performance of pg_sparse is also slower than sparse vector search of infinity. The performance of pg_search is much slower than full text search of infinity. pg_search is based on Tantivy, which is much slower than the inverted index of infinity.
Detailed benchmark could be seen in this article : https://infiniflow.org/blog/fastest-hybrid-search or github repo.
2. Infinity has all the builtin implementation of the above three search approaches. These indices could work smoothly together with the executor of infinity. The users could use any combination of the search approaches, together with the fused ranking algorithms, in a very efficient approach.
3. Infinity has also builtin support for tensor, which makes it possible to deliver an in-database colbert reranker compared with the cross encoder based reranker outside. The colbert reranker could bring much benefits for search qualities.
4. Infinity is much easier to use, it could be deployed as either a standalone server, or as an embedded python library just through pip install.
5. Infinity is designed start from scratch, it does not have the burden of postgresql, and is evolving fast. It will run on cloud in very near future which could save the cost a lot.
comment 2y ago · link · parent
The major challenges are how to implement and manage such many indices within single database. That's why we build this database start from scratch. Infinity is actually a kind of "indexing" database, based on a columnar store. The executor also requires refined design to fuse these hybrid search approaches effectively.
comment 2y ago · link · parent
comment 2y ago · link · parent
comment 2y ago · link · parent
comment 2y ago · link · parent
comment 2y ago · link · parent
On the other hand let me introduce another database we developed, Infinity(https://github.com/infiniflow/infinity), which can provide the hybrid search, you can see the performance here(https://github.com/infiniflow/infinity/blob/main/docs/refere...), both vector search and full-text search could perform much faster than other open source alternatives.
From the next version(weeks later), Infinity will also provide more comprehensive hybrid search capabilities, what you have mentioned the 3-way recalls(dense vector, sparse vector, keyword search) could be provided within single request.
comment 2y ago · link · parent
The goal of RAGFlow is to use computer vision models to recognize the structure of a document, including diagrams and tables, and then to slice these structures into appropriate formats, such as table information combined with table definitions into text, which is then sent to the RAG system to be used for retrieval and answering questions.
ZenDB also makes use of computer vision models to understand documents, but it is mainly used to understand the semantic structure of documents, such as headings, phrases, etc., which also involves semantic-based text clustering. ZenDB also defines a query language specifically for querying these semantics. ZenDB is pretty useful to query and summarize long text.
I think some combination of RAGFlow and ZenDB for processing unstructured document data could be interesting to work on.
comment 2y ago · link · parent
comment 2y ago · link · parent
comment 2y ago · link · parent
comment 2y ago · link · parent
comment 3y ago · link · parent
comment 15y ago · link · parent
#include <boost/atomic.hpp>
class AtomicPointer { private: boost::atomic<void> rep_; public: AtomicPointer() { } explicit AtomicPointer(void v) { } inline void* Acquire_Load() const { return rep_.load(boost::memory_order_acquire); } inline void Release_Store(void* v) { rep_.store(v, boost::memory_order_release); } inline void* NoBarrier_Load() const { return rep_.load(boost::memory_order_relaxed); } inline void NoBarrier_Store(void* v) { rep_.store(v, boost::memory_order_relaxed); } };
comment 15y ago · link · parent