Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/geeknik/ollama-discord
an ollama powered discord bot
https://github.com/geeknik/ollama-discord
Last synced: 20 days ago
JSON representation
an ollama powered discord bot
- Host: GitHub
- URL: https://github.com/geeknik/ollama-discord
- Owner: geeknik
- License: gpl-3.0
- Created: 2024-02-26T02:28:50.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2024-02-26T03:57:11.000Z (9 months ago)
- Last Synced: 2024-02-27T03:39:21.562Z (9 months ago)
- Size: 23.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ollama-discord
### an ollama powered discord botRequirements:
- node 20.10.0+
- npm 10.2.3+
- ollama 0.1.27+
- serper api key
- openai api key (optional)Usage:
```
screen -S ollamaDiscord
git clone https://github.com/geeknik/ollama-discord
cd ollama-discord
cp env.example .env
nano .env
npm install axios discord
node ollama-discord.js
ctrl-a-d
```Features:
- Free and open source discord bot
- Local llm-powered chatbots, free from corporate control
- Message chunking to fit into discord's 2000 character limit
- ollama and openai are interchangeable via .env if you're hip to itKnown Issues:
- Message chunking can result in broken lines, incomplete words
- ThinkingMessages() doesn't convey enough information to userTODO:
- Improve message chunking heuristic
- Add heuristic for estimating remaining time
- Improve thinkingMessages() routine
- Improve web search integration
- Add unit tests