Skip to content

Remove From Context


A Remove from Context Node is used to remove information from the Cognigy Context.

Parameter Type Description
Key Cognigy Text The key you want to remove. This can be a key nested with dot (e.g. my.first.key)
Value Cognigy Text The value to remove from the array if Mode = Array is chosen
Mode Select - Simple removes the key completely
- Array removes the value from the array stored at context.key

Storing an Object

If you want to store an object in the context, use .preserveType() at the end in order to keep it an object. Example:[0].preserveType() would store the full slot object for the first found city entity in the context.