mirror-ollama-twitch-bot/README.md

22 lines
879 B
Markdown
Raw Permalink Normal View History

2024-03-05 21:27:36 +01:00
# Ollama Twitch Bot
2024-03-03 00:07:33 +01:00
2024-03-08 21:16:10 +01:00
Twitch chat bot that interacts with ollama.
2024-03-05 19:29:55 +01:00
## Requirements:
2024-03-05 19:59:56 +01:00
[Golang](https://go.dev/)
2024-03-05 19:30:53 +01:00
2024-03-05 19:29:55 +01:00
[Ollama.com](https://ollama.com)
## Build and run:
2024-03-05 19:59:56 +01:00
1. Change the example values in the provided `env.example` and rename it to `.env`.
2. Make sure ollama is running on the host and reachable at `localhost:11434` and the model that you specified in the `.env` file is already downloaded and ready to go. (Can be checked with e.g. `ollama run wizard-vicuna-uncensored`)
3. Run:
- With docker compose (might need sudo infront if you haven't setup rootless):
- `$ make up`
- Without docker:
- `$ make build && make run`
4. Join the Twitch channels you chose and type `()gpt <cool query>` and hopefully get a response.
2024-03-08 21:16:10 +01:00
## Example Response
2024-03-31 21:01:09 +02:00
![image](https://github.com/nouryxd/ollama-twitch-bot/assets/66651385/3a8a6e7d-07d7-42fc-bf10-27227746a1a8)