diff --git a/examples/unofficial-sample/lighrag_cloudflare_demo.py b/examples/unofficial-sample/lightrag_cloudflare_demo.py similarity index 98% rename from examples/unofficial-sample/lighrag_cloudflare_demo.py rename to examples/unofficial-sample/lightrag_cloudflare_demo.py index bb00406a..0d57806c 100644 --- a/examples/unofficial-sample/lighrag_cloudflare_demo.py +++ b/examples/unofficial-sample/lightrag_cloudflare_demo.py @@ -267,7 +267,9 @@ async def main(): print(f"Test dict: {test_text}") print(f"Detected embedding dimension: {embedding_dim}\n\n") - with open("./book.txt", "r", encoding="utf-8") as f: + # Locate the location of what is needed to be added to the knowledge + # Can add several simultaneously by modifying code + with open("./book.txt", "r", encoding="utf-8") as f: await rag.ainsert(f.read()) # Perform naive search