topK method

LLMBuilder topK(
  1. int topK
)

Sets the top-k sampling parameter

Implementation

LLMBuilder topK(int topK) {
  _config = _config.copyWith(topK: topK);
  return this;
}