Mistral AI Javascript client updated to be compatible with NextJS/Edge, to interact with the Mistral AI API.
Embeddings and chat completion endpoints are supported for NextJS.
Axios has been replaced with the native fetch API.
You can install the library in your project using:
npm install mistralai-edge