Giter Site home page Giter Site logo

shashankpr / dobbybot Goto Github PK

View Code? Open in Web Editor NEW
0.0 0.0 0.0 103 KB

This is a Python implementation of Chatbot using Messenger and Wit.ai.

License: MIT License

Python 100.00%
chatbot-application chatbot-facebook chatbotai python speech-recognition speech-recognizer speech-to-text witai

dobbybot's People

Contributors

kostistsaprailis avatar leochirag avatar shashank971 avatar

Watchers

 avatar

dobbybot's Issues

DB for replies

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?

Speech Termination

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 speech module into Wit bot

Add basic speech module to Wit code.

The basic implementation could have the same "weatherApp" story from Wit.ai for initial testing purposes.

Currency conversion

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

Bot goes on loop when it comes across :-

  • Unknown entities

  • Error in API calls

Should make the loop stop in the code.

Add Sentiment and more Conversational style

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.

Handle Error messages from API in Messenger

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?

Wit Bot asks for Names repeatedly

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.

No limit on World Time

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.

Text-to-Speech

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

Shift to new Wit API

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?

Voice integration with Messenger

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.

Check the auto-looping of messages from the bot

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.

Get User name from FB instead of Wit

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.

NL train timings

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.