diff --git a/README.md b/README.md index 1946a92..2dcc775 100755 --- a/README.md +++ b/README.md @@ -216,7 +216,7 @@ Ask questions directly about your personal PDFs, documents, and any directory co LEANN Document Search Demo

-The example below asks a question about summarizing our paper (uses default data in `examples/data`, which is a directory with diverse data sources: two papers, Pride and Prejudice, and a README in Chinese) and this is the easiest example to run here: +The example below asks a question about summarizing our paper (uses default data in `examples/data`, which is a directory with diverse data sources: two papers, Pride and Prejudice, and a README in Chinese) and this is the **easiest example** to run here: ```bash source .venv/bin/activate # Don't forget to activate the virtual environment diff --git a/examples/base_rag_example.py b/examples/base_rag_example.py index 3d270e6..69a91ae 100644 --- a/examples/base_rag_example.py +++ b/examples/base_rag_example.py @@ -246,9 +246,9 @@ class BaseRAGExample(ABC): complexity=args.search_complexity, ) - print(f"\n[Query] {query}") + print(f"\n[Query]: \033[36m{query}\033[0m") response = chat.ask(query, top_k=args.top_k, complexity=args.search_complexity) - print(f"\n[Response] {response}\n") + print(f"\n[Response]: \033[36m{response}\033[0m") async def run(self): """Main entry point for the example.""" @@ -268,6 +268,7 @@ class BaseRAGExample(ABC): return index_path = await self.build_index(args, texts) + print(f"Index saved to: {index_path}") else: print(f"\nUsing existing index: {index_path}") diff --git a/packages/leann-backend-diskann/third_party/DiskANN b/packages/leann-backend-diskann/third_party/DiskANN index 25339b0..af2a264 160000 --- a/packages/leann-backend-diskann/third_party/DiskANN +++ b/packages/leann-backend-diskann/third_party/DiskANN @@ -1 +1 @@ -Subproject commit 25339b03413b5067c25b6092ea3e0f77ef8515c8 +Subproject commit af2a26481e65232b57b82d96e68833cdee9f7635