AI System DesignMedium

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")?

Practice Your Response