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

@@ -125,7 +125,7 @@ async def initialize_rag():
async def main():
try:
# Initialize RAG instance
rag = asyncio.run(initialize_rag())
rag = await initialize_rag()
# reading file
with open("./book.txt", "r", encoding="utf-8") as f: