我已经创建了QNA,Postman和连接,但是我已经陷入了应用程序,任何人都可以帮助我吗?
我使用以下代码 -
选择按钮
ClearCollect(chat,{id:0,name:"EmployeeFaqBot",text:"Welcome " &User().FullName &" ! Enter your Query"})
屏幕的OnStart
Collect(chat,{id:1,name:User().FullName,text:TextInput1.Text});
Collect(chat,{id:0,name:"EmployeeFaqBot",text:First(OPMS_Service.GenerateAnswer({question:TextInput1.Text}).answers).answer})
Collect(chat,{id:1,name:User().FullName,text:TextInput1.Text});
Collect(chat,{id:0,name:"EmployeeFaqBot",text:First(OPMS_Service.GenerateAnswer("application/json",{question:TextInput1.Text}).answers).answer})
Collect(chat,{id:1,name:User().FullName,text:TextInput1.Text});
Collect(chat,{id:0,name:"EmployeeFaqBot",text:First(OPMS_Service.GenerateAnswer({"application/json",question:TextInput1.Text}).answers).answer})
错误 -
"参数数量无效"在OnSelect按钮上。
我也试过以下代码
{{1}}
感谢。