
Answer-first summary for fast verification
Answer: Stop sequence
**Explanation:** The **stop sequence** parameter in Amazon Bedrock allows you to specify sequences that, when generated by the model, will cause it to stop generating further text. - **Option C is correct**: The stop sequence parameter is designed exactly for this purpose - to stop generation when certain phrases or sequences are encountered. - **Option A (Temperature)** controls randomness/creativity of the output. - **Option B (Top-p)** controls diversity through nucleus sampling. - **Option D (Context window)** refers to the maximum input length the model can handle. By setting "End of summary" as a stop sequence, the model will automatically stop generating text when it produces that exact phrase, which is useful for structured outputs like summaries.
Author: Jin H
Ultimate access to all questions.
No comments yet.
While using Amazon Bedrock, an AI team wants their model to stop generating text after encountering the phrase "End of summary". Which parameter should they use?
A
Temperature
B
Top-p
C
Stop sequence
D
Context window