An AI agent that teaches the users Chinese by conversing with the user to reinforce their knowledge of imported vocabulary words.
Tools:
- Read from the CC-CEDICT Chinese-English dictionary
- Create quizzes
- Adapt to correct/incorrect user responses to focus on certain vocabulary
- Prompt the user to focus on weaker words
- Set your OpenAI API key as an environment variable.
Mac:
export OPENAI_API_KEY="your-api-key-here"Windows:
setx OPENAI_API_KEY "your-api-key-here"- Run the backend.
cd backend
python3 -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
./.venv/bin/uvicorn server:app --reload- Run the frontend.
cd front end
npm install
npm run devThis project uses a Chinese dictionary dataset licensed under the Creative Commons Attribution-ShareAlike 4.0 International License (CC BY-SA 4.0).
Attribution: CC-CEDICT
You can find the license here: https://creativecommons.org/licenses/by-sa/4.0/
