[PYTHON] The story of creating a store search BOT (AI LINE BOT) for Go To EAT in Chiba Prefecture (1)

Hello. I am writing an article for the first time. I do not know the borderline of "inappropriate articles", so please point out if you can not reach it.

Currently, I am using the Go To EAT campaign in Chiba prefecture. If you buy a meal coupon with a premium for 10,000 yen, you can use it as a meal voucher for 12500 yen, which is a great deal.

[Chiba Prefecture Go To EAT Business Official Website]  https://www.chiba-gte.jp/

The only thing I thought was subtle was that it was difficult to find a store that accepts coupons. As for the provided UI, you can tell which shops are nearby from the area information such as the station name. I found it difficult to search when the purpose was decided, such as "I want to eat this today!" (Personal opinion). I wish I could search by food genre and store name in addition to local information.

Therefore, I decided to use the LINE API to create an AI LINE BOT that would suggest a store based on the keywords entered by the user. When I tried it, my hands were unexpectedly quick and I made what I wanted to make, so I will share what I did.

 

Program source used to create

In this article, I would like to introduce what I have done for the following people.

・ I want to make a LINE BOT (messagingAPI). ・ I want to make a simple machine learning model. ・ I don't want to spend money on system construction (building at zero cost using AWS free trial or OSS).

(I hope that by disseminating my skills to the world, it will ultimately be advantageous for job change activities.)

Recommended Posts

The story of creating a store search BOT (AI LINE BOT) for Go To EAT in Chiba Prefecture (1)
The story of creating a store search BOT (AI LINE BOT) for Go To EAT in Chiba Prefecture (2) [Overview]
Convert PDF of Chiba Prefecture Go To EAT member store list to CSV (command)
The story of creating a VIP channel for in-house chatwork
Google search for the last line of the file in Python
Now in Singapore The story of creating a LineBot and wanting to do a memorable job
The story of creating a "spirit and time chat room" exclusively for engineers in the company
Scraping the member stores of Go To EAT in Osaka Prefecture and converting them to CSV
Create a function to get the contents of the database in Go
Scraping the list of Go To EAT member stores in Fukuoka prefecture and converting it to CSV
The story of returning to the front line for the first time in 5 years and refactoring Python Django
Scraping the list of Go To EAT member stores in Niigata prefecture and converting it to CSV
The story of creating a bot that displays active members in a specific channel of slack with python
The story of making a university 100 yen breakfast LINE bot with Python
Convert PDF of available stores of Go To EAT in Kagoshima prefecture to CSV
Convert PDF of Kumamoto Prefecture Go To EAT member store list to CSV
Convert PDF of Go To EAT member stores in Ishikawa prefecture to CSV
A story about trying to improve the testing process of a system written in C language for 20 years
Create a bot that posts the number of people positive for the new coronavirus in Tokyo to Slack
A story about creating a program that will increase the number of Instagram followers from 0 to 700 in a week
Various ways to read the last line of a csv file in Python
The story of creating Botonyan that returns the contents of Google Docs in response to a specific keyword on Slack
Creating a LINE BOT to notify you of additional AtCoder contests using AWS
Convert PDF of list of Go To EAT member stores in Niigata prefecture to CSV
The story of making a Line Bot that tells us the schedule of competitive programming
The story of switching from WoSign to Let's Encrypt for a free SSL certificate
Find a guideline for the number of processes / threads to set in the application server
The world's most easy-to-understand explanation of how to make a LINE BOT (1) [Account preparation]
A story about trying to introduce Linter in the middle of a Python (Flask) project
Procedure for creating a Line Bot on AWS Lambda
The easiest line bot in the world to lose weight
The story I was addicted to when I specified nil as a function argument in Go
How to make an interactive LINE BOT 004 (answer the closing date of a listed company)
To write a test in Go, first design the interface
The story of creating a database using the Google Analytics API
The story of making a question box bot with discord.py
Put the process to sleep for a certain period of time (seconds) or more in Python
A story that is a little addicted to the authority of the directory specified by expdp (for beginners)
How to determine the existence of a selenium element in Python
The case where Tokyo looked like a vomit in Chiba prefecture
A story that struggled to handle the Python package of PocketSphinx
How to check the memory size of a variable in Python
Read the standard output of a subprocess line by line in Python
[Go] Create a CLI command to change the extension of the image
The story of making a standard driver for db with python.
[Introduction to Python] How to use the in operator in a for statement?
How to check the memory size of a dictionary in Python
The story of creating a site that lists the release dates of books
How to get the vertex coordinates of a feature in ArcPy
How to run the practice code of the book "Creating a profitable AI with Python" on Google Colaboratory
[AtCoder for beginners] A story about the amount of calculation that you want to know very roughly
The story of participating in AtCoder
The story of the "hole" in the file
The story of writing a program
Create a LINE Bot in Django
The story of a Parking Sensor in 10 minutes with GrovePi + Starter Kit
Approach commentary for beginners to be in the top 1.5% (0.83732) of Kaggle Titanic_3
Python> sys.path> List of strings indicating the path to search for modules
[Linux] Command to get a list of commands executed in the past
I want to sort a list in the order of other lists
How to put a line number at the beginning of a CSV file