LanguageModelArgs class
The set of arguments for LanguageModel. The set of arguments for LanguageModel.
Constructors
-
LanguageModelArgs({required Input<
String> baseModelName, required Input<LanguageModelInputDataConfig> inputDataConfig, required Input<String> languageCode, required Input<String> modelName, Input<String?> ? region, Input<Map< ? tags})String, String> ?> -
Creates a new LanguageModelArgs.
baseModelNameName of reference base model.inputDataConfigInput data configuration for the LanguageModel. SeeinputDataConfigBlock for details.languageCodeLanguage code you selected for your language model. Refer to the supported languages page for accepted codes.modelNameModel name.regionRegion where this resource will be managed. Defaults to the Region set in the provider configuration.tagsMap of tags to assign to the LanguageModel. If configured with a providerdefaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.const -
LanguageModelArgs.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
baseModelName
→ Input<
String> -
Name of reference base model.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
inputDataConfig
→ Input<
LanguageModelInputDataConfig> -
Input data configuration for the LanguageModel. See
inputDataConfigBlock for details.final -
languageCode
→ Input<
String> -
Language code you selected for your language model. Refer to the supported languages page for accepted codes.
final
-
modelName
→ Input<
String> -
Model name.
final
-
region
→ Input<
String?> ? -
Region where this resource will be managed. Defaults to the Region set in the provider configuration.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
Map of tags to assign to the LanguageModel. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited