[Solved] python: (calling all experts out there to help) how do i write a chatbot which can commands and execute a python function?
Well one suggestion is to use NLP Linguistic Features For ease, i will be using spacy import spacy nlp = spacy.load(‘en_core_web_md’) doc = nlp(‘Get me all sales numbers for August in the Delhi’) for token in doc: print(token.text,token.dep_,token.pos_) Output | ‘Word’ | ‘DEPENDENY’ | ‘POS’ | ———————————- |’Get’ | ‘ROOT’ | ‘AUX’ | |’me’, | … Read more