Google Warehouse API Search Engine

Follow these steps to set up and use the search engine.

Created by Axel Hansson

Twitter LinkedIn
Step 1: Download Python

Download and install Python from the official website:

Download Python
Step 2: Install Required Libraries

Open your command line interface (cmd.exe or Mac equivalent) and run the following command:

pip install openai==0.28 numpy scikit-learn
Step 3: Generate an API Key

Generate an API key from the OpenAI platform:

Generate API Key
Step 4: Download the Script Files

Download the googlebot.py script and embeddings.json file:

Download googlebot.py Download embeddings.json
Step 5: Configure the Script

Open googlebot.py in a text editor and add your API key on line 6:

openai.api_key = 'YOUR-API-KEY-HERE'
Step 6: Run the Script

Run the script googlebot.py to start using the search engine:

python googlebot.py

The search engine works well but does not remember previous conversations, so be direct with your queries.