An object containing parameters for defining the OpenAI embedder.
The OpenAI client instance.
OptionalembedderRef?: EmbedderReference<z.ZodTypeAny>Optional reference to the embedder's configuration and custom options.
The name of the embedder.
OptionalpluginOptions?: PluginOptionsthe created EmbedderAction
Method to define a new Genkit Embedder that is compatibale with the Open AI Embeddings API.