4 ms·
RAGs are great for glossary like structured information. Arbitrarily chunking prose text feels like making garbage out of otherwise good quality text. Ideally p
by mirekrusin 3y ago
RAGs are great for glossary like structured information. Arbitrarily chunking prose text feels like making garbage out of otherwise good quality text. Ideally prose would be used to generate glossary like documents (LLM aided). Performance plays role here (you'd need to process a lot of text up front) so maybe smaller models could be used?
- gchamonlive 3y agoI think as long as you are below 50% context window, performance should be ok (https://dev.to/maximsaplin/gpt-4-128k-context-it-is-not-big-enough-1h02 https://dev.to/maximsaplin/gpt-4-128k-context-it-is-not-big-...)
- jcims 3y agoThis is something that has always bothered me about RAG. It seems that it’s fine for first order relevance, like a search engine, but for knowledge there needs to be some kind of rumination stage where it revisits the entire corpus to find information that has a second order relevance to round out its ‘understanding’. You might be able to approximate by chunking and globbing the chunks and searching for those, as well as having the LLM summarize and extract data and search for those items as well.
- meehai 3y agoisn't this what llamaindex is doing though?