You are building a generative AI assistant for a financial advisory firm using Azure OpenAI. The assistant must answer questions based on a large repository of internal policy documents that are updated frequently. You need to reduce hallucination and ensure the model cites the most current policy versions. Which approach should you implement?
RAG with Azure AI Search dynamically retrieves the most relevant and current document chunks from an index that can be updated as policies change. By grounding the model's response in retrieved content, it reduces hallucination and enables citation of specific policy versions. This approach is scalable, cost-effective, and aligns with Azure OpenAI best practices for dynamic knowledge bases.
Why this answer
Retrieval-Augmented Generation with Azure AI Search retrieves up-to-date document chunks and injects them into the prompt, grounding the model's responses in current policies and reducing hallucination. This dynamic approach is ideal for frequently updated repositories, as the search index can be refreshed independently of model retraining. Other options either fail to provide current information or increase randomness.
Exam trap
The trap here is assuming that fine-tuning or a larger model automatically ensures up-to-date knowledge, when in fact dynamic retrieval is required for frequently changing documents.