mlh-fellowship / 0.5.1-howdoidiscord Goto Github PK
View Code? Open in Web Editor NEWDiscord bot for howdoi
License: MIT License
Discord bot for howdoi
License: MIT License
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
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.
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
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
if a message is quoted with a "howdoi" then we should get a response from API
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
create new feature to support integration with wikihow api
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.