Pregunta de entrevista de EPAM Systems

How do you debug a RAG pipeline and measure its performance? Also, explain the difference between LangChain and LangGraph with an example.