Reference

Declare the memory system

The CoreCortex configuration keeps data contracts, transformation stages, storage, indexes, and retrieval policies together.

Minimal shape

This abbreviated example shows the conceptual hierarchy. Use the repository example and generated schema for the exact alpha contract.

yamlCoreCortex Core
apiVersion: corecortex.io/v1alpha1
kind: Corpus
metadata:
  name: fda-labels
spec:
  datasets:
    - name: drug-labels
  pipeline:
    - normalize: {}
    - chunk:
        strategy: sections
    - embed:
        model: nomic-embed-text
  storage:
    controlPlane: postgres
  indexes:
    - name: label-semantic
      type: vector
  retrievalPlans:
    - name: evidence-search
      indexes: [label-semantic]

Configuration lifecycle

  • Validate authored state without writing it.
  • Apply a new immutable revision with an idempotency key.
  • Build new index versions against that revision.
  • Activate a tested version without rewriting source records.
  • Retain lineage so results can identify the plan and index versions used.

Compatibility

Continue readingUse the CLI