File size: 1,116 Bytes
8985a46
 
 
 
 
 
 
 
3586d61
8985a46
 
 
 
182b919
8985a46
 
 
 
 
 
 
 
 
 
 
9c37331
8985a46
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
---
title: ScholarBot
emoji: πŸ“š
colorFrom: indigo
colorTo: blue
sdk: streamlit
sdk_version: "1.35.0"
python_version: "3.10"
app_file: app/app.py
suggested_hardware: cpu-basic
suggested_storage: medium
fullWidth: true
header: default
short_description: "Chat with your research papers"
tags:
  - rag
  - langchain
  - streamlit
  - chatbot
  - document-qa
  - ai-research
  - huggingface
  - vector-database
pinned: true
---

# πŸ€– ScholarBot

**ScholarBot** is an AI-powered research assistant that enables you to upload research papers and chat with them. It leverages cutting-edge Retrieval-Augmented Generation (RAG) pipelines and large language models (LLMs) to ground responses in the actual content of uploaded PDFs. 

---

##  Getting Started (Local Setup)

```bash
# Clone the repo
git clone https://huggingface.co/spaces/vinny4/ScholarBot
cd ScholarBot

# Install dependencies
pip install -r requirements.txt

# Create a .env file with OPENAI_API_KEY and GROQ_API_KEY
echo "OPENAI_API_KEY=your_openai_api_key" > .env
echo "GROQ_API_KEY=your_groq_api_key" >> .env

# Run Streamlit app
streamlit run app.py