Skip to content

Latest commit

 

History

History
43 lines (29 loc) · 1.24 KB

README.md

File metadata and controls

43 lines (29 loc) · 1.24 KB

JavaCopilot

This is the official codebase for JavaCopilot.

Introduction

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.

GastroBot architecture diagram

Getting Started

step 1 Clone this repository

Clone the repo.
$ git clone https://github.com/hujili007/JavaCopilot.git
$ cd JavaCopilot

step 2 Installation

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

step 3 Run app.py

$ streamlit run app.py

Acknowledgement