Trang này được dịch bằng máy. Đọc bản gốc tiếng Anh.

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.

Nguồn gốc

Chính thứcĐược ký bởi một danh tính ký mà danh mục này công nhận là nhà phát hành chính thức.
Digest nội dung
sha256:8167b95eca74987e97e5bcdc773acaad4b4734c8cec647405c1f43b483693362
Đã xuất bản
2026-11-10T10:09:30Z
Danh tính ký
https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main

Chữ ký

  • Chính thứcapplication/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

Tham chiếu ở phiên bản này

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

Tham số của nhà phát triển

Các giá trị mà nhà phát triển đặt trong Aggregate.

Mở rộng BaseComponents#/schemas/BaseModelParameter

TênKiểuMặc địnhBắt buộcMô tả
provider_namestring—có—

Định cỡ của người vận hành

Định cỡ hạ tầng mà người vận hành tinh chỉnh theo từng môi trường.

TênKiểuMặc địnhBắt buộcMô tả
endpointstring—không—

Hợp đồng đầu ra

Các giá trị mà thành phần này xuất bản cho bên tiêu thụ qua cấu trúc liên kết uses.

TênKiểuMặc địnhBắt buộcMô tả
endpointstring—có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—có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—có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.

Các socket uses

Các socket phụ thuộc mà thành phần này kết nối qua. Đích của mọi kết nối được nối qua một socket phải thỏa mãn bộ chọn nhãn của socket đó, và mỗi kết nối có thể mang theo phần đính kèm trong các slot mà socket khai báo. Một slot bắt buộc phải được đáp ứng bởi mỗi kết nối mà Aggregate hoặc Release nối qua socket.

Chưa khai báo socket uses nào.

Slot đính kèm

Các điểm liên kết có tên mà tại đó một Feature được gắn vào thành phần này. Bộ chọn của một slot giới hạn Feature nào có thể lấp đầy nó, và danh sách tiêm của slot nêu cách nội dung của Feature có thể được chuyển giao. Một slot bắt buộc phải được liên kết trên mọi thể hiện, bằng một phần đính kèm trên thể hiện đó hoặc ở một phạm vi phía trên nó, và một slot nhạy cảm được khai báo để xử lý nội dung bí mật. Một Feature cũng có thể được gắn dưới một tên mà không slot nào khai báo.

Chưa khai báo slot đính kèm nào.

Danh sách cho phép tự tiêm

Chưa khai báo đường ống tự tiêm nào.

Quan hệ

Các cạnh có kiểu đi tới và đi từ các thực thể đã xuất bản khác. Một tham chiếu không có đích đã xuất bản được hiển thị là một cạnh bị đứt thay vì một liên kết.

Sử dụng

Được sử dụng bởi

Tài liệu tham khảo khái niệm Component →

Danh mục Aggrega — chỉ mục mở gồm các thành phần, tính năng, công thức và các plugin kết xuất chúng.

Được xây dựng bằng hệ thống thiết kế dùng chung của Aggrega.

Quyền riêng tư