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.
Происхождение
- Дайджест содержимого
- sha256:ab8f3aa462a32bf11e55690e436b4ebe8382290a16b68cc3c38e394b0a44d98f
- Опубликовано
- 2026-11-10T10:09:32Z
- Идентичность подписи
- 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:34c2212198aab02885eb9427ce21188f64fb0f00e13cdd68e931db3bfc8719ba
Ссылка на эту версию
oci://hub.aggrega.ai/component/core/ai-model/openai:1.0.0Параметры разработчика
Значения, которые разработчик задаёт в сущности Aggregate.
Расширяет BaseComponents#/schemas/BaseModelParameter
| Имя | Тип | По умолчанию | Обязательный | Описание |
|---|---|---|---|---|
| strict_response_format | boolean | false | да | — |
Размеры, задаваемые оператором
Размеры инфраструктуры, которые оператор настраивает для каждого окружения.
| Имя | Тип | По умолчанию | Обязательный | Описание |
|---|---|---|---|---|
| endpoint | string | https://api.openai.com/v1 | нет | — |
Контракт выходных значений
Значения, которые этот компонент публикует для потребителей через топологию uses.
| Имя | Тип | По умолчанию | Обязательный | Описание |
|---|---|---|---|---|
| endpoint | string | — | да | 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 | — | да | 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. |
Сокеты uses
Сокеты зависимостей, через которые подключается этот компонент. Цель каждого соединения, проведённого через сокет, должна удовлетворять его селектору меток, и каждое соединение может нести подключение в слотах, которые объявляет сокет. Обязательный слот должен заполнить каждое соединение, которое сущность Aggregate или сущность Release проводит через сокет.
Сокеты uses не объявлены.
Слоты подключения
Именованные точки привязки, в которых Feature подключается к этому компоненту. Селектор слота ограничивает, какая сущность Feature может его заполнить, а его список внедрения указывает, как могут доставляться материалы сущности Feature. Обязательный слот должен быть привязан в каждом экземпляре — подключением в самом экземпляре или в области выше него, — а конфиденциальный слот объявляется для работы с секретными материалами. Feature также может подключаться под именем, которое не объявляет ни один слот.
Слоты подключения не объявлены.
Список разрешённых самовнедрений
Каналы самовнедрения не объявлены.
Связи
Типизированные рёбра к другим опубликованным сущностям и от них. Ссылка без опубликованной цели отображается как разорванное ребро, а не как ссылка.
Использует
- $refрасширяет схему (values)
BaseComponents#/schemas/BaseModelParameter
Используется в
использует сокет «model»
использует сокет «model»
использует сокет «model»
использует сокет «model»
использует сокет «model»
использует сокет «model»
использует сокет «model»
использует сокет «model»
использует сокет «model»
использует сокет «model»
использует сокет «model»
использует сокет «model»
использует сокет «model»
использует сокет «model»
использует сокет «model»
использует сокет «model»
использует сокет «model»
использует сокет «model»
использует сокет «model»
использует сокет «model»
использует сокет «model»
использует сокет «model»
использует сокет «model»
использует сокет «model»
использует сокет «model»
использует сокет «model»
использует сокет «model»
использует сокет «model»
использует сокет «model»
использует сокет «model»
использует сокет «model»
использует сокет «model»
использует сокет «model»
использует сокет «target_model»
использует сокет «extraction_model»
использует сокет «embedding_model»
использует сокет «models»
использует сокет «models»
использует сокет «models»
использует сокет «models»
использует сокет «models»
использует сокет «models»
использует сокет «models»
использует сокет «models»
использует сокет «content_safety»
реализует
реализует