Personal project to improve my conversational Chinese and Malay. I can have a conversation in those respective languages with the bot, and subsequently receive feedback about the formality of my language, grammar violations, etc.
Also has the option to select between those languages and the model used (default GPT-3.5-Turbo)
- python
- pip
- Money in your openai account and an API key
- A bot from @BotFather and an API token
- pip install -r requirements.txt
- cp sample.env .env
- Edit .env with your openai API key and bot API token
- cp sample_prompt.txt prompt.txt
- Edit prompt.txt with your prompt (from the pov of instructing the machine)
- python Telegram.py
- Find your @bot and talk to it, without any commands
- Use /persona then select either /Chinese, /Malay or /Normal to reset to the prompt.txt
- Use /modelname to switch between the chatgpt models. GPT-3.5-Turbo is sufficient for most uses