Compare commits

..

5 Commits

View File

@ -21,6 +21,11 @@ class OpenAI(AI):
context (i. e. chat history). The nr. of requested answers context (i. e. chat history). The nr. of requested answers
corresponds to the nr. of messages in the 'AIResponse'. corresponds to the nr. of messages in the 'AIResponse'.
""" """
# TODO:
# * transform given message and chat context into OpenAI format
# * make request
# * create a new Message for each answer and return them
# (writing Messages is done by the calles)
raise NotImplementedError raise NotImplementedError
def models(self) -> list[str]: def models(self) -> list[str]: