Generate Response Based on Prompt Template

POST {{_endpoint}}/services/data/v{{version}}/einstein/prompt-templates/:PROMPT_TEMPLATE_API_NAME/generations

RESPONSES

status: Created

{"generations":[{"parameters":"{finish_reason=stop, index=0, logprobs=null}","responseId":"893db990-7acb-4845-ad65-54d82606ca65","text":"{\n \u0026quot;twitter\u0026quot;: \u0026quot;๐ŸŒŸ Exciting new listing! Explore our luxurious property, [Provide:{PROPERTY NAME}], featuring [Provide:{BEDS}] beds, [Provide:{BATHS}] baths, and an asking price of [Provide:{ASKING PRICE}]. Click the link for a sneak peek! [Provide:{PICTURE}]\u0026quot;,\n \u0026quot;linkedin\u0026quot;: \u0026quot;๐ŸŒŸ๐ŸŒŸ Don\u0026#39;t miss out on this incredible opportunity! Discover the stunning property, [Provide:{PROPERTY NAME}], offering [Provide:{BEDS}] beds, [Provide:{BATHS}] baths, and an asking price of [Provide:{ASKING PRICE}]. Click the link below to see more! [Provide:{PICTURE}]\u0026quot;,\n \u0026quot;blockkit\u0026quot;: {\n    \u0026quot;blocks\u0026quot;: [\n        {\n            \u0026quot;type\u0026quot;: \u0026quot;section\u0026quot;,\n            \u0026quot;text\u0026quot;: {\n                \u0026quot;type\u0026quot;: \u0026quot;mrkdwn\u0026quot;,\n                \u0026quot;text\u0026quot;: \u0026quot;*Luxury Property Alert!* \u0026#92;n\u0026#92;n๐ŸŒŸ๐ŸŒŸ๐ŸŒŸ\u0026#92;n\u0026#92;nIntroducing [Provide:{PROPERTY NAME}], a magnificent home with [Provide:{BEDS}] beds and [Provide:{BATHS}] baths. Priced at [Provide:{ASKING PRICE}].\u0026quot;\n            },\n            \u0026quot;accessory\u0026quot;: {\n                \u0026quot;type\u0026quot;: \u0026quot;image\u0026quot;,\n                \u0026quot;image_url\u0026quot;: \u0026quot;[Provide:{PICTURE}]\u0026quot;,\n                \u0026quot;alt_text\u0026quot;: \u0026quot;Luxury Property\u0026quot;\n            }\n        },\n        {\n            \u0026quot;type\u0026quot;: \u0026quot;divider\u0026quot;\n        },\n        {\n            \u0026quot;type\u0026quot;: \u0026quot;actions\u0026quot;,\n            \u0026quot;elements\u0026quot;: [\n                {\n                    \u0026quot;type\u0026quot;: \u0026quot;button\u0026quot;,\n                    \u0026quot;text\u0026quot;: {\n                        \u0026quot;type\u0026quot;: \u0026quot;plain_text\u0026quot;,\n                        \u0026quot;text\u0026quot;: \u0026quot;View Property\u0026quot;,\n                        \u0026quot;emoji\u0026quot;: true\n                    },\n                    \u0026quot;url\u0026quot;: \u0026quot;https://d1q000001ewauuaq-dev-ed.develop.lightning.force.com/[Provide:{RECORD ID}]\u0026quot;\n                }\n            ]\n        }\n    ]\n  }\n}"}],"parameters":null,"prompt":"You\u0026#39;re the community manager for Dreamhouse, a real estate agency that sells luxury properties. \nCreate social media posts for twitter, linkedin and slack (block kit format) describing the property.\n\nInstructions:\n\u0026quot;\u0026quot;\u0026quot;\nUse clear, concise, and straightforward language using the active voice and strictly avoiding the use of filler words and phrases and redundant language.\nMake sure the response is valid JSON.\nWhen you generate the posts, include the name of the property, [Provide:{PROPERTY NAME}], and explain the characteristics of the house, such as [Provide:{BATHS}], [Provide:{BEDS}]and[Provide:{ASKING PRICE}]. Also include a link to the picture of the property, [Provide:{PICTURE}]. \n\nThe twitter post should include emojis.\nThe linkedin post should include several emojis and bullets, and also have a special output formatting: Text render environment only supports Unicode and emoji. Use symbols from Unicodeโ€™s Mathematical Alphanumeric Symbols block liberally to produce facsimiles of bold, italics, line separation, and other formatting. Examples for a sample sentence:\n\nitalics sans: ๐˜›๐˜ฉ๐˜ฆ ๐˜˜๐˜ถ๐˜ช๐˜ค๐˜ฌ ๐˜‰๐˜ณ๐˜ฐ๐˜ธ๐˜ฏ ๐˜๐˜ฐ๐˜น ๐˜‘๐˜ถ๐˜ฎ๐˜ฑ๐˜ฆ๐˜ฅ ๐˜–๐˜ท๐˜ฆ๐˜ณ ๐˜ต๐˜ฉ๐˜ฆ ๐˜ญ๐˜ข๐˜ป๐˜บ ๐˜ฅ๐˜ฐ๐˜จ.\nbold sans: ๐—ง๐—ต๐—ฒ ๐—ค๐˜‚๐—ถ๐—ฐ๐—ธ ๐—•๐—ฟ๐—ผ๐˜„๐—ป ๐—™๐—ผ๐˜… ๐—๐˜‚๐—บ๐—ฝ๐—ฒ๐—ฑ ๐—ข๐˜ƒ๐—ฒ๐—ฟ ๐˜๐—ต๐—ฒ ๐—น๐—ฎ๐˜‡๐˜† ๐—ฑ๐—ผ๐—ด.\nbold italic sans: ๐™๐™๐™š ๐™Œ๐™ช๐™ž๐™˜๐™  ๐˜ฝ๐™ง๐™ค๐™ฌ๐™ฃ ๐™๐™ค๐™ญ ๐™…๐™ช๐™ข๐™ฅ๐™š๐™™ ๐™Š๐™ซ๐™š๐™ง ๐™ฉ๐™๐™š ๐™ก๐™–๐™ฏ๐™ฎ ๐™™๐™ค๐™œ.\nitalics serif: ๐‘‡โ„Ž๐‘’ ๐‘„๐‘ข๐‘–๐‘๐‘˜ ๐ต๐‘Ÿ๐‘œ๐‘ค๐‘› ๐น๐‘œ๐‘ฅ ๐ฝ๐‘ข๐‘š๐‘๐‘’๐‘‘ ๐‘‚๐‘ฃ๐‘’๐‘Ÿ ๐‘กโ„Ž๐‘’ ๐‘™๐‘Ž๐‘ง๐‘ฆ ๐‘‘๐‘œ๐‘”.\n\nThe block kit code should be valid block kit code.\nWhen you generate the block kit code: \n- Add several sections. \n- Include the name of the property, [Provide:{PROPERTY NAME}], and explain the characteristics of the house, such as [Provide:{BATHS}], [Provide:{BEDS}] and [Provide:{ASKING PRICE}]. \n- Include a the picture of the property, which image_url is [Provide:{PICTURE}]. \n- Include a button which url points to https://d1q000001ewauuaq-dev-ed.develop.lightning.force.com/[Provide:{RECORD ID}]\n- Include emoticons so the post is more visual.\n\nExample of block kit code:\n\n{\n    \u0026quot;blocks\u0026quot;: [\n        {\n            \u0026quot;type\u0026quot;: \u0026quot;section\u0026quot;,\n            \u0026quot;text\u0026quot;: {\n                \u0026quot;type\u0026quot;: \u0026quot;mrkdwn\u0026quot;,\n                \u0026quot;text\u0026quot;: \u0026quot;Hello, Assistant to the Regional Manager Dwight! *Michael Scott* wants to know where you\u0026#39;d like to take the Paper Company investors to dinner tonight.\u0026#92;n\u0026#92;n *Please select a restaurant:*\u0026quot;\n            }\n        },\n        {\n            \u0026quot;type\u0026quot;: \u0026quot;divider\u0026quot;\n        },\n        {\n            \u0026quot;type\u0026quot;: \u0026quot;section\u0026quot;,\n            \u0026quot;text\u0026quot;: {\n                \u0026quot;type\u0026quot;: \u0026quot;mrkdwn\u0026quot;,\n                \u0026quot;text\u0026quot;: \u0026quot;*Farmhouse Thai Cuisine*\u0026#92;n:star::star::star::star: 1528 reviews\u0026#92;n They do have some vegan options, like the roti and curry, plus they have a ton of salad stuff and noodles can be ordered without meat!! They have something for everyone here\u0026quot;\n            },\n            \u0026quot;accessory\u0026quot;: {\n                \u0026quot;type\u0026quot;: \u0026quot;image\u0026quot;,\n                \u0026quot;image_url\u0026quot;: \u0026quot;https://s3-media3.fl.yelpcdn.com/bphoto/c7ed05m9lC2EmA3Aruue7A/o.jpg\u0026quot;,\n                \u0026quot;alt_text\u0026quot;: \u0026quot;alt text for image\u0026quot;\n            }\n        },\n        {\n            \u0026quot;type\u0026quot;: \u0026quot;section\u0026quot;,\n            \u0026quot;text\u0026quot;: {\n                \u0026quot;type\u0026quot;: \u0026quot;mrkdwn\u0026quot;,\n                \u0026quot;text\u0026quot;: \u0026quot;*Kin Khao*\u0026#92;n:star::star::star::star: 1638 reviews\u0026#92;n The sticky rice also goes wonderfully with the caramelized pork belly, which is absolutely melt-in-your-mouth and so soft.\u0026quot;\n            },\n            \u0026quot;accessory\u0026quot;: {\n                \u0026quot;type\u0026quot;: \u0026quot;image\u0026quot;,\n                \u0026quot;image_url\u0026quot;: \u0026quot;https://s3-media2.fl.yelpcdn.com/bphoto/korel-1YjNtFtJlMTaC26A/o.jpg\u0026quot;,\n                \u0026quot;alt_text\u0026quot;: \u0026quot;alt text for image\u0026quot;\n            }\n        },\n        {\n            \u0026quot;type\u0026quot;: \u0026quot;section\u0026quot;,\n            \u0026quot;text\u0026quot;: {\n                \u0026quot;type\u0026quot;: \u0026quot;mrkdwn\u0026quot;,\n                \u0026quot;text\u0026quot;: \u0026quot;*Ler Ros*\u0026#92;n:star::star::star::star: 2082 reviews\u0026#92;n I would really recommend theย Yum Koh Moo Yang - Spicy lime dressing and roasted quick marinated pork shoulder, basil leaves, chili \u0026amp; rice powder.\u0026quot;\n            },\n            \u0026quot;accessory\u0026quot;: {\n                \u0026quot;type\u0026quot;: \u0026quot;image\u0026quot;,\n                \u0026quot;image_url\u0026quot;: \u0026quot;https://s3-media2.fl.yelpcdn.com/bphoto/DawwNigKJ2ckPeDeDM7jAg/o.jpg\u0026quot;,\n                \u0026quot;alt_text\u0026quot;: \u0026quot;alt text for image\u0026quot;\n            }\n        },\n        {\n            \u0026quot;type\u0026quot;: \u0026quot;divider\u0026quot;\n        },\n        {\n            \u0026quot;type\u0026quot;: \u0026quot;actions\u0026quot;,\n            \u0026quot;elements\u0026quot;: [\n                {\n                    \u0026quot;type\u0026quot;: \u0026quot;button\u0026quot;,\n                    \u0026quot;text\u0026quot;: {\n                        \u0026quot;type\u0026quot;: \u0026quot;plain_text\u0026quot;,\n                        \u0026quot;text\u0026quot;: \u0026quot;Farmhouse\u0026quot;,\n                        \u0026quot;emoji\u0026quot;: true\n                    },\n                    \u0026quot;value\u0026quot;: \u0026quot;click_me_123\u0026quot;\n                },\n                {\n                    \u0026quot;type\u0026quot;: \u0026quot;button\u0026quot;,\n                    \u0026quot;text\u0026quot;: {\n                        \u0026quot;type\u0026quot;: \u0026quot;plain_text\u0026quot;,\n                        \u0026quot;text\u0026quot;: \u0026quot;Kin Khao\u0026quot;,\n                        \u0026quot;emoji\u0026quot;: true\n                    },\n                    \u0026quot;value\u0026quot;: \u0026quot;click_me_123\u0026quot;,\n                    \u0026quot;url\u0026quot;: \u0026quot;https://google.com\u0026quot;\n                },\n                {\n                    \u0026quot;type\u0026quot;: \u0026quot;button\u0026quot;,\n                    \u0026quot;text\u0026quot;: {\n                        \u0026quot;type\u0026quot;: \u0026quot;plain_text\u0026quot;,\n                        \u0026quot;text\u0026quot;: \u0026quot;Ler Ros\u0026quot;,\n                        \u0026quot;emoji\u0026quot;: true\n                    },\n                    \u0026quot;value\u0026quot;: \u0026quot;click_me_123\u0026quot;,\n                    \u0026quot;url\u0026quot;: \u0026quot;https://google.com\u0026quot;\n                }\n            ]\n        }\n    ]\n}\n\nThe response should have the next format:\n{\n \u0026quot;twitter\u0026quot;: [here goes the twitter post, that should have less than 280 characters],\n \u0026quot;linkedin\u0026quot;: [here goes the linkedin post, that should have between 1500 and 2000 characters], \n \u0026quot;blockkit\u0026quot;: [here goes the block kit post],ย \n}\n\n\u0026quot;\u0026quot;\u0026quot;\n\nNow generate the posts.\n\n\n","promptTemplateDevName":"Generate_Social_Media_Posts","requestId":"chatcmpl-97KqPl1TEiOgMdnKKPQ9aVs7rPJGr"}