
Ultimate access to all questions.
Deep dive into the quiz with AI chat providers.
We prepare a focused prompt with your quiz and certificate details so each AI can offer a more tailored, in-depth explanation.
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
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.