set_post_prompt
set_post_prompt
Set the post-prompt text for summary generation. After a conversation ends, the AI
uses this prompt to analyze the conversation and generate a structured summary. The
summary is delivered to your on_summary() callback or
the set_post_prompt_url() endpoint.
Parameters
text
Instructions for summary generation. Tell the AI what to extract from the conversation — for example, caller intent, resolution status, or action items.
Returns
AgentBase — Returns self for method chaining.