Web Search with Google

tool

Web Search with Google

victor1203
@victor1203
·
2 years ago
6.2K
9
16K
Created Dec 3, 2024
web_search_with_google.py
Python · 118 lines
"""
title: Google Search Tool
description: This tool performs Google searches to get real-time information from the internet using the Google Search API
required_open_webui_version: 0.4.0
requirements: google-api-python-client
version: 1.0.0
licence: MIT
"""

from pydantic import BaseModel, Field
from googleapiclient.discovery import build
from typing import List, Dict, Optional

Web Search with Google


1