🚀 Advanced RAG System

Persian, Arabic & English Document Processing with OCR Support

📤 Upload Documents

📁 Drag & Drop files here or click to browse

Supported: PDF, DOCX, TXT, Images (PNG, JPG, TIFF)

Max files per upload: loading…

Model used to convert documents into vectors. Must match the collection's vector dimension.

Processing documents...

💬 Ask Questions

Searching...

Your answers will appear here...

📊 System Statistics

0

Documents

0

Queries

Not Ready

Index Status

detecting…

GPU

🕵️ Recent Query Audit (last 5)

Per-phase timings help find bottlenecks. Slow retrieve → reduce num_queries, disable multi-query, or lower vector_top_k. Slow rewrite → disable query rewriting. Slow synthesize → LLM latency.

No queries recorded yet.

⚙️ RAG Settings

🔑 LLM Provider & API Keys

.env default:

🔌 Custom LLM API (OpenAI-like / Yarabot / Rakhshai)

Choose provider above, then fill the matching API fields. Rakhshai: URL https://rakhshai.ir:2083/v1, engine iran-llm-zal, Bearer API key (docs). Yarabot: full completion URL + model id. OpenAI-like: base URL ending in /v1.

Previous Q&A turns passed to LLM (0 = off)
Surrounding sentences per chunk (re-upload to apply)

📤 Upload Limits

Controls the dashboard upload tab. .env defaults: files, MB per file.
Single request limit (1–500)
Per-file size limit (1–1000 MB)

💬 Open WebUI Integration

Control how adv-rag handles chat UI requests. adv-rag owns prompts, retrieval, and source display — Open WebUI should not inject its own RAG or translation into your queries.
Cross-encoder / reranker models only — not for embeddings.
Changing provider or model requires re-uploading all documents (vectors become incompatible).
.env defaults — Provider: - | Model: -

🔧 Query Engineering