AnP/Python/Drivers/OllamaDriver.py

14 lines
358 B
Python

#!/usr/bin/env python3
# -*- coding: utf-8 -*-
from typing import Any, Optional, Self, Sequence
from Interfaces.Application.AnPInterface import AnPInterface
class OllamaDriver:
def __init__(self:Self,
anp:AnPInterface,
inputs:Optional[dict[str, Any|None]|Sequence[Any|None]] = None
) -> None:
self.anp:AnPInterface = anp