mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-04-25 16:56:26 +02:00
update comment
This commit is contained in:
parent
eb564bb38a
commit
1607228b9d
1 changed files with 2 additions and 2 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue