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

Component

core/ai-model/openai-embedding

OpenAI's managed embeddings API, reached as an external reference: no compute runs in-cluster and the compiler never calls the provider. It publishes the same endpoint-and-model contract the generative models publish, so an application that embeds text reads exactly the keys it would read to generate it, and the output width is a declared value where an Aggregate wants vectors narrower than the model's own default. The endpoint defaults to the managed API's base URL, version path included, and sits on `infra`, so a bare declaration is enough and an operator may still repoint it at a gateway or proxy. The API key is the consumer's to attach: the environment-variable name it arrives under belongs to the application rather than to the model.

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:fef3da9cae6160effadfa1f1f1c40c19a02ebbda2763014980edd2317abd433c
Đã xuất bản
2026-11-10T10:09:31Z
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:8c516362c4a154b3b0ae3303d06c4e7e7824153894de3d13eb96478f047b9649

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

oci://hub.aggrega.ai/component/core/ai-model/openai-embedding: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ả
dimensionsinteger—không—

Đị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ả
endpointstringhttps://api.openai.com/v1khô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 embedding requests to, version path included, so a client appends only the route. It follows the endpoint set in the Release, so an operator may point it elsewhere without the application changing.
modelstring—cóName of the embedding model a request asks for, carried through from the model the Aggregate declared. A consumer sends it as the model field of each request.

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ư