🌟 The Multi-Agent Framework: First AI Software Company, Towards Natural Language Programming
add use_llm_ranker config
seehicd764737c81a
diff --git a/metagpt/exp_pool/manager.py b/metagpt/exp_pool/manager.pyindex afa2459d9..e38906d90 100644--- a/metagpt/exp_pool/manager.py+++ b/metagpt/exp_pool/manager.py@@ -185,6 +185,7 @@ class ExperienceManager(BaseModel):Returns:list: A list of `LLMRankerConfig` instances or an empty list."""+from metagpt.rag.schema import LLMRankerConfigreturn [LLMRankerConfig(top_n=DEFAULT_SIMILARITY_TOP_K)] if self.config.exp_pool.use_llm_ranker else []