Skip to content
Snippets Groups Projects
Commit b77fd05c authored by mindaugasd's avatar mindaugasd
Browse files

Issue #3422115 by mindaugasd: Example backend: add latest openai model(s): provide finetuning

parent 3b621d93
No related branches found
No related tags found
No related merge requests found
Pipeline #146317 passed with warnings
......@@ -144,8 +144,13 @@ class DefaultBackend extends AIChatBackendBase {
'#type' => 'select',
'#title' => $this->t('Model'),
'#options' => [
'gpt-4-turbo-preview' => 'gpt-4-turbo-preview',
'gpt-3.5-turbo' => 'gpt-3.5-turbo'
'gpt-4-turbo-preview' => 'gpt-4-turbo-preview (pointing to the latest model)',
'gpt-3.5-turbo' => 'gpt-3.5-turbo (less expensive)',
'gpt-4-turbo-2024-04-09' => 'gpt-4-turbo-2024-04-09',
'gpt-4-0125-preview' => 'gpt-4-0125-preview',
'gpt-4-1106-preview' => 'gpt-4-1106-preview',
'gpt-4' => 'gpt-4 (old, not recommended)',
'gpt-4-0613' => 'gpt-4-0613 (old, not recommended)',
],
'#required' => TRUE,
'#default_value' => $this->getBackendConfigurationValue('model')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment