How do you reduce AI system latency?medium
Answer
Optimize retrieval, prompt size, model choice, caching, and streaming.
Explanation
Latency comes from network calls, retrieval, reranking, model generation, and tool use. Smaller models and cached context can help.
Follow-upWhat tradeoff does a smaller model introduce?