Use the Google Search API to search the web in Chatbot UI.
-
Create a new project at https://console.developers.google.com/apis/dashboard
-
Create a new API key at https://console.developers.google.com/apis/credentials
-
Enable the Custom Search API at https://console.developers.google.com/apis/library/customsearch.googleapis.com
-
Create a new Custom Search Engine at https://cse.google.com/cse/all
-
Add your API Key and your Custom Search Engine ID to your .env.local file
-
You can now select the Google Search Tool in the search tools dropdown
Google gives you 100 free searches per day. You can increase this limit by creating a billing account.