PROJECT - CHATBOT Using API
HIMANSHU MALIK
Tech-Lead@Google | Ex@GoldManSachs | Ex@CISCO | Ex@ReConvert | Ex@Arkiter | Ex@Amazon | Ex@LeetCode
For this undertaking, we were appointed the gathering assignment of making a Chabot. A chatbot is a PC program which can hold a discussion with a client by means of sound or literary techniques. They for the most part mean to be as human as could reasonably be expected. Subsequently, for our task, we by and large chose to make a general use chatbot on Discord, wanting to make it act like a real existence associate as it were…
When conceptualizing thoughts for our Chatbot, at first my gathering concocted the idea of making a Chatbot intended to acknowledge and return data about eateries and sustenance puts inside Coventry. It would utilize an API to recover data about opening occasions, area and menu, contingent upon the contribution from the client. Nonetheless, subsequent to having a dash meeting with our gathering late on all the while, it ended up obvious that we couldn't locate a reasonable API to build up the Chatbot. In this manner, we changed the idea of our task to one intended to help clients that much of the time travel.
Our last thought for our Chatbot enabled the client to make inquiries and questions about inn booking and numerous different highlights that an individual who voyages would require. In the task, I was appointed to make a program and the code where the client could make general inquiries about various nations and recover data about the closest inn area. Moreover, toward the start of the task, I oversaw and make the run sheets and screen the phases of improvement just as dates of the due dates.
I originally begun coding in Python, building basic capacities that would take a contribution from the client and pass it through as a contention into the capacity and return a legitimate yield. Following this, I needed to build up the code so it would fuse the utilization of an API to get to data with respect to nations. Be that as it may, due to not having knowledge with utilizing an API, I needed to direct my very own exploration to almost certainly see how to coordinate an API into Python. One source I used to help my exploration is UDEMY an educational platform in which Getstarted Team, Amruta Mohit (Last refreshed 8/2016) disclosing how to utilize a JSON API in Python. This video helped better my insight into API's and further build up my code. With the utilization of the API, my program could then take the clients input and the program would then demand for the particular data from the API and return it. My program also used iteration such as for loops, recursion and conditional statements to help construct and build my Chatbot.
The procedure of this undertaking has empowered me to comprehend the significance of utilizing a product advancement approach, for example, the Agile methodology, explicitly the Scrum technique to help oversee week after week assignments and help achieve due dates. Toward the start of the undertaking we had gatherings to check advance and to sort out what every part ought to in a perfect world accomplish inside the week. When we did this, I saw that the work we delivered was of preferred quality over further on all the while, where we didn't utilize that approach.
Be that as it may, through leading my own autonomous research, the Chatbot has expected me to join the utilization of an API just as figuring out how to utilize Discord, which has advanced my coding capacities in Python. To include, working in a gathering implies adjusting to various identities and characters. I have discovered this venture has empowered me to utilize a scope of essential however imperative aptitudes, for example, correspondence and coordinated effort.
Furthermore, some more code that I programmed asks whether the user wants recommendations see examples or start search and depending on the answer, the chatbot gives its own idea which i have stored in his mind and API displaying appropriate recommendations. For some reasons, PyCharm is not working since it would state the modules were not downloaded, in spite of the fact that I used 'pip introduce *module*' and this worked effectively. Be that as it may, I found an answer for this issue by doing some exploration. I fixed it by straightforwardly introducing the modules onto PyCharm through 'Settings' > 'Venture Interpreter' and in the wake of doing this for every module I expected to import, this issue was fixed.
And I use the help of pythomanywhere.com to interpret my chatbot.
If the question is not appropriate he suggest you go to google.
At the last not only he guide you to look at the hotel. If you want to ask some more few things from him like what is your name, who create you, and any more enquiry question, he will definitely give you the appropriate response.
To conclude, I think this project was a success to an extent, since the group did reach the goal of creating a general use, assistive chatbot. And additional features were also added, such as the date and the time feature. However, there could have been a better result if the team leader took more responsibility and the team communicated more often. Reflecting on my own work, I know I should have spent more time researching about API’s and modules instead of basing my work off and trying my luck with tutorials as I could have saved a lot of time and included much more work to contribute to the end product. But this project helped me to increase my Python programming skills, including using many different modules and error solving / debugging.
Am giving you the link of my chatbot "https://malikchatbot.pythonanywhere.com/"