gpt 5.2
This commit is contained in:
0
.gitignore
vendored
Normal file → Executable file
0
.gitignore
vendored
Normal file → Executable file
0
composer.json
Normal file → Executable file
0
composer.json
Normal file → Executable file
0
mirzaev/neuroseti/system/api.php
Normal file → Executable file
0
mirzaev/neuroseti/system/api.php
Normal file → Executable file
28
mirzaev/neuroseti/system/network.php
Normal file → Executable file
28
mirzaev/neuroseti/system/network.php
Normal file → Executable file
@@ -19,18 +19,23 @@ use mirzaev\neuroseti\api;
|
||||
*/
|
||||
enum network: string
|
||||
{
|
||||
|
||||
// OpenAI GPT-5
|
||||
case gpt_5_2 = 'gpt-5.2';
|
||||
case gpt_5_1 = 'gpt-5.1';
|
||||
case gpt_5_pro = 'gpt-5-pro';
|
||||
case gpt_5_mini = 'gpt-5-mini';
|
||||
case gpt_5_nano = 'gpt-5-nano';
|
||||
case gpt_5 = 'gpt-5';
|
||||
|
||||
// OpenAI GPT-4
|
||||
case gpt_4_1 = 'gpt-4.1';
|
||||
case gpt_4_1_mini = 'gpt-4.1-mini';
|
||||
case gpt_4_1_nano = 'gpt-4.1-nano';
|
||||
case o4_mini = 'o4-mini';
|
||||
|
||||
// OpenAI GPT-5
|
||||
case gpt_5 = 'gpt-5';
|
||||
case gpt_5_mini = 'gpt-5-mini';
|
||||
case gpt_5_nano = 'gpt-5-nano';
|
||||
case gpt_5_pro = 'gpt-5-pro';
|
||||
case gpt_5_1 = 'gpt-5.1';
|
||||
// OpenAI GPT-3
|
||||
case gpt_3_5_turbo = 'gpt-3.5-turbo';
|
||||
|
||||
// OpenAI GPT RealTime
|
||||
case gpt_realtime = 'gpt-realtime';
|
||||
@@ -53,6 +58,8 @@ enum network: string
|
||||
{
|
||||
// Exit (success)
|
||||
return match ($this) {
|
||||
static::gpt_3_5_turbo => 'GPT-3.5 turbo',
|
||||
static::gpt_4_1 => 'GPT-4.1',
|
||||
static::gpt_4_1 => 'GPT-4.1',
|
||||
static::gpt_4_1_mini => 'GPT-4.1 mini',
|
||||
static::gpt_4_1_nano => 'GPT-4.1 nano',
|
||||
@@ -62,12 +69,14 @@ enum network: string
|
||||
static::gpt_5_nano => 'GPT-5 nano',
|
||||
static::gpt_5_pro => 'GPT-5 pro',
|
||||
static::gpt_5_1 => 'GPT-5.1',
|
||||
static::gpt_5_2 => 'GPT-5.2',
|
||||
static::gpt_realtime => 'GPT realtime',
|
||||
static::gpt_realtime_mini => 'GPT realtime mini',
|
||||
static::sora_2 => 'Sora 2',
|
||||
static::sora_2_pro => 'Sora 2 pro',
|
||||
static::gpt_image_1 => 'GPT image 1',
|
||||
static::gpt_image_1_mini => 'GPT image 1 mini'
|
||||
static::gpt_image_1_mini => 'GPT image 1 mini',
|
||||
default => throw new exception_domain('Failed to read label for the neural network: ' . $this->name)
|
||||
};
|
||||
}
|
||||
|
||||
@@ -80,6 +89,7 @@ enum network: string
|
||||
{
|
||||
// Exit (success)
|
||||
return match ($this) {
|
||||
static::gpt_3_5_turbo,
|
||||
static::gpt_4_1,
|
||||
static::gpt_4_1_mini,
|
||||
static::gpt_4_1_nano,
|
||||
@@ -89,13 +99,15 @@ enum network: string
|
||||
static::gpt_5_nano,
|
||||
static::gpt_5_pro,
|
||||
static::gpt_5_1,
|
||||
static::gpt_5_2,
|
||||
static::gpt_realtime,
|
||||
static::gpt_realtime_mini,
|
||||
static::sora_2,
|
||||
static::sora_2_pro,
|
||||
static::gpt_image_1,
|
||||
static::gpt_image_1_mini,
|
||||
=> api::openai
|
||||
=> api::openai,
|
||||
default => throw new exception_domain('Failed to read API for the neural network: ' . $this->name)
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user