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

Component

core/ai-model/openai

OpenAI's managed chat-completions API, reached as an external reference: no compute runs in-cluster and the compiler never calls the provider. It is realized as a direct reference — on Kubernetes an ExternalName Service mapping an in-cluster name onto the managed host, on Compose the endpoint carried to consumers with no service run — which delivers no credential: a consumer that needs the key presents it from the connection it reaches the model on. The endpoint defaults to the managed API's base URL, version path included, so a bare declaration is enough, and it sits on `infra` rather than inside a Recipe so an operator may repoint it at a gateway or proxy without editing the Aggregate. Consumers read the endpoint and the model name over a `uses` edge — the contract every model here publishes — so an agent reaches it with no endpoint in its own code. A gateway reaches it the same way, wired to the gateway's models socket with the key on that connection, so the gateway holds the key and an application behind the gateway never sees it.

Pochodzenie

OficjalnyPodpisano tożsamością podpisującą, którą ten katalog uznaje za oficjalnego wydawcę.
Skrót zawartości
sha256:ab8f3aa462a32bf11e55690e436b4ebe8382290a16b68cc3c38e394b0a44d98f
Opublikowano
2026-11-10T10:09:32Z
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:34c2212198aab02885eb9427ce21188f64fb0f00e13cdd68e931db3bfc8719ba

Referencja w tej wersji

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

Parametry dewelopera

Wartości ustawiane przez dewelopera w encji Aggregate.

Rozszerza BaseComponents#/schemas/BaseModelParameter

NazwaTypWartość domyślnaWymaganeOpis
strict_response_formatbooleanfalsetak—

Wymiarowanie przez operatora

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

NazwaTypWartość domyślnaWymaganeOpis
endpointstringhttps://api.openai.com/v1nie—

Kontrakt wyjściowy

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

NazwaTypWartość domyślnaWymaganeOpis
endpointstring—takBase URL a consumer sends chat-completion requests to, version path included, so a client appends only the route. It is the endpoint set in the Release — the managed API's base URL by default, or the gateway or proxy an operator repoints it at — with no change to the application.
modelstring—takName of the model a request asks for, carried through from the model the Aggregate declared. A consumer sends it as the model field of each request.

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ść