Databricks Generative AI Engineer Associate Question 67
Select 3You are tasked with designing a Retrieval-Augmented Generation (RAG) application for a legal firm to assist users in answering legal queries. Which source documents should you prioritize to ensure the RAG system provides accurate and high-quality responses?
- A
Legislation texts and statutes relevant to the firm's jurisdiction
- B
Internal company policies and employee handbooks
- C
Case law and legal precedents from reliable legal databases
- D
Social media posts discussing legal topics
- E
Law firm’s previous case summaries and legal briefs
- F
News articles summarizing recent legal trends
Show answer and explanation
Correct answers: A, C, E
Explanation
To ensure the RAG system provides accurate and high-quality legal responses, it is crucial to prioritize authoritative and domain-specific sources such as legislation texts, case law, and the firm's own legal documents. These sources provide the necessary depth, reliability, and contextual knowledge required for legal applications, unlike less authoritative or unrelated sources like social media or generic news articles.
- A. Correct.
Legislation texts and statutes are foundational for providing accurate and reliable legal information, making them essential for the RAG system.
- B. Incorrect.
Internal company policies are specific to the organization and not directly relevant to general legal knowledge required for a RAG system.
- C. Correct.
Case law and legal precedents are critical for legal reasoning and must be included to ensure the RAG system generates informed answers.
- D. Incorrect.
Social media posts are unreliable and often lack credibility, making them unsuitable as a source for a high-quality RAG system.
- E. Correct.
The firm’s previous case summaries and legal briefs offer valuable domain-specific expertise and context, making them a high-priority source.
- F. Incorrect.
While news articles may provide insights into recent trends, they are not authoritative sources for legal information and may lack depth or accuracy.