TheDocumentation Index
Fetch the complete documentation index at: https://docs-v1.agno.com/llms.txt
Use this file to discover all available pages before exploring further.
HuggingfaceCustomEmbedder class is used to embed text data into vectors using the Hugging Face API. You can get one from here.
Usage
cookbook/embedders/huggingface_embedder.py
Params
| Parameter | Type | Default | Description |
|---|---|---|---|
dimensions | int | - | The dimensionality of the generated embeddings |
model | str | all-MiniLM-L6-v2 | The name of the HuggingFace model to use |
api_key | str | - | The API key used for authenticating requests |
client_params | Optional[Dict[str, Any]] | - | Optional dictionary of parameters for the HuggingFace client |
huggingface_client | Any | - | Optional pre-configured HuggingFace client instance |
Developer Resources
- View Cookbook