Questa pagina è stata tradotta automaticamente. Leggi l’originale in inglese.

Component

core/ai-model/openai-compatible

A broker speaking the OpenAI API, reached as an external reference: no compute runs in-cluster, and what answers behind the endpoint is whatever a Release points it at — a proxy running in the cluster, a gateway, or any service serving that API. It is the component to reach for when an application should not name a provider at all: the endpoint is operator-supplied in the Release and the model is an alias the broker resolves, so which provider actually answers can change with neither the Aggregate nor the application changing. The provider name it carries records which broker sits behind it, for a reader and for a selector to match on rather than for the compiler, which pipes the strings and reads neither. Consumers read the endpoint and the model name over a `uses` edge, the contract every model here publishes. It holds no credential: a consumer that must present a key to the service behind the endpoint declares that key as `credential` on the socket that reaches the endpoint and presents it itself.

Provenienza

UfficialeFirmato da un’identità di firma che questo catalogo riconosce come editore ufficiale.
Digest del contenuto
sha256:8167b95eca74987e97e5bcdc773acaad4b4734c8cec647405c1f43b483693362
Pubblicato
2026-11-10T10:09:30Z
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:8b330ea11d5ca98d3bd61dde2046bfa81b4cddaa0b708770a68a2a980e7e0ed2

Riferimento a questa versione

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

Parametri dello sviluppatore

Valori che lo sviluppatore imposta nell’Aggregate.

Estende BaseComponents#/schemas/BaseModelParameter

NomeTipoPredefinitoObbligatorioDescrizione
provider_namestring—sì—

Dimensionamento dell’operatore

Dimensionamento dell’infrastruttura che l’operatore regola per ogni ambiente.

NomeTipoPredefinitoObbligatorioDescrizione
endpointstring—no—

Contratto di output

Valori che questo componente pubblica verso i consumatori attraverso la topologia uses.

NomeTipoPredefinitoObbligatorioDescrizione
endpointstring—sìBase URL a consumer sends requests to. What answers behind it is whatever the Release points at, so an application reads this instead of naming a provider.
modelstring—sìName a request asks the broker for. It is an alias the broker resolves, so which provider serves it can change without the consumer changing.
providerstring—sìName of the broker answering behind the endpoint. A consumer reads it to record or label which service its requests reached, since the endpoint alone does not say.

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

Usato da

Riferimento al concetto Component →

Il catalogo Aggrega — un indice aperto di componenti, funzionalità, ricette e dei plugin che li renderizzano.

Realizzato con il design system condiviso di Aggrega.

Privacy