private-gpt icon indicating copy to clipboard operation
private-gpt copied to clipboard

Made changes in constants.py so that it can automatically create the db directory and set the PERSIST_DIRECTORY enviroment variable if people forget to do it.

Open GazPrash opened this issue 1 year ago • 0 comments

Made changes so that "db" to store databases (labelled under environ name **PERSIST_DIRECTORY**) directory can be automatically created and be assigned as their environment variable as most people forget to do this quite often and the error they receive is very confusing to follow and doesn't explain the situation at all.

p.s This was my first ever open source contribution so forgive me if this was useless or not needed. Thank You!

GazPrash avatar May 14 '23 20:05 GazPrash