Comments (9)
I added it in commit: 641edf8
I have no way to test it (or what conditions need to be met) since I don't have any Actions on Google things. It seems that's what the field is for though.
Either way, it's good to support it, so thanks for pointing that out!
from google-assistant.
For traffic I seem to be getting text:
Type your request: What's the traffic like to work?
Assistant Response: On your way to work, traffic is light, as usual. It is twenty-eight minutes by car.
Conversation Complete
For jokes, it looks like I'm only getting the punchline maybe?
Type your request: Tell me a joke
Assistant Response: The king and queen of clubs 👑 ♣
Conversation Complete
What examples are you using that is causing you issues?
from google-assistant.
Hey @endoplasmic , thanks for your follow up.
We got intrigued by your traffic response coming properly, so we added the work location to the google account linked to the project and it is working properly as long as we phrase questions involving the work
tag.
Before we were trying with questions like How is the traffic around XXX street?
The audio answer comes ok, but the Assistant Response
is empty. Can you give it a try from your end?
The other cases are jokes/riddles. For these we are getting either just the punchline (as in your sample above) or the answer to the riddle. In both cases the audio response is coming properly (full joke or riddle).
What we are trying to do is use the google assistant for a conversational bot that needs to work on a "text-only" channel as well as in a "voice-only" channel. Voice seems that will not be the problem, but for the text channel these cases will not work properly.
Any ideas?
Thanks!
from google-assistant.
I'm seeing the same on my end regarding traffic. Blank text response. Sounds like a bug in the SDK.
If you wanted to you could always take the audio as it comes in and transcribe it via google speech. Start the request once you get the first bytes and you'll get the text streamed back to you.
Discussion started: https://plus.google.com/111323056508012159527/posts/7RP68D4WiVx
from google-assistant.
Ok, so it's consistent. We are exactly doing that, a STT using the google speech API, but it adds more latency and we have the problem of getting proper punctuation, that only works for en-US and not for en-UK at the moment.
I'll report back if there is any update or if we find a work around.
Thanks!
from google-assistant.
I raised this as a bug on the API a couple of months ago as it affects my Google Assistant for Alexa skill.
googlesamples/assistant-sdk-python#158
from google-assistant.
@tartanguru - Thanks for the link. I've subscribed to the thread to watch any action that comes up.
from google-assistant.
I check into this once and a while, and it does look like "tell me a joke" is fixed, but the traffic around a specific place is still busted.
from google-assistant.
@endoplasmic
Two ideas for this issue:
I am getting a lot of blank responses, even with screen: { isOn: false }
so I decided to change the isOn
flag to true to true
and then parse the HTML to see what was being sent. I used the html-to-text library to do this. The result is a bit mangled, but it is certainly more verbose than what is offered by the simple text response when isOn
is set to false
.
The other thing I looked into is the "debug" option referenced in the SDK. If the debug option is set to true (and some other conditions are met), then you are sent a full response object that contains the text that would have been converted to speech. Would you be able to allow this library to access the debuginfo flag? see https://developers.google.com/assistant/sdk/reference/rpc/google.assistant.embedded.v1alpha2#google.assistant.embedded.v1alpha2.DebugInfo
from google-assistant.
Related Issues (20)
- deprecated [email protected] HOT 4
- How to make it work? HOT 5
- Want to build an "answering machine" HOT 4
- Auth error [Cannot read property '0' of undefined] HOT 1
- HTML responses HOT 1
- Unable to play audio out HOT 1
- Blank text response
- Missing license HOT 1
- .on('response') no longer providing text? HOT 12
- ipv6 support HOT 1
- Where's the changelog? HOT 1
- mic-speaker - TypeError: record.start is not a function HOT 4
- Remove update reminders? HOT 1
- New Google SDK Server Change... HOT 1
- vulnerability: Prototype pollution in node-forge
- audio-out event not being triggered.
- songs recognition HOT 1
- TypeError: google_credential.getRequestMetadata is not a function HOT 2
- It returns `invalid_grant` after a few days HOT 6
- Unable to process request due to missing initial state. This may happen if browser sessionStorage is inaccessible or accidentally cleared. HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from google-assistant.