Reference

Command-line workflows

The CoreCortex CLI covers validation, schema generation, control-plane setup, normalized ingestion, inspection, and local demos.

Authoring

shellCoreCortex Core
corec validate ./corec.yaml
corec schema --output ./corec.schema.json
corec demo query-plan --config ./corec.yaml --query "your question"

Control plane

shellCoreCortex Core
corec db migrate --database-url "$DATABASE_URL"
corec tenant provision --database-url "$DATABASE_URL" --name "Example"
corec apply --database-url "$DATABASE_URL" --tenant-id "$TENANT_ID" --config ./corec.yaml

Normalized ingestion

Core accepts normalized records. Source-specific extraction, refresh scheduling, and connector operation belong to CoreCortex Enterprise.

shellCoreCortex Core
corec ingest \
  --database-url "$DATABASE_URL" \
  --tenant-id "$TENANT_ID" \
  --corpus-id "$CORPUS_ID" \
  --dataset drug-labels \
  --input ./records.jsonl

Credentials

Continue readingPlan a query