GenAI Basics · Question 11 · Medium

A company's product price list changes every day, and its chatbot must answer price questions accurately. Which approach is most suitable?

  1. Training a new model from scratch every day
  2. Fine-tuning the model on the price list every day
  3. Raising the temperature so that the model guesses better
  4. Retrieval-augmented generation over an up-to-date document store
Answer and explanation

Answer: D. Retrieval-augmented generation over an up-to-date document store

Explanation: RAG fetches the current price list at query time, so updates take effect immediately and answers can cite the source. Fine-tuning is costly to repeat daily and does not reliably store exact facts.

Previous: What is an LLM's context window? · Next: In a transformer model, what does the self-attention mechanism do?

Practise genai basics

Try a fresh set of genai basics questions with an explanation after every answer, free and without signing up: GenAI Basics practice. Or sit a full placement mock test.

More genai basics questions

More technical & programming practice

Pseudo-code · C Programming · Java · Python · Data Structures · Algorithms · Object-Oriented Programming · DBMS

LogicWiz Exams home · All practice topics · Placement mock tests · Daily 10 challenge