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.query_timeout_mins). This module defines the Pydantic models that validate those settings, along with the allowed reasoner size strings for each deployment platform.

Operational lifecycle settings such as auto_suspend_mins and await_storage_vacuum are not managed in config. Manage those when you create a reasoner or update it later through the reasoner-management APIs or CLI.

You can also configure reasoner defaults in code by passing dictionaries to the create_config factory function. This is 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.