RAG Web Application

Upload markdown files and chat with them

📤 Upload Files

📊 Stats

{% if stats %}

Files: {{ stats.total_files }}

Chunks: {{ stats.total_chunks }}

{% else %}

No files uploaded yet

{% endif %}

🔧 Status

KB: {{ "Ready" if has_kb else "Not initialized" }}

Ollama: {{ "Connected" if has_agent else "Not available" }}

{% if not has_agent %}

Run: ollama pull gemma3:latest

{% endif %}

💬 Chat

Assistant:

Upload some markdown files and ask me questions about them!

{% if not has_kb %}

Upload files to start chatting

{% elif not has_agent %}

Ollama not available

{% endif %}