severian42 / GraphRAG-Local-UI

GraphRAG using Local LLMs - Features robust API and multiple apps for Indexing/Prompt Tuning/Query/Chat/Visualizing/Etc. This is meant to be the ultimate GraphRAG/KG local LLM app.
MIT License
1.75k stars 207 forks source link

Query Type "global" not working #19

Closed slutifsh99 closed 3 months ago

slutifsh99 commented 4 months ago

After generating the graph using the indexing process, how can I ensure that the LLM uses this indexed information to answer questions? Currently, it seems like the LLM is not leveraging the indexed data as expected.

Details

I've completed the following steps:

Indexed the data successfully. Generated the graph using the indexed data. Configured the Query Type to "global" expecting it to use the indexed information. Despite these steps, the responses to queries do not appear to be using the indexed data, and the results are similar to those from "direct" queries.

severian42 commented 4 months ago

Hey! The way the GraphRAG library wants to work is to have your selected output folder initialized first, and then it'll use those contents. I will be releasing a quick tutorial vid hopefully today with the major update.

How to query the generated graph:

-If you are able to run the Indexing with no errors you will end up with the full output files. -Once you have those, you will need to initialize the folder within the Index Management tab. -Once you have initialized (should be 20 items in total) it will make the graph available to query with the LLM

isaidnoagain commented 4 months ago

Having same issue, looking forward to your vid!

OKC13 commented 4 months ago

Having same issue, looking forward to your vid!

image

Ikaros-521 commented 4 months ago

same +1

0OY0C%L)$UX3L`AQ{_O483U