Level : Intermediate Time to complete : 10 minutes Components Used : ConditionalRouter , SerperDevWebSearch , ChatPromptBuilder , OpenAIChatGenerator Prerequisites : You must have an OpenAI API Key and a Serper API Key for this tutorial Goal : After completing this tutorial, you’ll have learned how to create an agentic RAG pipeline with conditional routing that can fallback to websearch if the answer is not present in your dataset. Overview When developing applications using retrieval augmented generation ( RAG ) , the retrieval step plays a critical role. It serves as the primary information
Building an Agentic RAG with Fallback to Websearch
calendar_today
November 3, 2026
domain
haystack-archived