Skip to content

A Telegram bot powered by Google's Gemini Generative AI model.

License

Notifications You must be signed in to change notification settings

vergilyun/gemini-telegram-bot

 
 

Repository files navigation

gemini-telegram-bot

A Telegram bot powered by Google's Gemini Generative AI model.

Key Features

  • Capable of continuing the previous conversation
  • Capable of prompting with an image
  • Streams the response
  • Formatted responses

Setup

  1. Create a Google AI Key using Google AI Studio
  2. Create a Telegram bot using @BotFather
  3. Create a Docker environment file with the following minimum content:
TELEGRAM_BOT_TOKEN=YOUR_TELEGRAM_BOT_TOKEN
GOOGLE_AI_API_KEY=YOUR_GOOGLE_AI_API_KEY

Please refer to the docker-compose.yml file for additional environment variables.

Run

docker-compose --env-file PATH_TO_YOUR_ENV_FILE up --build 

About

A Telegram bot powered by Google's Gemini Generative AI model.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 97.8%
  • Dockerfile 2.2%