https://github.com/austinksmith/phi
A Discord Bot Using Phi3 & Ollama
https://github.com/austinksmith/phi
Last synced: 10 months ago
JSON representation
A Discord Bot Using Phi3 & Ollama
- Host: GitHub
- URL: https://github.com/austinksmith/phi
- Owner: austinksmith
- License: artistic-2.0
- Created: 2024-05-27T00:32:33.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2024-10-01T02:08:49.000Z (over 1 year ago)
- Last Synced: 2025-01-15T20:19:08.034Z (12 months ago)
- Language: JavaScript
- Size: 291 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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`