How would you build a system for evaluating the quality of a generator, agents, and pipelines? Have you ever configured such a system?
Asked at
AI answer
I would build a multi-level evaluation using a fixed set of representative tasks: unit tests for components, integration tests for the pipeline, and end-to-end scenarios. For the generator, I would measure factual accuracy, completeness, faithfulness to sources, citation quality, and appropriate refusal; for retrieval, the recall and precision of the evidence retrieved; and for agents, task success, correctness of tool selection, number of steps, errors, and compliance with constraints. For the pipeline, I would also measure latency, cost, and resilience to failures. I would supplement automated metrics with blind expert review and calibration of automated judges. All runs should be reproducible: version the dataset, prompts, models, and configuration; save traces; compare against a baseline; and run regression checks when changes are made. If you have configured such a system, describe a specific set of metrics, the annotation process, and an example of an improvement; otherwise, honestly describe the proposed approach.
Also asked at Т1
- What enables the OpenSearch engine to return results quickly across a huge database (what algorithm is it based on)?
- How can you tell that a service is showing signs of degradation or has stopped functioning? What error codes would you expect?
- Why is Object Storage used in this architecture, and what exactly do we store there?
- Based on your experience, name an example of a task similar to the architecture we discussed. How exactly were the microservices interactions and event delivery set up?
- How would you handle user authorization when they sign in to the interface and upload documents?
Similar questions
- How would you build a system for evaluating the quality of a RAG pipeline and agents, including comparing versions when chunking changes and finding facts without using LLM-as-a-judge?
- Could you tell me how you tested and evaluated the quality of an AI system?
- Give examples of deploying AI agents to production: what exactly did you do on your own or as part of a team?
- How often do you use LLMs in your production workflow? Do you write code with their help?
- How would you create a chunking-agnostic eval benchmark (a benchmark that does not depend on how the text is split into chunks)?