{"repo":"mongodb-developer/Google-Cloud-Semantic-Search","free":true,"listed":false,"github":"https://github.com/mongodb-developer/Google-Cloud-Semantic-Search","clone":"git clone https://github.com/mongodb-developer/Google-Cloud-Semantic-Search.git","description":"Vector search with MongoDB Atlas and Google Cloud","language":"JavaScript","stars":17,"topics":["atlas-search","mongodb","mongodb-atlas","vector-search"],"license":"Apache-2.0","category":"databases-storage","readme_excerpt":"MongoDB Atlas and Google Cloud Vector Search This is a demo of vector search using MongoDB Atlas and Google Cloud. The dataset is a catalogue of books. The project uses Node.js and express for the server and Angular for the client. Prerequisites 1. Node.js LTS. Setup Follow the instructions below to run the demo locally. Import the dataset into MongoDB Atlas 1. Clone the project. 1. Navigate to the prepare-data directory and install the dependencies. 1. Create a free MongoDB Atlas account. 1. Deploy a free M0 database cluster in a region of your choice. 1. Complete the security quickstart. 1. Add your connection string to prepare-data/.env . Make sure to replace the placeholders with credentials of the database user you created in the security quickstart. prepare-data/.env Note that you will have to create the file .env in the prepare-data folder. 1. Run the script for importing the dataset into your database. 1. Navigate to your MongoDB Atlas database deployment and verify that the data is loaded successfully. Generate embeddings 1. Create a new Google Cloud project with billing enabled. 1. Enable the Vertex AI and Cloud Functions APIs. 1. Deploy a public 2nd generation Google Cloud Function with the following implementation: - Generate embeddings Replace the PROJECT ID and LOCATION placeholders in the file google-cloud-functions/generate-embeddings/main.py before deploying the function. Remember to also update the Entry Point to generate embeddings . Note: The LOCATION para","default_branch":null,"files":null,"tree":[],"storefront":"/r/mongodb-developer","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/mongodb-developer/Google-Cloud-Semantic-Search/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}