mirror of
https://github.com/open-webui/docs.git
synced 2026-01-03 18:26:47 +07:00
33 lines
1.3 KiB
Markdown
33 lines
1.3 KiB
Markdown
---
|
|
sidebar_position: 5
|
|
title: "Google PSE"
|
|
---
|
|
|
|
:::warning
|
|
|
|
This tutorial is a community contribution and is not supported by the Open WebUI team. It serves only as a demonstration on how to customize Open WebUI for your specific use case. Want to contribute? Check out the contributing tutorial.
|
|
|
|
:::
|
|
|
|
## Google PSE API
|
|
|
|
### Setup
|
|
|
|
1. Go to Google Developers, use [Programmable Search Engine](https://developers.google.com/custom-search), and log on or create account.
|
|
2. Go to [control panel](https://programmablesearchengine.google.com/controlpanel/all) and click `Add` button
|
|
3. Enter a search engine name, set the other properties to suit your needs, verify you're not a robot and click `Create` button.
|
|
4. Generate `API key` and get the `Search engine ID`. (Available after the engine is created)
|
|
5. With `API key` and `Search engine ID`, open `Open WebUI Admin panel` and click `Settings` tab, and then click `Web Search`
|
|
6. Enable `Web search` and Set `Web Search Engine` to `google_pse`
|
|
7. Fill `Google PSE API Key` with the `API key` and `Google PSE Engine Id` (# 4)
|
|
8. Click `Save`
|
|
|
|

|
|
|
|
#### Note
|
|
|
|
You have to enable `Web search` in the prompt field, using plus (`+`) button.
|
|
Search the web ;-)
|
|
|
|

|