PromptModelInferenceConfiguration
¶
Source code in docs_src/capo_bedrock_agent/types/prompt_model_inference_configuration.py
max_tokens
instance-attribute
¶
max_tokens: NotRequired[MaximumLength]
The maximum number of tokens to return in the response.
stop_sequences
instance-attribute
¶
stop_sequences: NotRequired[StopSequences]
A list of strings that define sequences after which the model will stop generating.
temperature
instance-attribute
¶
temperature: NotRequired[Temperature]
Controls the randomness of the response. Choose a lower value for more predictable outputs and a higher value for more surprising outputs.