Spaces:
Build error
Build error
Download src/exception.py from Sukanth07/emotional-intelligence-bot: direct link, hf CLI and curl.
- Browser
- Download file 330 Bytes
-
https://huggingface.co/spaces/Sukanth07/emotional-intelligence-bot/resolve/main/src/exception.py
- Command line
-
hf download hf://spaces/Sukanth07/emotional-intelligence-bot/src/exception.py
-
curl -L -o exception.py https://huggingface.co/spaces/Sukanth07/emotional-intelligence-bot/resolve/main/src/exception.py
330 Bytes
| 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 | |