Skip to content

A web service to query Google Maps reviews using natural language

Notifications You must be signed in to change notification settings

lakbychance/google-maps-reviews-nl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Introduction

As an active google maps contributor, I find the lack of an intuitive interface to recall places, food etc one have documented rather surprising. So I thought of solving this problem for myself.

Typesense is used to power the RAG pipeline and SerpAPI to fetch the google maps reviews for a contributor. Both combined result in a web service that you can hit to query your reviews using natural language.

I specifically wanted an experience straight from my iPhone so have created two apple shortcuts (one textual and another voice based) to call the web service and get the results.

Google_Maps_Reviews_NL_demo.1.MOV

Requirements

  • Node.js
  • Docker
  • SerpAPI key - To retrieve Google Maps reviews
  • OpenAI API key - To generate embeddings & answers
  • Google Maps contributor ID - To retrieve Google Maps reviews from a specific contributor

Setup

  1. Clone the repository
  2. Create a .env file in the root directory with the correct environment variables. See .env.example for reference.
  3. Create a typesense-data directory in the root directory.
  4. Run docker compose up to start the service.

How to use with Apple shortcuts ?

Google_Maps_Reviews_Apple_shortcuts_setup.1.mov

About

A web service to query Google Maps reviews using natural language

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published