Skip to content

delmaass/mistral-chat

Repository files navigation

Mistral AI Logo

Mistral Chat


Interface UI

A simple chat interface for Mistral AI's language models. Built with Next.js, Tailwind CSS, and the official Mistral AI TypeScript SDK.

Disclaimer: This project is not production-ready. It is for local use only.

Key Features

  • Chat Completion - Have natural conversations with Mistral AI's language models
  • Streaming - See responses appear in real-time as they're generated
  • Context - Messages are preserved across the conversation for contextual awareness

Getting Started

  1. Clone this repository:
git clone https://github.com/delmaass/mistral-chat.git && cd mistral-chat
  1. Copy .env into .env.local and set your Mistral AI API Key:
cp .env .env.local
  1. Install dependencies & run the development server:
npm i && npm run dev

Open http://localhost:3000 with your browser to see the result.

What's next?

  • Join Mistral AI - Indeed
  • Authentication - Add user authentication and API key management
  • Context & Server Session - Persist context with server-side session
  • Conversations - Persist conversations and switch between them

About

Chat with Mistral AI public API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published