Hello everyone, has anyone had any success using the neo4j db property graph index as a chat engine? I have this code, and it sort of works but the citations that I usually get with a pgvector implementation are gone. Am I doing this right?
My code:
logger.info("Connecting to index from Neo4j DB...")
graph_store = Neo4jPropertyGraphStore(
username="neo4j",
password="password",
url="bolt://localhost:7687",
)
index = PropertyGraphIndex.from_existing(
property_graph_store=graph_store,
)
logger.info("Finished connecting to index from Neo4j DB.")
return index.as_chat_engine(
similarity_top_k=app_config.TOP_K,
# system_prompt=system_prompt,
chat_mode="context",
# response_mode="tree_summarize",
# vector_store_query_mode=app_config.VECTOR_STORE_QUERY_MODE,
)