This bot is designed to give Twitch streamers the power of the Ollama API for generating human-like responses. Whether you need answers to trivia, general knowledge, or just some interactive fun, this bot aims to provide that functionality seamlessly.
-
Clone the repository:
git clone https://github.com/kacesensitive/ollama-twitch.git
-
Install the dependencies:
cd ollama-twitch yarn install
-
Run the bot:
yarn start
- Create a '.env' file at the root of your project directory (modeled after the .env.example). And fill in your Bot's/Channel's info.
USERNAME=twitch_username OAUTH=oauth:1234567890 CHANNEL=tighwin OLLAMAURL=127.0.0.1:11434 CUSTOMMODEL= TRIGGER=!llama
After setting up the bot, you can use the following commands in the Twitch channel the bot is active in.
- '!llama your_question_here': Queries Ollama with your question.
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.