feat: smart rag system (simple google search on basic queries) #263

Closed
opened 2025-11-11 14:14:14 -06:00 by GiteaMirror · 1 comment
Owner

Originally created by @oliverbob on GitHub (Feb 4, 2024).

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). 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.""" ```
Author
Owner

@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.

@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).
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#263