Merge pull request #2534 from Peefy/patch-3

docs: fix the simple program rag init function return value in README-zh.md
This commit is contained in:
Daniel.y
2025-12-24 22:08:28 +08:00
committed by GitHub

View File

@@ -255,7 +255,8 @@ async def initialize_rag():
llm_model_func=gpt_4o_mini_complete,
)
# IMPORTANT: Both initialization calls are required!
await rag.initialize_storages() # Initialize storage backends return rag
await rag.initialize_storages() # Initialize storage backends
return rag
async def main():
try: