File size: 1,723 Bytes
aa5cda2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
49ea32a
aa5cda2
 
 
 
 
 
 
 
 
 
 
 
 
0e48bae
aa5cda2
 
 
 
 
 
 
 
0e48bae
aa5cda2
 
 
 
 
 
 
 
 
 
 
 
 
0e48bae
aa5cda2
 
 
 
 
 
 
 
0e48bae
aa5cda2
 
 
 
 
 
 
 
 
0e48bae
 
aa5cda2
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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
"""Main Streamlit app"""
import streamlit as st
from components import render_sidebar
from utils import PAGE_TITLE, PAGE_ICON

st.set_page_config(
    page_title=PAGE_TITLE,
    page_icon=PAGE_ICON,
    layout="wide",
    initial_sidebar_state="expanded"
)

render_sidebar()

st.title("πŸ€– LLM Data Analyzer")
st.write("*Advanced data analysis with AI assistance*")

st.divider()

# Home page content
col1, col2 = st.columns(2)

with col1:
    st.subheader("πŸ’¬ Chat")
    st.write("""
    - Ask questions about data analysis
    - Get AI-powered insights
    - Real-time responses from LLM
    """)
    st.markdown("[πŸ’¬ Go to Chat](pages/01_Chat.py)")

with col2:
    st.subheader("πŸ“ Upload Data")
    st.write("""
    - Upload CSV or Excel files
    - Preview your data
    - View statistics
    """)
    st.markdown("[πŸ“ Upload Data](pages/02_Upload_Data.py)")

st.divider()

col3, col4 = st.columns(2)

with col3:
    st.subheader("πŸ“Š Analysis")
    st.write("""
    - Statistical analysis
    - Trend detection
    - Outlier detection
    - Correlation analysis
    """)
    st.markdown("[πŸ“Š Run Analysis](pages/03_Analysis.py)")

with col4:
    st.subheader("πŸ₯ System Status")
    st.write("""
    - Check backend health
    - View LLM model info
    - Monitor system status
    """)
    st.markdown("[πŸ₯ Check Status](pages/04_Health_Check.py)")

st.divider()

st.info("""
### πŸ“– Quick Start
1. **Upload Data** - Start by uploading a CSV or Excel file
2. **Preview** - Review your data and statistics
3. **Analyze** - Run analysis and get insights
4. **Chat** - Ask follow-up questions to the AI

**Navigation**: Use the pages listed above or check the pages folder dropdown in the sidebar!
""")