Optional
fields: Partial<HuggingFaceTransformersEmbeddingsParams>The maximum number of documents to embed in a single request.
Model name to use
Model name to use
Alias for model
Whether to strip new lines from the input text. This is recommended by OpenAI, but may not be suitable for all use cases.
Optional
pipelineOptional parameters for the pipeline.
Optional
pretrainedOptional parameters for the pretrained model.
Optional
timeoutTimeout to use when making requests to OpenAI.
Example