Flask Chatbot With Extra Feautures
Introduction Recently, I used Streamlit to create a chatbot for an application. The use of components makes it really efficient to create simple applications, but I felt like whenever I wanted to customise more things got complicated. When using the st-chat component, I could not add quick reply buttons or a image-carousel to the bot’s replies. So instead, I created a similar chatbot using Flask. I looked around to see if i could find some code for a chatbot UI in flask and I found this project by binary-hood....
Using LLMs for Intent Detection
Introduction The use of LLMs in the creation of chatbots is old news. However, there are more use for LLMs than text generation in the context of the development of conversational agents. One of the main challenges of creating a conversational agent is text classification for intent detection. With the use of models, such as OpenAi’s GPT3.5 or Google’s Palm2, this task becomes trivial. Conversational agent framework The difference between a chatbot(e....