GithubHelp home page GithubHelp logo

0.5.1-howdoidiscord's People

Contributors

hajermahjoub avatar iamcathal avatar rkbeatss avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

0.5.1-howdoidiscord's Issues

Get server running

A flask server is needed to take calls from the discord bot that then calls howdoi from the command line and responds with the results.

Discord bot listening for calls

Discord bot needs to listen for messages sent by users that are meant to be intercepted by the bot e.g messages with howdoi prefix. With these messages it will send a HTTP request to the flask server and await a response.

Reply to the user with the response and listen for a reaction. A positive reaction meant the response was good quality and a negative response means that the response wasn't good. Maybe we can log these or ask the user to ask again in a different way

Define HTTP responses to use between bot and server

We should define what kind of fields we need in our responses so that the discord bot and the flask server can communicate properly.

This will probably be easier once we get a grasp of howdoi because we can then know what pieces of data will be displayed by the discord bot

Question_generate not capable of detecting verbs

Question_generate is a method in the WikiHowAgent.py use spacy to detect id we did use verb after invoking howdoi to make very meaningful query but it's not working as NLTK or spacy both not capable to recognize verbs like "program, print.... "as VERB not NOUN or PROPN

Use HTTPie for unit testing of APIs

Should utilise the flask server to send HTTP requsts using HTTPie to test expected outputs and parsing of queries as if they were discord messages

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.