# Neural Integrated Capability
# Created: 2025-10-25 02:12:39.225808

class EmotionIntensityRegulator:
    def __init__(self):
        self.emotions = {} # Initialize an empty dictionary to store emotional states and their intensities
    
    def add_emotion(self, emotion, intensity):
        """Function to add/update the intensity of an emotion in our model."""
        if not isinstance(intensity, (int, float)) or intensity < 0:
            raise ValueError("Intensity should be a non-negative number.")
        
        self.emotions[emotion] = intensity
    
    def get_intensity(self, emotion):
        """Function to retrieve the intensity of an emotional state."""
        return self.emotions.get(emotion, "unknown")