File size: 330 Bytes
d7f9105
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
class ChatbotException(Exception):
    """Base exception for chatbot-related errors."""
    pass

class LLMLoadingError(ChatbotException):
    """Exception raised for issues while loading the LLM."""
    pass

class ResponseGenerationError(ChatbotException):
    """Exception raised for errors in response generation."""
    pass