Logic Gate

Logic gate block can be used to set a condition and only when the condyion is met the downstream blocks will be run. Logic gate takes only variables as input.

Example

In the following example we will ask a question and and score the relevance of the question to New York's taxi trip. If the relevance score is greater than or equal to 5 we will follow a particular flow. If the score is less than 5, we will follow a particular flow. If a condition is not met then the downstream blocks will not run.

Last updated