Skip to content

Conversation

@NicolasLMP
Copy link
Collaborator

This PR introduces a new ReformulationService that uses a context-aware LLM to rewrite user queries based on conversation history.

Key changes:

- Adds a contextual query reformulation via LLM

Also:

  • Removed legacy semantic expansion (5-query logic, static intent detection)
  • Unified pipeline: Reformulation → Retrieval → Generation
  • Query now consistently used for both vector search and filtering
  • Enhanced document filtering with better French support and fallback logic

@NicolasLMP NicolasLMP merged commit f01b34e into main Jul 30, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants