OpenWebUI has an option for a SearXNG API key
-
If you are using Cloudron, you can run both OpenWebUI and an instance of SearXNG to create an API key to provide yourself with search capability.
Has anybody tried this yet? What was the procedure?
https://docs.searxng.org/
https://docs.openwebui.com/tutorial/web_search#1-searxng-configuration
-
Based on what Joseph said, you can try specify the SEARXNG_QUERY_URL=http://searxng/search?q=<query>
https://forum.cloudron.io/topic/12117/web-search-with-searxng/2?_=1722501184516So, it should be without :8080. I think it is because Cloudron is using Nginex to route traffic from the Main Gate 443 to each docker container.
So, should look like this:
Export ENABLE_RAG_WEB_SEARCH: True
Export RAG_WEB_SEARCH_ENGINE: "searxng"
Export RAG_WEB_SEARCH_RESULT_COUNT: 3
Export RAG_WEB_SEARCH_CONCURRENT_REQUESTS: 10
Export SEARXNG_QUERY_URL: "http://searxng/search?q=<query>"You can add these to your env.sh file. And add the Searxng folder and config file in the same directory of env.sh
Then restart your apps.