From 73953c025d16ec99994f2262fa8cae9b6aa0f58c Mon Sep 17 00:00:00 2001 From: seehi <6580@pm.me> Date: Thu, 21 Mar 2024 17:11:18 +0800 Subject: [PATCH] add FLAREEngine and ColbertRerank --- metagpt/rag/engines/flare.py | 9 +++++++++ 1 file changed, 9 insertions(+) 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, +)