音声入力&過去の会話を踏まえて会話できるLINEBotの実装
public.icon
音声入力への動線
会話を覚える
code:mesage.json
{
"type": "bubble",
"direction": "ltr",
"header": {
"type": "box",
"layout": "vertical",
"contents": [
{
"type": "text",
"text": "こんにちは!私は音声にも対応したAIコンシェルジュです",
"weight": "regular",
"align": "center",
"margin": "xl",
"wrap": true,
"contents": []
}
]
},
"footer": {
"type": "box",
"layout": "horizontal",
"contents": [
{
"type": "button",
"action": {
"type": "postback",
"label": "音声で返信する",
"text": "音声で返信する",
"data": "音声で返信する"
},
"height": "sm"
}
]
},
"styles": {
"footer": {
"separator": true
}
}
}
やべ〜
ソースコードをなくした
音声ファイルのダウンロード
文字起こし
返信処理