Whenever you're ready, walk me through how you'd approach this.
Explain the difference between top-k and top-p (nucleus) sampling in GenAI and when you would choose each.
Describe how each method filters candidate tokens before sampling, how temperature interacts with them, and the practical trade-offs between determinism, diversity, quality, and latency. Include examples of suitable use cases and explain how you would evaluate a decoding configuration. Mention any provider or model limitations around exposing top-k and top-p controls.