Halaman ini diterjemahkan oleh mesin. Baca versi asli dalam bahasa Inggris.

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.

Asal-usul

ResmiDitandatangani oleh identitas penandatangan yang diakui katalog ini sebagai penerbit resmi.
Digest konten
sha256:ab8f3aa462a32bf11e55690e436b4ebe8382290a16b68cc3c38e394b0a44d98f
Dipublikasikan
2026-11-10T10:09:32Z
Identitas penandatangan
https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main

Tanda tangan

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

Referensi pada versi ini

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

Parameter pengembang

Nilai yang ditetapkan pengembang di Aggregate.

Memperluas BaseComponents#/schemas/BaseModelParameter

NamaTipeBawaanWajibDeskripsi
strict_response_formatbooleanfalseya—

Penentuan ukuran oleh operator

Ukuran infrastruktur yang disesuaikan operator untuk setiap lingkungan.

NamaTipeBawaanWajibDeskripsi
endpointstringhttps://api.openai.com/v1tidak—

Kontrak keluaran

Nilai yang dipublikasikan komponen ini kepada konsumen melalui topologi uses.

NamaTipeBawaanWajibDeskripsi
endpointstring—yaBase 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—yaName 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.

Soket uses

Soket dependensi yang menjadi jalur koneksi komponen ini. Target setiap koneksi yang dihubungkan melalui sebuah soket harus memenuhi selektor labelnya, dan setiap koneksi dapat membawa lampiran pada slot yang dideklarasikan soket tersebut. Slot wajib harus diisi oleh setiap koneksi yang dihubungkan oleh Aggregate atau Release melalui soket tersebut.

Tidak ada soket uses yang dideklarasikan.

Slot lampiran

Titik pengikatan bernama tempat sebuah Feature dilampirkan ke komponen ini. Selektor sebuah slot membatasi Feature mana yang dapat mengisinya, dan daftar injeksinya menyebutkan cara materi Feature dapat dikirimkan. Slot wajib harus terikat pada setiap instans, melalui lampiran pada instans tersebut atau pada cakupan di atasnya, dan slot sensitif dideklarasikan untuk menangani materi rahasia. Sebuah Feature juga dapat dilampirkan dengan nama yang tidak dideklarasikan oleh slot mana pun.

Tidak ada slot lampiran yang dideklarasikan.

Daftar izin injeksi mandiri

Tidak ada pipa injeksi mandiri yang dideklarasikan.

Relasi

Sisi bertipe ke dan dari entitas lain yang dipublikasikan. Referensi tanpa target yang dipublikasikan ditampilkan sebagai sisi yang terputus, bukan sebagai tautan.

Menggunakan

Digunakan oleh

Referensi konsep Component →

Katalog Aggrega — indeks terbuka berisi komponen, fitur, resep, dan plugin yang merendernya.

Dibangun dengan sistem desain Aggrega yang digunakan bersama.

Privasi