Ta strona została przetłumaczona maszynowo. Przeczytaj oryginał w języku angielskim.

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.

Pochodzenie

OficjalnyPodpisano tożsamością podpisującą, którą ten katalog uznaje za oficjalnego wydawcę.
Skrót zawartości
sha256:6390e0adda266cc324633dc5d6423982c1f3346d76a81e6f76e40aff7b544215
Opublikowano
2026-11-10T10:09:15Z
Tożsamość podpisująca
https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main

Podpis

  • Oficjalnyapplication/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

Referencja w tej wersji

oci://hub.aggrega.ai/component/core/ai-model/huggingface:1.0.0

Parametry dewelopera

Wartości ustawiane przez dewelopera w encji Aggregate.

Rozszerza BaseComponents#/schemas/BaseModelParameter

NazwaTypWartość domyślnaWymaganeOpis
taskstring (text-generation | text2text-generation | feature-extraction)text-generationtak—

Wymiarowanie przez operatora

Wymiarowanie infrastruktury, które operator dostraja dla każdego środowiska.

Nie zadeklarowano wymiarowania przez operatora.

Kontrakt wyjściowy

Wartości, które ten komponent publikuje konsumentom za pośrednictwem topologii uses.

NazwaTypWartość domyślnaWymaganeOpis
endpointstring—takBase 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.
modelstring—takRepository 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.

Gniazda uses

Gniazda zależności, przez które łączy się ten komponent. Cel każdego połączenia poprowadzonego przez gniazdo musi spełniać jego selektor etykiet, a każde połączenie może przenosić dołączenie w slotach deklarowanych przez gniazdo. Wymagany slot musi wypełnić każde połączenie, które encja Aggregate lub encja Release prowadzi przez gniazdo.

Nie zadeklarowano gniazd uses.

Sloty dołączania

Nazwane punkty wiązania, w których encja Feature dołącza się do tego komponentu. Selektor slotu ogranicza, która encja Feature może go wypełnić, a jego lista inject określa, jak można dostarczyć materiał encji Feature. Wymagany slot musi być powiązany w każdej instancji, przez dołączenie w instancji lub w zakresie nad nią, a slot wrażliwy jest zadeklarowany do obsługi materiału tajnego. Encja Feature może również dołączyć się pod nazwą, której nie deklaruje żaden slot.

Nie zadeklarowano slotów dołączania.

Lista dozwolonych samowstrzyknięć

Nie zadeklarowano potoków samowstrzykiwania.

Relacje

Typowane krawędzie do innych opublikowanych encji i od nich. Odwołanie bez opublikowanego celu jest renderowane jako przerwana krawędź, a nie jako łącze.

Używa

Używane przez

Dokumentacja pojęcia Component →

Katalog Aggrega — otwarty indeks komponentów, funkcji, receptur oraz wtyczek, które je renderują.

Zbudowano przy użyciu wspólnego systemu projektowego Aggrega.

Prywatność