Skip to content

themataleao/mistralai-client-ts

Repository files navigation

TS Mistral AI Library

This repo is based on the javascript library made by Mistral AI

 Installing the library

npm i @ai-utils/mistral

Run the example files locally and test the library

  1. link the library (run in root directory)
npm link
  1. install in examples library
cd examples && npm link @ai-utils/mistral
  1. run the example files
npx ts-node embeddings.ts

 Build the library

pnpm run build

Build the library for publishing on npm

Add a changeset

pnpm changeset

Based on the changeset github will automatically create a PR with the new release of the library.