InvokeModelRequest
class InvokeModelRequest
Types
Properties
Link copied to clipboard
The prompt and inference parameters in the format specified in the contentType
in the header. You must provide the body in JSON format. To see the format and content of the request and response bodies for different models, refer to Inference parameters. For more information, see Run inference in the Bedrock User Guide.
Link copied to clipboard
The MIME type of the input data in the request. You must specify application/json
.
Link copied to clipboard
The unique identifier of the guardrail that you want to use. If you don't provide a value, no guardrail is applied to the invocation.
Link copied to clipboard
The version number for the guardrail. The value can also be DRAFT
.
Link copied to clipboard
Model performance settings for the request.