mautini / google-assistant-java-demo Goto Github PK
View Code? Open in Web Editor NEWA simple Google Assistant Client in Java
License: GNU General Public License v3.0
A simple Google Assistant Client in Java
License: GNU General Public License v3.0
Hi,
I want to broadcast voice message.
When I give audio byte array to audioRequestAssistant function, if there is silence, I don't send audio after silence.
How to configure silence timeout for audio command?
Hi :
Google Assistant SDK Version is upgrade from v1alpha1 to v1alpha2 now.
Do you think about this demo to update to v1alpha2 ?
Thanks.
Unfortunately, since February 16 2022, Out Of Band Flow is no longer supported
Hi,
I am not able to register the device, PFB logs:
Exception in thread "main" com.mautini.assistant.demo.exception.DeviceRegisterException: Unable to register the device model
at com.mautini.assistant.demo.device.DeviceRegister.lambda$1(DeviceRegister.java:65)
at java.util.Optional.orElseThrow(Unknown Source)
at com.mautini.assistant.demo.device.DeviceRegister.register(DeviceRegister.java:65)
at com.mautini.assistant.demo.GoogleAssistantClient.main(GoogleAssistantClient.java:53)
I followed the steps mentioned in readme.
Could you please support me?
when I run the project this error appears in the browser, I'm not able to get authorization code. is there any other way to get it and paste in the console?
Hi, thank you very much for the great work!! Any chance you can port it to Android? That would be truly awesome :)
Hi there,
I would like to setDeviceLocation in DialogStateIn.Builder
, however I am unable to due to this project missing LatLng.java
and LatLngOrBuilder.java.
I have tried manually compiling the LatLng protobuf to Java myself, but they do not work.
Is there a way to set the device location without these files? If not, how can I add LatLng and LatLngOrBuilder?
Any help would be much appreciated!
While parsing a protocol message, the input ended unexpectedly in the middle of a field. This could mean either that the input has been truncated or that an embedded message misreported its own length
I updated src/main/resources/reference.conf with my clinetid, client secret
Built with:
mvn package
Tried to run using:
mvn exec:java
But i get this error:
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.6.0:java (default-cli) on project google_assistant_sdk_test_java: The parameters 'mainClass' for goal org.codehaus.mojo:exec-maven-plugin:1.6.0:java are missing or invalid -> [Help 1]
[ERROR]
Should i be passing some parameters?
After saying something, it simply says "No response from API."
15:54:09.321 [main] INFO com.mautini.assistant.demo.client.audio.AudioRecorder - Listening, tap enter to stop ...
15:54:24.634 [Thread-6] INFO com.mautini.assistant.demo.client.audio.AudioRecorder - End of the capture
15:54:24.637 [main] INFO com.mautini.assistant.demo.api.AssistantClient - Requesting the assistant
15:54:25.535 [grpc-default-executor-2] INFO com.mautini.assistant.demo.api.AssistantClient - Event type : END_OF_UTTERANCE
15:54:26.553 [grpc-default-executor-2] INFO com.mautini.assistant.demo.api.AssistantClient - End of the response
15:54:26.553 [main] INFO com.mautini.assistant.demo.GoogleAssistantClient - No response from the API
15:54:26.568 [main] INFO com.mautini.assistant.demo.client.audio.AudioRecorder - Listening, tap enter to stop ...
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.