Builder

class Builder

Properties

Link copied to clipboard

The maximum number of tokens to generate in the response.

Link copied to clipboard

The temperature setting for controlling randomness in the generated response.

Link copied to clipboard
var topK: Int

The top-K sampling parameter for token selection.

Link copied to clipboard
var topP: Float

The top-P sampling parameter for nucleus sampling.