Sector file // ai-engineering
AI ENGINEERINGDECODED.
Prompts, RAG, agents & evals
Easy
3 questionsWhat 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
When should you use batch APIs instead of real-time LLM calls?
AI Engineering · 107 views · batch-api, cost, async
Medium
7 questionsHow do you build resilient LLM calls with rate limits, retries and fallbacks?
AI Engineering · 1.2k views · rate-limits, retries, fallbacks
Cost optimization for LLM apps: how do you keep the bill predictable?
System Design · 804 views · cost, optimization
How do you design good tool definitions for an LLM?
AI Engineering · 382 views · tool-design, function-calling, schemas
Evaluating RAG with Ragas: faithfulness, answer relevancy, context precision?
System Design · 323 views · rag-eval, ragas
How do you handle PII and sensitive data when calling LLM APIs?
AI Engineering · 315 views · pii, privacy, compliance
Streaming LLM responses to the UI: SSE, chunking, abort, and resume?
Frontend · 276 views · streaming, sse
What is the ReAct pattern and why did it become the default for agents?
AI Engineering · 67 views · react-pattern, agents, reasoning
Hard
6 questionsHow do you sandbox an agent and enforce least-privilege tool access?
AI Engineering · 1.2k views · sandboxing, least-privilege, security
Guardrails for LLM apps: how do you implement input/output safety in 2025?
System Design · 993 views · guardrails, safety
How would you design a production RAG pipeline end-to-end in 2025-26?
System Design · 859 views · rag, architecture, retrieval
What is prompt injection and how do you defend against it?
AI Engineering · 560 views · prompt-injection, security, guardrails
Guardrails for AI agents: rate limits, budget caps, and HITL?
System Design · 559 views · agents, cost
pgvector vs Pinecone vs Qdrant: how do you choose a vector DB in 2025?
System Design · 379 views · vectordb, pgvector
Seen a AI Engineering question that is not here? Add it and help the next candidate.
Share a question