graphrag-accelerator icon indicating copy to clipboard operation
graphrag-accelerator copied to clipboard

[BUG] Local search always provides empty list for claims

Open rm-1997 opened this issue 1 year ago • 0 comments

Bug Description I have built three indexes (using different source documents) and I noticed that for every local query, the local search context provides an empty list for the claims:

   'in_context': True,
   'index_name': 'd7281ced809a8da441bfe2fef765a4d0',
   'index_id': '7800'}],
 'claims': [],
 'sources': [{'id': '982',
   'text': ' team ... ',
   'index_name': 'd7281ced809a8da441bfe2fef765a4d0',

So the local search obviously only uses "reports", "entities", "relationships" and "sources" - but never "claims", although I checked that there are relevant claims and some of these claims are even adressed by, for instance, a community report. This happened for all my indexes and for any kind of query.

To Reproduce Steps to reproduce the behavior:

  1. Go to notebooks/2-Advanced_Getting_Started.ipynb.
  2. Build index.
  3. Run Local Search code chunk and look at the context data (which is below the printed response).

image

rm-1997 avatar Sep 16 '24 14:09 rm-1997