Skip to main content

What is a dataset

A dataset is a named container for data and the memory built from it. It is the scope that add, cognify, search, improve and forget work in.

How datasets work in Rust

A Dataset is the organizational scope for memory operations: named, owned by a user, optionally tenant-scoped. A data row belongs to exactly one dataset (data.dataset_id) and gets a random uuid4 id, so the same content added to two datasets is two rows. add / cognify / search / delete all operate within a dataset scope. Dataset IDs are deterministic (UUID5 of name, owner and tenant) for cross-SDK reproducibility. Rust: Dataset in cognee-models; lifecycle helpers in DatasetManager (cognee api::datasets).

Datasets and access

Users, tenants and per-dataset storage

Forget

Remove a dataset

Add

Put data in a dataset