Spaces:
Paused
Paused
Merge branch 'main' of https://github.com/LaFerraille/Gaia_Mistral
Browse files
README.md
CHANGED
@@ -30,30 +30,51 @@ Check out the configuration reference at https://huggingface.co/docs/hub/spaces-
|
|
30 |
- personnalisation du fond de carte IGN (cf. api IGN) ; geopandas pour Python je crois
|
31 |
- data.gouv.fr https://www.data.gouv.fr/fr/reuses/la-carte-interactive-des-types-delevages-et-des-regions-agricoles-en-france/
|
32 |
|
33 |
-
#
|
34 |
|
35 |
-
|
36 |
|
37 |
-
|
38 |
|
39 |
-
|
40 |
|
41 |
-
|
|
|
42 |
|
43 |
-
|
44 |
|
45 |
-
|
46 |
|
47 |
-
|
|
|
48 |
|
49 |
-
|
50 |
|
51 |
-
|
52 |
|
53 |
-
|
54 |
|
55 |
-
|
|
|
|
|
|
|
56 |
|
57 |
-
|
58 |
|
59 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
30 |
- personnalisation du fond de carte IGN (cf. api IGN) ; geopandas pour Python je crois
|
31 |
- data.gouv.fr https://www.data.gouv.fr/fr/reuses/la-carte-interactive-des-types-delevages-et-des-regions-agricoles-en-france/
|
32 |
|
33 |
+
# Gaia Mistral Chat Demo
|
34 |
|
35 |
+
## Introduction
|
36 |
|
37 |
+
This project showcases a simple chatbot application built with Gradio and the Mistral AI API. The chatbot is designed to answer questions related to agriculture. Users can ask questions in French, and the chatbot, powered by the Mistral AI's `mistral` model, will provide responses.
|
38 |
|
39 |
+
## Features
|
40 |
|
41 |
+
- Simple chat interface for querying agricultural topics. (MVP 1)
|
42 |
+
- Interactive map with chatbot experience (MVP 2)
|
43 |
|
44 |
+
## Requirements
|
45 |
|
46 |
+
To run this application, you'll need:
|
47 |
|
48 |
+
- Python 3.6 or later.
|
49 |
+
- An API key from Mistral AI.
|
50 |
|
51 |
+
## Setup
|
52 |
|
53 |
+
1. **Clone the Repository**
|
54 |
|
55 |
+
Start by cloning this repository to your local machine:
|
56 |
|
57 |
+
```bash
|
58 |
+
git clone <repository-url>
|
59 |
+
cd <repository-directory>
|
60 |
+
```
|
61 |
|
62 |
+
2. **Install Dependencies**
|
63 |
|
64 |
+
```bash
|
65 |
+
pip install -r requirements.txt
|
66 |
+
```
|
67 |
+
|
68 |
+
3. **Set Up Your API Key**
|
69 |
+
|
70 |
+
```bash
|
71 |
+
API_KEY=your_mistral_ai_api_key_here
|
72 |
+
```
|
73 |
+
|
74 |
+
## Running the Application
|
75 |
+
|
76 |
+
To launch the chatbot, run the following command in the terminal from the project's root directory:
|
77 |
+
|
78 |
+
```bash
|
79 |
+
python3 app.py
|
80 |
+
```
|