Server SDKs
Build AI agents, control calls, send messages, and more
Override the post-prompt text while this context is active.
Post-prompt text for this context.
Context — Self for method chaining.
Context
1import { ContextBuilder } from '@signalwire/sdk';23const builder = new ContextBuilder();4builder.addContext('default').addStep('menu').setText('Ask what the caller needs.');56const billing = builder.addContext('billing');7billing.setPostPrompt('Summarize the billing issue and resolution.');8billing.addStep('review').setText('Review the caller\'s account and recent charges.');