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

[Feature Request] Add support for query breakdown functionality for knowledge base retrieval #749

Open
1 of 2 tasks
fillz-noh opened this issue Feb 26, 2025 · 1 comment
Labels
enhancement New feature or request planned Top-priority enhancements selected for likely implementation.

Comments

@fillz-noh
Copy link

Describe the solution you'd like

I would like to add support for the query breakdown feature (Query modification). This feature helps break down complex questions into simpler ones that work better with knowledge base searches.

Why the solution needed

Users often ask questions in ways that don't work well for searching knowledge bases. The query breakdown feature can change these complex questions into better search terms. Using this together with the rerank feature from issue #695 might help improve RAG (Retrieval Augmented Generation) quality and give users more relevant answers.

Additional context

I believe both the query breakdown and rerank features can be added through the retrieve_and_generate configuration settings.

Implementation feasibility

  • Yes, I am able to implement the feature and create a pull request.
  • No, I am unable to implement the feature, but I am open to discussing the solution.
@statefb statefb added enhancement New feature or request planned Top-priority enhancements selected for likely implementation. and removed needs-triage labels Feb 27, 2025
@statefb
Copy link
Contributor

statefb commented Feb 27, 2025

Thank you for the request. Currently we use the same query as user's input but much better to use optimized query reflecting the context such as conversation history.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request planned Top-priority enhancements selected for likely implementation.
Projects
None yet
Development

No branches or pull requests

2 participants