mirror of
https://github.com/JefferyHcool/BiliNote.git
synced 2026-05-06 20:42:52 +08:00
17 lines
338 B
Python
17 lines
338 B
Python
from abc import ABC,abstractmethod
|
|
|
|
from app.models.gpt_model import GPTSource
|
|
|
|
|
|
class GPT(ABC):
|
|
def summarize(self, source:GPTSource )->str:
|
|
'''
|
|
|
|
:param source:
|
|
:return:
|
|
'''
|
|
pass
|
|
def create_messages(self, segments:list,**kwargs)->list:
|
|
pass
|
|
def list_models(self):
|
|
pass |