本页面为机器翻译。阅读英文原文。

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 可以填充该槽位,其 inject 列表则指明 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 设计系统构建。

隐私