set_semantic_gate_mark
set_semantic_gate_mark
Set a named mark that semantic gates judge the dialogue from. A
gate with since=name judges the dialogue from the agent’s first turn at or
after the mark, up to its history entries. Until the mark is set, the gate
judges its dialogue as usual.
The mark dates from the start of the result’s action list, so a
say() anywhere in the same result falls after it. Setting the mark
again moves it, and marks last for the rest of the call. Older platform
releases date the mark from its own action instead, so set it before the say
to cover both.
Parameters
name
The mark’s name: 1 to 64 letters, digits, or underscores.
Returns
FunctionResult — self, for chaining.
Raises
ValueError if name is not 1 to 64 letters, digits, or underscores.
Example
The quote sets the cancel_offer mark, and the gate on book_repair judges only
the dialogue from that point on.
give_quote returns: