mirror of
https://github.com/tiennm99/DocsGPT.git
synced 2026-05-19 23:25:23 +00:00
15 lines
244 B
Python
15 lines
244 B
Python
from abc import ABC, abstractmethod
|
|
|
|
|
|
class BaseRetriever(ABC):
|
|
def __init__(self):
|
|
pass
|
|
|
|
@abstractmethod
|
|
def gen(self, *args, **kwargs):
|
|
pass
|
|
|
|
@abstractmethod
|
|
def search(self, *args, **kwargs):
|
|
pass
|