Builder

class Builder

Properties

Link copied to clipboard

Contains model-specific inference configurations that aren't in the inferenceConfiguration field. To see model-specific inference parameters, see Inference request parameters and response fields for foundation models.

Link copied to clipboard

Specifies a generative AI resource with which to use the prompt.

Link copied to clipboard

Contains inference configurations for the prompt variant.

Link copied to clipboard

An array of objects, each containing a key-value pair that defines a metadata tag and value to attach to a prompt variant.

Link copied to clipboard

The unique identifier of the model or inference profile with which to run inference on the prompt.

Link copied to clipboard
var name: String?

The name of the prompt variant.

Link copied to clipboard

Contains configurations for the prompt template.

Link copied to clipboard

The type of prompt template to use.