PromptBuilder Parameters

Check the init and runtime parameters you can use to customize PromptBuilder.

YAML Init Parameters

These are the parameters you can pass to this node in the pipeline YAML configuration:

ParameterTypePossible ValuesDescription
templateStringA Jinja2 template with instructions for the model. For example:
"Summarize this document: {documents}\nSummary:"
Required.
required_variablesList of stringsDefault: NoneA list of input variables that must be provided at all times.
Optional.
variablesList of stringsDefault: NoneAn optional list of input variables to be used in prompt templates instead of the ones inferred from template. For example, if you want to use more variables during prompt engineering than those in the default template, you can provide them here.
Optional.

REST API Runtime Parameters

There are no runtime parameters you can pass to this component when making a request to the Search REST API endpoint.