Create vlm/vlm_interface.py
Browse files- vlm/vlm_interface.py +12 -0
vlm/vlm_interface.py
ADDED
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
from abc import ABC, abstractmethod
|
2 |
+
from typing import Any, Optional
|
3 |
+
|
4 |
+
class VLMIterface(ABC):
|
5 |
+
@abstractmethod
|
6 |
+
def execution(self) -> Optional[Any]:
|
7 |
+
"""Method execution VLM model based on Gemini"""
|
8 |
+
pass
|
9 |
+
@abstractmethod
|
10 |
+
def model_name(self) -> str:
|
11 |
+
"""Method for checking model"""
|
12 |
+
pass
|