How to Use a Search API for RAG: Step-by-Step Tutorial