-
Make sure that OS-Copilot/FRIDAY is properly installed first;
git clone https://github.com/OS-Copilot/FRIDAY cd FRIDAY/ pip install -r requirement.txt
-
Follow one of the following instructions:
-
For developers, make sure Node.js (as well as npm) is installed:
git clone https://github.com/OS-Copilot/FRIDAY-front cd FRIDAY-front/ npm install touch .env echo "REACT_APP_PATH=${FRIDAY_PATH}" >> .env npm start
change
${FRIDAY_PATH}
to real absolute path; -
For deployer, make sure Node.js (as well as npm) is installed:
git clone https://github.com/OS-Copilot/FRIDAY-front cd FRIDAY-front/ npm install npm run build touch dist/.env echo "REACT_APP_PATH=${FRIDAY_PATH}" >> dist/.env
change
${FRIDAY_PATH}
to real absolute path;
-
REACT_APP_PATH
(required): absolute path of backend directory;REACT_APP_PROXY
(optional): proxy URL used when executing python scripts;REACT_APP_MIRROR
(optional): mirror site of Hugging Face.
- Move the text files containing the word 'agent' from the folder named 'document' to the path 'working_dir/agent'.