GPAL - Generally Positive Automation Library v1.0
GPAL The Fluent Automation LIbrary
Loading...
Searching...
No Matches
GenerallyPositive.Enums.AIModel Struct Reference

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...

Public Member Functions

override string ToString ()

Static Public Member Functions

static implicit operator AIModel (string modelId)
 Any model ID string, including ones not yet listed above.

Static Public Attributes

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")

Detailed Description

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.

Member Function Documentation

◆ 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 ( )

Definition at line 877 of file Enums.cs.

Member Data Documentation

◆ ClaudeFable5

readonly AIModel GenerallyPositive.Enums.AIModel.ClaudeFable5 = new AIModel("claude-fable-5")
static

Definition at line 872 of file Enums.cs.

◆ ClaudeHaiku45

readonly AIModel GenerallyPositive.Enums.AIModel.ClaudeHaiku45 = new AIModel("claude-haiku-4-5-20251001")
static

Definition at line 869 of file Enums.cs.

◆ ClaudeOpus48

readonly AIModel GenerallyPositive.Enums.AIModel.ClaudeOpus48 = new AIModel("claude-opus-4-8")
static

Definition at line 871 of file Enums.cs.

◆ ClaudeSonnet46

readonly AIModel GenerallyPositive.Enums.AIModel.ClaudeSonnet46 = new AIModel("claude-sonnet-4-6")
static

Definition at line 870 of file Enums.cs.

◆ GPT4o

readonly AIModel GenerallyPositive.Enums.AIModel.GPT4o = new AIModel("gpt-4o")
static

Definition at line 864 of file Enums.cs.

◆ GPT4oMini

readonly AIModel GenerallyPositive.Enums.AIModel.GPT4oMini = new AIModel("gpt-4o-mini")
static

Definition at line 865 of file Enums.cs.

◆ Grok2Latest

readonly AIModel GenerallyPositive.Enums.AIModel.Grok2Latest = new AIModel("grok-2-latest")
static

Definition at line 860 of file Enums.cs.

◆ Grok3Latest

readonly AIModel GenerallyPositive.Enums.AIModel.Grok3Latest = new AIModel("grok-3-latest")
static

Definition at line 861 of file Enums.cs.

◆ O3Mini

readonly AIModel GenerallyPositive.Enums.AIModel.O3Mini = new AIModel("o3-mini")
static

Definition at line 866 of file Enums.cs.


The documentation for this struct was generated from the following file: