The client folder contains the front end, developed in Svelte with TypeScript and styled using Tailwind CSS. To start the front end:
- Install the dependencies:
npm install. - Configure the necessary environment variables (see below).
- Launch the application:
npm run dev. - The API is accessible by default via the URL
http://localhost:5173.
The server folder contains the backend, developed with Express in TypeScript. It communicates with a MongoDB database and makes local calls to a Mistral AI model via Ollama:
-
Installez et lancez MongoDB Community
-
Installer Ollama :
curl https://ollama.ai/install.sh | shet lancez Mistral7B dessusollama run mistral -
Installez les dépendances :
npm install. -
Configurez les variables d'environnement nécessaires (voir ci-dessous).
-
Lancez le serveur :
npm run start. -
L'api est accessible par default via l'URL
http://localhost:3000 -
Install and launch MongoDB Community.
-
Install Ollama: curl https://ollama.ai/install.sh | sh and run Mistral7B on it ollama run mistral.
-
Install the dependencies: npm install.
-
Configure the necessary environment variables (see below).
-
Launch the server: npm run start.
-
The API is accessible by default via the URL http://localhost:3000.
Ensure you configure the environment variables contained in the .env.example in a personal .env file:
The backend makes local calls to Ollama. Ensure that the OllamaBot is properly installed and functioning on the port specified in the environment variables.
- Leo Outmizguine
- Timothe Jaquot
- Luan Bourbier
- Pablo Peiro
To see a demonstration of the application in action, you can view the video here:
.gif)