AnP/Python/Drivers/OllamaDriver.py
2026-05-28 07:24:34 +02:00

14 lines
391 B
Python

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