InferenceConfiguration

Configurations for controlling the inference response of an InvokeAgent API call

Types

Link copied to clipboard
class Builder
Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Maximum length of output

Link copied to clipboard

List of stop sequences

Link copied to clipboard

Controls randomness, higher values increase diversity

Link copied to clipboard
val topK: Int?

Sample from the k most likely next tokens

Link copied to clipboard
val topP: Float?

Cumulative probability cutoff for token selection

Functions

Link copied to clipboard
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String