Chatlang: Role-Play Chat for Language Learning

Chatlang is a language learning tool that allows you to role-play different characters in a target language of your choosing. Unlike a traditional chatbot which offers a single window for conversation, this tool offers two side-by-side windows with different purposes. The window on the left is for role-playing: talking with the AI Chatbot in the target language only and without breaking character. The window on the right is for study: ask questions in your native language about vocabulary, grammar, etc. This allows you to study, ask questions, and get help without interrupting the flow of the roleplay dialog. Read the Technical Report and/or visit the Github repository for more information.

Web App Usage

To begin with, you will need to provide inputs in the configuration section at the top of the webpage:


The Notes for AI field is optional. You can fill the Notes for AI with information like "Today is your birthday", to provide the AI chatbot with extra context it can use to make the conversation more realistic. Once you've filled out the form, click the New Conversation button to start the chat.


The window on the left is for you to have the conversation in your target language, the one you are learning (e.g., Chinese). The window on the right is for you to ask questions about the conversation, clarify vocabulary/grammar, or change some context about the conversation as needed. The Reset Chat button clears the current chat history and starts a new chat under the same settings. The Export Chat Log button exports the current chat history to a zip file.

Recall that you can ask questions in your native language on the right side of the chat window.

See the example below:



Q: How can I unlock unlimited messages?

A: By providing your own OpenAI API Key in your user settings.

Q: How can I delete my account?

A: You can delete your account by clicking the Delete Account button in your user settings.