Files
wehub-resource-sync e4dcfc49aa
Tests / Import Check (Python 3.13) (push) Has been cancelled
Tests / Import Check (Python 3.14) (push) Has been cancelled
Tests / Python Tests (Python 3.11) (push) Has been cancelled
Tests / Python Tests (Python 3.12) (push) Has been cancelled
Tests / Python Tests (Python 3.14) (push) Has been cancelled
Tests / Test Summary (push) Has been cancelled
Tests / Lint and Format (push) Has been cancelled
Tests / Web Node Tests (push) Has been cancelled
Tests / Import Check (Python 3.11) (push) Has been cancelled
Tests / Import Check (Python 3.12) (push) Has been cancelled
Tests / Python Tests (Python 3.13) (push) Has been cancelled
chore: import upstream snapshot with attribution
2026-07-13 13:00:43 +08:00

27 lines
800 B
Python

"""
Chat Module - conversational AI with session management.
This module provides:
- ChatAgent: Legacy conversational agent with RAG/Web Search support
- AgenticChatPipeline: exploring agent loop + respond stage 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"]