Skip to content

Commit

Permalink
Merge branch 'mistralModels'
Browse files Browse the repository at this point in the history
  • Loading branch information
AAClause committed Mar 16, 2024
2 parents 63ad266 + d09f27c commit 95fabbc
Showing 1 changed file with 25 additions and 7 deletions.
32 changes: 25 additions & 7 deletions addon/globalPlugins/openai/consts.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
# Translators: This is a model description
_("Updated GPT 3.5 Turbo. The latest GPT-3.5 Turbo model with improved instruction following, JSON mode, reproducible outputs, parallel function calling, and more."),
16385,
4096
4096
),
Model(
"OpenAI",
Expand Down Expand Up @@ -109,27 +109,45 @@
),
Model(
"MistralAI",
"mistral-tiny",
"open-mistral-7b",
# Translators: This is a model description
_("aka %s") % "mistral-tiny-2312",
32000,
maxTemperature=1.0,
defaultTemperature=0.7
),
Model(
"MistralAI",
"open-mixtral-8x7b",
# Translators: This is a model description
_("aka %s") % "mistral-small-2312",
32000,
maxTemperature=1.0,
defaultTemperature=0.7
),
Model(
"MistralAI",
"mistral-small-latest",
# Translators: This is a model description
_("Used for large batch processing tasks where cost is a significant factor but reasoning capabilities are not crucial. Uses the Mistral API."),
_("Simple tasks (Classification, Customer Support, or Text Generation)"),
32000,
maxTemperature=1.0,
defaultTemperature=0.7
),
Model(
"MistralAI",
"mistral-small",
"mistral-medium-latest",
# Translators: This is a model description
_("Higher reasoning capabilities and more capabilities. Use the Mistral API."),
_("Intermediate tasks that require moderate reasoning (Data extraction, Summarizing a Document, Writing emails, Writing a Job Description, or Writing Product Descriptions)"),
32000,
maxTemperature=1.0,
defaultTemperature=0.7
),
Model(
"MistralAI",
"mistral-medium",
"mistral-large-latest",
# Translators: This is a model description
_("Internal prototype model. Uses the Mistral API."),
_("Complex tasks that require large reasoning capabilities or are highly specialized (Synthetic Text Generation, Code Generation, RAG, or Agents)"),
32000,
maxTemperature=1.0,
defaultTemperature=0.7
Expand Down

0 comments on commit 95fabbc

Please sign in to comment.