Sector file // ai-engineering
AI ENGINEERINGDECODED.
Prompts, RAG, agents & evals
Easy
15 questionsStart hereWhat is a Large Language Model and how does it generate text?
AI Engineering · 1.1k views · llm, transformer, fundamentals
What are embeddings and what are they used for?
AI Engineering · 974 views · embeddings, vectors, semantic-search
What belongs in the system prompt versus the user message?
AI Engineering · 795 views · system-prompt, roles, prompting
What is a vector database and when do you actually need one?
AI Engineering · 785 views · vector-database, pgvector, infrastructure
Context windows in 2025-26: how do you use 128k-1M tokens without drowning?
System Design · 604 views · context-window, long-context
What is RAG and why use it instead of fine-tuning for knowledge?
AI Engineering · 600 views · rag, retrieval, fine-tuning
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
Medium
46 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
What is the difference between a base model, an instruction-tuned model and a chat model?
AI Engineering · 1.1k views · base-model, instruction-tuning, rlhf
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
What is the Model Context Protocol (MCP) and what problem does it solve?
AI Engineering · 981 views · mcp, protocol, tools
Embeddings in 2025-26: how do you choose model, dimensions, and distance?
System Design · 972 views · embeddings, matryoshka
When do you use code-based graders versus model-based graders?
AI Engineering · 969 views · graders, evals, code-graders
Hard
22 questionsHow should an agent handle tool errors, timeouts and retries?
AI Engineering · 1.2k views · error-handling, retries, agents
How do you sandbox an agent and enforce least-privilege tool access?
AI Engineering · 1.2k views · sandboxing, least-privilege, security
How 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
What is semantic caching and when is it safe to use?
AI Engineering · 954 views · semantic-caching, cost, caching
When should you split work across multiple agents instead of one?
AI Engineering · 947 views · multi-agent, orchestration, subagents
How do you evaluate and debug agent trajectories?
AI Engineering · 874 views · agent-evals, trajectories, tracing
How would you design a production RAG pipeline end-to-end in 2025-26?
System Design · 859 views · rag, architecture, retrieval
Seen a AI Engineering question that is not here? Add it and help the next candidate.
Share a question