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
HI i am using an example, i wan to extract the fulfilment and speech for output, i have tried var_dump which is showing object is private and i am unable to access any of property
i.e $response->result->fulfilment;
use DialogFlow\Client;
use DialogFlow\Model\Query;
use DialogFlow\Method\QueryApi;
try {
$client = new Client('access_token');
$queryApi = new QueryApi($client);
$meaning = $queryApi->extractMeaning('Hello', [
'sessionId' => '1234567890',
'lang' => 'en',
]);
$response = new Query($meaning);
} catch (\Exception $error) {
echo $error->getMessage();
}
The text was updated successfully, but these errors were encountered:
HI i am using an example, i wan to extract the fulfilment and speech for output, i have tried var_dump which is showing object is private and i am unable to access any of property
i.e $response->result->fulfilment;
The text was updated successfully, but these errors were encountered: