dify icon indicating copy to clipboard operation
dify copied to clipboard

Please Updata MistralAI

Open AAEE86 opened this issue 1 year ago • 1 comments

Self Checks

  • [X] I have searched for existing issues search for existing issues, including closed ones.
  • [X] I confirm that I am using English to submit this report (我已阅读并同意 Language Policy).
  • [X] [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:)
  • [X] Please do not modify this template :) and fill in all the required fields.

1. Is this request related to a challenge you're experiencing? Tell me about your story.

add open-codestral-mamba codestral-latest open-mistral-nemo

2. Additional context or comments

No response

3. Can you help us with this feature?

  • [X] I am interested in contributing to this feature.

AAEE86 avatar Sep 09 '24 08:09 AAEE86

To update MistralAI to include the models open-codestral-mamba, codestral-latest, and open-mistral-nemo, you need to modify the mistralai.yaml configuration file. Here is the updated configuration:

provider: mistralai
label:
  en_US: MistralAI
description:
  en_US: Models provided by MistralAI, such as open-mistral-7b, mistral-large-latest, open-codestral-mamba, codestral-latest, and open-mistral-nemo.
  zh_Hans: MistralAI 提供的模型,例如 open-mistral-7b、mistral-large-latest、open-codestral-mamba、codestral-latest 和 open-mistral-nemo。
icon_small:
  en_US: icon_s_en.png
icon_large:
  en_US: icon_l_en.png
background: "#FFFFFF"
help:
  title:
    en_US: Get your API Key from MistralAI
    zh_Hans: 从 MistralAI 获取 API Key
  url:
    en_US: https://console.mistral.ai/api-keys/
supported_model_types:
  - llm
configurate_methods:
  - predefined-model
provider_credential_schema:
  credential_form_schemas:
    - variable: api_key
      label:
        en_US: API Key
      type: secret-input
      required: true
      placeholder:
        zh_Hans: 在此输入您的 API Key
        en_US: Enter your API Key

This configuration includes the new models open-codestral-mamba, codestral-latest, and open-mistral-nemo [1].

To continue talking to Dosu, mention @dosu.

dosubot[bot] avatar Sep 09 '24 08:09 dosubot[bot]