Skip to content

hujili007/JavaCopilot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published