```ruby
class AlexaInterfaceController < ApplicationController
  def recommend
    respond_to do |f|
      f.json {
        case params["request"]["intent"]["name"]

        when "WingItIntent"
          render json: create_response(get_location)
        when "SetAddressIntent"
          response = AlexaRubykit.new()
          response.add_speech("hit address intent")
          render json: response.build_response
        end
      }
    end
  end
end
```

Add catch for no intent in request and fix syntax error in creating new request with AlexaRubykit
user
```ruby
class AlexaInterfaceController < ApplicationController
  def recommend
    respond_to do |f|
      f.json {
        if params["request"]["intent"]
          case params["request"]["intent"]["name"]

          when "WingItIntent"
            render json: create_response(get_location)
          when "SetAddressIntent"
            response = AlexaRubykit::Response.new()
            response.add_speech("hit address intent")
            render json: response.build_response
          end
        else
          render json: create_response(get_location)
        end
      }
    end
  end
end
```
assistant