Model enum
Enum representing the available models.
Values
- gemini10Pro → const Model
-
const Model('gemini-1.0-pro', 'Gemini 1.0 Pro')
- gemini15Pro → const Model
-
const Model('gemini-1.5-pro', 'Gemini 1.5 Pro')
- gemini15Flash → const Model
-
const Model('gemini-1.5-flash', 'Gemini 1.5 Flash')
- gpt35Turbo → const Model
-
const Model('gpt-3.5-turbo', 'GPT-3.5 Turbo')
- gpt4 → const Model
-
const Model('gpt-4', 'GPT-4')
- gpt4Turbo → const Model
-
const Model('gpt-4-turbo', 'GPT-4 Turbo')
- gpt4O → const Model
-
const Model('gpt-4o', 'GPT-4o')
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- key → String
-
final
- name → String
-
final
-
providers
→ List<
ModelProvider> -
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited