This is a demo of a sentiment analysis, tagging, and summarization Gemini — Google's next-generation AI model.
Create two public 2nd generation Cloud Functions with the following implementations.
Take a note of the deployed functions' URLs. You will need them later.
- Create a free MongoDB Atlas account.
- Database cluster - Deploy a new MongoDB database cluster in your Atlas account. You can use the free M0 tier for this demo. - Load the sample dataset.
- Data API
- Enable the Data API for your newly deployed cluster.
- Set the
readAll
data access rule for thesample_restaurants.restaurants
collection. - Atlas Functions - Create two new Atlas Functions with the following implementations. Replace the URL placeholders with the URls of the deployed Google Cloud Functions.
- Atlas Triggers - Create two new Atlas Triggers with the following configuration.
Stanimira Vlaeva |
Use at your own risk; not a supported MongoDB product