Check the parameters you can configure for Shaper in pipeline YAML.
YAML Init Parameters
These are the parameters you can specify in pipeline YAML:
Parameter | Type | Possible values | Description |
---|---|---|---|
| Secret | Default: | The OpenAI API key. |
| String | Default: | The name of the model to use. Required. |
| Integer | Default: | The number of dimensions the resulting output embeddings should have. Only supported in |
| String | Default: | Overrides the default base URL for all HTTP requests. |
| String | Default: | The Organization ID. See OpenAI's production best practices for more information. |
| String | Default: | A string to add at the beginning of each text. |
| String | Default: | A string to add at the end of each text. Required. |
| Integer | Default: | Number of Documents to encode at once. |
| Boolean |
| If True, shows a progress bar when running. |
| List | Default: | List of meta fields that will be embedded along with the document text. |
| String | Default: | Separator used to concatenate the meta fields to the document text. |
| Float | Default: | Timeout for OpenAI client calls. If not set, it is inferred from the |
| Integer | Default: | Maximum retries to establish contact with OpenAI if it returns an internal error. If not set, it is inferred from the |
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.