microsoft / graphrag

A modular graph-based Retrieval-Augmented Generation (RAG) system
https://microsoft.github.io/graphrag/
MIT License
19.44k stars 1.92k forks source link

Bug on new version 0.4.1 with Drift Search #1417

Open htthienbrycen opened 1 week ago

htthienbrycen commented 1 week ago

Do you need to file an issue?

Describe the bug

Hello, I am having a problem with GraphRag version 0.4.1. This problem I did not encounter in the older version 0.3.6.

I use this version because of the Drift Search function, but it seems that this function has a problem, it has an error when calling Local Search "Query column vector must be a vector. Got list.",

I have referred to issue 1335, to solve this bug, however I found that when calling Local Search, there is no result returned because querying entities on lanceDB returns empty, even when I perform Local Search separately, I also have the same problem and have not found a solution.

Please let me know how to solve the above problem or is there another version without the bug. Thank you very much!

Steps to reproduce

Install GraphRag version 0.4.1 Indexing 1-2 documents Testing Drift or Local Search See error

Temporarily ignore the error that does not support Json, this can be fixed with prompt

Expected Behavior

No response

GraphRAG Config Used

API_VERSION = 2024-08-01-preview API_BASE = https://fpga.openai.azure.com/ LLMS_TYPE = azure_openai_chat LLM_DEPLOYMENT_NAME = gpt-35-turbo LLM_MODEL_NAME = gpt-35-turbo EMBEDDNIG_DEPLOYMENT_NAME = text-embedding-3-small EMBEDDING_MODEL = text-embedding-3-small EMBEDDING_TYPE = azure_openai_embedding JSON_SUPPORT = false

Image Image Image

Logs and screenshots

Image Image

Additional Information

jgbradley1 commented 5 days ago

We fixed a couple of bugs related to drift search in the latest release (v0.5.0). Please upgrade to the latest release and let us know if you're still experiencing the same issue.

Thanks