DEV Community

Cover image for Place Insights app using cloudflare
Purushothaman Raju
Purushothaman Raju

Posted on

1

Place Insights app using cloudflare

This is a submission for the Cloudflare AI Challenge.

What I Built

I built an simple application to look up any popular place and quickly summarize and understand the sentiment of the place using reviews data

Demo

https://placeinsights.pages.dev/

My Code

https://github.com/problemsolver03/place-insights-cloudflare

Journey

The idea was to utilize the Google Maps review data and use it as the input data to summarize the reviews and also to provide users with the sentiment of the consolidated reviews.
This quick summarization and sentiment classification will help users quickly get an overview of the place they want to visit.

Once the idea was clear I procured a Google Maps API key to get the reviews of the place.
then I created two workers on Cloud Flare one for review summarization and the other for analyzing the sentiment of the reviews, with these workers setup. I was able to pass the review data to the workers and get the output of the models through API response, which I used in my react frontend to visualize it and later hosted the react application on Cloudflare pages.

Technologies/Libraries used
React, Serverless functions, TailwindCSS

Image description

Multiple Models and/or Triple Task Types

bart-large-cnn
distilbert-sst-2-int8

AWS Security LIVE!

Join us for AWS Security LIVE!

Discover the future of cloud security. Tune in live for trends, tips, and solutions from AWS and AWS Partners.

Learn More

Top comments (0)

Cloudinary image

Optimize, customize, deliver, manage and analyze your images.

Remove background in all your web images at the same time, use outpainting to expand images with matching content, remove objects via open-set object detection and fill, recolor, crop, resize... Discover these and hundreds more ways to manage your web images and videos on a scale.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay