Skip to content

OplogConfig

relationalai.config.config_fields

Configure oplog (semantic-model-management) recording on deploy.

enabled is the recording toggle: when true, a successful rai models deploy also records the change to the model’s oplog. Recording and stateless deployment default to true. Set oplog.stateless_deploy: false to retain local replay state and enable pull, branch, merge, and switch. Set oplog.enabled: false to disable recording; this also disables the implicit stateless default. backend selects where the oplog lives: snowflake (the real _INTERNAL_OPLOG table) or jsonl (a local file, reserved for tests/demos).

table_type picks the Snowflake table type the oplog is provisioned as. standard is the default and works on accounts without Hybrid Tables (e.g. Tri-Secret Secure). Set hybrid to opt in to faster appends on accounts that support Hybrid Tables. Correctness is equivalent either way: the concurrent-append fork guard is the compare-and-swap on _INTERNAL_OPLOG_HEAD (RAI-51225), which does not rely on PRIMARY KEY enforcement. This only affects tables at creation; an already-provisioned oplog keeps the type it was created with.

Inheritance Hierarchy

OplogConfigpydantic.BaseModel