class documentation
Concrete AI interface using Ollama.
| Method | __init__ |
Initializes the Ollama AI interface with a model name. |
| Method | query |
Undocumented |
| Instance Variable | model |
Undocumented |
Inherited from AIInterface:
| Method | format |
Format the history list to fit the specific AIInterface used. |
Initializes the Ollama AI interface with a model name. Args: model_name (str): The name of the Ollama model to use.
def query(self, query:
str, history: list[ dict[ str, str]] = None, metadatas: dict = None) -> AIStreamResponse:
¶
Undocumented