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

Component

core/datastore/chroma

A Chroma vector database. Stores embeddings with their documents and metadata in named collections and answers nearest-neighbour queries over them through Chroma's HTTP API, so an application that retrieves reference material by similarity is wired here rather than to a general-purpose store. Collections are created through that API at runtime; the component declares the server, not its contents. Exports its host, port and protocol via the uses topology. The server checks no credential: at 1.5.9, the release this component runs by default, any client that reaches its address reads and writes every collection. Both Recipes therefore publish it only inside the Release — a ClusterIP Service on Kubernetes, the compose network locally — and a Release that exposes it further puts something that authenticates clients in front of it. Realized two ways, both self-hosted and both fetching nothing: reach for the Helm Recipe on Kubernetes, which synthesizes a StatefulSet with a persistent volume, and for the Compose Recipe for local development. Its Recipes are verified by their rendered output, not by a started server storing and querying vectors.

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:af981aed131769886e56c2643700eaa18218246ad61ed9e35d21149a802d1646
Đã xuất bản
2026-11-10T10:10:28Z
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:52494a501e8d320c8882c472b3f7402c8d11b77bc7fc7edf0610d83fedf1a473

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

oci://hub.aggrega.ai/component/core/datastore/chroma: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.

TênKiểuMặc địnhBắt buộcMô tả
allow_resetbooleanfalsekhôngLet a client wipe every collection through the server's reset call. Off by default, matching the server's own default; since the server checks no credential, turning it on lets any client that reaches the address do so.
max_payload_size_bytesinteger (min 1)—khôngLargest request body the server accepts, in bytes. Omit to use the server default (41943040, which is 40 MiB).

Đị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ả
portinteger (min 1024, max 65535)8000khôngHTTP listen port. Most operators should omit this and let the Recipe assign the default (8000). Every Recipe hands it to the server as its own port, so the server, its health check and the published address all follow it.
engine_versionstring1.5.9khôngTag of the chromadb/chroma image the Recipes run, a Chroma release such as 1.5.9. The build halts on a value that is not a 1.x release, because the Recipes configure the server the way its 1.x releases read their settings.
computeobject—không—
storageobject—không—
overridesobject (open)—khôngProvider-specific overrides. Accepts any nested structure. Each Recipe documents which keys it reads.

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ả
hoststring—cóAddress a client calls the server's HTTP API at. On Kubernetes it is the Service's DNS name, and on Compose the service name.
portinteger—cóTCP port the HTTP API is served on. It follows the port an operator set in the Release, so a consumer reads it rather than assuming a default.
protocolstring—khôngHow the published address is spoken to on `port` — `http`, so a consumer composes its address on that scheme.

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

env

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

Thực thể này không sử dụng gì trong danh mục.

Đượ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ư