passdrill
AI & LLM Engineering · RAG & Embeddings · Card 001/012 easy

A team wants a support chatbot to answer questions about an internal policy document set that changes weekly. Instead of periodically fine-tuning the model on the updated documents, they build a system that retrieves the most relevant passages from a continuously re-indexed document store and inserts them into the prompt before the model generates its answer. What is the main advantage of this retrieval-augmented approach over repeatedly fine-tuning on the updated documents?

  1. The knowledge base can be kept current by re-indexing the changed documents alone, without retraining or replacing the model's weights, so newly added or edited information becomes available to the chatbot as soon as it is indexed
  2. Fine-tuning is incapable of teaching a model any new factual content, so repeating it on the updated documents would have no effect on the chatbot's answers at all
  3. Retrieval-augmented generation removes the model's context window limit entirely, so an unlimited number of documents can be inserted into every prompt
  4. The passages retrieved from the document store are automatically checked for factual accuracy before being shown to the model, which guarantees the chatbot's answers will never contain unsupported claims
Next card → Shuffle