Model ID to request from the AI provider via GPAL.AI.WithModel. Acts like an enum of well-known model IDs per provider, but also accepts any freehand string (e.g. a brand new model release that predates this enum) via an implicit conversion from string.
More...
|
| static implicit | operator AIModel (string modelId) |
| | Any model ID string, including ones not yet listed above.
|
|
| static readonly AIModel | Grok2Latest = new AIModel("grok-2-latest") |
| static readonly AIModel | Grok3Latest = new AIModel("grok-3-latest") |
| static readonly AIModel | GPT4o = new AIModel("gpt-4o") |
| static readonly AIModel | GPT4oMini = new AIModel("gpt-4o-mini") |
| static readonly AIModel | O3Mini = new AIModel("o3-mini") |
| static readonly AIModel | ClaudeHaiku45 = new AIModel("claude-haiku-4-5-20251001") |
| static readonly AIModel | ClaudeSonnet46 = new AIModel("claude-sonnet-4-6") |
| static readonly AIModel | ClaudeOpus48 = new AIModel("claude-opus-4-8") |
| static readonly AIModel | ClaudeFable5 = new AIModel("claude-fable-5") |
Model ID to request from the AI provider via GPAL.AI.WithModel. Acts like an enum of well-known model IDs per provider, but also accepts any freehand string (e.g. a brand new model release that predates this enum) via an implicit conversion from string.
Definition at line 853 of file Enums.cs.
◆ operator AIModel()
| implicit GenerallyPositive.Enums.AIModel.operator AIModel |
( |
string | modelId | ) |
|
|
static |
Any model ID string, including ones not yet listed above.
Definition at line 875 of file Enums.cs.
◆ ToString()
| override string GenerallyPositive.Enums.AIModel.ToString |
( |
| ) |
|
◆ ClaudeFable5
| readonly AIModel GenerallyPositive.Enums.AIModel.ClaudeFable5 = new AIModel("claude-fable-5") |
|
static |
◆ ClaudeHaiku45
| readonly AIModel GenerallyPositive.Enums.AIModel.ClaudeHaiku45 = new AIModel("claude-haiku-4-5-20251001") |
|
static |
◆ ClaudeOpus48
| readonly AIModel GenerallyPositive.Enums.AIModel.ClaudeOpus48 = new AIModel("claude-opus-4-8") |
|
static |
◆ ClaudeSonnet46
| readonly AIModel GenerallyPositive.Enums.AIModel.ClaudeSonnet46 = new AIModel("claude-sonnet-4-6") |
|
static |
◆ GPT4o
| readonly AIModel GenerallyPositive.Enums.AIModel.GPT4o = new AIModel("gpt-4o") |
|
static |
◆ GPT4oMini
| readonly AIModel GenerallyPositive.Enums.AIModel.GPT4oMini = new AIModel("gpt-4o-mini") |
|
static |
◆ Grok2Latest
| readonly AIModel GenerallyPositive.Enums.AIModel.Grok2Latest = new AIModel("grok-2-latest") |
|
static |
◆ Grok3Latest
| readonly AIModel GenerallyPositive.Enums.AIModel.Grok3Latest = new AIModel("grok-3-latest") |
|
static |
◆ O3Mini
| readonly AIModel GenerallyPositive.Enums.AIModel.O3Mini = new AIModel("o3-mini") |
|
static |
The documentation for this struct was generated from the following file: