Installation
Prerequisites
Recommended System Requirements
Llama 3.1 (Better results, slower)
- Operating System: Windows 10 or later, macOS 11 or later, Linux
- Processor: Intel i7 or equivalent
- Memory: 16 GB RAM
- Storage: 10 GB available space
Llama 3.2:1b (Worse results, faster)
- Operating System: Windows 10 or later, macOS 11 or later, Linux
- Processor: Intel i5 or equivalent
- Memory: 8 GB RAM
- Storage: 6 GB available space
Installing Python
Installation Steps
Windows
- Download the installer from the official Python website.
- Run the installer and ensure you check the box "Add Python to PATH".
- Follow the on-screen instructions to complete the installation.
- Verify the installation by running
python --version
in Command Prompt.
macOS
- Download the installer from the official Python website.
- Open the downloaded
.pkg
file and follow the on-screen instructions. - Verify the installation by running
python3 --version
in Terminal.
Linux
- Open your terminal.
- Use the package manager for your distribution to install Python. For example, on Debian-based systems:
sudo apt update
sudo apt install python3
Verify the installation by running python3 --version
in Terminal.
Installing Llama 3.1 or 3.2:1b
Installation Steps
Windows
- Download the installer from the official website.
- Run the installer and follow the on-screen instructions.
- Verify the installation by running
ollama --version
in Command Prompt.
macOS
- Download the installer from the official website.
- Double click the downloaded
Ollama.app
file and add it to the applications folder. - Follow the on-screen instructions, verify the installation by running
ollama --version
in Terminal.
Linux
- Install ollama by running the following command: (or manual installation)
curl -fsSL https://ollama.com/install.sh | sh
Verify the installation by running ollama --version
in Terminal.
Download the preferred model
Llama3.1
- Go to your terminal and use the command
ollama pull llama3.1
Llama3.2:1b
- Go to your terminal and use the command
ollama pull llama3.2:1b
Setting up the project
Downloading
Using git
- Run git clone in your terminal
git clone https://github.com/Kliiyu/FRIDAY.git
Using github
- Open the repository on Github
- Download the zip file or open the project with Github Desktop
Setup
Project initialization
- Open terminal in the folder created
- Make a Python Virtual Environment and activate it with
python -m venv .venv
.venv/scripts/activate
Install required dependencies using
python -m pip install --upgrade pip
pip install -r ./config/requirements.txt
Setting up the .env file
- Go to the config folder and rename
.env.example
to.env
- Fill in the field in the file with your personal API keys/secrets
Next Steps
You have completed the installation. To learn how to run FRIDAY, please refer to the How to run FRIDAY Guide.