AWS AI Practitioner
A company is building a chatbot. The chatbot uses a large language model (LLM) and answers customer questions about products. The company wants the chatbot to answer only product questions. The company does not want the chatbot to answer questions about other topics. Which solution will meet these requirements with the LEAST operational overhead?
A
Set guardrails on the LLM prompt template.
✓ Correcta
B
Write custom application logic to identify questions about other topics.
C
Reduce the information the LLM can access.
D
Set the temperature parameter value to a lower number.
Explicación
Setting guardrails on the LLM prompt template (using Amazon Bedrock Guardrails or system prompt instructions) restricts the chatbot to only product-related topics with minimal operational overhead. This managed approach requires no custom code and is easier to maintain than custom application logic.