I would like some advice about negative examples (seen in triggers and transitions) and how exactly Teneo uses them. Also what are best practices in writing negative examples? And what happens if a trigger doesn’t have any negative examples? So far I haven’t used them, because I wasn’t sure how to write them.
We haven’t devoted much time to negative examples at Teneo.ai because their use is not one of the core concepts. Basically negative examples have the following function:
They are NOT used by class triggers, but can be a reference for you to create a hybrid trigger: one where you assure that the negative examples do not trigger the flow, even if the class is selected. See also: https://www.teneo.ai/studio/flows/concepts/triggers#class-triggers
As for what to use as a negative example: We usually wait until we see which inputs falsely trigger a flow to see what should be added. Don’t spend too much time worrying about all the inputs that should not enter the flow.
In general these would be inputs that look very similar to the positive examples but meaning something different. For example: something that triggers on “I love you” should not trigger on “I don’t love you”. If it does, add the negative example, and regenerate the condition.
Let me know please if you have any further questions