Databricks Certified Generative AI Engineer Associate — Question 53
Generative AI Engineer is building a RAG application that answers questions about technology-related news articles. The source documents may contain a significant amount of irrelevant content, such as advertisements, sports news, or entertainment news.
Which approach is NOT advisable for building a RAG application focused on answering technology-only questions?
Answer options
- A. Include in the system prompt that the application is not supposed to answer any questions unrelated to technology.
- B. Filter out irrelevant news articles in the retrieval process.
- C. Keep all news articles because the RAG application needs to understand non-technological content to avoid answering questions about them.
- D. Filter out irrelevant news articles in the upstream document database.
Correct answer: C
Explanation
Option C is incorrect because keeping all news articles, including irrelevant ones, would confuse the RAG application and lead to incorrect responses. Options A, B, and D are sensible strategies; they ensure the application focuses solely on technology-related content and improves the quality of answers.