mirror of
https://github.com/lyx0/ollama-twitch-bot.git
synced 2024-11-06 18:52:03 +01:00
rename project
This commit is contained in:
parent
3d9bee1512
commit
f31e75b73b
8 changed files with 11 additions and 21 deletions
11
.gitignore
vendored
11
.gitignore
vendored
|
@ -15,12 +15,5 @@
|
|||
# vendor/
|
||||
|
||||
.env
|
||||
Nourybot
|
||||
Nourybot.out
|
||||
Nourybot-Api
|
||||
Nourybot-Api.out
|
||||
NourybotApi
|
||||
NourybotApi.out
|
||||
nourybot-api
|
||||
Nourybot-Web
|
||||
nourybot-web
|
||||
OllamaTwitchBot
|
||||
OllamaTwitchBot.out
|
||||
|
|
|
@ -13,7 +13,7 @@ COPY .env .
|
|||
RUN go get -d -v ./...
|
||||
|
||||
# Build the Go app
|
||||
RUN go build -o Nourybot.out .
|
||||
RUN go build -o OllamaTwitchBot.out .
|
||||
|
||||
# Run the executable
|
||||
CMD [ "./Nourybot.out"]
|
||||
CMD [ "./OllamaTwitchBot.out"]
|
||||
|
|
7
Makefile
7
Makefile
|
@ -1,13 +1,12 @@
|
|||
build:
|
||||
go get -d -v ./...
|
||||
go build -o Nourybot.out .
|
||||
go build -o OllamaTwitchBot.out .
|
||||
|
||||
run:
|
||||
./Nourybot.out
|
||||
./OllamaTwitchBot.out
|
||||
|
||||
jq:
|
||||
./Nourybot.out | jq
|
||||
|
||||
./OllamaTwitchBot.out | jq
|
||||
|
||||
up:
|
||||
docker compose down
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# NourybotGPT
|
||||
# Ollama Twitch Bot
|
||||
|
||||
Twitch chat bot that interacts with ollama. Work in Progress.
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
version: "3.7"
|
||||
|
||||
services:
|
||||
nourybotgpt:
|
||||
ollamatwitchbot:
|
||||
user: "1000:1000"
|
||||
build:
|
||||
context: .
|
||||
|
|
|
@ -7,7 +7,7 @@ TWITCH_OAUTH=oauth:cooloauthtokenhere
|
|||
# Comma seperated list of twitch channels the bot should join (no spaces)
|
||||
TWITCH_CHANNELS=channelone,channeltwo,channelthree
|
||||
|
||||
# Ollama model that should be used. https://ollama.com/models
|
||||
# Ollama model that you want to use. https://ollama.com/models
|
||||
OLLAMA_MODEL=wizard-vicuna-uncensored
|
||||
|
||||
# There are three context models to choose from, think of it like chat history.
|
||||
|
|
2
go.mod
2
go.mod
|
@ -1,4 +1,4 @@
|
|||
module github.com/lyx0/nourybot-gpt
|
||||
module github.com/lyx0/ollama-twitch-bot
|
||||
|
||||
go 1.22.0
|
||||
|
||||
|
|
2
main.go
2
main.go
|
@ -41,8 +41,6 @@ func main() {
|
|||
sugar.Fatal("Error loading .env")
|
||||
}
|
||||
|
||||
//tc := twitch.NewClient(config.twitchUsername, config.twitchOauth)
|
||||
|
||||
userMsgStore := make(map[string][]ollamaMessage)
|
||||
|
||||
app := &application{
|
||||
|
|
Loading…
Reference in a new issue