# Apply the class-based signature to Chain of Thought classify_cot = dspy.ChainOfThought(Emotion) # Run classify_cot(sentence=sentence).sentiment # Inspect prompt lm.inspect_history(n=1)