shashankpr / dobbybot Goto Github PK
View Code? Open in Web Editor NEWThis is a Python implementation of Chatbot using Messenger and Wit.ai.
License: MIT License
This is a Python implementation of Chatbot using Messenger and Wit.ai.
License: MIT License
Remove the lines in the code that has access tokens.
Do you want to request a feature, report a bug, or ask a question about wit?
~Feature
What is the current behavior?
Fixed replies
If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem.
Setup a db to match and fetch messages. Build the DB with more messages.
What is the expected behavior?
Do you want to request a feature, report a bug, or ask a question about wit?
Bug
What is the current behavior?
The conversation is terminated in few steps. There is no "Always Listening"
If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem.
Wit issues "stop" command for some of the contexts. When such command is reached, the network connection is reset.
What is the expected behavior?
The code should be always listening and should terminate on user's command.
Add basic speech module to Wit code.
The basic implementation could have the same "weatherApp" story from Wit.ai for initial testing purposes.
Wit's /speech api endpoint returns empty text and context. This triggers error while POST method to messenger.
Do you want to request a feature, report a bug, or ask a question about wit?
feature
What is the current behavior?
If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem.
What is the expected behavior?
The bot gives current forex rate based on user's query
Bot goes on loop when it comes across :-
Unknown entities
Error in API calls
Should make the loop stop in the code.
Add Movie Reviews as a feature to Jarvis !!
@leochirag remove access tokens in weather.py and other files. Please add them in .env by using dotenv or anything else.
Refer :
Do you want to request a feature, report a bug, or ask a question about wit?
enhancement
What is the current behavior?
The replies by bot are hardcoded. It replies in a "robot" manner. Bot's use is more confined to services and information seeking rather than having a casual conversation.
If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem.
What is the expected behavior?
Bot converses like a human does. It should understand the sentiment of the statement and reply accordingly.
Do you want to request a feature, report a bug, or ask a question about wit?
~Bug
What is the current behavior?
The bot returns (or does not return) None messages to the user when it cannot find time or weather for a location.
If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem.
handle exceptions
What is the expected behavior?
User names are asked again and again when same question is asked. Instead, for a given user session, the bot should remember the name of the user.
Do you want to request a feature, report a bug, or ask a question about wit?
Bug
What is the current behavior?
The Bot returns time for every ordinary query. Query like "John here" is identified as address of location.
If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem.
Make a list of countries, their names and their Lat, Long values. Fetch time only if the address belongs to the list.
Easier method : Check api response and exclude non-country and non-political types.
What is the expected behavior?
Should throw an error or not return time value for "ordinary" queries.
Do you want to request a feature, report a bug, or ask a question about wit?
Bug
What is the current behavior?
The Text-to-Speech is implemented using native Mac library as PyTTSx throws ImportError.
Hence, Speech-to-Speech is limited to Mac OSX only
http://stackoverflow.com/questions/12758591/python-text-to-speech-in-macintosh
If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem.
Alternate library usage or fix PyTTSx.
What is the expected behavior?
Should be universally working module
Do you want to request a feature, report a bug, or ask a question about wit?
~Bug
What is the current behavior?
If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem.
What is the expected behavior?
Do you want to request a feature, report a bug, or ask a question about wit?
bug
What is the current behavior?
Response from Wit's /speech endpoint is blank. Hence, audio sent over Messenger can still not be recognized.
If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem.
The audio file is stored as AAC format by FB. We need to convert it into MP3 or WAV programmatically.
Refer http://audiotools.sourceforge.net/programming/index.html
Refer FFMPEG and LibFaac, for future integration.
What is the expected behavior?
Voice note sent on messenger should be recognized.
The chatbot sends repeated messages (goes into loop) when the initial question/text from user is not related to "weather" intent or "weather" questions.
The Heroku server has to be deployed with Echobot first and the messenger bot has to be restarted to stop the loop of messages.
Do you want to request a feature, report a bug, or ask a question about wit?
enhancement
What is the current behavior?
Wit story asks for name.
If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem.
Use messenger API to get user name.
What is the expected behavior?
This would be less buggy for user interface. Otherwise sounds more monotonic.
Do you want to request a feature, report a bug, or ask a question about wit?
Feature
What is the current behavior?
If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem.
What is the expected behavior?
Jarvis should give next or upcoming train timings for travelling from Point A to Point B.
@leochirag Refer this library and see if we can use this to make a simple call to get weather status of a given location.
https://github.com/csparpa/pyowm
https://github.com/csparpa/pyowm/blob/master/pyowm/docs/usage-examples.md
If it works independently, then we will integrate it with Wit
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.