Mojeek
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.
tip
For a comprehensive list of all environment variables related to Web Search (including concurrency settings, result counts, and more), please refer to the Environment Configuration documentation.
Troubleshooting
Having issues with web search? Check out the Web Search Troubleshooting Guide for solutions to common problems like proxy configuration, connection timeouts, and empty content.
Mojeek Search API
Setup
- Please visit Mojeek Search API page to obtain an
API key - With
API key, openOpen WebUI Admin paneland clickSettingstab, and then clickWeb Search - Enable
Web searchand SetWeb Search Enginetomojeek - Fill
Mojeek Search API Keywith theAPI key - Click
Save
Docker Compose Setup
Add the following environment variables to your Open WebUI docker-compose.yaml file:
services:
open-webui:
environment:
ENABLE_RAG_WEB_SEARCH: True
RAG_WEB_SEARCH_ENGINE: "mojeek"
MOJEEK_SEARCH_API_KEY: "YOUR_MOJEEK_API_KEY"
RAG_WEB_SEARCH_RESULT_COUNT: 3
RAG_WEB_SEARCH_CONCURRENT_REQUESTS: 1