HuggingfaceCustomEmbedder defaults to intfloat/multilingual-e5-large. Set dimensions=1024 so Agno records that model’s expected vector width.
huggingface_embedder.py
dimensions field does not request pooling or a specific output size from Hugging Face. It configures the expected width used by Agno’s vector database integrations.
Run the Example
1
Set up your virtual environment
2
Export the API key
3
Install dependencies
4
Run the example