Skip to content

🌟 The Multi-Agent Framework: First AI Software Company, Towards Natural Language Programming

update comment

seehi1607228b9d24
diff --git a/metagpt/rag/factories/retriever.py b/metagpt/rag/factories/retriever.py
index a3b2268fd..1460e131b 100644
--- a/metagpt/rag/factories/retriever.py
+++ b/metagpt/rag/factories/retriever.py
@@ -31,9 +31,9 @@ from metagpt.rag.schema import (
def get_or_build_index(build_index_func):
- """Find index using `_extract_index` method.
+ """Decorator to get or build an index.
- If no index is found, using build_index_func.
+ Get index using `_extract_index` method, if not found, using build_index_func.
"""
@wraps(build_index_func)