From f115661e16ad4bd262d9e9bdaec2b9f51bd91edd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=81kos=20Luk=C3=A1cs?= Date: Tue, 22 Jul 2025 14:37:15 +0200 Subject: [PATCH] Fix "A Simple Program" example in README.md The example should use ainsert and aquery. Fixes #1723 --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 49290bd7..c68665c1 100644 --- a/README.md +++ b/README.md @@ -218,12 +218,12 @@ async def main(): try: # Initialize RAG instance rag = await initialize_rag() - rag.insert("Your text") + await rag.ainsert("Your text") # Perform hybrid search mode = "hybrid" print( - await rag.query( + await rag.aquery( "What are the top themes in this story?", param=QueryParam(mode=mode) )