Documentation Index
Fetch the complete documentation index at: https://docs.cognigy.com/llms.txt
Use this file to discover all available pages before exploring further.
Syntax
removeFromContext(key, value, mode)
Description
Removes data from the Context object: either a key-value entry or a specific value within an array stored under that key. Parameters:key:string— the key in the Context object.value:string— the value to remove if the mode is set to"array".mode:"simple" | "array":"simple"— deletes a key-value entry."array"— removes a value from the array.
void