Server SDKs
Build AI agents, control calls, send messages, and more
Set the post-prompt text appended after the main prompt. The post-prompt is typically used to instruct the model on how to summarize the conversation.
The post-prompt string.
void
1import { PromptManager } from '@signalwire/sdk';23const pm = new PromptManager();4pm.setPostPrompt('Summarize the conversation as a JSON object with keys: topic, resolution, sentiment.');5console.log(pm.getPostPrompt());