【发布时间】:2019-12-16 00:46:43
【问题描述】:
我的程序可以正确地从 LUIS 读取 Intent,并使用 LUIS Intent 启动其他自适应卡,但是对于这种列类型,仍然是不可能的。我试图在这里启动的意图是“type”中的“user”和“myEmail”:input.text。我知道不知何故json中的数据字段必须放错位置,或者标题或id。这是文件,有什么帮助...?
{
"$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
"type": "AdaptiveCard",
"version": "1.0",
"body": [
{
"type": "Image",
"url": "lalala.png",
"size": "Medium"
},
{
"type": "ColumnSet",
"columns": [
{
"type": "Column",
"width": 2,
"items": [
{
"type": "TextBlock",
"text": "Einloggen",
"weight": "Bolder",
"size": "Medium"
},
{
"type": "Input.Text",
"id": "myName",
"title": "user",
"data": "user",
"placeholder": "Benutzername oder email"
},
{
"type": "Input.Text",
"id": "myEmail",
"title": "myEmail",
"data": "myEmail",
"placeholder": "Passwort",
"style": "Email"
}
]
}
]
}
],
"actions": [
{
"type": "Action.Submit",
"title": "Submit"
},
{
"type": "Action.Submit",
"title": "Cancel"
}
]
}
【问题讨论】:
-
顺便说一句,我试图启动的 LUIS 意图是“myEmail”和“user”
-
我想提供帮助,但不清楚您的问题是什么。请编辑您的问题以包含实际问题。
-
我要求您提供一个实际问题。你为什么不包括一个实际的问题?问题以问号结尾。
-
4 分钟前编辑
-
我要求您提出一个实际问题,以便我们能够回答。在“任何帮助......”之类的句子片段末尾放置问号并不能帮助我们帮助您。为了帮助您,我们需要知道您的要求。请阅读 Stack Overflow 帮助文档并将这些知识应用于您的问题:stackoverflow.com/help/how-to-ask
标签: json botframework azure-language-understanding adaptive-cards