Can we practically enable basic rag feature so that we can do the following system prompt to call for an online search?
SYSTEM """
When a user asks about the weather, do a rag search with the following document #https://www.google.com/search?q=weather.
When a user asks about the date (or what day is today, what day is it, etc), do a rag search with the following document #https://www.google.com/search?q=date+today."""
Originally created by @oliverbob on GitHub (Feb 4, 2024).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/645
Can we practically enable basic rag feature so that we can do the following system prompt to call for an online search?
```
SYSTEM """
When a user asks about the weather, do a rag search with the following document #https://www.google.com/search?q=weather.
When a user asks about the date (or what day is today, what day is it, etc), do a rag search with the following document #https://www.google.com/search?q=date+today."""
```
This would be neat but I don't think easily implemented. What would be required is some ability for the UI to do semantic reasoning on inputs, without resorting to using a full LLM model as this would be monstrously inefficient. I've done a bit of research into the subject and have found a project that purports to be able to do this: Semantic Router.
<!-- gh-comment-id:1927103989 -->
@justinh-rahb commented on GitHub (Feb 5, 2024):
This would be neat but I don't think easily implemented. What would be required is some ability for the UI to do semantic reasoning on inputs, without resorting to using a full LLM model as this would be monstrously inefficient. I've done a bit of research into the subject and have found a project that purports to be able to do this: [Semantic Router](https://github.com/aurelio-labs/semantic-router).
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 @oliverbob on GitHub (Feb 4, 2024).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/645
Can we practically enable basic rag feature so that we can do the following system prompt to call for an online search?
@justinh-rahb commented on GitHub (Feb 5, 2024):
This would be neat but I don't think easily implemented. What would be required is some ability for the UI to do semantic reasoning on inputs, without resorting to using a full LLM model as this would be monstrously inefficient. I've done a bit of research into the subject and have found a project that purports to be able to do this: Semantic Router.