Databricks Generative AI Engineer Associate Question 69
Select 3You are designing a Retrieval-Augmented Generation (RAG) application for a company that provides legal advice. The application needs to generate accurate responses based on existing legal documents. Which source documents should you prioritize to ensure high-quality and reliable knowledge for the application?
- A
Official government legal codes and regulations
- B
Internal legal memos and notes from the company's employees
- C
Verified legal case precedents from reputable sources
- D
Social media posts discussing legal advice
- E
Published legal textbooks and reference guides
- F
Informal blog posts about legal cases from unknown authors
Show answer and explanation
Correct answers: A, C, E
Explanation
To ensure the RAG application generates high-quality and reliable responses, it is critical to use authoritative, verified, and structured sources such as government legal codes, verified case precedents, and published legal textbooks. These sources provide the accuracy and trustworthiness required for legal contexts, while informal or unverified sources like social media posts or unknown blogs should be avoided.
- A. Correct.
Official government legal codes and regulations are authoritative and provide the most reliable and up-to-date legal information, making them essential for a RAG application focused on legal advice.
- B. Incorrect.
Internal legal memos and notes from employees may be useful for internal purposes, but they are less likely to be standardized, verified, or comprehensive enough for generating accurate legal advice.
- C. Correct.
Verified legal case precedents from reputable sources are crucial as they provide real-world examples and interpretations of laws, which are often necessary for legal reasoning.
- D. Incorrect.
Social media posts discussing legal advice are unreliable and lack the authority or accuracy needed for a legal application, as they are often anecdotal or opinion-based.
- E. Correct.
Published legal textbooks and reference guides are typically authored by experts and undergo rigorous editorial review, making them a valuable source of structured and reliable knowledge.
- F. Incorrect.
Informal blog posts about legal cases from unknown authors are not authoritative and may contain errors or lack credibility, making them unsuitable as a primary source for a legal advice application.