This is the official codebase for JavaCopilot.
JavaCopilot is an RAG framework-based learning assistant for Java programming, utilizing textbooks, syllabi, and common Java questions as document corpus. It is entirely developed on open-source local models, with the embedded model being [m3e-base] (https://huggingface.co/moka-ai/m3e-base) and the large model being [Qwen-7B-Chat] (https://huggingface.co/Qwen/Qwen-7B-Chat), aiming to provide Java learning assistance to teachers and students alike.Here is an example.
Clone the repo.
$ git clone https://github.com/hujili007/JavaCopilot.git
$ cd JavaCopilot
Set up conda environment
# create a new environment
$ conda create --name javarag python=3.10.13 -y
$ conda activate javarag
# install requirements
$ pip install -r requirements.txt
$ streamlit run app.py
- llamaindex: https://www.llamaindex.ai/