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.
- An Edgio account. Sign up for free.
- An Edgio property. Learn how to create a property.
- Node.js. View supported versions and installation steps.
- Edgio CLI.
If you have not already done so, install the Edgio CLI.
1npm i -g @edgio/cli@latest
edgio-v7-ai-example repo and change to the
1git clone https://github.com/edgio-docs/edgio-v7-ai-example.git2cd 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.
1cp .env.example .env.local
Install the dependencies.
Install the Edgio CLI if you haven’t already. Run your development server with
Open http://localhost:3000 with your browser to see the result.
Deploy your project with