Built in
Mistral
To use Mirstalβs models, you will need to get an API Key from Mistral. You can do this from their console.
Install Mistral addon
npm install @llm-tools/embedjs-mistral
Usage
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?