Skip to content

ReasonerLogicLqpConfig

relationalai.config.config_reasoners_fields

Configure LQP-specific behavior for the logic reasoner.

Most users should leave this unset. Only set it if a RelationalAI release note or support instruction asks you to opt into a specific semantics version.

Attributes

.semantics_version

ReasonerLogicLqpConfig.semantics_version: ({'1'}, optional)

Semantics version to opt into.

.compiler

ReasonerLogicLqpConfig.compiler: {'legacy', 'direct'}

Which metamodel → LQP compilation pipeline to use when use_lqp is enabled. "legacy" (default) uses the v0-bridged legacy LQP executor; "direct" selects the direct v1 → LQP MetamodelExecutor. The RAI_LQP_COMPILER environment variable, when set, overrides this value (a temporary escape hatch for development).

Inheritance Hierarchy

ReasonerLogicLqpConfigpydantic.BaseModel