Evaluating RAG and Agents