ScreenRecording2024-03-18at2.41.36AM-ezgif.com-video-speed.mov
(Video is 1.5x speed)
- Install Ollama
- Create a virtual environment and activate it
- Run
pip install -r requirements.txt
- Run
ollama pull mistral:instruct
(should say "success" at the end when the model is successfully pulled)
-
Watch this video and follow the instructions to enable both Google Drive and Google Docs API, get
credentials.json
(watch until 7:25) -
After getting your
folder_id
(video at 11:30), go to the "backend" directory and create a separateconfig.json
file with the following format:{ "folder_id": "PASTE_YOUR_FOLDER_ID_HERE" }
-
Add the code to Google extension: https://www.youtube.com/watch?v=B8Ihv3xsWYs&t=2s (until 10:30)
- Run
cd backend && uvicorn main:app --reload
- Use the extension! (Google is going to ask you to sign in to write to the doc)