class documentation

class CerebrasAIInterface(AIInterface):

Constructor: CerebrasAIInterface(key, model_name)

View In Hierarchy

Concrete AI interface using Cerebras.

Method __init__ Initializes the Cerebras AI interface.
Method query Undocumented
Instance Variable client Undocumented
Instance Variable model_name Undocumented

Inherited from AIInterface:

Method format_history Format the history list to fit the specific AIInterface used.
def __init__(self, key: str = None, model_name: str = ''):

Initializes the Cerebras AI interface.

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

Undocumented

model_name =

Undocumented