31 lines
508 B
Python
31 lines
508 B
Python
from server.knowledge_base.kb_service.base import KBService
|
|
|
|
|
|
class DefaultKBService(KBService):
|
|
def vs_type(self) -> str:
|
|
return "default"
|
|
|
|
def do_create_kb(self):
|
|
pass
|
|
|
|
def do_init(self):
|
|
pass
|
|
|
|
def do_drop_kb(self):
|
|
pass
|
|
|
|
def do_search(self):
|
|
pass
|
|
|
|
def do_insert_multi_knowledge(self):
|
|
pass
|
|
|
|
def do_insert_one_knowledge(self):
|
|
pass
|
|
|
|
def do_delete_doc(self):
|
|
pass
|
|
|
|
def kb_exists(self):
|
|
return False
|