Skip to content

Conversation

@JosephChataignon
Copy link

Big reorganization to separate the configuration from the code. The config now sits in 3 places:

  • .env for sensitive (API keys) and deployment-specific (database path) variables
  • embedding_config.yaml for settings related to the vector DB creation
  • llm_config.yaml for settings related to running LLM inference
    The gitignore and readme files have been updated accordingly, as well as the loading of config variables in the whole codebase. Example files for each of the 3 config files are provided. I have tested that it runs with these changes of course.

IMPORTANT: this will break the way the config is currently loaded. Make sure to save your config before pulling, and re-set your config according to the new organisation afterward.

@JosephChataignon JosephChataignon force-pushed the Separate-config-from-code branch from 180bc83 to 9a5f86f Compare August 11, 2025 16:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants