Skip to content

yoavf/mistral-nextjs-client

Repository files navigation

mistral-nextjs-client

A simple client for the mistral.ai chat API, using Next.js and Vercel AI.

Description

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.

Screenshot 2023-12-20 at 17 30 28

TODOs

  • Session reset
  • Local history storage
  • Dark mode

Usage

Quickstart

Deploy with Vercel on Vercel

Development

Before running the project, make sure you have pnpm installed.

Setup

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

Running

To start the project locally, run:

pnpm run dev

The project will start on http://localhost:3000.

Releases

No releases published

Packages

No packages published