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

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.

出處

官方由本目錄認可為官方發布者的簽署身分所簽署。
內容摘要
sha256:af981aed131769886e56c2643700eaa18218246ad61ed9e35d21149a802d1646
發布時間
2026-11-10T10:10:28Z
簽署身分
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:52494a501e8d320c8882c472b3f7402c8d11b77bc7fc7edf0610d83fedf1a473

此版本的參照

oci://hub.aggrega.ai/component/core/datastore/chroma:1.0.0

開發者參數

開發者在 Aggregate 中設定的值。

名稱型別預設必填描述
allow_resetbooleanfalse否Let 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)—否Largest request body the server accepts, in bytes. Omit to use the server default (41943040, which is 40 MiB).

操作員資源規格

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

名稱型別預設必填描述
portinteger (min 1024, max 65535)8000否HTTP 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.9否Tag 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—否—
storageobject—否—
overridesobject (open)—否Provider-specific overrides. Accepts any nested structure. Each Recipe documents which keys it reads.

輸出契約

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

名稱型別預設必填描述
hoststring—是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—是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—否How the published address is spoken to on `port` — `http`, so a consumer composes its address on that scheme.

Uses 插槽

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

未宣告任何 uses 插槽。

附加槽位

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

未宣告任何附加槽位。

自我注入允許清單

env

關係

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

使用

此實體未使用目錄中的任何項目。

被使用於

Component 概念參考

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

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

隱私權