🌟 The Multi-Agent Framework: First AI Software Company, Towards Natural Language Programming
fix
betterwangacc33bac9165
diff --git a/.gitignore b/.gitignoreindex 4c0d0f11c..922116d12 100644--- a/.gitignore+++ b/.gitignore@@ -175,7 +175,6 @@ outputtmp.png.dependencies.jsontests/metagpt/utils/file_repo_git-tests/data/rsp_cache.jsontests/data/rsp_cache_new.json*.tmp*.pngdiff --git a/metagpt/rag/rankers/base.py b/metagpt/rag/rankers/base.pyindex ecb23cf3e..a533a8b90 100644--- a/metagpt/rag/rankers/base.py+++ b/metagpt/rag/rankers/base.py@@ -3,9 +3,8 @@from abc import abstractmethodfrom typing import Optional-from llama_index import QueryBundlefrom llama_index.core.postprocessor.types import BaseNodePostprocessor-from llama_index.core.schema import NodeWithScore+from llama_index.core.schema import NodeWithScore, QueryBundleclass RAGRanker(BaseNodePostprocessor):