Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Nov 16 03:08

    dependabot[bot] on npm_and_yarn

    (compare)

  • Nov 16 03:08
    dependabot[bot] closed #716
  • Nov 16 03:08
    dependabot[bot] commented #716
  • Nov 16 03:08
    dependabot[bot] labeled #726
  • Nov 16 03:08
    dependabot[bot] labeled #726
  • Nov 16 03:08
    dependabot[bot] opened #726
  • Nov 16 03:08

    dependabot[bot] on npm_and_yarn

    Bump got and update-notifier B… (compare)

  • Nov 16 03:08
    dependabot[bot] edited #716
  • Nov 16 02:42
    dependabot[bot] edited #711
  • Nov 16 02:41
    dependabot[bot] edited #711
  • Nov 16 02:41
    dependabot[bot] synchronize #711
  • Nov 16 02:41

    dependabot[bot] on npm_and_yarn

    Bump properties-reader from 0.0… (compare)

  • Nov 16 02:41
    dependabot[bot] edited #711
  • Nov 16 02:41
    dependabot[bot] edited #716
  • Nov 16 02:41
    dependabot[bot] edited #711
  • Nov 16 02:40

    maxbespoken on fix-testTimeout-by_max

    (compare)

  • Nov 16 02:40

    maxbespoken on master

    Fix test timeout by max (#725) … (compare)

  • Nov 16 02:40
    maxbespoken closed #725
  • Nov 16 02:37
    maxbespoken opened #725
  • Nov 16 02:36

    maxbespoken on v2.6.5

    (compare)

maaztp
@maaztp
how do i revoke virtual device access to my alexa developer account?
John Kelvie
@jkelvie
@maaztp For testing for Alexa For Business, we have a couple different ways to do that - we would need to discuss the best approach
With regard to removing access, we are listed as a device like any other and can be removed in the same way
maaztp
@maaztp
Thanks John , Can you list few practices . I am doing a POC on integration testing
How can I assign a4b room and profile with the virtual device?
Are there other ways to associate a4b information during integration testing?
John Kelvie
@jkelvie
It's not possible to assign our virtual devices to Alexa for Business accounts. However, you can:
1) Deploy the skill as a normal skill in development mode and test that way
2) We can also test it using our Test Robots with actual devices - this allows for true end-to-end testing of A4B experiences
If you message me directly, I can send over more information on the second approach
jbsimon000
@jbsimon000
I am trying to access my virtual device using curl with the following command: curl -v -k https://virtual-device.bespoken.io/process?message="What Time Is It"&user_id=<my access token>
I receive the following message :
<!DOCTYPE html>
<html lang=en>
<meta charset=utf-8>
<meta name=viewport content="initial-scale=1, minimum-scale=1, width=device-width">
<title>Error 400 (Bad Request)!!1</title>
<style>
*{margin:0;padding:0}html,code{font:15px/22px arial,sans-serif}html{background:#fff;color:#222;padding:15px}body{margin:7% auto 0;max-width:390px;min-height:180px;padding:30px 0 15px}* > body{background:url(//www.google.com/images/errors/robot.png) 100% 5px no-repeat;padding-right:205px}p{margin:11px 0 22px;overflow:hidden}ins{color:#777;text-decoration:none}a img{border:0}@media screen and (max-width:772px){body{background:none;margin-top:0;max-width:none;padding-right:0}}#logo{background:url(//www.google.com/images/branding/googlelogo/1x/googlelogo_color_150x54dp.png) no-repeat;margin-left:-5px}@media only screen and (min-resolution:192dpi){#logo{background:url(//www.google.com/images/branding/googlelogo/2x/googlelogo_color_150x54dp.png) no-repeat 0% 0%/100% 100%;-moz-border-image:url(//www.google.com/images/branding/googlelogo/2x/googlelogo_color_150x54dp.png) 0}}@media only screen and (-webkit-min-device-pixel-ratio:2){#logo{background:url(//www.google.com/images/branding/googlelogo/2x/googlelogo_color_150x54dp.png) no-repeat;-webkit-background-size:100% 100%}}#logo{display:inline-block;height:54px;width:150px}
</style>
<a href=//www.google.com/><span id=logo aria-label=Google></span></a>
<p><b>400.</b> <ins>That’s an error.</ins>
<p>Your client has issued a malformed or illegal request. <ins>That’s all we know.</ins>
John Kelvie
@jkelvie
Hi @jbsimon000 - I tried running a curl command like this and it worked fine:
curl 'https://virtual-device.bespoken.io/process?message=%22what%20time%20is%20it%22&user_id=TOKEN'
It did NOT work when I took out the character encoding in the message parameter - just saying "what time is it" as opposed to %22what%20time%20is%20it%22
jbsimon000
@jbsimon000
@jkelvie Tanks, that did it !
h
John Campbell
@johnpcampbell_twitter
Hi, trying to see how many utterances / billing information but the page is hanging? is this a known bug?
The quota and credit card details don't appear.
number of devices does load up.
thanks,
Juan Perata
@jperata
Hi @johnpcampbell_twitter we are reviewing the issue so that your data appears correctly. I'm sending your utterances for the current month on a direct message to you.
Juan Perata
@jperata
Hi @johnpcampbell_twitter we deployed a fix for your issue. It should be working fine at the moment.
akhil1296
@akhil1296
Hi, I want to implement unit testing using bst for the Alexa skill using third party APIs. Please provide me with some doc or information to write the testing code.
akhil1296
@akhil1296
Whenever I am trying the bst launch or best utter, it says check your network connection and try again. And my network is already good.
Juan Perata
@jperata

Hi, @akhil1296 are you perhaps behind a firewall or any network restriction? We have heard from such cases in corporate settings. https://read.bespoken.io/cli/faq/#my-organization-uses-a-firewall-how-do-i-use-your-tools-with-it , if that's not the case, a screenshot of the error or the bst-debug.log content that should be on the folder where you run bst can help us with the debug.

You can send those privately to me by direct message if you don't want to expose any kind of personal information

Bela Vizy
@OpenDog
Hi, can enforce a user id with virtual device testing? So I can save state between sessions.
(sorry if it's rtfm. I don't remember it in the docs)
John Kelvie
@jkelvie
Hi @OpenDog - yes it's always going to be the same user as long as it is the same virtual device
Bela Vizy
@OpenDog
Hmm. It doesn't seem to be. I get different user id for each session.
is it because it's a test version (google)?
oh wait ... let me look into this. I think google doesn't give user ids. I think we generate it and send it back. I totally forgot. Let me get back to you...
Bela Vizy
@OpenDog
Yes we (the skill) generates the user id for the first time and send it back to Google in the userStorage attribute. That's a permanent storage provided by Google. This comes back with every session. But not with the bst pseudo device.
Se we are forced to generate a new for every session. During the session it comes back.
Am I missing something?
Alexa is different. Amazon still maintains the user id.
Sorry I didn't remember. I asked the wrong question earlier.
Diego Martín
@dmarvp
hi @OpenDog , sorry for the delay. I'll be taking a look into this today and will get back to you soon.
Bela Vizy
@OpenDog
thank you!
Diego Martín
@dmarvp
Hi @OpenDog , which version of the @assistant/conversation library are you using? It took me a while but I can confirm that setting an id through the user.params property works correctly and preserves the given id through the simulator, my google nest and a virtual device.
btw, user.params is where data is stored now, seems that user.storage was deprecated
Bela Vizy
@OpenDog
Hi @dmarvp , we have our own sdk. Are we talking about the same thing? This is what we send out to DialogFlow for instance:
{
"payload": {
"google": {
"expectUserResponse": true,
"richResponse": {
"items": [
{
"simpleResponse": {
"displayText": "Hi! How can I help you?",
"ssml": "<speak>Hi! How can I help you?</speak>"
}
}
]
},
"userStorage": "{\"userId\": \"71cfb72b-c21e-6458-b443-c4816b626f06\"}",
"noInputPrompts": [
{
"displayText": "How can I help you?",
"ssml": "<speak>How can I help you?</speak>"
}
]
}
}
}
Bela Vizy
@OpenDog
Oh I see why. It's guest user. We get this from your virtual tester: "payload": {
"user": {
"locale": "en-US",
"userVerificationStatus": "GUEST"
},
"conversation": {
Can I be a verified user on the virtual tester?
Diego Martín
@dmarvp
getting the status of VERIFIED it's something that comes from Google, not from us. I did struggle a bit with that at first, using the latest @assistant/conversation node library, I didn't know you were using other sdk.
Anyway, there are a series of steps to get the VERIFIED status: 1st of all you need to enable "personal results" on the virtual device from your Google home app as shown here: https://read.bespoken.io/end-to-end/setup/#enabling-personal-results-on-your-google-virtual-device
Diego Martín
@dmarvp
you also need to enable Web and App activity as explained here: https://support.google.com/googlenest/answer/7382500
it's also important to tick the box that says "Include Chrome history..."