Main method to transform list of documents
(re-ranking, filtering, etc)
Source code in libs/kotaemon/kotaemon/indices/rankings/base.py
| @abstractmethod
def run(self, documents: list[Document], query: str) -> list[Document]:
"""Main method to transform list of documents
(re-ranking, filtering, etc)"""
...
|