Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Split messages into multiple intents #222

Open
Tracked by #233
svenseeberg opened this issue Feb 17, 2025 · 1 comment
Open
Tracked by #233

Split messages into multiple intents #222

svenseeberg opened this issue Feb 17, 2025 · 1 comment
Labels
enhancement New feature or request question Further information is requested

Comments

@svenseeberg
Copy link
Member

svenseeberg commented Feb 17, 2025

Questions/messages can contain multiple intents/ideas that might influence the search and therefore not yield good results. We could use an LLM first to split the incoming message into multiple search queries that can be used to retrieve relevant pages:

Image

The lists of documents should then probably be merged and sorted by scores. We should probably use a JSON response for this. Instead of simply using the last message to derive search terms, we can use the last N user messages to derive a search term, see #126 . This would get us most of the way towards #229

@svenseeberg
Copy link
Member Author

Alternative: break down the initial question/message into multiple questions and let the RAG answer each one individually.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant