Open Ilya-666 opened 11 months ago
@Ilya-666 The OpenAI feature is not published to npm yet. If you want to give it a try, you can clone this repo and follow the steps mentioned in the readme file.
These are the actual variables you have to use in the .env file.
So in the readme it is stated you have to use USERNAME and PASSWORD, but that is not correct is should be MONGOGUI_USERNAME and MONGOGUI_PASSWORD
The .env file goed into the root of the project when you clone it from Github. I do not know where it resides or how it works when you install via npm. I believe for Linux it could be /usr/local/lib/node_modules/mongo-gui
MONGOGUI_USERNAME="username" MONGOGUI_PASSWORD="password" OPENAI_API_KEY=OPEN_API_KEY
if i uses this MONGOGUI_USERNAME="username" MONGOGUI_PASSWORD="password" OPENAI_API_KEY=OPEN_API_KEY it gives me error of too many redirects
The instructions say create in the root of your project. I installed with npm, it installed itself in /usr/local/lib/node_modules/mongo-gui I created a .env file there with an openai key but no sign of the ai query Also I tried adding a line MONGO_URL=mongodb:// etc to save having to start with a -u and it didn't pick up. Commented it out in case it caused problem with the openai Apologies if it's obvious to everyone else where the .env file should go.