Here’s a step-by-step guide for installing the Call_Llama project on Windows, including manual installation of Ollama , pulling the llama3:8b model, and setting up the Excel add-in using a batch file.
Download Ollama Installer :
Visit the official Ollama website or GitHub repository.
Download the Windows installer (ollama-windows.exe) from https://ollama.ai/download .
Install Ollama :
Double-click the downloaded installer (ollama-windows.exe) to begin the installation.
Follow the on-screen instructions to complete the installation.
By default, Ollama will be installed in C:\Program Files\Ollama.
Verify Installation :
Open a Command Prompt (press Win + R, type cmd, and press Enter).
Run the following command to verify that Ollama is installed correctly:
bash
ollama --version
If the command returns the version number, Ollama is successfully installed.
Open Command Prompt :
Press Win + R, type cmd, and press Enter.
Pull the Model :
Run the following command to download and install the llama3:8b model:
bash
ollama pull llama3:8b
This process may take some time depending on your internet speed. Once completed, the model will be available locally for use.
Verify the Model :
Run the following command to list all installed models:
bash
ollama list
You should see llama3:8b listed as one of the installed models.
Press the download button and after downloading - unzip or extract all files to a common folder.
Place the OllamaIntegration.xlam file in the same folder as the install_addin.bat file.
Double-click the install_addin.bat file to execute it. (Run as administrator)
Open Excel :
Launch Microsoft Excel.
Access Add-Ins Manager :
Go to File > Options > Add-Ins.
At the bottom of the window, select Excel Add-ins from the dropdown and click Go.
Enable the Add-In :
In the Add-Ins dialog box, check the box next to OllamaIntegration and click OK.
Verify Installation :
Press Alt + F11 to open the VBA editor.
Confirm that the OllamaIntegration add-in is listed in the Project Explorer pane.