Update ollama.py

This commit is contained in:
Kurt Heiden
2024-10-29 08:44:19 -06:00
parent abdac66fee
commit 8ed065836a
+3 -1
View File
@@ -1,5 +1,6 @@
import ollama as ol
from ._base import BaseProvider
from ..settings import settings
PROVIDER_NAME = "ollama"
@@ -9,7 +10,8 @@ NOT_IMPLEMENTED_REASON = """
# TODO: instructor does not natively support ollama.
# Alternate python dependency may be required
"""
class Ollama:
class Ollama(BaseProvider):
NAME = PROVIDER_NAME
DEFAULT_MODEL = DEFAULT_MODEL