Merge branch 'feat-exp-pool-opt' into 'mgx_ops'

Feat exp pool opt

See merge request pub/MetaGPT!354
This commit is contained in:
张雷 2024-08-28 05:42:24 +00:00
commit 7f1fea10b8
13 changed files with 226 additions and 30 deletions

View file

@ -22,3 +22,4 @@ class ExperiencePoolConfig(YamlModel):
default=ExperiencePoolRetrievalType.BM25, description="The retrieval type for experience pool."
)
use_llm_ranker: bool = Field(default=True, description="Use LLM Reranker to get better result.")
collection_name: str = Field(default="experience_pool", description="The collection name in chromadb")