
Explanation:
Explanation:
The maxTokens parameter in Amazon Bedrock controls the maximum number of tokens that can be generated in the model's output (completion).
Setting maxTokens to 256 ensures that the generated response will not exceed 256 tokens, which is useful for controlling response length and managing costs.
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.