Цю сторінку перекладено машинно. Читати англійський оригінал.

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.

Конфіденційність