Optionalfields: 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
OptionalpipelineOptional parameters for the pipeline.
OptionalpretrainedOptional 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.
OptionaltimeoutTimeout to use when making requests to OpenAI.
Deprecated
Import from "@langchain/community/embeddings/huggingface_transformers" instead and use the new "@huggingface/transformers" peer dependency.