14 lines
391 B
Python
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 |