Skip to content

Commit

Permalink
chore: update llm from github models provider
Browse files Browse the repository at this point in the history
  • Loading branch information
CNSeniorious000 committed Feb 19, 2025
1 parent 5942d55 commit 42f3f35
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/utils/llm/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,14 @@
"azure:gpt-4o-mini",
"azure:o1",
"azure:o1-mini",
"azure:o3-mini",
"azure:o1-preview",
"Mistral-Nemo",
"Mistral-large",
"Mistral-large-2407",
"Mistral-large-2411",
"Mistral-small",
"Codestral-2501",
"Ministral-3B",
"Meta-Llama-3.1-405B-Instruct",
"Meta-Llama-3.1-70B-Instruct",
Expand All @@ -54,6 +56,7 @@
"Cohere-command-r-08-2024",
"AI21-Jamba-1.5-Large",
"AI21-Jamba-1.5-Mini",
"Phi-4",
"Phi-3.5-MoE-instruct",
"Phi-3.5-mini-instruct",
"Phi-3-medium-128k-instruct",
Expand All @@ -62,6 +65,7 @@
"Phi-3-mini-4k-instruct",
"Phi-3-small-128k-instruct",
"Phi-3-small-8k-instruct",
"DeepSeek-R1",
"chatglm_turbo",
"claude-instant-1.2",
"claude-2.1",
Expand Down
3 changes: 3 additions & 0 deletions src/utils/llm/azure.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,16 @@


@link_llm("azure:o1")
@link_llm("azure:o3")
@link_llm("azure:gpt")
@link_llm("Ministral")
@link_llm("Codestral")
@link_llm("Mistral")
@link_llm("Meta")
@link_llm("Cohere")
@link_llm("AI21")
@link_llm("Phi")
@link_llm("DeepSeek")
class AzureOpenAI(AsyncChatOpenAI):
@staticmethod
async def generate(prompt, **kwargs):
Expand Down

0 comments on commit 42f3f35

Please sign in to comment.