-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
7c53184
commit 63aaf03
Showing
8 changed files
with
53 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,21 @@ | ||
from llm.wrapper.model import LanguageModel | ||
from llm.wrapper.openai_completion import NativeOpenAICompletionModel, AzureOpenAICompletionModel | ||
from llm.wrapper.openai_completion import ( | ||
NativeOpenAICompletionModel, | ||
AzureOpenAICompletionModel, | ||
) | ||
from llm.wrapper.openai_chat import NativeOpenAIChatModel, AzureOpenAIChatModel | ||
from llm.wrapper.openai_embeddings import NativeOpenAIEmbeddingModel, AzureOpenAIEmbeddingModel | ||
from llm.wrapper.openai_embeddings import ( | ||
NativeOpenAIEmbeddingModel, | ||
AzureOpenAIEmbeddingModel, | ||
) | ||
from llm.wrapper.ollama import OllamaModel | ||
|
||
type AnyLLM = ( | ||
NativeOpenAICompletionModel | ||
| AzureOpenAICompletionModel | ||
| NativeOpenAIChatModel | ||
| AzureOpenAIChatModel | ||
| NativeOpenAIEmbeddingModel | ||
| AzureOpenAIEmbeddingModel | ||
| OllamaModel | ||
NativeOpenAICompletionModel | ||
| AzureOpenAICompletionModel | ||
| NativeOpenAIChatModel | ||
| AzureOpenAIChatModel | ||
| NativeOpenAIEmbeddingModel | ||
| AzureOpenAIEmbeddingModel | ||
| OllamaModel | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters