Skip to content

Commit

Permalink
Merge pull request #18 from cyrannano/illm-import-fix
Browse files Browse the repository at this point in the history
Reorganize and clarify ILlm imports across llms
  • Loading branch information
Sammindinventory authored Aug 23, 2024
2 parents 6215f58 + 9b9a66e commit 8c6a90a
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion mindsql/llms/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from .illm import ILlm
from .anthropic import AnthropicAi
from .googlegenai import GoogleGenAi
from .huggingface import HuggingFace
from .illm import ILlm
from .llama import LlamaCpp
from .open_ai import OpenAi
2 changes: 1 addition & 1 deletion mindsql/llms/anthropic.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from anthropic import Anthropic

from . import ILlm
from .illm import ILlm
from .._utils.constants import ANTHROPIC_VALUE_ERROR, PROMPT_EMPTY_EXCEPTION


Expand Down
2 changes: 1 addition & 1 deletion mindsql/llms/googlegenai.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import google.generativeai as genai

from .._utils.constants import GOOGLE_GEN_AI_VALUE_ERROR, GOOGLE_GEN_AI_APIKEY_ERROR
from . import ILlm
from .illm import ILlm


class GoogleGenAi(ILlm):
Expand Down
2 changes: 1 addition & 1 deletion mindsql/llms/open_ai.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from openai import OpenAI

from . import ILlm
from .illm import ILlm
from .._utils.constants import OPENAI_VALUE_ERROR, PROMPT_EMPTY_EXCEPTION


Expand Down

0 comments on commit 8c6a90a

Please sign in to comment.