iboldurev / dialogflow

Unofficial php sdk for Dialogflow
https://dialogflow.com/
MIT License
164 stars 60 forks source link

How to get speech response ? #18

Closed gunner2 closed 6 years ago

gunner2 commented 6 years ago

Hi @iboldurev ,

I'm Rizal , based on my response below, how i'm going to fetch the red circle data ? it is speech under fulfillment ? FYI, i'm using PHP to decode it ? attached is my code snippet.

$client = new Client('xxx'); $queryApi = new QueryApi($client); $meaning = $queryApi->extractMeaning('Hello', [ 'sessionId' => '1234567890', 'lang' => 'en', ]); $response = new Query($meaning);

response

gunner2 commented 6 years ago

ok , found the answer. Considered solved.

gunner2 commented 6 years ago

found the answer. considered solved.