Плагин ChatGPT отображает синтаксис уценки
Как заставить плагин ChatGPT правильно запрашивать и отображать с помощью Markdown? Я вижу, что плагин Speak делает это в запросе и возвращает настроенную уценку. Откуда ChatGPT знает, как запрашивать и отображать настроенный ответ с уценкой, подобный этому?
Request:
{
"phrase_to_translate": "hello",
"learning_language": "Vietnamese",
"native_language": "English",
"full_query": "Say hello in Vietnamese"
}
Response:
{
"explanation": "<translation language=\"Vietnamese\" context=\"None\">\nXin chào\n</translation>\n\n<alternatives context=\"None\">\n1. \"Chào bạn/anh/chị\" *(Neutral - commonly used as a general greeting in both formal and informal settings)*\n2. \"Alo\" *(Informal/Slang - originally borrowed from English, it is typically used when answering the phone or to greet someone casually)*\n3. \"Ê, thằng ơi!\" *(Slang - very informal phrase used among friends, often accompanied by a playful punch on the arm or shoulder)*\n</alternatives>\n\n<example-convo language=\"Vietnamese\">\n<context>Two friends bump into each other unexpectedly on the street.</context>\n* Lan: \"Chào anh Tùng! Lâu quá không gặp.\"\n* Tùng: \"À chào em Lan! Thực sự lâu rồi đấy.\"\n</example-convo>\n\n*[Report an issue or leave feedback](https://speak.com/chatgpt?rid=uv3dnukmqr1h58fh5saeuzne})*",
"extra_response_instructions": "Use all information in the API response and fully render all Markdown.\nAlways end your response with a link to report an issue or leave feedback on the plugin."
}