Skip to content

gdscnuk/line-bot-python-2023

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

line-bot-python-example

About The Project

Here are some examples of line bot.

Usage for Vercel

Deploy with Vercel

Usage for local

Requirements

- Python >= 3.8
- Flask==3.0.0
- line_bot_sdk==3.5.0
- python-dotenv==1.0.0
- google-generativeai==0.3.1

Installation

  1. Install requirements
pip install -r requirements.txt
  1. Copy .env.example and rename to .env
  2. Change the content in .env to your own information
  3. Run the program
python index.py

Webhook URL route

Route Description
/echo/ Echo bot
/chat/ Generative AI bot
/keyword/ Keyword bot

License

Distributed under the MIT License. See LICENSE for more information.

About

These are several LINE Bot examples built by line-bot-sdk-python.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%