Q: Question 1'; 76 | $string['showlabels'] = 'Show labels'; 77 | $string['advanced'] = 'Advanced'; 78 | $string['advanceddesc'] = 'Advanced arguments sent to OpenAI. Don\'t touch unless you know what you\'re doing!'; 79 | $string['allowinstancesettings'] = 'Instance-level settings'; 80 | $string['allowinstancesettingsdesc'] = 'This setting will allow teachers, or anyone with the capability to add a block in a context, to adjust settings at a per-block level. Enabling this could incur additional charges by allowing non-admins to choose higher-cost models or other settings.'; 81 | $string['model'] = 'Model'; 82 | $string['modeldesc'] = 'The model which will generate the completion. Some models are suitable for natural language tasks, others specialize in code.'; 83 | $string['temperature'] = 'Temperature'; 84 | $string['temperaturedesc'] = 'Controls randomness: Lowering results in less random completions. As the temperature approaches zero, the model will become deterministic and repetitive.'; 85 | $string['maxlength'] = 'Maximum length'; 86 | $string['maxlengthdesc'] = 'The maximum number of token to generate. Requests can use up to 2,048 or 4,000 tokens shared between prompt and completion. The exact limit varies by model. (One token is roughly 4 characters for normal English text)'; 87 | $string['topp'] = 'Top P'; 88 | $string['toppdesc'] = 'Controls diversity via nucleus sampling: 0.5 means half of all likelihood-weighted options are considered.'; 89 | $string['frequency'] = 'Frequency penalty'; 90 | $string['frequencydesc'] = 'How much to penalize new tokens based on their existing frequency in the text so far. Decreases the model\'s likelihood to repeat the same line verbatim.'; 91 | $string['presence'] = 'Presence penalty'; 92 | $string['presencedesc'] = 'How much to penalize new tokens based on whether they appear in the text so far. Increases the model\'s likelihood to talk about new topics.'; 93 | 94 | $string['config_assistant'] = "Assistant"; 95 | $string['config_assistant_help'] = "Choose the assistant you would like to use for this block. More assistants can be created in the OpenAI account that this block is configured to use."; 96 | $string['config_sourceoftruth'] = 'Source of truth'; 97 | $string['config_sourceoftruth_help'] = "You can add information here that the AI will pull from when answering questions. The information should be in question and answer format exactly like the following:\n\nQ: When is section 3 due?
A: Answer 1
Q: Question 2
A: Answer 2