COLE / src /model /open_ai_models.py
Yurhu's picture
Initial snapshot upload
75ec748 verified
raw
history blame contribute delete
349 Bytes
from typing import Union, List
from src.model.model import Model
class OpenAIModel(Model):
def infer(
self, prompts: Union[str, List[str]], possible_answers, conditions=None
) -> Union[str, List[str]]:
pass
def generate(self, prompts: List[str], conditions=None) -> Union[str, List[str]]:
pass