hi,
i am facing issue when creating a property graph index
kg_extractor = SchemaLLMPathExtractor(
llm = OpenAI(model="gpt-4o", temperature=0.1),
possible_entities=entities,
possible_entity_props=entity_properties,
possible_relations=relations,
kg_validation_schema=validation_schema,
strict=True
)
graph_store = Neo4jPropertyGraphStore(
username=os.getenv("username"),
password=os.getenv("password"),
url=os.getenv("url"),
database=os.getenv("database")
)
pg_index = PropertyGraphIndex.from_documents(
documents,
kg_extractors=[kg_extractor],
embed_model = OpenAIEmbedding(model="text-embedding-3-small"),
property_graph_store=graph_store,
vector_store=None,
show_progress=True,
)
when i run it getting error
File "/home/user/.cache/pypoetry/virtualenvs/llama-graph-Kulloq32-py3.12/lib/python3.12/site-packages/llama_index/core/storage/index_store/keyval_index_store.py", line 44, in add_index_struct
key = index_struct.index_id
^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'coroutine' object has no attribute 'index_id'