Open Source Ruby on Rails engine to build Custom Voice Assistants
*Currently in Alpha
The configs for each model are stored in a traditional relational database. For now we are using postgres in our examples. https://medium.com/@noordean/setting-up-postgresql-with-rails-application-357fe5e9c28 Add this line to your Rails application's Gemfile:
gem 'pg'
gem 'epiphany', git: "https://github.com/geekdreamzz/epiphany.git", branch: "alpha"
And then execute:
$ bundle
generate initial models & migration
rails g epiphany:install
rake db:migrate
Mount the Engine in routes.rb, example:
mount Epiphany::Engine => "/epiphany"
You can add custom authorization logic. Let's say you had an application helper method in your app named :quick_auth which you'd like to use to enforce authentication. You can configure the Epiphany library to reference that when using the epiphany admin web interface. Add something like this in a file in the initializers directory:
Epiphany::Config.set do |config|
config.auth = :quick_auth
end
Send Me a Message or submit a PR :)
The gem is available as open source under the terms of the MIT License.