Skip to content

🌟 The Multi-Agent Framework: First AI Software Company, Towards Natural Language Programming

add FLAREEngine and ColbertRerank

seehi73953c025d16
diff --git a/metagpt/rag/engines/flare.py b/metagpt/rag/engines/flare.py
index e69de29bb..3fd1bf84b 100644
--- a/metagpt/rag/engines/flare.py
+++ b/metagpt/rag/engines/flare.py
@@ -0,0 +1,9 @@
+"""FLARE Engine.
+
+Use llamaindex's FLAREInstructQueryEngine, which accepts other engines as parameters.
+For example, Create a simple engine, and then pass it to FLAREEngine.
+"""
+
+from llama_index.core.query_engine import ( # noqa: F401
+ FLAREInstructQueryEngine as FLAREEngine,
+)