botman / botman/driver-google-assistant
Is this driver still WIP
- Dominant language
- PHP
- Stars
- 18
- Forks
- 3
- PR merge metrics
- No merged PRs in 30d
Description
Hi, i have installed this driver in my project, however I cannot seem to make it work. I tried different botman methods like say and reply in the botman.php (in resource) to hear the action from dialogflow (simple intent) it is not picking up anything since diaglogflow- diagnostic is saying it is getting an empty response back. However, when i returned this in the handle() in the BotmanController then I am getting a response.
return [
'payload' => (object)[
'google' => (object)[
//'expectUserResponse' => false,
'richResponse' => (object)[
'items' => (object)[
'simpleResponse' => (object)[
'textToSpeech' => "You reach the Hot Water Maintenance Conversation",
]
]
]
]
]
];
Contributor guide
Research direction
Start by comparing the working response returned from handle() in the BotmanController with the botman.php methods in the resource. Check the driver flow alongside Dialogflow's diagnostic result showing an empty response. Done means say or reply produces a non-empty Google Assistant response, matching the returned payload structure.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- api
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100