This project aims to create a chatbot that can communicate with users in Hinglish (a combination of Hindi and English languages) and provide responses in the same language. This app can be used for microentreprenuers' mentoring purposes, to increse business revenue through upskilling & saving cost of mentorship.
The chatbot is powered by OpenAI's GPT-3
language model and uses Azure Cognitive Services Translator API
and Google Translate API
for language translation. The code uses the googletrans
(for translation) and indictrans
(for transliteration) libraries to convert Hinglish input to Hindi and then from Hindi to English, respectively. Once the input is in English, it is passed to the OpenAI API, which generates a response using the text-davinci-003
language model.
Streamlit Deployed: https://hinglish-chatbot-loopglitch26.streamlit.app/
- Fix input voice to text feature
- Add multilingual feature
- Suggestions