Ask a question to get started
Enter to sendā¢Shift+Enter new line
HuggingFaceInferenceAPIEmbeddings()
BaseModel
Embeddings
Your API key for the HuggingFace Inference API.
The name of the model to use for text embeddings.
Custom inference endpoint url. None for using default public url.
Pass additional headers to the requests library if needed.
Get the embeddings for a list of texts.
Compute query embeddings using a HuggingFace transformer model.
Embed texts using the HuggingFace API.
Requires a HuggingFace Inference API key and a model name.