PromptTemplateConfig.Builder |
PromptTemplateConfig.Builder.addInputVariable(InputVariable inputVariable) |
Add an input variable to the prompt template config.
|
static PromptTemplateConfig.Builder |
PromptTemplateConfig.builder() |
Create a builder for a prompt template config.
|
PromptTemplateConfig.Builder |
PromptTemplateConfig.copy() |
Create a builder for a prompt template config which is a clone of the current object.
|
static PromptTemplateConfig.Builder |
PromptTemplateConfig.defaultTemplateBuilder() |
Create a builder for a prompt template config, where the constructed template will be
considered the default to be used if no other config is selected.
|
PromptTemplateConfig.Builder |
PromptTemplateConfig.Builder.withDescription(String description) |
Set the description of the prompt template config.
|
PromptTemplateConfig.Builder |
PromptTemplateConfig.Builder.withExecutionSettings(Map<String,PromptExecutionSettings> executionSettings) |
Set the prompt execution settings of the prompt template config.
|
PromptTemplateConfig.Builder |
PromptTemplateConfig.Builder.withInputVariables(List<InputVariable> inputVariables) |
Set the inputVariables of the prompt template config.
|
PromptTemplateConfig.Builder |
PromptTemplateConfig.Builder.withName(String name) |
Set the name of the prompt template config.
|
PromptTemplateConfig.Builder |
PromptTemplateConfig.Builder.withOutputVariable(OutputVariable<?> outputVariable) |
Set the output variable of the prompt template config.
|
PromptTemplateConfig.Builder |
PromptTemplateConfig.Builder.withTemplate(String template) |
Set the template of the prompt template config.
|
PromptTemplateConfig.Builder |
PromptTemplateConfig.Builder.withTemplateFormat(String templateFormat) |
Set the template format of the prompt template config.
|