|
Download tasks/format-code-task-000045/instruction.md from FineEnvs/MiMo-V2.6-RL-harbor-code: direct link, hf CLI and curl.
- Browser
- Download file 850 Bytes
-
https://huggingface.co/datasets/FineEnvs/MiMo-V2.6-RL-harbor-code/resolve/main/tasks/format-code-task-000045/instruction.md
- Command line
-
hf download hf://datasets/FineEnvs/MiMo-V2.6-RL-harbor-code/tasks/format-code-task-000045/instruction.md
-
curl -L -o instruction.md https://huggingface.co/datasets/FineEnvs/MiMo-V2.6-RL-harbor-code/resolve/main/tasks/format-code-task-000045/instruction.md
850 Bytes
Fix the following issue:
Add support for content_type: "location" and "image_url" on Quick Replies
We need to refactor the _formatQuickReplies method to support an object with an open format. New types of quick replies format added since we implemented this methods are:
Location:
{
"content_type":"location",
}
Text with Image:
{
"content_type":"text",
"title":"Green",
"payload":"DEVELOPER_DEFINED_PAYLOAD_FOR_PICKING_GREEN",
"image_url":"http://petersfantastichats.com/img/green.png"
}
But more formats will likely be added in the future so we should support whatever object the user sends (or auto-format like we do now if it's a string).
Facebook Docs: https://developers.facebook.com/docs/messenger-platform/send-api-reference/quick-replies