col / alexa Goto Github PK
View Code? Open in Web Editor NEWProvides support for implementing an Amazon Alexa Skill.
Provides support for implementing an Amazon Alexa Skill.
This is a great project, thanks for your work on in it!
I'm trying to follow the ReadMe, but the skill is not getting registered. I created a new mix project. Updated the mix.exs file. Then created a module with the sample skill.
https://github.com/axelclark/alexa_hello_world/blob/master/lib/alexa_hello_world.ex
defmodule AlexaHelloWorld do
@moduledoc """
Documentation for AlexaHelloWorld.
"""
use Alexa.Skill, ap_id: "123"
def handle_intent("SayHello", request, response) do
response |> say("Hello World!")
end
end
When I start start the app using iex -S mix
, I have to call register_skill to add it to the registry:
08:35:20.089 [debug] Starting Alexa.Registry
Interactive Elixir (1.4.0) - press Ctrl+C to exit (type h() ENTER for help)
iex(1)> Alexa.Registry.get_skill("123")
Alexa.UnknownSkill
iex(2)> Alexa.Registry.register_skill("123", AlexaHelloWorld)
:ok
iex(3)> Alexa.Registry.get_skill("123")
AlexaHelloWorld
I must be missing a step in the set up. Is there something else I need to do? Thanks!
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.