kotaemon icon indicating copy to clipboard operation
kotaemon copied to clipboard

[REQUEST] - <title>WHY GraphRAG retriever only supports one file_id at a time

Open Shihui628 opened this issue 1 year ago • 1 comments

Reference Issues

No response

Summary

can more graph rag file_ids be supported in future versions? I want to leverage the advantages of GraphRAG in the multi-document Query-Focused Summarization (QFS) problem.

Basic Example

Cross-document indexing search

Drawbacks

no

Additional information

No response

Shihui628 avatar Sep 10 '24 09:09 Shihui628

marked it for the answer

kksasa avatar Sep 10 '24 23:09 kksasa

HI, actually it is just how the current indexing process work for GraphRAG. You can upload multiple files at the same times (make sure that you press Upload and Index once). Later just select any one of those uploaded files and retrieval process will consider all files uploaded together in that session.

But, if you want to gradually upload files one-by-one, then perform query on the whole collection it is not supported at the moment. Still some small changes in the code can support this quite easily.

taprosoft avatar Sep 11 '24 07:09 taprosoft