Skip to content

Hugging Face Embeddings

Leverage Hugging Face Inference to create embeddings.

Converts text into vector embeddings using a Hugging Face Inference embeddings model.

Connect this to indexer or RAG nodes when you need to create embeddings for semantic search and retrieval using a Hugging Face-hosted model.

SettingNotes
ModelThe embeddings model to use. Placeholder: sentence-transformers/all-MiniLM-L6-v2.
AuthenticationCredential field. Use your Hugging Face API key.

Returns an embeddings dependency for vector stores and retrieval workflows.

  • Requires an Authentication credential (Hugging Face API key).

Connect Hugging Face Embeddings to an AI agent or dependency input that accepts this dependency type, then run the agent with data from previous nodes.

  • Check that the Model field is set — the node throws an error if it is empty.
  • Verify the Hugging Face API key credential is valid and has access to the selected model.
  • If it calls an external service, verify credentials, permissions, and rate limits.
  • No dedicated source test was found next to this node; verify behavior manually when changing this page.