mattordev / coda

C.O.D.A is a smart assistant that I've began to rewrite. The new implementation makes use of ElevenLabs' voice synthesis and has many more features planned like GPT3.5/4 integration and home assistant capabilities
GNU Affero General Public License v3.0
1 stars 0 forks source link

Save Commands to JSON file instead of dictionary #7

Closed mattordev closed 1 year ago

mattordev commented 1 year ago

Move away from storing the commands in a local dictionary to the program. Instead, opt for a JSON file that can be parsed throughout and avoid any strange variable spaghetti code

mattordev commented 1 year ago

Currently, they are saved - but I just need to implement the proper checks to see if the JSON file exists, and then using that instead of a dictionary.