Skip to content

Implement Houndify API

Max K. requested to merge lngrhns/linkbait:lh/talk-to-me into develop

Added:

  • HoundifyClient: Self made because their Java SDK only gets 502 responses from the server. Even in their sample.
  • A corresponding RequestHandler

Not that this requires new config parameters:

houndify:
    url:    https://api.houndify.com/v1/text
    id:     The Client ID from the Houndify Dasboard
    key:    The Client Key from the Houndify Dasboard

When you register, make sure to only enable domains, that don't require conversational data, since the bot won't keep track of individual user's convos. On my test client I had 26 domains enabled. Also all of the domains for controlling devices are useless in this context.

Changed:

  • RequestHandlers now return if they handled the request or not. That allows other handlers to decide if they want to run.

Merge request reports