Skip to main content

What it does

Runs the temporal variant of the cognify pipeline: instead of (or in addition to) standard entity/relationship extraction, it extracts events and timestamps so the knowledge graph supports temporal reasoning. Mirrors Python’s temporal_cognify=True.

When to use it

  • Your corpus is event-driven (logs, meeting notes, news, changelogs) and you want to ask “what happened when?” / “what came before X?”.
  • You plan to query with temporal recall (see below).

CLI

The flag is --temporal-cognify (crates/cli/src/cli.rs, CognifyArgs). It maps to CognifyConfig.temporal_cognify.

Programmatic

See CognifyConfig (temporal_cognify, with_temporal_cognify, data_per_batch).

Querying temporal memory

Retrieve with the TEMPORAL search type:
This uses SearchType::Temporal and the temporal retriever (crates/search/src/). The recall router can auto-select the temporal strategy from the query (crates/search/src/query_router.rs).

Pointers