You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
How to parse response?
i got
"result": {
"source": "agent",
"resolvedQuery": "welcome",
},
"fulfillment": {
"messages": [
{
"type": 0,
"speech": "Hey!"
},
{
"type": 0,
"speech": "How may I help you?"
}
]
}
}
i want to parse "speech" from "messages"
i tried --List reply= result.getFulfillment().getMessages().getSpeech();
but getSpeech() is not suggest. how can i get speech value?
The text was updated successfully, but these errors were encountered:
How to parse response?
i got
"result": {
"source": "agent",
"resolvedQuery": "welcome",
},
"fulfillment": {
"messages": [
{
"type": 0,
"speech": "Hey!"
},
{
"type": 0,
"speech": "How may I help you?"
}
]
}
}
i want to parse "speech" from "messages"
i tried --List reply= result.getFulfillment().getMessages().getSpeech();
but getSpeech() is not suggest. how can i get speech value?
The text was updated successfully, but these errors were encountered: