Skip to content

bowwowxx/GeminiLineBot

Repository files navigation

GeminiLineBot

[Gemini]:how to create API keys
https://makersuite.google.com/app/prompts/new_freeform

mole

1.Set parameters in the configuration file(.env)

GEMINI_API_KEY = xxx
LINE_ACCESS_TOKEN = xxx
LINE_CHANNEL_SECRET = xxx
NGROK_AUTHTOKEN = xxx

2.Run Gemini LineBot

docker build

docker build . -t geminilinebot

docker run

docker run -itd  geminilinebot

or.

python run

python3 gemini_linebot.py

mole

3.Check ngrok tunnels URL

docker logs -t containername

mole

4.Verify line bot webhook

mole

5.enjoy it !

mole
mole

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published