sentiment.FrustrationShortCircuit
Pre-empts inference with score when a user message matches groups.
Usage
sentiment.FrustrationShortCircuit(
groups,
score=1,
ignore_case=True,
)Parameter Attributes
groups: tuple[tuple[str, str], …]score: int = 1ignore_case: bool = True