Skip to content
RuoYi-Vue-Plus 6.0 × In-house RAG Engine · Enterprise AI Knowledge Platform

Diting AI

Listen to Everything · Answer the Future

An enterprise-grade intelligent knowledge platform built on RAG and AI Agents.
Hybrid retrieval, four-level evidence evaluation, citation tracing — every answer is verifiable.

Java 21Spring Boot 4.1PostgreSQL + pgvectorElasticsearch 8Apache Tika 4.0MIT License
Diting AI · Knowledge Base Q&AKB_SEARCH
What is the revenue share of the East China region in the 2024 annual report?
🧭 Query Planning: DECOMPOSE🔀 Hybrid Retrieval: RRF Fusion🛡️ Evidence: SUFFICIENT

According to the 2024 Annual Business Report, East China generated revenue of ¥420M, accounting for 38.6% of total revenue, up 12.3% YoY…

📄 2024-Annual-Business-Report.pdf · P12 score 0.92
📊 Regional-Sales-Details.xlsx · East China score 0.87
1000+
Document Formats
512-dim
Chinese Vector Index
4-level
Evidence Evaluation
22+
Business Sub-modules
3-level
Memory Compression

Product Editions

One knowledge engine, two delivery forms

Web

Diting Web

Web-based RAG platform — zero deployment, instant access, with online knowledge base management and smart chat.

  • Ready to use, no installation
  • Multi-device sync, access anywhere
  • Team collaboration with permissions
  • Automatic cloud updates
Explore Diting Web →
Desktop

Diting Desktop

Desktop client with local execution for data security, offline usage and local hardware acceleration.

  • Runs locally, data never leaves
  • Offline capable, no network required
  • GPU acceleration, faster response
  • System integration, global shortcuts
Explore Diting Desktop →

Six Core Innovations

In-house engine capabilities beyond off-the-shelf RAG solutions

01
🧭

LLM Query Planning Engine

The LLM analyzes intent and dynamically selects DIRECT retrieval, REWRITE optimization, or DECOMPOSE parallel strategies — complex questions are split into sub-queries, retrieved in parallel, then aggregated.

02
🔀

Three-Layer Hybrid Retrieval

PGVector semantic search + ES BM25 keyword search, fused and ranked by RRF, then refined through cluster aggregation and neighbor-window expansion to complete cross-chunk context.

03
🛡️

Four-Level Evidence Evaluation

Pre-generation gating: NONE / WEAK triggers a polite refusal, PARTIAL answers with caveats, SUFFICIENT generates normally with citation tracing — no more confident hallucinations.

04
🤖

ReactAgent Autonomy

A graph execution engine drives "Think → Tool Call → Respond". CHAT / KB_SEARCH modes switch dynamically within one session, with SSE streaming output.

05
🧠

Three-Level Memory Compression

Session memory → compact summary → runtime truncation: progressive compression that maximizes long-dialogue coherence within a limited context window.

06
🔒

Enterprise Security & Isolation

RBAC permissions + group-level data isolation, RSA/AES dynamic API encryption, field-level encryption (AES/RSA/SM2/SM4), and full operation auditing.

End-to-End RAG Workflow

A complete pipeline from document upload to citation tracing

📤
01

Upload

Chunked upload · resumable · instant dedup · SHA-256 verification

⚙️
02

ETL Pipeline

Tika parsing → cleansing → structure-aware chunking (500/800/80 tokens)

🧭
03

Query Planning

LLM intent analysis, auto routing via DIRECT / REWRITE / DECOMPOSE

🔀
04

Hybrid Retrieval

Semantic + keyword channels → RRF fusion → cluster aggregation → neighbor expansion

🛡️
05

Evidence Evaluation

Four-level sufficiency gating; refuses to answer when evidence is insufficient

06

Generation & Tracing

SSE streaming output with cited chunks, source documents and relevance scores

Tech Stack

Enterprise-grade Java full stack — mature and stable choices

Backend
Java 21Spring Boot 4.1MyBatis-PlusSa-Token JWTMaven
Data & Retrieval
PostgreSQL 16 + pgvectorRedis + RedissonElasticsearch 8 (IK)MinIO Object Storage
AI Models
Spring AIDeepSeek ChatOllama bge-small-zh-v1.5HNSW Vector Index
Frontend
Vue 3 SPAElement PlusPiniaSSE / WebSocket

Why Diting

Compared with LangChain / LlamaIndex / Dify / FastGPT

Dimension
Typical RAG Solutions
Diting AI
Deployment
SaaS containers or self-assembled services
Embedded in the RuoYi backend, all-in-one deployment
Permissions
None / basic workspaces
RBAC roles + group data isolation + dual JWT tokens
Document Formats
10–50 formats, plugin-dependent
Unified Tika 4.0 parsing, 1000+ formats
Retrieval Strategy
Vector-first, basic fusion
Query planning → dual channels → RRF → clustering → neighbor expansion
Evidence Evaluation
None — retrieve then answer
Four-level evaluation, refuses when evidence is insufficient

Listen to Everything, Answer the Future

Combine an enterprise admin framework with RAG technology to build your own intelligent knowledge platform.

Diting RAG Intelligent Retrieval-Augmented Generation Platform