
Explanation:
When selecting a foundation model on Amazon Bedrock for a generative AI application, the context window is the critical factor that determines the maximum amount of information that can be included in a single prompt.
The context window defines the maximum number of tokens (words, characters, or subwords) that a foundation model can process in a single input prompt. This includes both the input provided by the user and the model's generated output. In Amazon Bedrock, different foundation models have varying context window sizes, which directly impacts how much contextual information can be provided in a prompt.
For example:
This parameter is essential for applications that require processing lengthy documents, maintaining conversation history, or providing extensive background information to guide the model's responses.
A. Temperature - This parameter controls the randomness and creativity of the model's output. Higher temperature values produce more diverse and creative responses, while lower values yield more predictable, deterministic outputs. Temperature affects output quality and style, not input capacity.
C. Batch Size - This refers to the number of prompts processed simultaneously during inference. While batch size affects throughput and computational efficiency, it doesn't determine how much information can fit into an individual prompt. It's an optimization parameter for handling multiple requests efficiently.
D. Model Size - This typically refers to the number of parameters in the model architecture. While larger models often have greater capabilities and may correlate with larger context windows, model size itself doesn't define input capacity. Model size primarily affects performance characteristics, training requirements, and inference costs.
When evaluating foundation models on Amazon Bedrock for generative AI applications, companies should:
The context window is therefore the fundamental consideration for determining prompt capacity, making option B the optimal choice for this scenario.
Ultimate access to all questions.
No comments yet.
When selecting a foundation model on Amazon Bedrock for a generative AI application, which factor should the company evaluate to determine the maximum amount of information that can be included in a single prompt?
A
Temperature
B
Context window
C
Batch size
D
Model size