Caution
This project is currently under development, please see the issues to see everything that still needs to be done before this is ready to use.
FluentAI is inspired by the method detailed in the paper SmartPhone: Exploring Keyword Mnemonic with Auto-generated Verbal and Visual Cues by Jaewook Lee and Andrew Lan. The aim is to recreate their approach using accessible, open-source models. The pipeline they propose, as shown below, serves as the blueprint for our project. It illustrates the process of automating language learning, blending cutting-edge AI techniques with proven language learning methodology.
You can find our docs here and the list of supported languages here.
Before starting, make sure you have the following requirements:
- Anki installed on your device.
- Anki-Connect This add-on allows you to add cards to Anki from the command line.
- Python 3.10 installed on your device.
- React installed on your device (optional).
We have bundled all required dependencies into a package for easy installation. To get started, simply run one of the following commands:
pip install .
or install directly from the repository:
pip install git+https://github.com/StephanAkkerman/FluentAI.git
If you prefer to build from source, follow these steps:
-
Clone the repository:
git clone https://github.com/StephanAkkerman/FluentAI.git
-
Navigate to the project directory:
cd FluentAI
-
Install the dependencies:
pip install -r requirements.txt
If you would like to run the code on a GPU, you can install the torch
package with CUDA support.
After installing the required dependencies, run the following command:
pip install -r requirements/gpu.txt
Using FluentAI is simple, after following the steps in pre-requisites you can start the back-end by executing the following command.
python fluentai/services/card_gen/api.py
If you would like to build the front-end yourself you can do so by executing these commands.
-
Navigate to the
frontend
directory:cd fluentai/frontend
-
Install the necessary frontend dependencies:
npm install
-
Start the development server:
npm start
This will launch the front-end and connect it to the API for a seamless user experience.
If you use this project in your research, please cite as follows:
@misc{FluentAI,
author = {Stephan Akkerman, Winston Lam, Tim Koornstra},
title = {FluentAI},
year = {2024},
publisher = {GitHub},
journal = {GitHub repository},
howpublished = {\url{https://github.com/StephanAkkerman/FluentAI}}
}
Contributions are welcome! If you have a feature request, bug report, or proposal for code refactoring, please feel free to open an issue on GitHub. We appreciate your help in improving this project.
If you would like to make code contributions yourself, please read CONTRIBUTING.MD.
This project is licensed under the MIT License. See the LICENSE file for details.