33800 Docs

← Retour

Proposition : Intent Detection Hybride

Date : 01/02/2026 Status : EN COURS D'IMPLEMENTATION (plan approuve)

Resume

Implementation du plan de detection d'intent hybride en 4 etapes :

  1. Tags sur endpoints/entites (trigger_tags, generic_tags)
  2. Stemming francais + recherche phonetique
  3. Validation LLM (confrontation deterministe vs LLM)
  4. Metadata _matchSource et _matchScore

Fichiers modifies

  1. migrations/017_trigger_tags.sql - Migration DB
  2. src/data/connector-types.ts - trigger_tags/generic_tags sur ConnectorType
  3. src/types/action.ts - trigger_tags sur Action
  4. src/types/routine.ts - trigger_tags sur Routine
  5. src/utils/frenchMatcher.ts - NOUVEAU : stemming + phonetique
  6. src/services/intentDetector.ts - Refactor avec tags et frenchMatcher
  7. src/services/intentClassifier.ts - NOUVEAU : validation LLM
  8. src/services/aiChat.ts - Integration confrontation
  9. src/services/intentExecutor.ts - Adaptation prompts
  10. Front-end forms actions/routines - Champ trigger_tags