using neo4j async

This commit is contained in:
Ken Wiltshire
2024-11-02 18:35:07 -04:00
parent f40725feeb
commit 8bd5d9b5b2
5 changed files with 141 additions and 179 deletions

View File

@@ -2,6 +2,7 @@ import os
from lightrag import LightRAG, QueryParam
from lightrag.llm import gpt_4o_mini_complete, gpt_4o_complete
#########
# Uncomment the below two lines if running in a jupyter notebook to handle the async nature of rag.insert()
# import nest_asyncio