Databricks Certified Generative AI Engineer Associate — Question 7
A Generative AI Engineer is developing a chatbot designed to assist users with insurance-related queries. The chatbot is built on a large language model (LLM) and is conversational. However, to maintain the chatbot’s focus and to comply with company policy, it must not provide responses to questions about politics. Instead, when presented with political inquiries, the chatbot should respond with a standard message:
“Sorry, I cannot answer that. I am a chatbot that can only answer questions around insurance.”
Which framework type should be implemented to solve this?
Answer options
- A. Safety Guardrail
- B. Security Guardrail
- C. Contextual Guardrail
- D. Compliance Guardrail
Correct answer: A
Explanation
The correct answer is A, Safety Guardrail, as it focuses on ensuring that the chatbot remains on topic and avoids inappropriate subjects like politics. The other options, such as Security Guardrail, are primarily concerned with protecting data and systems, while Contextual and Compliance Guardrails do not specifically address the need to filter out political content.