Files
DeepTutor/deeptutor/agents/chat/__init__.py
2026-03-13 20:42:16 +08:00

27 lines
805 B
Python

"""
Chat Module - Lightweight conversational AI with session management.
This module provides:
- ChatAgent: Legacy conversational agent with RAG/Web Search support
- AgenticChatPipeline: Four-stage chat orchestration with autonomous tool use
- SessionManager: Chat session persistence and management
Usage:
from deeptutor.agents.chat import ChatAgent, SessionManager
agent = ChatAgent(language="en")
response = await agent.process(
message="What is machine learning?",
history=[],
kb_name="ai_textbook",
enable_rag=True,
enable_web_search=False
)
"""
from .agentic_pipeline import AgenticChatPipeline
from .chat_agent import ChatAgent
from .session_manager import SessionManager
__all__ = ["AgenticChatPipeline", "ChatAgent", "SessionManager"]