mirror of
https://github.com/nexus-stc/hyperboria
synced 2024-12-12 12:47:46 +01:00
12 lines
324 B
Python
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()
|