A knowledge base assistant which utilizes Open AI to load a document, and enable conversations with said document.
Install node version manager to install Node on your system. Follow the instructions listed here: https://github.com/nvm-sh/nvm?tab=readme-ov-file#installing-and-updating
curl
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash
wget
wget -qO- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash
source the .bashrc or .profile in the user directory.
source ~/.bashrc
check nvm version
nvm version
install Node 18.
nvm install 18
Create a .env file in the root of the project and add your Open AI API Key to operate the server.
OPENAI_API_KEY=sk-...
Start the server on port 5041.
npm run start