Sector file // ai-engineering
AI ENGINEERINGDECODED.
Prompts, RAG, agents & evals
Easy
6 questionsWhat is a Large Language Model and how does it generate text?
AI Engineering · 1.1k views · llm, transformer, fundamentals
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 are tokens and why do they matter for cost and limits?
AI Engineering · 540 views · tokens, tokenization, pricing
What is a context window and what happens when you exceed it?
AI Engineering · 172 views · context-window, limits, fundamentals
How do you choose the right model for a task?
AI Engineering · 110 views · model-selection, routing, cost
Medium
16 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
Embeddings in 2025-26: how do you choose model, dimensions, and distance?
System Design · 972 views · embeddings, matryoshka
What are reasoning models and when should you use them?
AI Engineering · 912 views · reasoning, models
What is the difference between fine-tuning, LoRA and prompt engineering?
AI Engineering · 841 views · fine-tuning, lora, prompt-engineering
Reranking in RAG: when and how to add a cross-encoder?
System Design · 668 views · rerank, cross-encoder
What is prompt caching and how does it reduce cost and latency?
AI Engineering · 599 views · prompt-caching, cost, latency
Hard
10 questionsHow should an agent handle tool errors, timeouts and retries?
AI Engineering · 1.2k views · error-handling, retries, agents
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
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
How do you version, test and safely roll out prompt changes?
AI Engineering · 661 views · prompt-versioning, evals, deployment
pgvector vs Pinecone vs Qdrant: how do you choose a vector DB in 2025?
System Design · 379 views · vectordb, pgvector
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