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.
Provenienza
- Digest del contenuto
- sha256:ab8f3aa462a32bf11e55690e436b4ebe8382290a16b68cc3c38e394b0a44d98f
- Pubblicato
- 2026-11-10T10:09:32Z
- 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:34c2212198aab02885eb9427ce21188f64fb0f00e13cdd68e931db3bfc8719ba
Riferimento a questa versione
oci://hub.aggrega.ai/component/core/ai-model/openai:1.0.0Parametri dello sviluppatore
Valori che lo sviluppatore imposta nell’Aggregate.
Estende BaseComponents#/schemas/BaseModelParameter
| Nome | Tipo | Predefinito | Obbligatorio | Descrizione |
|---|---|---|---|---|
| strict_response_format | boolean | false | sì | — |
Dimensionamento dell’operatore
Dimensionamento dell’infrastruttura che l’operatore regola per ogni ambiente.
| Nome | Tipo | Predefinito | Obbligatorio | Descrizione |
|---|---|---|---|---|
| endpoint | string | https://api.openai.com/v1 | no | — |
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 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. |
| model | string | — | sì | Name 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. |
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 «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»
usa il socket «content_safety»
implementa
implementa