Skip to content

Embeddings Hugging Face Inference

Node: embeddingsHuggingFaceInference · Full type: @n8n/n8n-nodes-langchain.embeddingsHuggingFaceInference · Version: 1

Credentials

huggingFaceApi (alias: @hugging)

CREDENTIAL @hugging = huggingFaceApi "My Embeddings Hugging Face Inference"

Parameters

Parameter Type Default Details
modelName string "sentence-transformers/distilbert-base..."
options collection {} keys: endpointUrl, provider

options children:

Parameter Type Default Details
endpointUrl string ""
provider options "auto" black-forest-labs, cerebras, cohere, fal-ai, featherless-ai, fireworks-ai, groq, hf-inference, ... (18 total)

Example

NODE "embeddingsHuggingFaceInference" @hugging AS "Embeddings Hugging Face Inference"