hyperboria/nexus/meta_api/rescorers/base.py
the-superpirate fff80cd4e7 - feat(nexus): Bump versions
- fix(nexus): Preparing configs to be published
  - feat(nexus): Various fixes for opening left sources
  - fix(nexus): Fine-tune versions
1 internal commit(s)

GitOrigin-RevId: 6c834cd3f4f5f18109a159a73503700dac63b0bb
2021-04-23 18:32:56 +03:00

12 lines
324 B
Python

from aiokit import AioThing
class Rescorer(AioThing):
def __init__(self, learn_logger=None, executor=None):
super().__init__()
self.learn_logger = learn_logger
self.executor = executor
async def rescore(self, document_pbs, query, session_id, language):
raise NotImplementedError()