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