2024-01-25 16:35:16 +01:00
|
|
|
import { createBlock } from '@typebot.io/forge'
|
|
|
|
import { MistralLogo } from './logo'
|
|
|
|
import { auth } from './auth'
|
|
|
|
import { createChatCompletion } from './actions/createChatCompletion'
|
2024-06-18 12:13:00 +02:00
|
|
|
import { generateVariables } from './actions/generateVariables'
|
2024-01-25 16:35:16 +01:00
|
|
|
|
2024-03-18 16:09:19 +01:00
|
|
|
export const mistralBlock = createBlock({
|
2024-01-25 16:35:16 +01:00
|
|
|
id: 'mistral',
|
|
|
|
name: 'Mistral',
|
|
|
|
tags: ['ai', 'chat', 'completion'],
|
|
|
|
LightLogo: MistralLogo,
|
|
|
|
auth,
|
2024-06-18 12:13:00 +02:00
|
|
|
actions: [createChatCompletion, generateVariables],
|
2024-01-25 16:35:16 +01:00
|
|
|
docsUrl: 'https://docs.typebot.io/forge/blocks/mistral',
|
|
|
|
})
|