MarkPiq commited on
Commit
52abfb2
·
1 Parent(s): a4e8c04

changement .env

Browse files
Files changed (1) hide show
  1. mistral.ipynb +21 -16
mistral.ipynb CHANGED
@@ -4,32 +4,37 @@
4
  "cell_type": "code",
5
  "execution_count": 1,
6
  "metadata": {},
 
 
 
 
 
 
 
 
 
 
 
7
  "outputs": [
8
  {
9
  "name": "stdout",
10
  "output_type": "stream",
11
  "text": [
12
- "It is subjective to determine the \"best\" French cheese as it depends on personal preferences. Here are a few famous French cheeses that are highly regarded and beloved by many:\n",
13
  "\n",
14
- "1. Roquefort: A blue-veined cheese originating from the Massif Central region in France. It is made from sheep's milk and has a strong, pungent taste and a distinctive vegetal aftertaste.\n",
 
 
 
 
 
 
15
  "\n",
16
- "2. Camembert: A soft, creamy, and tangy cheese from Normandy. It is made from cow's milk and is known for its distinctive white mold rind.\n",
17
- "\n",
18
- "3. Comté: A firm, nutty, and slightly sweet cheese from the Franche-Comté region in eastern France. It is made from unpasteurized cow's milk and is often referred to as the \"King of French Cheeses.\"\n",
19
- "\n",
20
- "4. Brie de Meaux: A soft, creamy, and buttery cheese from the Île-de-France region. It is made from cow's milk and is known for its edible white rind and mild, velvety flavor.\n",
21
- "\n",
22
- "5. Munster: A smelly, soft, and runny cheese from the Alsace region, near the German border. It is made from cow's milk and has a pungent, sulfurous aroma and a strong, tangy flavor.\n",
23
- "\n",
24
- "Ultimately, the best French cheese for you will depend on your personal taste preferences and dietary restrictions. It's always a good idea to try a variety of French cheeses to find your favorite.\n"
25
  ]
26
  }
27
  ],
28
  "source": [
29
- "from mistralai.client import MistralClient\n",
30
- "from mistralai.models.chat_completion import ChatMessage\n",
31
- "import os\n",
32
- "\n",
33
  "api_key = os.environ['API_KEY']\n",
34
  "model = \"mistral-tiny\"\n",
35
  "\n",
@@ -65,7 +70,7 @@
65
  "name": "python",
66
  "nbconvert_exporter": "python",
67
  "pygments_lexer": "ipython3",
68
- "version": "3.11.5"
69
  }
70
  },
71
  "nbformat": 4,
 
4
  "cell_type": "code",
5
  "execution_count": 1,
6
  "metadata": {},
7
+ "outputs": [],
8
+ "source": [
9
+ "from mistralai.client import MistralClient\n",
10
+ "from mistralai.models.chat_completion import ChatMessage\n",
11
+ "import os"
12
+ ]
13
+ },
14
+ {
15
+ "cell_type": "code",
16
+ "execution_count": 2,
17
+ "metadata": {},
18
  "outputs": [
19
  {
20
  "name": "stdout",
21
  "output_type": "stream",
22
  "text": [
23
+ "The term \"best\" can be subjective as it depends on personal preferences, as French cheese comes in a wide variety of types, textures, and flavors. Here are some famous and beloved French cheeses that you may want to try:\n",
24
  "\n",
25
+ "1. Roquefort: A blue-veined sheep's milk cheese from the Massif Central region of France, known for its pungent, tangy flavor and creamy texture.\n",
26
+ "2. Camembert: A soft, white, surface-ripened cow's milk cheese from Normandy, characterized by its earthy, mushroomy, and slightly sour taste.\n",
27
+ "3. Brie de Meaux: A soft, creamy cow's milk cheese with a white rind, originating from the Marne region, known for its mild, buttery, and slightly sweet flavor.\n",
28
+ "4. Comté: A hard, nutty, and slightly sweet cow's milk cheese from the Franche-Comté region, with a complex, rich, and savory taste.\n",
29
+ "5. Munster: A soft, pungent, smelly cow's milk cheese from Alsace, known for its strong, distinctive aroma and flavor, with hints of garlic and onion.\n",
30
+ "6. Époisses: A soft, pungent, and runny cow's milk cheese from Burgundy, famous for its strong, ammonia-like smell and rich, buttery taste.\n",
31
+ "7. Chaource: A soft, white, surface-ripened cow's milk cheese from the Île-de-France region, with a mild, buttery, and slightly tangy flavor.\n",
32
  "\n",
33
+ "Ultimately, the best French cheese for you depends on your personal taste preferences. You might want to try a few different types to find the one that suits you best.\n"
 
 
 
 
 
 
 
 
34
  ]
35
  }
36
  ],
37
  "source": [
 
 
 
 
38
  "api_key = os.environ['API_KEY']\n",
39
  "model = \"mistral-tiny\"\n",
40
  "\n",
 
70
  "name": "python",
71
  "nbconvert_exporter": "python",
72
  "pygments_lexer": "ipython3",
73
+ "version": "3.11.4"
74
  }
75
  },
76
  "nbformat": 4,