This commit is contained in:
betterwang 2024-03-08 09:51:33 +08:00
parent 6f89e2525c
commit acc33bac91
2 changed files with 1 additions and 3 deletions

1
.gitignore vendored
View file

@ -175,7 +175,6 @@ output
tmp.png
.dependencies.json
tests/metagpt/utils/file_repo_git
tests/data/rsp_cache.json
tests/data/rsp_cache_new.json
*.tmp
*.png

View file

@ -3,9 +3,8 @@
from abc import abstractmethod
from typing import Optional
from llama_index import QueryBundle
from llama_index.core.postprocessor.types import BaseNodePostprocessor
from llama_index.core.schema import NodeWithScore
from llama_index.core.schema import NodeWithScore, QueryBundle
class RAGRanker(BaseNodePostprocessor):