Skip to content

LoopGlitch26/Hinglish-AI-Mentor

Repository files navigation

Hinglish Chatbot

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.

Screenshot 2023-04-16 at 10 39 18 PM Screenshot 2023-04-16 at 10 39 51 PM

Flowchart:

Screenshot 2023-06-17 at 6 34 10 AM

Future Work

  • Fix input voice to text feature
  • Add multilingual feature
  • Suggestions