Skip to content

A language Flashcard App built using Python and Langchain, enhanced with the intelligence of GPT-4.

Notifications You must be signed in to change notification settings

Amber-Williams/language-flashcard-app-gpt4

 
 

Repository files navigation

Foreign Language Flashcard App

A Foreign Language Flashcard App built using Python and Langchain, enhanced with the intelligence of GPT-4.

System prerequisites

  • poetry
  • pnpm
  • Python v3.11 or greater
  • Node v18 or greater

Installation

  1. cd api && poetry install
  2. Add OpenAI API key is added to config.py and language of choice
  3. Copy /client/.env.example to a .env file
  4. cd client && pnpm install

Running the app locally

Database

docker compose -f docker-compose.database.yml up

API service

cd api && poetry run uvicorn src.ricotta.main:app --reload

Client web app

cd client && pnpm dev

Running the app in a container

docker compose -f docker-compose.dev.yml up

About

A language Flashcard App built using Python and Langchain, enhanced with the intelligence of GPT-4.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 55.3%
  • Python 41.5%
  • Shell 2.4%
  • Other 0.8%