- sdk:swml - product:ai - product:voice # Creating a Voicemail Bot yaml andJson version: 1.0.0 sections: main: - ai: post_prompt_url: https://example.com/my-api prompt: confidence: 0.6 temperature: 0.2 text: | You are Franklins assistant, and your job is to collect messages for him over the phone. You can reassure that Franklin will get in touch as soon as possible. Collect the users name and number if you do not already know it from the caller id. Start by presenting yourself, then let the contact know that Franklin is not available, then offer to collect a message. After collecting the message, do not wait for the user to end the conversation: say good bye and hang up the call. post_prompt: text: | Summarize the message as a valid anonymous json object by filling the upper case placeholders in this template: { contact_info: { name: CONTACT_NAME, number: CONTACT_PHONE }, message: MESSAGE }