[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
[x] I have searched the existing issues and this bug is not already filed.
[ ] My model is hosted on OpenAI or Azure. If not, please look at the "model providers" issue and don't file a new one here.
[x] I believe this is a legitimate bug, not just a question. If this is a question, please use the Discussions area.
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
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
Logs and screenshots
No response
Additional Information