static PromptVariant.Builder |
PromptVariant.builder() |
|
default PromptVariant.Builder |
PromptVariant.Builder.inferenceConfiguration(Consumer<PromptInferenceConfiguration.Builder> inferenceConfiguration) |
Contains inference configurations for the prompt variant.
|
PromptVariant.Builder |
PromptVariant.Builder.inferenceConfiguration(PromptInferenceConfiguration inferenceConfiguration) |
Contains inference configurations for the prompt variant.
|
PromptVariant.Builder |
PromptVariant.Builder.metadata(Collection<PromptMetadataEntry> metadata) |
An array of objects, each containing a key-value pair that defines a metadata tag and value to attach to a
prompt variant.
|
PromptVariant.Builder |
PromptVariant.Builder.metadata(Consumer<PromptMetadataEntry.Builder>... metadata) |
An array of objects, each containing a key-value pair that defines a metadata tag and value to attach to a
prompt variant.
|
PromptVariant.Builder |
PromptVariant.Builder.metadata(PromptMetadataEntry... metadata) |
An array of objects, each containing a key-value pair that defines a metadata tag and value to attach to a
prompt variant.
|
PromptVariant.Builder |
PromptVariant.Builder.modelId(String modelId) |
The unique identifier of the model or inference profile
with which to run inference on the prompt.
|
PromptVariant.Builder |
PromptVariant.Builder.name(String name) |
The name of the prompt variant.
|
default PromptVariant.Builder |
PromptVariant.Builder.templateConfiguration(Consumer<PromptTemplateConfiguration.Builder> templateConfiguration) |
Contains configurations for the prompt template.
|
PromptVariant.Builder |
PromptVariant.Builder.templateConfiguration(PromptTemplateConfiguration templateConfiguration) |
Contains configurations for the prompt template.
|
PromptVariant.Builder |
PromptVariant.Builder.templateType(String templateType) |
The type of prompt template to use.
|
PromptVariant.Builder |
PromptVariant.Builder.templateType(PromptTemplateType templateType) |
The type of prompt template to use.
|
PromptVariant.Builder |
PromptVariant.toBuilder() |
|