Edgio

Mistral

This project is built on Mistral, a platform designed for simplifying the integration of open source AI and machine learning models into applications. The example utilizes React for its user interface and Edgio’s global network for accelerating content delivery and optimized performance.
Ensuring that AI-driven features are seamlessly and efficiently deployed across global scales, Edgio’s edge computing features further reduce latency, improve scalability, and enhance user experiences, making it an ideal complement to Mistral’s developer-centric approach.

Prerequisites

Setup requires:

Install the Edgio CLI

If you have not already done so, install the Edgio CLI.
Bash
1npm i -g @edgio/cli@latest

Getting Started

Clone the edgio-v7-ai-example repo and change to the mistral directory.
Bash
1git clone https://github.com/edgio-docs/edgio-v7-ai-example.git
2cd mistral
Set up environment variables in a .env.local file by copying the .env.example file to .env.local and adding your Mistral API key.
Bash
1cp .env.example .env.local
Install the dependencies.
Bash
1npm i

Deployment

Install the Edgio CLI if you haven’t already. Run your development server with edgio dev:
Bash
1edgio dev
Open http://localhost:3000 with your browser to see the result.
Deploy your project with edgio deploy:
Bash
1edgio deploy