Skip to content

config_reasoners_fields

relationalai.config

Reasoner configuration sections for Config.

Most projects configure reasoner defaults in a YAML file (typically raiconfig.yaml) under the reasoners section (for example reasoners.logic.size and reasoners.logic.auto_suspend_mins). This module defines the Pydantic models that validate those settings, along with the allowed reasoner size strings for each deployment platform.

You can also configure everything in code by passing dictionaries to the create_config factory function (useful for programmatic setup or for overrides in tests).

Start with ReasonersConfig (the top-level reasoners section) for configuring base reasoner API settings. Shared fields live in ReasonerConfig, and logic reasoner-specific options live in LogicReasonerConfig.

Attributes exposed by this module.

Classes exposed by this module.