LanguageCapabilityStack class
A managed preset ('system' or 'demo') or a custom stack of provider ids from providerCapabilities.
Constructors
- LanguageCapabilityStack.custom({required String stt, required String llm, String? llmFallback, required String tts})
-
const
- LanguageCapabilityStack.demo()
-
const
- LanguageCapabilityStack.fromPreset(String? name)
-
Builds a stack from a preset name ('system', 'demo'); unknown names use 'system'.
factory
- LanguageCapabilityStack.system()
-
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- isCustom → bool
-
no setter
- llm → String
-
final
- llmFallback → String?
-
Optional LLM that supplies captions where llm is below good and this one is good.
final
- preset → String?
-
'system' or 'demo' for a managed preset; null for a custom stack.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- stt → String
-
final
- tts → String
-
final
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