Thursday, June 7, 2018


Blockchain on Main Frame with Chatbot   


Data Flow Chart



Data Flow:

    In today's blog I would like to introduce the data flow of the project Blockchain on the Mainframe. our raspberry pie works as a client, runs the Front End of the grace-Ai on port:5000 and send the user input to the Backend of Grace Ai engine where chatbot works by taking the raw text dialogue and reading the input. the NLTK has a component that is called corpus which daily gets the updates from New York Times about the current affairs, this component is taken care by Stanford university where they input all the latest words in the dictionary and also inputs latest movie dialogues and trains the corpus library.

    Our Trained AI now takes the raw text and parses it through tokenizing it and tagging the set. then sends the tokenized data to the Rest/Api made on Python


Our algorithm work in a strong loop back where if there is a command related to any interaction with Blockchain as for example; setting the temperature(not for the room but changing the temp in the transaction) else for the normal interaction with the chatbot it goes through the Grace AI and send the response from Grace AI itself. Now when the command is sent to the Rest API/Node where it gets ready to be processed to be sent to the Backend of the hyperleader Blockchain. Using already created a Blockchain network we send the process data using Node.JS to the backend of the blockchain where it recognizes the values transferred from grace Ai to blockchain as a regular transaction. This transaction on hyperledger Blockchain happens on Mainframe computer using docker our container act as a middleware and runs the Chatbot conversation as a Blockchain Transaction on the mainframe computer making the most secured way to talk to machine 

   

No comments:

Post a Comment