拥抱脸凭据#
¥Hugging Face credentials
你可以使用以下凭据验证以下节点:
¥You can use these credentials to authenticate the following nodes:
¥Embeddings Hugging Face Inference
支持的身份验证方法#
¥Supported authentication methods
- API 密钥
¥API key
相关资源#
¥Related resources
有关服务的更多信息,请参阅 Hugging Face 文档。
¥Refer to Hugging Face's documentation for more information about the service.
View n8n's Advanced AI documentation.
使用 API 密钥#
¥Using API key
要配置此凭据,你需要一个 Hugging Face 账户以及:
¥To configure this credential, you'll need a Hugging Face account and:
- API 密钥:Hugging Face 调用这些 API 令牌。
¥An API Key: Hugging Face calls these API tokens.
获取 API 令牌:
¥To get your API token:
- 打开你的 Hugging Face 个人资料,然后转到 令牌 部分。
¥Open your Hugging Face profile and go to the Tokens section.
2. 复制此处列出的令牌。它应该以 hf_ 开头。
¥Copy the token listed there. It should begin with hf_.
3. 将此 API 令牌作为你的 n8n 凭据 API 密钥输入。
¥Enter this API token as your n8n credential API Key.
有关更多信息,请参阅 获取你的 API 令牌。
¥Refer to Get your API token for more information.