Core

exception src.aerospace_chatbot.core.ConfigurationError

Bases: Exception

Raised when there are configuration related errors.

src.aerospace_chatbot.core.get_required_api_keys(config, selected_services)

Determine required API keys based on config and selected services.

src.aerospace_chatbot.core.get_secrets()

Load and return secrets from environment

src.aerospace_chatbot.core.load_config(config_path)

Load configuration from file with caching.

src.aerospace_chatbot.core.set_secrets(secrets)

Sets environment variables from provided secrets dictionary.

src.aerospace_chatbot.core.setup_logging()

Configure logging based on environment variables.