Check the init an runtime parameters you can define for the DeepsetAnswerBuilder component.
YAML Init Parameters
Parameter | Type | Possible Values | Description |
---|---|---|---|
| String | Default: | The regular expression you want to use to extract the answer text from the Generator's output. If not specified, uses the whole string as the answer. The regular expression can have one capturing group at a maximum. If a capturing group is defined, the text that matches it is used as the answer. If there's no capturing group, the whole match is used as the answer. For example: Optional |
| String | Default: | The regular expression you want to use to parse document references. It assumes references are specified as indices of the documents and indices start at 1. Optional. |
These are the parameters you can pass for DeepsetAnswerBuilder in the pipeline YAML:
REST API Runtime Parameters
These are the parameters you can pass for AnswerBuilder through the Search REST API endpoint: