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 @@ 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)