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'}, optional)Which metamodel → LQP compilation pipeline to use when use_lqp is
enabled. "legacy" uses the v0-bridged legacy LQP executor;
"direct" selects the direct v1 → LQP MetamodelExecutor. When
unset, deploy mode uses "direct" and interactive mode "legacy".
The RAI_LQP_COMPILER environment variable, when set, overrides this
value (a temporary escape hatch for development).
.ast_size_exception_limit
ReasonerLogicLqpConfig.ast_size_exception_limit: (int, optional)Maximum AST size before the logic engine raises an exception. Mostly used for internal debugging.