hpi-sam / ask-your-repository-dialogflow-adapter

NodeJS API for handling voice query fulfilment with Dialogflow.
MIT License
1 stars 0 forks source link

6/search by date #6

Closed arne-z closed 5 years ago

arne-z commented 5 years ago

This adds functionality for searching for a date, author or tags via Google Assistant, as well as Image Carousels for the responses. Still looking for refactoring advice. This requires a route expecting

params: {
    search: 
    date: 
    author: 
}

and responding with an images array of shape:

images:[
    {
      url: 'https://files.askir.me/1543849566445_Bildschirmfoto vom 2018-11-04 23-42-53.png',
      tags: ['upload', 'food', 'blub'],
      score: 0.6,
    },
]
coveralls commented 5 years ago

Pull Request Test Coverage Report for Build 167


Totals Coverage Status
Change from base Build 146: -3.3%
Covered Lines: 99
Relevant Lines: 99

💛 - Coveralls
Adrian-St commented 5 years ago

Please change date to start_date and end_date. Author is not supported yet, but makes sense.