Here are some examples of line bot.
- Python >= 3.8
- Flask==3.0.0
- line_bot_sdk==3.5.0
- python-dotenv==1.0.0
- google-generativeai==0.3.1
- Install requirements
pip install -r requirements.txt
- Copy
.env.example
and rename to.env
- Change the content in
.env
to your own information - Run the program
python index.py
Route | Description |
---|---|
/echo/ |
Echo bot |
/chat/ |
Generative AI bot |
/keyword/ |
Keyword bot |
Distributed under the MIT License. See LICENSE for more information.