All Questions
Llm Gateway Cost And Caching easy

You have budget to add a semantic cache to one of two features: a help-center FAQ bot and a marketing slogan generator. Where will it pay off?

  1. A On the slogan generator, since users submit many similar prompts for taglines.
  2. B On the FAQ bot, where many users ask near-identical questions with stable answers.
  3. C On both features equally, since embedding similarity works the same for any task.
  4. D On neither, since semantic caches only match prompts that are character-identical.

One system design question a day, with spaced repetition so the ones you miss come back.

Get the app

Related questions