
Answer-first summary for fast verification
Answer: Maximum length of generated output tokens
The maxTokens parameter in Amazon Bedrock controls the maximum length of the generated output in tokens. Setting it to 256 means the model will generate no more than 256 tokens in its response. This helps control the length of generated content and prevents excessively long outputs.
Author: Ritesh Yadav
Ultimate access to all questions.
A developer using Bedrock sets the maxTokens parameter to 256. What does this configuration control?
A
Maximum number of input words allowed
B
Maximum length of generated output tokens
C
Total size of both prompt and completion combined
D
Model's vocabulary size
No comments yet.