1441 |
ariadna |
1 |
<?php
|
|
|
2 |
// This file is part of Moodle - http://moodle.org/
|
|
|
3 |
//
|
|
|
4 |
// Moodle is free software: you can redistribute it and/or modify
|
|
|
5 |
// it under the terms of the GNU General Public License as published by
|
|
|
6 |
// the Free Software Foundation, either version 3 of the License, or
|
|
|
7 |
// (at your option) any later version.
|
|
|
8 |
//
|
|
|
9 |
// Moodle is distributed in the hope that it will be useful,
|
|
|
10 |
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
11 |
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
12 |
// GNU General Public License for more details.
|
|
|
13 |
//
|
|
|
14 |
// You should have received a copy of the GNU General Public License
|
|
|
15 |
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
|
|
|
16 |
|
|
|
17 |
/**
|
|
|
18 |
* Strings for component aiprovider_ollama, language 'en'.
|
|
|
19 |
*
|
|
|
20 |
* @package aiprovider_ollama
|
|
|
21 |
* @copyright 2024 Matt Porritt <matt.porritt@moodle.com>
|
|
|
22 |
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
|
|
23 |
*/
|
|
|
24 |
|
|
|
25 |
$string['action:explain_text:model'] = 'Text explanation model';
|
|
|
26 |
$string['action:explain_text:model_help'] = 'The model used to explain the provided text.';
|
|
|
27 |
$string['action:explain_text:systeminstruction'] = 'System instruction';
|
|
|
28 |
$string['action:explain_text:systeminstruction_help'] = 'This instruction is sent to the AI model along with the user\'s prompt. Editing this instruction is not recommended unless absolutely required.';
|
|
|
29 |
$string['action:generate_text:model'] = 'Text generation model';
|
|
|
30 |
$string['action:generate_text:model_help'] = 'The model used to generate the text response.';
|
|
|
31 |
$string['action:generate_text:systeminstruction'] = 'System instruction';
|
|
|
32 |
$string['action:generate_text:systeminstruction_help'] = 'This instruction is sent to the AI model along with the user\'s prompt. Editing this instruction is not recommended unless absolutely required.';
|
|
|
33 |
$string['action:summarise_text:model'] = 'Text summarisation model';
|
|
|
34 |
$string['action:summarise_text:model_help'] = 'The model used to summarise the provided text.';
|
|
|
35 |
$string['action:summarise_text:systeminstruction'] = 'System instruction';
|
|
|
36 |
$string['action:summarise_text:systeminstruction_help'] = 'This instruction is sent to the AI model along with the user\'s prompt. Editing this instruction is not recommended unless absolutely required.';
|
|
|
37 |
$string['custom_model_name'] = 'Custom model name';
|
|
|
38 |
$string['enablebasicauth'] = 'Enable basic authentication';
|
|
|
39 |
$string['enablebasicauth_help'] = 'Enable basic authentication for the Ollama API provider.';
|
|
|
40 |
$string['endpoint'] = 'API endpoint';
|
|
|
41 |
$string['endpoint_help'] = 'The API endpoint for the Ollama API server.';
|
|
|
42 |
$string['extraparams'] = 'Extra parameters';
|
|
|
43 |
$string['extraparams_help'] = 'Extra parameters can be configured here. We support JSON format. For example:
|
|
|
44 |
<pre>
|
|
|
45 |
{
|
|
|
46 |
"temperature": 0.5,
|
|
|
47 |
"max_tokens": 100
|
|
|
48 |
}
|
|
|
49 |
</pre>';
|
|
|
50 |
$string['invalidjson'] = 'Invalid JSON string';
|
|
|
51 |
$string['password'] = 'Password';
|
|
|
52 |
$string['password_help'] = 'The password used for basic authentication.';
|
|
|
53 |
$string['pluginname'] = 'Ollama API provider';
|
|
|
54 |
$string['privacy:metadata'] = 'The Ollama API provider plugin does not store any personal data.';
|
|
|
55 |
$string['privacy:metadata:aiprovider_ollama:externalpurpose'] = 'This information is sent to the Ollama API in order for a response to be generated. Your Ollama account settings may change how Ollama stores and retains this data. No user data is explicitly sent to Ollama or stored in Moodle LMS by this plugin.';
|
|
|
56 |
$string['privacy:metadata:aiprovider_ollama:model'] = 'The model used to generate the response.';
|
|
|
57 |
$string['privacy:metadata:aiprovider_ollama:prompttext'] = 'The user entered text prompt used to generate the response.';
|
|
|
58 |
$string['settings'] = 'Settings';
|
|
|
59 |
$string['settings_help'] = 'Adjust the settings below to customise how requests are sent to Ollama.';
|
|
|
60 |
$string['settings_mirostat'] = 'Mirostat';
|
|
|
61 |
$string['settings_mirostat_help'] = 'Mirostat is a neural text decoding algorithm for controlling perplexity. 0 = disabled, 1 = Mirostat, 2 = Mirostat 2.0. (Default: 0)';
|
|
|
62 |
$string['settings_seed'] = 'seed';
|
|
|
63 |
$string['settings_seed_help'] = 'Sets the random number seed to use for generation. Setting this to a specific number will make the model generate the same text for the same prompt. (Default: 0)';
|
|
|
64 |
$string['settings_temperature'] = 'temperature';
|
|
|
65 |
$string['settings_temperature_help'] = 'Temperature influences whether the output is more random and creative or more predictable. Increasing the temperature will make the model answer more creatively. (Default: 0.8)';
|
|
|
66 |
$string['settings_top_k'] = 'top_k';
|
|
|
67 |
$string['settings_top_k_help'] = 'Reduces the probability of generating nonsense. A higher value (e.g. 100) will give more diverse answers, while a lower value (e.g. 10) will be more conservative. (Default: 40)';
|
|
|
68 |
$string['settings_top_p'] = 'top_p';
|
|
|
69 |
$string['settings_top_p_help'] = 'Works together with top-k. A higher value (e.g. 0.95) will lead to more diverse text, while a lower value (e.g. 0.5) will generate more focused and conservative text. (Default: 0.9)';
|
|
|
70 |
$string['username'] = 'Username';
|
|
|
71 |
$string['username_help'] = 'The username used for basic authentication.';
|