/Linebot_Ai

Primary LanguagePython

Linebot

Configuration (Modify in config.py):

  • Line access token : 連結Line bot
  • Imgur token : 保存相片至imgur
  • MongoDB token : 關鍵字對話

Deployment:

Deploy on Render cloud (free) : https://render.com/ Enter secret keys (config keys) in Render settings

Functions:

  • Gemini AI
  • Ptt Draw Card
  • Auto Reply
  • Image2Anime

Artificial Intelligence:

Utilizes an API-connected model in model_api.py.

** Gemini API **

Model Information:


Important Notes:

Please note that this project requires the following three tokens to enable the respective functionalities. Please generate these tokens yourself and add them to the config.py file.

  1. Line Access Token:

  2. Imgur Token:

  3. MongoDB Token:

    • Create an account on MongoDB Atlas or your chosen MongoDB provider and obtain your MongoDB connection string.

Ensure that you manage these tokens securely and do not share them directly on public forums or store them in insecure locations.