Merge pull request #1842 from FlowiseAI/feature/MistralAI

Feature/Update chat mistral
This commit is contained in:
Henry Heng
2024-03-01 01:24:28 +08:00
committed by GitHub
@@ -18,7 +18,7 @@ class ChatMistral_ChatModels implements INode {
constructor() { constructor() {
this.label = 'ChatMistralAI' this.label = 'ChatMistralAI'
this.name = 'chatMistralAI' this.name = 'chatMistralAI'
this.version = 1.0 this.version = 2.0
this.type = 'ChatMistralAI' this.type = 'ChatMistralAI'
this.icon = 'MistralAI.svg' this.icon = 'MistralAI.svg'
this.category = 'Chat Models' this.category = 'Chat Models'
@@ -40,21 +40,9 @@ class ChatMistral_ChatModels implements INode {
{ {
label: 'Model Name', label: 'Model Name',
name: 'modelName', name: 'modelName',
type: 'options', type: 'string',
options: [ description:
{ 'Refer to <a target="_blank" href="https://docs.mistral.ai/guides/model-selection/">Model Selection</a> for more available models',
label: 'mistral-tiny',
name: 'mistral-tiny'
},
{
label: 'mistral-small',
name: 'mistral-small'
},
{
label: 'mistral-medium',
name: 'mistral-medium'
}
],
default: 'mistral-tiny' default: 'mistral-tiny'
}, },
{ {