To use Mirstalβs models, you will need to get an API Key from Mistral. You can do this from their console.
npm install @llm-tools/embedjs-mistral
import { RAGApplicationBuilder } from '@llm-tools/embedjs'; import { Anthropic } from '@llm-tools/embedjs-mistral'; const app = await new RAGApplicationBuilder() .setModel(new Mistral({ accessToken: "<YOUR_MISTRAL_TOKEN_HERE>", modelName: "..." }))
Was this page helpful?