microsoft / graphrag

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

[Bug]: In indexing process, reporting "in build_index vector_store_type = config.embeddings.vector_store["type"] # type: ignore TypeError: 'NoneType' object is not subscriptable" #1321

Open shaojh1 opened 4 weeks ago

shaojh1 commented 4 weeks ago

Do you need to file an issue?

Describe the bug

After I downloaded the project code from GitHub, I executed the following commands:

poetry install # Install dependency packages poetry run poe index --init --root . # Initialize the project and made adjustments to settings.yaml mkdir input output cache # Since these folders were not created during initialization, I created them myself

After placing a 5k txt file in the input folder, I executed the code: python -m graphrag.index --root .

Error message: In build_index vector_store_type = config.embeddings.vector_store["type"] # type: ignore TypeError: 'NoneType' object is not subscriptable

Steps to reproduce

No response

Expected Behavior

No response

GraphRAG Config Used

# Paste your config here

Logs and screenshots

No response

Additional Information

tongji-1 commented 3 weeks ago

(settings.yaml ) embeddings: vector_store: type: 'your_vector_store_type'.but I don't find the right type,