Optional
fields: Partial<HuggingFaceTransformersEmbeddingsParams>The maximum number of documents to embed in a single request.
The async caller should be used by subclasses to make any async calls, which will thus benefit from the concurrency and retry logic.
Model name to use
Model name to use
Alias for model
Optional
pipelineOptional parameters for the pipeline.
Optional
pretrainedOptional parameters for the pretrained 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
timeoutTimeout to use when making requests to OpenAI.
Example