-
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
Showing
8 changed files
with
106 additions
and
179 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,24 @@ | ||
from llm.wrapper.abstract_llm_wrapper import * | ||
from llm.wrapper.open_ai_completion_wrapper import * | ||
from llm.wrapper.open_ai_chat_wrapper import * | ||
from llm.wrapper.open_ai_embedding_wrapper import * | ||
from llm.wrapper.abstract_llm_wrapper import AbstractLlmWrapper | ||
from llm.wrapper.open_ai_completion_wrapper import ( | ||
OpenAICompletionWrapper, | ||
AzureCompletionWrapper, | ||
) | ||
from llm.wrapper.open_ai_chat_wrapper import ( | ||
OpenAIChatCompletionWrapper, | ||
AzureChatCompletionWrapper, | ||
) | ||
from llm.wrapper.open_ai_embedding_wrapper import ( | ||
OpenAIEmbeddingWrapper, | ||
AzureEmbeddingWrapper, | ||
) | ||
from llm.wrapper.ollama_wrapper import OllamaWrapper | ||
|
||
type LlmWrapper = ( | ||
OpenAICompletionWrapper | ||
| AzureCompletionWrapper | ||
| OpenAIChatCompletionWrapper | ||
| AzureChatCompletionWrapper | ||
| OpenAIEmbeddingWrapper | ||
| AzureEmbeddingWrapper | ||
| OllamaWrapper | ||
) |
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
Oops, something went wrong.