ModelConfiguration - Amazon Bedrock
Services or capabilities described in AWS documentation might vary by Region. To see the differences applicable to the AWS European Sovereign Cloud Region, see the AWS European Sovereign Cloud User Guide.

ModelConfiguration

Configuration for a model used in advanced prompt optimization.

Contents

modelId

The model ID.

Type: String

Length Constraints: Minimum length of 0. Maximum length of 140.

Pattern: [a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([a-z0-9-]{1,63}[.]){0,2}[a-z0-9-]{1,63}([:][a-z0-9-]{1,63}){0,2}(/[a-z0-9]{12}|)

Required: Yes

additionalModelRequestFields

Additional model-specific request fields.

Type: String to JSON value map

Key Length Constraints: Minimum length of 1. Maximum length of 100.

Required: No

inferenceConfig

The inference configuration for the model.

Type: InferenceConfiguration object

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: