-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathConfig.php
More file actions
36 lines (33 loc) · 1.06 KB
/
Config.php
File metadata and controls
36 lines (33 loc) · 1.06 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
<?php
/**
* Matomo - free/libre analytics platform
*
* @link https://matomo.org
* @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
*/
namespace Piwik\Plugins\MistralAI;
/**
* Configuration constants and static data for MistralAI plugin.
* This class has no dependencies to avoid circular loading issues.
*/
class Config
{
public const DEFAULT_HOST = 'https://api.mistral.ai/v1/chat/completions';
public const DEFAULT_MODEL = 'mistral-medium-latest';
/**
* Returns the list of available preset models
*/
public static function getAvailableModels(): array
{
return [
'mistral-large-latest' => 'Mistral Large',
'mistral-medium-latest' => 'Mistral Medium',
'mistral-small-latest' => 'Mistral Small',
'open-mistral-nemo' => 'Open Mistral Nemo',
'codestral-latest' => 'Codestral',
'pixtral-large-latest' => 'Pixtral Large',
'ministral-8b-latest' => 'Ministral 8B',
'ministral-3b-latest' => 'Ministral 3B',
];
}
}