Check the init and runtime parameters you can pass for OpenAITextEmbedder.
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. |
| 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. For more information, see OpenAI's production best practices. Optional. |
| String | Default: | A string to add at the beginning of each text. Required. |
| String | Default: | A string to add at the end of each text. |
REST API Runtime Parameters
These are the runtime parameters you can pass in the body of the request to the Search endpoint: