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:
Parameter | Type | Possible Values | Description |
---|---|---|---|
template | String | A Jinja2 template with instructions for the model. For example: "Summarize this document: {documents}\nSummary:" Required. | |
required_variables | List of strings | Default: None | A list of input variables that must be provided at all times. Optional. |
variables | List of strings | Default: None | An 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.