Sector file // ai-engineering
AI ENGINEERINGDECODED.
Prompts, RAG, agents & evals
Easy
8 questionsWhat is a Large Language Model and how does it generate text?
AI Engineering · 1.1k views · llm, transformer, fundamentals
What belongs in the system prompt versus the user message?
AI Engineering · 795 views · system-prompt, roles, prompting
What are tokens and why do they matter for cost and limits?
AI Engineering · 540 views · tokens, tokenization, pricing
What are evals and why does every LLM feature need them?
AI Engineering · 493 views · evals, testing, quality
What are hallucinations and what causes them?
AI Engineering · 303 views · hallucination, grounding, reliability
AI observability: how do you trace and log LLM calls in prod?
Frontend · 219 views · observability, tracing
How do you choose the right model for a task?
AI Engineering · 110 views · model-selection, routing, cost
When should you use batch APIs instead of real-time LLM calls?
AI Engineering · 107 views · batch-api, cost, async
Medium
23 questionsHow do you build resilient LLM calls with rate limits, retries and fallbacks?
AI Engineering · 1.2k views · rate-limits, retries, fallbacks
How does streaming work in LLM APIs and why does it matter for UX?
AI Engineering · 1.1k views · streaming, sse, latency
How do you get reliable structured JSON output from an LLM?
AI Engineering · 1.1k views · structured-output, json-schema, validation
How do you build a golden dataset for evaluating an LLM feature?
AI Engineering · 1.1k views · golden-dataset, evals, labelling
When do you use code-based graders versus model-based graders?
AI Engineering · 969 views · graders, evals, code-graders
How do multimodal models handle images, audio and other non-text inputs?
AI Engineering · 872 views · multimodal, vision, audio
How do you estimate and control LLM costs in production?
AI Engineering · 831 views · cost, tokens, optimization
Beyond Ragas: how do you eval LLMs with LLM-as-judge, DeepEval, and human eval?
System Design · 830 views · llm-eval, llm-judge
Hard
12 questionsHow do you evaluate a RAG pipeline end to end?
AI Engineering · 1.0k views · rag-evaluation, recall, faithfulness
Guardrails for LLM apps: how do you implement input/output safety in 2025?
System Design · 993 views · guardrails, safety
How do you evaluate and debug agent trajectories?
AI Engineering · 874 views · agent-evals, trajectories, tracing
Why are BLEU and ROUGE poor metrics for LLM outputs, and what replaced them?
AI Engineering · 766 views · metrics, bleu, rouge
How do you version, test and safely roll out prompt changes?
AI Engineering · 661 views · prompt-versioning, evals, deployment
What is prompt injection and how do you defend against it?
AI Engineering · 560 views · prompt-injection, security, guardrails
How do you validate and repair structured LLM output at runtime?
AI Engineering · 480 views · validation, structured-output, repair-loop
Fine-tune vs RAG vs prompt engineering: how do you choose in 2025-26?
System Design · 360 views · finetune, rag
Seen a AI Engineering question that is not here? Add it and help the next candidate.
Share a question