Similar Questions in AI System Design
Medium
A user asks "What were the sales in 2023?" How do you prompt the LLM to separate the semantic search ("sales") from the metadata filter ("year == 2023")?
View
Medium
What is the fundamental difference between a "Chain" (hardcoded steps) and an "Agent" (model-decided steps)? When is a Chain actually better than an Agent?
View
Hard
AI agents often rely on external tools/APIs. How would you design a system that ensures robustness when these dependencies are unreliable or slow?
View