easyiec.core.NeedsHuman#

class easyiec.core.NeedsHuman(query, suggestion=None, reason='')[source]#

Bases: Exception

Raised by an evaluator that must hand the query over to a person.

Front ends (the Jupyter gallery, the matplotlib gallery) catch it, show the query, optionally prefilled with the AI suggestion, and answer with easyiec.Session.tell().