How do I use Snips NLU to automatically learn location of a user just like snips/datetime


#1

Hey I was wondering if there is a way to find out location of a user just like snips/datetime can find out the date and time for today?
Thank you


#2

Date and time comes from the OS running. If you want to discover the location the only solution, very unreliable, is through the IP. You’re better off having a setting for this


#3

Thank you @Psycho . Is there a way to find out a date from a previous date.
Like for eg we have a date lets say departure_date=26/03/2019.
Now the user inputs something like for a duration of 6 days.
So the arrival_date is automatically calculated as 01/04/2019.

is there a way to do this?


#4

Sure, python can do anything. Check datetime


#5

Also, Snips has a “duration” slot btw


#6

Yeah I know about the python datetime module. I was wondering if there was a way to do it in snips automatically such that the new date is automatically calculated by taking into account the date in the departure date slot.