- The emphasis of this chatbot is on natural language input and relevant output. It is still a work in progress and I am implementing new features all the time.
- Please feel free to fork and customize this to your needs.
- There are tons of cool API's on the internet that can make this a lot of fun
- Download this python notebook and run it using the following options:
- if you want always on feature, run the asktrika() function and it should always keep a text box waiting for input
- If you dont want the always on feature, run the trika('what is...') function with your question as an input to the function.
=============================================================
Set home by telling Trika that you have moved
- "I have moved" or any variation there of
- Example:
- You can use this to say "What are the directions from home to Rogers Center?"
- Cool, A New Place ....
- Allright I'll remember
- Example:
Time based Questions
- what time is it?
- what time is it now?
- what time is it in Sydney?
- what time is it in Sydney,NS?
Knowledge based Questions
- For now, this scrapes wikipedia and gets you the first paragraph. Doesnt always work
- This will be replaced with a DuckDuckGo api
- what is a pigeon?
- Pull information from Wikipedia
- Who is Mahatma Gandhi?
- What is a computer?
- Who is Stephen Colbert?
To do List based Questions
- Can you please add groceries to my to do list
- add groceries to my to do list
- what is on my to do list
- show me what is on my to do list
- what is on my task list?
- is groceries on my to do list?
- Yes
- No, do you want me to add it?
- Remove groceries from my to do list
- delete groceries from my to do list
Joke based Questions
- Trika, tell me a joke
- Trika, tell me something funny
- Move based Questions
- Hey did you know I moved?
- Cool, whats your new address?
- Do you know where I live?
- Here is your home address ....
Distance based Questions
- Uses Google Maps API
- What is the distance between Rogers center and Oshawa Go?
- Distance between New york and Toronto
- Tell me the distance between 100 King St, Toronto to New York Mets Stadium * Do you want the directions as well? YES/NO * YES : Directions given * NO : Allright, no directions then
- Get me directions from rogers center, toronto to miami beach
News based Questions
- What is happening in the news?
- What is the news?
- What is happening?
=============================================================
Directions based Questions
- What is the phone number of the nearest mcdonalds?
- How far is the ROM from home?
Weather based Questions
- What is the weather like today?
- What is the weather like in
- will it be sunny today?
- will i need an umbrella today?
Knowledge Based Questions
- Who is the ceo of apple? (Code in different sources)
- Trika, what can you do?
Other Features to add
- Login
- Reminder event
- Trika, I am bored
- Pull up a random fact
- At a later time, pull up the highest trending video from youtube
- Trika, I am sad
- I am sorry, what will cheer you up? I can pull up some options around you ( Send query to gmaps and display)
Store a favorites dataframe and if no response for 30 mins
- Pull up a random store about food favorite and suggest
- Pull up a good movie and suggest going to it
- Pull stock value information based on Text
- Trika, what is the value of ETH?
- Trika, how much is ETH in CAD?