A simple client for the mistral.ai chat API, using Next.js and Vercel AI.
mistral-nextjs-client
is a simple interface for interacting with the mistral.ai chat API.
Note: This project is in no way affiliated with mistral.ai.
- Session reset
- Local history storage
- Dark mode
Before running the project, make sure you have pnpm
installed.
git clone https://github.com/yoavf/mistral-nextjs-client.git
cd mistral-nextjs-client
pnpm install
Create a .env
file in the root directory of your project and add your mistral.ai API key:
MISTRAL_API_KEY=your_api_key_here
To start the project locally, run:
pnpm run dev
The project will start on http://localhost:3000.