Building Your Own Google like Search Engine with Vertex AI Search

Vishal BulbuleVishal Bulbule
3 min read

Introduction

In the digital age, information overload is a common challenge. As we navigate through vast amounts of data on the internet, having efficient search capabilities becomes essential. Whether you’re managing a website, an e-commerce platform, or an internal knowledge base, providing users with a seamless search experience can significantly enhance their interaction and satisfaction..In this blog post, we’ll explore how you can leverage Vertex AI Search to develop your personalised search engine.

YouTube Video Link for this demo

What is Vertex AI Search

Google Cloud’s Vertex AI Search offers a powerful solution for creating custom search experiences tailored to your specific needs. With its advanced features and flexibility, building your own search engine becomes not only feasible but also highly efficient.

Vertex AI Search lets organisations set up Google Search-quality, multi modal, multi-turn search applications powered by foundation models. Vertex AI Search brings together the power of deep information retrieval, state-of-the-art natural language processing, and the latest in large language model (LLM) processing to understand user intent and return the most relevant results for the user.

With Vertex AI Search, you can build a Google-quality search app on your own data and embed a search bar in your web pages or app.

Now Lets create Our Own Search Engine

Ohh wait , before starting one query , Does trying this will cost me more? Here is surprise for you.

$ 1,000 in FREE trial credits are awarded for use with Vertex AI Search and Conversation. These credits are valid for 1 year period beginning from account signup with Vertex AI Search and Conversation starting on Jul 18, 2023.

so Enjoy now and lets start creating own search Engine !

  1. In the Google Cloud console, go to the Search and Conversation page.

  2. Read and agree to the Terms of Service, then click Continue and activate the API.

3. Go to the Search and Conversation page.

4. Click on New App

6. In the Select app type pane, select Search.

7. In order to create a website search app, make sure Enterprise features is turned on.

8. If you don’t plan to use Advanced LLM features for this app, turn off the Advanced LLM features option.

9.In the Your app name field, enter a name for your app. Your app ID appears under the app name.

10. In the External name of your company or organisation field, enter the company or organisation name.

11. Select global (Global) as the location for your app, and then click Continue.

12. In the Data stores pane, click Create new data store.

13. In the Select a data source pane, select Website URLs.

14. Make sure that Advanced website indexing is turned off.

15.In the Specify the websites for your data store pane, in the Sites to include field, enter your own site if not for testing use cloud.google.com/* and then click Continue.

Now go to preview and Try searching some content relevant to your site.

Mobile View

You can easily embed this search widget on your web page with simple steps from integration section.

You can also create search engine for unstructured data like files and media. Just store your files in GCS bucket and create datastore with GCS path.

and here is how your search result will look like.

Rather than spending months building gen AI apps, enterprise developers can quickly ingest data, add customisation, and, with a few clicks, build a search engine or chatbot that can interact with customers and answer questions grounded in the factuality of their enterprise website along with specified structured and unstructured data sources.

0
Subscribe to my newsletter

Read articles from Vishal Bulbule directly inside your inbox. Subscribe to the newsletter, and don't miss out.

Written by

Vishal Bulbule
Vishal Bulbule