本頁面由機器翻譯。閱讀英文原文。

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.

出處

官方由本目錄認可為官方發布者的簽署身分所簽署。
內容摘要
sha256:8167b95eca74987e97e5bcdc773acaad4b4734c8cec647405c1f43b483693362
發布時間
2026-11-10T10:09:30Z
簽署身分
https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main

簽章

  • 官方application/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

此版本的參照

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

開發者參數

開發者在 Aggregate 中設定的值。

擴充 BaseComponents#/schemas/BaseModelParameter

名稱型別預設必填描述
provider_namestring—是—

操作員資源規格

操作員依各環境調整的基礎架構資源規格。

名稱型別預設必填描述
endpointstring—否—

輸出契約

此元件透過 uses 拓撲向使用端發布的值。

名稱型別預設必填描述
endpointstring—是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—是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—是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.

Uses 插槽

此元件用來連線的相依插槽。經由插槽連接的每個連線,其目標都必須符合該插槽的標籤選擇器,且每個連線可在該插槽宣告的槽位中帶有附加項目。Aggregate 或 Release 經由該插槽連接的每個連線,都必須提供必填槽位。

未宣告任何 uses 插槽。

附加槽位

Feature 附加到此元件的具名繫結點。槽位的選擇器限制哪個 Feature 可以填入該槽位,其注入清單則指明該 Feature 的內容可以如何傳遞。必填槽位必須在每個實例上繫結,方式是在該實例上或其上層範圍中附加項目;敏感槽位則宣告用於處理機密內容。Feature 也可以附加在沒有任何槽位宣告的名稱之下。

未宣告任何附加槽位。

自我注入允許清單

未宣告任何自我注入管道。

關係

與其他已發布實體之間具型別的邊。沒有已發布目標的參照,會渲染為中斷的邊,而不是連結。

使用

被使用於

Component 概念參考

Aggrega 目錄:元件、功能、配方,以及負責渲染它們的外掛程式的開放索引。

以共用的 Aggrega 設計系統建置。

隱私權