snabelen.no er en av mange uavhengige Mastodon-servere du kan bruke for å delta i det desentraliserte sosiale nettet.
Ein norsk heimstad for den desentraliserte mikroblogge-plattformen.

Administrert av:

Serverstatistikk:

364
aktive brukere

#alexa

2 innlegg2 deltakereett innlegg i dag

@ernie, hate to cold @ you, but, are you following this #sengLED smart light bulb fiasco? No one seems to be writing about it. Not the tech publications that promote sengled... no one. It's been days and people can't get their lightbulbs to work, esp if they were dimmed at night when they stopped working.

After a bunch of complaints to their main seller, #Amazon, Amazon finally released a statement to people that have them linked to one of their appliances. I suspect Amazon just wants to stop fielding calls about them, although they are still selling products that can't work now or be setup. #GoogleHome #iot #Alexa #homeAutomation #google #home

reddit.com/r/smarthome/comment

/r/SengledUS is covering it, also reddit.com/r/SengledUS

#Bezos è uno dei volti più visibili e potenti dell’oligarchia che gravita attorno a #Trump. Lo ha apertamente sostenuto, mettendo a disposizione il Washington Post, e si è presentato sorridente e in prima fila al giuramento del nuovo presidente, fianco a fianco con altri miliardari come lui.

Ogni volta che acquistate su #Amazon, ogni volta che attivate un abbonamento #Prime, che usate #Twitch o #Alexa, ricordatevi cosa e chi state finanziando:

▶️ noblogo.org/filippodb/una-vita

:diggita: @attualita

filippodb · Una vita senza Amazon: perché è ora di dire bastaL’indifferenza è complicità. Ho vissuto a Venezia, per studio e durante la leva. Per questo, oggi mi unisco con convinzione ai comitati ...

Alexa Skills - get custom slot names using Flask-Ask

shkspr.mobi/blog/2019/06/alexa

Amazon encourages developers to use Flask-Ask - the handy Python library for working with Alexa. Sadly, the project has been abandoned. They no longer take pull requests, you can't raise bugs against it, and the documentation is incomplete.

So this is how I solved an annoying problem - how to get the name of a custom slot.

Here's the code, with a fuller explanation afterwards.

from flask import Flask, render_template, requestfrom flask_ask import Ask, statement, question, sessionapp = Flask(__name__)ask = Ask(app, '/')@ask.intent("YourIntentName")def your_intent_name():    content = request.get_json()    name = content['request']['intent']['slots']['YOUR_SLOT_NAME']['resolutions']['resolutionsPerAuthority'][0]['values'][0]['value']['name']

Yeuch! What's going on?

Alexa lets us define custom slot names - these can be associated with any spoken text. For example, I might want the slot name "car" to be sent whether the user says "car" or "automobile" or "vehicle" or any other synonym.

In my case, I want to send my API the ID Code of a hospital.

If the user says "John Radcliff" or "Oxford" or "John Radcliff Hospital" - then my API should receive the ID RTH08. It can then use that ID in a separate API call.

Here's the JSON that Alexa sends our API (I've truncated it for ease of reading).

{    "request": {        "type": "IntentRequest",        "requestId": "amzn1.echo-api.request.1234",        "timestamp": "2019-06-17T06:54:52Z",        "locale": "en-GB",        "intent": {            "name": "CarPark",            "confirmationStatus": "NONE",            "slots": {                "hospital": {                    "name": "hospital",                    "value": "John radcliff",                    "resolutions": {                        "resolutionsPerAuthority": [                            {                                "authority": "amzn1.er-authority.echo-sdk.amzn1.ask.skill.1234.hospitals",                                "status": {                                    "code": "ER_SUCCESS_MATCH"                                },                                "values": [                                    {                                        "value": {                                            "name": "RTH08",                                            "id": "abc123"                                        }                                    }                                ]                            }                        ]                    },                }            }        }    }}

A bit verbose, but easy enough to parse.

I've moaned before about Alexa skill development - but it is getting worse. As you can see from the above screenshot, the development website's contrast isn't great - which makes building a skill physically painful.

Add to that the outdated tutorials, the weird terminology, the multiple sites to use, broken links, and abandoned libraries... It's hard to feel enthusiastic about building more skills.

Amazon have gone down the classic route of paying developers to build for their platform. But I don't think that's enough.

The Alexa team need to work on the developer experience. A GUI like NODE-RED could be used to help build skills in one place. Why is it so complicated to deploy and test skills? Where are the official libraries which "just work"?

I honestly believe that one of the things holding back voice assistants from their full potential is the poor developer experience.

Terence Eden’s Blog · Alexa Skills - get custom slot names using Flask-Ask
Mer fra Terence Eden

Headline: #Amazon annihilates #Alexa #privacy settings, turns on continuous, nonconsensual audio uploading

Snippet: starting March 28, each Amazon Echo device will cease processing audio on-device and instead upload all the audio it captures to Amazon's cloud for processing, even if you have previously opted out of cloud-based processing:

Source: pluralistic.net/2025/03/15/alt

pluralistic.netPluralistic: Amazon annihilates Alexa privacy settings, turns on continuous, nonconsensual audio uploading (15 Mar 2025) – Pluralistic: Daily links from Cory Doctorow

#LOL... "Alexa, what do you know about us?"

#OMG.... What I discovered when I asked speaker to tell me everything it had heard.

#HMMM... For years, #Alexa has been our on-call vet, DJ, teacher, parent, therapist and whipping boy. What secrets would the data reveal?In September 2016, a new presence appears in our house, squatting on the kitchen counter between the kettle and the coffee machine.....

This morning I am mildly amused by #Alexa's different responses to "Is today Monday?" (Yes) and "Is it Monday?" (the days, hours, and minutes until _next_ Monday).

I reckon two different people wrote the code for those responses, without talking to each other and without checking for prior art first. I wonder which came first.