File size: 790 Bytes
7d9087b
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
rag_chatbot/
│── app.py                    # Main Streamlit app
│── components/
β”‚   β”œβ”€β”€ sidebar.py            # Sidebar UI (model selection, upload, user info)
β”‚   β”œβ”€β”€ chat_ui.py            # Chat UI styling and history
│── services/
β”‚   β”œβ”€β”€ pdf_processing.py      # PDF loading and text splitting
β”‚   β”œβ”€β”€ vector_store.py        # Vector database (FAISS) setup
β”‚   β”œβ”€β”€ llm.py                 # Model initialization and QA chain
│── utils/
β”‚   β”œβ”€β”€ helpers.py             # Helper functions (e.g., get_file_size)
│── docs/                      # Folder for storing uploaded PDFs (created dynamically)
│── requirements.txt           # Dependencies
│── README.md                  # Project documentation