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

This is a continuation of the story (1) of creating a store search BOT (AI LINE BOT) for Go To EAT in Chiba Prefecture.

The system configuration is as follows. 無題.png

【flow】

  1. Operate the LINE BOT on your smartphone and enter the word related to the store you want to search.
  2. When you enter it, an https request will be sent to the WEB server on the AI search server via LINE's Messageing API.
  3. Requests are accepted by flask, and shops with high similarity to the search word are identified by AI.
  4. Based on the result determined by AI, we will return the information about the store from the database.

To avoid spending money, the AI search server adopted t2.micro, which is provided as a free tier on AWS. However, since the memory is small to create an AI model, I used the surface pro 6 at hand for the model creation work itself.

To create the AI model, we use the information on the tabelog site and the list of shops on the Go To eat Chiba Prefecture website (shop_list.pdf) (the list of shops is currently unavailable for download).

In the following articles, we will talk about the construction procedure.

Recommended Posts

The story of creating a store search BOT (AI LINE BOT) for Go To EAT in Chiba Prefecture (2) [Overview]
The story of creating a store search BOT (AI LINE BOT) for Go To EAT in Chiba Prefecture (1)
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
A story about trying to improve the testing process of a system written in C language for 20 years
Convert PDF of Go To EAT member stores in Ishikawa prefecture to CSV
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
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
Is it a problem to eliminate the need for analog human resources in the AI era?
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
A story that is a little addicted to the authority of the directory specified by expdp (for beginners)
[sh] How to store the command execution result in a variable
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