Skip to content

Latest commit

 

History

7 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Language Agent

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

Language Agent Screenshot

How to Run

  1. 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"
  1. Run the backend.
cd backend
python3 -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
./.venv/bin/uvicorn server:app --reload
  1. Run the frontend.
cd front end
npm install
npm run dev

Data Source

This 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/

About

An AI agent that chats with the user to teach them Chinese.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages