This commit is contained in:
zrguo
2025-03-04 12:25:07 +08:00
parent acb074d0f8
commit 6c8fa95214
10 changed files with 58 additions and 39 deletions

View File

@@ -107,7 +107,7 @@ async def initialize_rag():
async def main():
try:
# Initialize RAG instance
rag = asyncio.run(initialize_rag())
rag = await initialize_rag()
# Extract and Insert into LightRAG storage
with open(WORKING_DIR + "/docs.txt", "r", encoding="utf-8") as f: