相关疑难解决方法(0)

如何在python中向Dialogflow事件添加参数

我正在尝试使用python dialogflow client v2(https://dialogflow.com/docs/reference/api-v2/rest/v2beta1/projects.agent.sessions/detectIntent#eventinput)发送EventInput,但是无法设置参数。

将其设置为类似对象会 {"result_guid": "49A8608C-4854-4964-81C3-0A75F912B994"}返回错误ValueError: Protocol message Struct has no "result_guid" field.

如何解决呢?

python struct protocol-buffers dialogflow-es

3
推荐指数
1
解决办法
478
查看次数

标签 统计

dialogflow-es ×1

protocol-buffers ×1

python ×1

struct ×1