Back to Parent

def send_to_dialogflow message, dialogflow_client
	response = dialogflow_client.text_request message.to_s
	parsed_response = response[:result][:fulfillment][:speech]
	parsed_response_intent_name = response[:result][:metadata][:intentName]
	[parsed_response, parsed_response_intent_name]
end
Click to Expand

Content Rating

Is this a good/useful/informative piece of content to include in the project? Have your say!

0