/Phi

A Discord Bot Using Phi3 & Ollama

Primary LanguageJavaScriptArtistic License 2.0Artistic-2.0

Phi - A Discord Chat Bot Using Ollama and Microsoft's Phi3 Model

Requirements

  1. Node Version: v22.2.0
  2. Ollama

Installation

  1. Ensure you have the desired Node version (v22.2.0).
  2. Install ollama https://github.com/ollama/ollama
  3. Run npm install to install dependencies.
  4. Rename .env.example file to .env, and edit it with your credentials:

.env

OLLAMA_API_URL="127.0.0.1:11434"
DISCORD_TOKEN=""

Running

node phi.js