Rag Pipeline refers to a series of processes required to extract information from a set of external documents and produce an AI response. Rag pipelines mostly begin with the processing and storing of documents within a searchable knowledge base. After receiving a query from the user, the query is then transformed to an understandable language to be able to search for the relevant information. The information extracted is provided to the language model for the generation of the AI response.