Find answers from the community

Updated 3 months ago

Exploring the Custom Property Graph

Exploring the Custom Property Graph Index with neo4j and i run into this error : Parsing nodes: 100%|β–ˆ| 250/250 [00:00<00:00, 3837.87
Traceback (most recent call last):
File "/Users/abclocal/learn-repo/llama_index_playground/roughrepo/hello-neo.py", line 112, in <module>
index = PropertyGraphIndex.from_documents(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/abclocal/learn-repo/llama_index_playground/.venv/lib/python3.12/site-packages/llama_index/core/indices/base.py", line 145, in from_documents
return cls(
^^^^
File "/Users/abclocal/learn-repo/llama_index_playground/.venv/lib/python3.12/site-packages/llama_index/core/indices/property_graph/base.py", line 111, in init
storage_context.property_graph_store.supports_vector_queries
AttributeError: 'Neo4jGraphStore' object has no attribute 'supports_vector_queries'
(.venv) abclocal@macos-localmac llama_index_playground %
L
2 comments
I think you used the wrong graph store
from llama_index.graph_stores.neo4j import Neo4jPGStore (or Neo4jPropertyGraphStore, both names work)
Add a reply
Sign up and join the conversation on Discord