Owl
Owl copied to clipboard
Enhance configuration management and expand documentation
This PR adds a more robust configuration system with a standard naming convention. The main changes are:
- Added
python-dotenvin the main__init__.pyto load environment variables. - Created a
.configdirectory containing sample configuration files (sample-config.yamlandsample-env.env). Each includes a full list of all possible configuration options. - Added an
owl setupcommand to automatically generateconfig.yamland.envfiles in the root directory. Users are prompted to provide their name, and a secureclient_tokenis generated. - Introduced
export_config_to_envandapply_env_overridesutility functions to enhance theConfigurationbase model. Configuration options from theconfig.yamlfile are exported as environment variables. The.envtakes precedence. - Minor changes and improvements to accommodate the configuration adjustments.
- Added tests to new functionality and the
LLMServiceclass. - Expanded the documentation, including sections on getting started, server configuration, configuration options, and various installation guides.