We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 39944e1 commit 21f60b6Copy full SHA for 21f60b6
1 file changed
AIVision/genai.py
@@ -107,6 +107,7 @@ class GenAI:
107
108
Ensure no other text is provided in the response.
109
"""
110
+
111
def __init__(self, platform: Platforms = Platforms.Ollama, base_url: str = None,
112
api_key: str = None, model: str = None, image_detail: str = None,
113
simple_response: bool = True, initialize: bool = True,
@@ -324,7 +325,6 @@ def _encode_image_to_base64(image_path: str) -> str:
324
325
326
return f"data:{mime_type};base64,{image_data}"
327
-
328
@staticmethod
329
def extract_result_and_explanation_from_response(response: str):
330
0 commit comments