jaideepkekre / medibot Goto Github PK
View Code? Open in Web Editor NEWAn Chatbot based expert system to assist doctors improve screening of patients and diagnosis .
License: Other
An Chatbot based expert system to assist doctors improve screening of patients and diagnosis .
License: Other
Since the message queuing architecture is now multi-process, it does not seem necessary to stilll have the dispatcher around. One process manages getting and queuing messages and the other processes them and sends them across.
Using an in-memory data store like Redis to store the messages of a conversation would be simpler and cleaner. The core class can simply read the the chat_id
and pull the relevant conversation.
Storing information on the patient will require another schema. Discuss here.
@v0dro You're inputs ?
@jaideepkekre list your thoughts about the json format to be used for DB storage here.
I'll put up a mock from my side in a short time.
Logs generated by dispatcher and core looks exceeding ugly and not very readable. @jaideepkekre clean them up.
Maybe use colors?
The NLP engine tokenizes and labels words based on their occurrence in the string and how previous conversations have proceeded.
It is important to formalize a format that will be passed to the expert system by the NLP engine which will easily convey the relevance of every word in a sentence to the expert system, and make KE easy.
As discussed, sending and getting messages should be based on queues. Current architecture limits max number of messages that can be processed in a finite amount of time.
IMHO the custom variables "updater" , "dispatcher" are VERY similar to Updater() function , updater.distatcher . Won't it be a better convention to make it obvious what is custom and what is imported . You code isn't very readable like this , imagine this on a scale*100 .
./run.sh Traceback (most recent call last): File "/Users/rex/Downloads/MediBot-master/bin/server.py", line 11, in <module> from telegram import Updater ImportError: cannot import name 'Updater'
I've updated telegram but still unable to resolve this issue.
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.