Server SDKs
Build AI agents, control calls, send messages, and more
Merge LLM-specific parameters into the post-prompt configuration. Accepts the same parameters as setPromptLlmParams().
setPromptLlmParams()
Key-value LLM parameters to merge.
AgentBase — Returns this for method chaining.
AgentBase
this
1import { AgentBase } from '@signalwire/sdk';23const agent = new AgentBase({ name: 'support', route: '/support' });4agent.setPromptText('You are a helpful customer support agent.');5agent.setPostPrompt('Summarize this call as JSON with intent and resolution.');6agent.setPostPromptLlmParams({7 model: 'gpt-4o-mini',8 temperature: 0.3,9});10await agent.serve();