我在 specs/convo/audiodirectory 中创建了一个文件夹,其中包含一些 .wav 文件。然后我有一个看起来像这样的 convo 文件:
Utterance hit's relevant intent
#me
MEDIA audiodirectory/*.wav
#bot
INTENT RelevantIntent
我的 botium.json 看起来像这样:
{
"botium": {
"Capabilities": {
"PROJECTNAME": "Botium Project Lex",
"CONTAINERMODE": "lex",
"LEX_VERSION": "V2",
"LEX_REGION": "[REDACTED]",
"LEX_ACCESS_KEY_ID": "[REDACTED]",
"LEX_SECRET_ACCESS_KEY": "[REDACTED]",
"LEX_PROJECT_NAME": "[REDACTED]",
"LEX_PROJECT_ALIAS": "[REDACTED]",
"LEX_LOCALE": "en_GB",
"LEX_ACCEPT": "audio/pcm",
"USER_INPUTS": [
{
"ref": "MEDIA",
"src": "MediaInput",
"args": {
"downloadMedia": true
}
}
]
}
}
}
但是,当我运行 botium-cli run 时,我收到一个错误:ENOENT: no such file or directory, open 'C:\Users[REDACTED]\botium-cli-test\specs\convo\audiodirectory*.wav'
我正在关注文档的这一部分以供参考:https ://botium-docs.readthedocs.io/en/latest/05_botiumscript/index.html#media
我在哪里错了?