Error code: InvalidIntentSamplePhraseSlot
我使用新技能控制台构建模型时收到错误代码。完整的错误信息是
Sample utterance "AddBookmarkIntent i am at {pageno} of {mybook}" in intent "AddBookmarkIntent" cannot include both a phrase slot and another intent slot. Error code: InvalidIntentSamplePhraseSlot -
在哪里和{pageno}
是AMAZON.NUMBER
{mybook}
AMAZON.SearchQuery
错误是什么,我该如何解决?
编辑:为意图添加 JSON
{
"name": "AddBookmarkIntent",
"slots": [
{
"name": "mybook",
"type": "AMAZON.SearchQuery"
},
{
"name": "pageno",
"type": "AMAZON.NUMBER"
}
],
"samples": [
"i am at {pageno} of the book {mybook}",
"save page {pageno} to the book {mybook}",
"save page {pageno} to {mybook}",
"i am at {pageno} of {mybook}"
]
}