mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-05-07 14:10:57 +08:00
Experience Pool
Prerequisites
- Ensure the RAG module is installed: https://docs.deepwisdom.ai/main/en/guide/in_depth_guides/rag_module.html
- Set embedding: https://docs.deepwisdom.ai/main/en/guide/in_depth_guides/rag_module.html
- Set
enabled、enable_readandenable_writetotruein theexp_poolsection ofconfig2.yaml
Example Files
1. decorator.py
Showcases the implementation of the @exp_cache decorator.
2. init_exp_pool.py
Demonstrates the process of initializing the experience pool.
3. manager.py
Illustrates CRUD (Create, Read, Update, Delete) operations for managing experiences in the pool.
4. scorer.py
Outlines methods for evaluating and scoring experiences within the pool.