jrag

简体中文

GitHub

Jrag is a RAG (Retrieval-Augmented Generation) and MCP tool integration platform based on Java Spring Boot, designed to enhance the application capabilities of large language models within the Java ecosystem by combining retrieval, MCP tools, and generative AI model technologies. The platform supports integration with various mainstream large language model interfaces, including Ollama and OpenAI, and incorporates Milvus and Redis as vector databases to provide efficient vector storage and retrieval services.

Architecture

architecture

Purpose

So far, most open-source RAG platforms are implemented in Python. As a Java developer, I hope Jrag can be more suitable for Java developers’ use, providing better LLM integration and application for Java developers.

Features

To Be Improved

SQLite Initialization

Execute the following commands in the jrag directory:

mkdir -p ~/jrag
cp ./sqlite/jrag.db ~/jrag/jrag.db

Default Credentials

Username: admin
Password: jrag@2025

Frontend

rm -rf jrag-starter/src/main/resources/dist
git clone -b dist https://github.com/jerryt92/jrag-ui.git jrag-starter/src/main/resources/dist

jrag-ui