Skip to navigation

Semantic gates added to SWAIG functions

Require a yes/no check on the conversation before your AI agent can run a SWAIG function. You attach a question, such as “Has the caller explicitly asked to cancel their ride?”, and a decision model answers it before the function runs. If the answer doesn’t clear your threshold, the function doesn’t run and the agent gets a response you wrote instead.

Define gates on a function in SWML, or with SemanticGate in the Python and TypeScript Server SDKs starting with v3.6.0. Semantic gates walks through gating a function end to end.