feat(agent_chat): Ajout des composants conversationnels
Nouveaux composants pour l'agent conversationnel : - IntentParser: Analyse des intentions utilisateur (règles + LLM optionnel) - ConfirmationLoop: Validation avant actions critiques (niveaux de risque) - ResponseGenerator: Génération de réponses en langage naturel - ConversationManager: Gestion du contexte multi-tour Endpoint /api/chat ajouté pour le flux conversationnel complet. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -1,5 +1,69 @@
|
||||
"""
|
||||
RPA Vision V3 - Command Interface
|
||||
RPA Vision V3 - Agent Chat
|
||||
|
||||
Interface web légère pour communiquer avec le système RPA.
|
||||
Interface conversationnelle pour communiquer avec le système RPA.
|
||||
Style "Spotlight/Alfred" - minimaliste et efficace.
|
||||
|
||||
Composants:
|
||||
- IntentParser: Compréhension des intentions utilisateur
|
||||
- ConfirmationLoop: Validation avant actions critiques
|
||||
- ResponseGenerator: Réponses en langage naturel
|
||||
- ConversationManager: Contexte multi-tour
|
||||
|
||||
Auteur: Dom - Janvier 2026
|
||||
"""
|
||||
|
||||
from .intent_parser import (
|
||||
IntentParser,
|
||||
IntentType,
|
||||
ParsedIntent,
|
||||
get_intent_parser
|
||||
)
|
||||
|
||||
from .confirmation import (
|
||||
ConfirmationLoop,
|
||||
PendingConfirmation,
|
||||
ConfirmationStatus,
|
||||
RiskLevel,
|
||||
get_confirmation_loop
|
||||
)
|
||||
|
||||
from .response_generator import (
|
||||
ResponseGenerator,
|
||||
ResponseTone,
|
||||
GeneratedResponse,
|
||||
get_response_generator
|
||||
)
|
||||
|
||||
from .conversation_manager import (
|
||||
ConversationManager,
|
||||
ConversationSession,
|
||||
ConversationTurn,
|
||||
ConversationContext,
|
||||
get_conversation_manager
|
||||
)
|
||||
|
||||
__all__ = [
|
||||
# Intent Parser
|
||||
"IntentParser",
|
||||
"IntentType",
|
||||
"ParsedIntent",
|
||||
"get_intent_parser",
|
||||
# Confirmation
|
||||
"ConfirmationLoop",
|
||||
"PendingConfirmation",
|
||||
"ConfirmationStatus",
|
||||
"RiskLevel",
|
||||
"get_confirmation_loop",
|
||||
# Response Generator
|
||||
"ResponseGenerator",
|
||||
"ResponseTone",
|
||||
"GeneratedResponse",
|
||||
"get_response_generator",
|
||||
# Conversation Manager
|
||||
"ConversationManager",
|
||||
"ConversationSession",
|
||||
"ConversationTurn",
|
||||
"ConversationContext",
|
||||
"get_conversation_manager",
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user