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

Component

core/datastore/cognee

A semantic-memory store for agent deployments. It ingests text and documents and turns them into a typed graph of entities and the relations between them, kept alongside embeddings of the same material, so a consumer asks what relates to what rather than only what looks similar. Construction is the point: a model reads each ingested item, names the entities and relations it finds, and the result is written into the graph, optionally grounded against an ontology the deployment supplies so extracted names resolve onto terms the deployment already uses. The graph, the embeddings and the bookkeeping tables are held by this component itself, on its own persistent volume, which is why it is a stateful server rather than a façade over someone else's store. The model it reads with is wired in over the uses topology and its address is a deterministic pointer string the running server resolves per request; the compiler never contacts a model. Realized on Kubernetes via its Helm Recipe, which runs the official upstream image directly and carries the whole memory configuration — the graph engine, the embedding store, the extraction and embedding models, and the ontology grounding — into the rendered artifact. Exports its host, its port, its base URL and its protocol to consumers via the uses topology.

出處

官方由本目錄認可為官方發布者的簽署身分所簽署。
內容摘要
sha256:4bdd8f4f621c576eefbce67fb2a33f88a5cf55cb32f9d46beeeae96c5ba66294
發布時間
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:978ba6e470686d5cdd8098768482297abf1b488a9a0b5142d5872c40f11b286f

此版本的參照

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

開發者參數

開發者在 Aggregate 中設定的值。

名稱型別預設必填描述
extraction_providerstringopenai否The provider family the server reads ingested material with. Consulted when the extraction_model socket is unwired; a wired socket supplies the address and model name instead.
embedding_providerstringopenai否The provider family the server encodes ingested material with. Consulted when the embedding_model socket is unwired; a wired socket supplies the address and model name instead.
embedding_dimensionsinteger (min 1)—否Width of the vectors the embedding model returns. Set it to match the model in use; omit it and the server takes the width its own default model returns.
ontology_file_pathstring—否Path inside the container to an ontology document the deployment supplies, against which extracted names are resolved onto terms the deployment already uses. A deterministic pointer string the running server opens; the compiler never reads the file. Omit it and extraction proceeds ungrounded, naming entities as it finds them.
extraction_rate_limit_per_minuteinteger (min 1)—否Largest number of model requests the server issues per minute while building the graph, which is what keeps a large ingestion inside a provider's own quota. Omit it and the server issues requests as fast as ingestion produces them.
access_control_enabledbooleanfalse否Keep each dataset's memory readable only by the users granted it, rather than serving one shared memory to every caller. Off by default, matching the server's own default.

操作員資源規格

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

名稱型別預設必填描述
portinteger (min 1024, max 65535)8000否HTTP listen port the API serves on. Most operators should omit this and let the Recipe assign the default (8000).
engine_versionstring1.5.3否Server container image tag.
computeobject—否—
storageobject—否—
overridesobject (open)—否Provider-specific overrides. Accepts any nested structure. Each Recipe documents which keys it reads.

輸出契約

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

名稱型別預設必填描述
hoststring—是In-cluster DNS name of the Service fronting the memory API. A consumer that composes its own address dials this name; one that does not reads `endpoint` instead.
portinteger—是TCP port that Service accepts API requests on. It follows the port an operator set in the Release, so a consumer reads it rather than assuming a default.
endpointstring—否Full base URL of the memory API, with the host and the port already composed. A consumer hands it to its client as the address it ingests material through and asks its questions of.
protocolstring—否How the published address is spoken to — `http`, so a consumer reaches the API with an HTTP client.

Uses 插槽

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

extraction_model

選擇器
component.aggrega.ai/category in (ai-model, gateway), model.aggrega.ai/api
注入
—

經由此插槽的每個連線可填入的槽位

槽位選擇器必填注入敏感描述
credentialfeature.aggrega.ai/kind=secret否env是Optional credential the server presents to the model this connection reaches, the one it reads ingested material with. When attached, the Recipe delivers it as LLM_API_KEY (a Kubernetes secretKeyRef on helm), so its value never appears in the rendered manifest, and the component's model_api_key is not read for this side; unattached, no key is delivered for it.

embedding_model

選擇器
component.aggrega.ai/category in (ai-model, gateway), model.aggrega.ai/api
注入
—

經由此插槽的每個連線可填入的槽位

槽位選擇器必填注入敏感描述
credentialfeature.aggrega.ai/kind=secret否env是Optional credential the server presents to the model this connection reaches, the one it encodes ingested material with. When attached, the Recipe delivers it as EMBEDDING_API_KEY (a Kubernetes secretKeyRef on helm), so its value never appears in the rendered manifest, and the component's model_api_key is not read for this side; unattached, no key is delivered for it, and the server may then present the extraction side's key, where one is delivered, to this model instead.

附加槽位

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

槽位選擇器必填注入敏感描述
model_api_keyfeature.aggrega.ai/kind=secret否env是Optional credential the server presents to a model provider it reaches without a connection. It serves only a model socket left unwired, where the server reaches the provider its values name at that provider's own address: for extraction it is delivered as LLM_API_KEY, for embedding as EMBEDDING_API_KEY, so with both unwired each side presents this key. A wired socket carries its key on its own connection, under credential, and never reads this slot. Delivered as an environment variable, so the plaintext never appears in the rendered manifest; unattached, no key is delivered for an unwired side.

自我注入允許清單

env

關係

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

使用

被使用於

Component 概念參考

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

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

隱私權