Coverage for src/qdrant_loader_mcp_server/search/enhanced/intent_classifier.py: 100%

2 statements  

« prev     ^ index     » next       coverage.py v7.10.6, created at 2025-09-08 06:06 +0000

1""" 

2Intent-Aware Adaptive Search for Search Enhancement - Re-export Module. 

3 

4This module provides the complete intent classification and adaptive search 

5functionality through a clean, modular architecture. All components have been 

6extracted to the intent/ package for better maintainability and testability. 

7 

8Architecture: 

9- intent.models: Core data types (IntentType, SearchIntent, AdaptiveSearchConfig) 

10- intent.classifier: Main IntentClassifier implementation with spaCy analysis 

11- intent.strategy: AdaptiveSearchStrategy for intent-based configuration 

12""" 

13 

14# Re-export core components from the intent package 

15from .intent import ( 

16 AdaptiveSearchConfig, 

17 AdaptiveSearchStrategy, 

18 IntentClassifier, 

19 IntentType, 

20 SearchIntent, 

21) 

22 

23# Convenient access to classes for backward compatibility 

24__all__ = [ 

25 "IntentType", 

26 "SearchIntent", 

27 "AdaptiveSearchConfig", 

28 "IntentClassifier", 

29 "AdaptiveSearchStrategy", 

30]