class documentation

Abstract base class for AI interfaces.

Method format_history Format the history list to fit the specific AIInterface used.
Method query Undocumented
def format_history(self, history: list[dict[str, str]]):

Format the history list to fit the specific AIInterface used.

@abstractmethod
def query(self, prompt: str, history: list[dict[str, str]] = None, metadatas: dict = None):