Component
core/ai-model/huggingface
Hugging Face's managed Inference API, reached as an external reference: no compute runs in-cluster and the compiler never calls the provider. It fronts models of several kinds rather than one, so beside the model name the component exposes the task a request is for — generating text, transforming it, or returning features — which is what decides the shape of the answer. Its host is fixed, so the realization publishes the endpoint itself and a Release supplies none. The API key is the consumer's to attach: the environment-variable name it arrives under belongs to the application rather than to the model.
Provenienza
- Digest del contenuto
- sha256:6390e0adda266cc324633dc5d6423982c1f3346d76a81e6f76e40aff7b544215
- Pubblicato
- 2026-11-10T10:09:15Z
- Identità di firma
- https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main
Firma
- Ufficialeapplication/vnd.dev.sigstore.bundle.v0.3+json
https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main
sha256:67708bfd7f7f6cc09c724f2d0c11cc38e411fab25abe9d0163e0126eb2689038
Riferimento a questa versione
oci://hub.aggrega.ai/component/core/ai-model/huggingface:1.0.0Parametri dello sviluppatore
Valori che lo sviluppatore imposta nell’Aggregate.
Estende BaseComponents#/schemas/BaseModelParameter
| Nome | Tipo | Predefinito | Obbligatorio | Descrizione |
|---|---|---|---|---|
| task | string (text-generation | text2text-generation | feature-extraction) | text-generation | sì | — |
Dimensionamento dell’operatore
Dimensionamento dell’infrastruttura che l’operatore regola per ogni ambiente.
Nessun dimensionamento dell’operatore dichiarato.
Contratto di output
Valori che questo componente pubblica verso i consumatori attraverso la topologia uses.
| Nome | Tipo | Predefinito | Obbligatorio | Descrizione |
|---|---|---|---|---|
| endpoint | string | — | sì | Base URL of the Hugging Face Inference API. The host is fixed, so the realization publishes it and a consumer points its client here without a Release supplying anything. |
| model | string | — | sì | Repository id of the model a request is sent to. The API routes on it, so a consumer appends it to the endpoint or passes it as the model field. |
Socket uses
I socket di dipendenza attraverso cui questo componente si connette. La destinazione di ogni connessione collegata attraverso un socket deve soddisfare il suo selettore di etichette, e ogni connessione può portare un aggancio negli slot che il socket dichiara. Uno slot obbligatorio deve essere riempito da ogni connessione che l’Aggregate o la Release collega attraverso il socket.
Nessun socket uses dichiarato.
Slot di aggancio
Punti di associazione con nome in cui una Feature si aggancia a questo componente. Il selettore di uno slot limita quale Feature può riempirlo e la sua lista inject indica come può essere consegnato il materiale della Feature. Uno slot obbligatorio deve essere associato su ogni istanza, da un aggancio sull’istanza o a un ambito superiore, e uno slot sensibile è dichiarato per gestire materiale segreto. Una Feature può anche agganciarsi con un nome che nessuno slot dichiara.
Nessuno slot di aggancio dichiarato.
Elenco consentito di auto-iniezione
Nessuna pipe di auto-iniezione dichiarata.
Relazioni
Archi tipizzati da e verso altre entità pubblicate. Un riferimento senza una destinazione pubblicata viene mostrato come arco interrotto anziché come link.
Usa
- $refestende lo schema (values)
BaseComponents#/schemas/BaseModelParameter
Usato da
usa il socket «model»
usa il socket «model»
usa il socket «model»
usa il socket «model»
usa il socket «model»
usa il socket «model»
usa il socket «model»
usa il socket «model»
usa il socket «model»
usa il socket «model»
usa il socket «model»
usa il socket «model»
usa il socket «model»
usa il socket «model»
usa il socket «model»
usa il socket «model»
usa il socket «model»
usa il socket «model»
usa il socket «model»
usa il socket «model»
usa il socket «model»
usa il socket «model»
usa il socket «model»
usa il socket «model»
usa il socket «model»
usa il socket «model»
usa il socket «model»
usa il socket «model»
usa il socket «model»
usa il socket «target_model»
usa il socket «extraction_model»
usa il socket «embedding_model»
usa il socket «models»
usa il socket «models»
usa il socket «models»
usa il socket «models»
usa il socket «models»
usa il socket «models»
usa il socket «models»
usa il socket «models»
implementa
implementa