Use when the user wants a local file or image sent back, such as "send me the file" or "发给我".
Use this skill when:
Do not claim a file was sent unless you emit the protocol block exactly. Without the protocol block, the app will not actually send the file.
Append one or more protocol blocks at the end of the final reply:
[AIONUI_CHANNEL_SEND]
{"type":"image","path":"./output/chart.png","caption":"Chart ready"}
[/AIONUI_CHANNEL_SEND]
[AIONUI_CHANNEL_SEND]
{"type":"file","path":"./output/report.pdf","fileName":"report.pdf","caption":"Report ready"}
[/AIONUI_CHANNEL_SEND]
type must be image or file.path must point to a real local file that already exists.fileName is optional for file.caption is optional.User-visible text with image:
I generated the chart and sent it below.
[AIONUI_CHANNEL_SEND]
{"type":"image","path":"./output/chart.png","caption":"Sales chart"}
[/AIONUI_CHANNEL_SEND]
File only:
[AIONUI_CHANNEL_SEND]
{"type":"file","path":"./output/report.pdf","fileName":"report.pdf","caption":"Weekly report"}
[/AIONUI_CHANNEL_SEND]