File size: 2,488 Bytes
0a1f9c3
fd388f9
1580fbc
fd388f9
 
 
 
0a1f9c3
1580fbc
fd388f9
 
15d3310
1580fbc
fd388f9
f44cf5a
 
 
 
 
 
fd388f9
f44cf5a
 
 
 
 
 
 
c98f89b
0a1f9c3
fd388f9
c98f89b
f44cf5a
 
 
 
 
 
 
 
 
 
 
 
fd388f9
f44cf5a
 
 
 
 
c98f89b
15d3310
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
import streamlit as st
import sys, os

# ─── Make utils/ globally importable ─────────────────────────────
sys.path.append(os.path.abspath(os.path.dirname(__file__)))

# ─── Page Config ────────────────────────────────────────────────
st.set_page_config(page_title="Omniscient Dashboard", layout="wide")

# ─── Title ──────────────────────────────────────────────────────
st.title("🤖 Omniscient LLM Dashboard")
st.write("Welcome! This Space is running **Streamlit multipage mode** with Taipy integration.")

# ─── Metrics Section ────────────────────────────────────────────
col1, col2, col3 = st.columns(3)

# Active chat sessions
active_sessions = len(st.session_state.get("messages", []))
col1.metric("💬 Active Sessions", active_sessions)

# Uploaded files counter
uploaded_files = len(st.session_state.get("uploaded_files", []))
col2.metric("📂 Uploaded Files", uploaded_files)

# Error counter
errors = len(st.session_state.get("errors", []))
col3.metric("⚠️ Errors", errors)

st.success("System ready ✅")

# ─── Sidebar Navigation Guide ───────────────────────────────────
st.markdown("""
### 📑 Navigation
The sidebar is auto-generated by Streamlit multipage apps.  
We group modules conceptually:

- **Chat**
  - 💬 Chatbot  

- **Analysis**
  - 👁️ Omnieye → keyword/file analysis + web scraping  
  - 📜 Omnilog → log parsing, summaries, syslog tail  
  - 📂 ScriptDigest → script/documentation generator  
  - 📚 RAG → document upload + retrieval-augmented Q&A  
  - 🗂️ BulkDigest → batch multi-file AI summarizer  

- **Tools**
  - 🌐 Web Scraper → URL fetch & summarize  
  - 🖥️ SysMonitor → local system metrics from `/proc/`  
  - 🧪 Example → placeholder demo  
""")

# ─── Embed Taipy Realtime Dashboard ───────────────────────────
st.subheader("📊 Realtime System Dashboard (Taipy)")
st.write("Live CPU and Memory metrics via Taipy GUI:")
st.components.v1.iframe("http://localhost:8080", height=600)