I have searched the existing issues and discussions.
Problem Description
Can we introduce a way to tune the websearch prompt?
For some specific searches the prompt generation is so vague that the results are nonsense.
Example searching for a person or a generic non well known company name if is associated to a person the prompt results in vague stuff
open-webui | 2025-08-07 00:52:12.277 | INFO | open_webui.routers.retrieval:process_web_search:1914 - trying to web search with ('searxng', ['Santiago Berhardt Ltd company information', 'Santiago Berhardt Ltd news', 'Santiago Berhardt Ltd financials'])
why did it add the financials? why assumes is a ltd company, etc.
Desired Solution you'd like
it would be nice to explicitly pass the search query in the prompt for example
prompt example:
based on the results of "query here" tell me blah blah
Or per mode instructions for websearch or anything really
Alternatives Considered
not use websearch for complex searches.
Additional Context
No response
Originally created by @sbe-arg on GitHub (Aug 7, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/16339
### Check Existing Issues
- [x] I have searched the existing issues and discussions.
### Problem Description
Can we introduce a way to tune the websearch prompt?
For some specific searches the prompt generation is so vague that the results are nonsense.
Example searching for a person or a generic non well known company name if is associated to a person the prompt results in vague stuff
```
open-webui | 2025-08-07 00:52:12.277 | INFO | open_webui.routers.retrieval:process_web_search:1914 - trying to web search with ('searxng', ['Santiago Berhardt Ltd company information', 'Santiago Berhardt Ltd news', 'Santiago Berhardt Ltd financials'])
```
why did it add the financials? why assumes is a ltd company, etc.
### Desired Solution you'd like
it would be nice to explicitly pass the search query in the prompt for example
prompt example:
based on the results of "query here" tell me blah blah
Or per mode instructions for websearch or anything really
### Alternatives Considered
not use websearch for complex searches.
### Additional Context
_No response_
By default, **prioritize generating 1-3 broad and relevant search queries**
Broad and relevant never go together I reckon.
<!-- gh-comment-id:3162114180 -->
@sbe-arg commented on GitHub (Aug 7, 2025):
```
By default, **prioritize generating 1-3 broad and relevant search queries**
```
Broad and relevant never go together I reckon.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Originally created by @sbe-arg on GitHub (Aug 7, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/16339
Check Existing Issues
Problem Description
Can we introduce a way to tune the websearch prompt?
For some specific searches the prompt generation is so vague that the results are nonsense.
Example searching for a person or a generic non well known company name if is associated to a person the prompt results in vague stuff
why did it add the financials? why assumes is a ltd company, etc.
Desired Solution you'd like
it would be nice to explicitly pass the search query in the prompt for example
prompt example:
based on the results of "query here" tell me blah blah
Or per mode instructions for websearch or anything really
Alternatives Considered
not use websearch for complex searches.
Additional Context
No response
@sbe-arg commented on GitHub (Aug 7, 2025):
https://github.com/open-webui/open-webui/blob/b8da4a8cd8257d4846f3608e299618a0b4f185ed/backend/open_webui/config.py#L1540C1-L1581
🤦
@sbe-arg commented on GitHub (Aug 7, 2025):
Broad and relevant never go together I reckon.