How to fine-tune LLMs for better RAG performance

Retrieval Augmented Fine Tuning (RAFT) combines supervised fine-tuning with RAG to improve LLM domain knoweldge and ability to use in-context documents.