Hugging Face Embedder is a class that allows you to embed documents using any embedding model hosted on HuggingFace’s Inference API.Documentation 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.
Parameters
| Parameter | Type | Description | Default |
|---|---|---|---|
id | str | The model ID to use for embeddings | "jinaai/jina-embeddings-v2-base-code" |
api_key | Optional[str] | Huggingface API key | Environment variable HUGGINGFACE_API_KEY |
client_params | Optional[Dict[str, Any]] | Additional parameters for client initialization | None |
huggingface_client | Optional[InferenceClient] | Pre-configured Huggingface client | None |