nonllm-chatbot / src /context /__init__.py
Hreeem's picture
Deploy to Hugging Face (clean history)
2750f74
Raw History Blame Contribute Delete
658 Bytes
"""
Context-Aware Intent Resolution Package.
Exposes three components:
- EntityExtractor: lightweight spaCy-based entity + keyword extraction
- ContextManager: session-level sliding intent/entity window (last 3)
- ResolutionEngine: decision logic (DIRECT / CONTEXT_RESOLVED / AMBIGUOUS / FALLBACK)
"""
from .entity_extractor import EntityExtractor
from .context_manager import ContextManager, ConversationContext
from .resolution_engine import ResolutionEngine, ResolvedContext, ResolutionType
__all__ = [
"EntityExtractor",
"ContextManager",
"ConversationContext",
"ResolutionEngine",
"ResolvedContext",
"ResolutionType",
]