Builder

class Builder

Properties

Link copied to clipboard

The maximum number of tokens to return in the response.

Link copied to clipboard

A list of strings that define sequences after which the model will stop generating.

Link copied to clipboard

Controls the randomness of the response. Choose a lower value for more predictable outputs and a higher value for more surprising outputs.

Link copied to clipboard
var topP: Float?

The percentage of most-likely candidates that the model considers for the next token.