File size: 1,071 Bytes
1d10b0a
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
# Quick Setup Guide (Windows)

## Requirements
- Python 3.10+ 
- Groq API Key

## Installation Steps

### 1. Create Virtual Environment
```powershell
python -m venv venv
```

### 2. Activate Virtual Environment
```powershell
.\venv\Scripts\Activate.ps1
```

**If you get execution policy error:**
```powershell
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser
```

### 3. Upgrade pip
```powershell
python -m pip install --upgrade pip
```

### 4. Install Dependencies
```powershell
pip install -r requirements.txt
```

### 5. Configure API Key
```powershell
copy .env.example .env
notepad .env
```

Add your Groq API key:
```
GROQ_API_KEY=your_groq_api_key_here
```

### 6. Run Application
```powershell
streamlit run streamlit_app.py
```

Open browser to: **http://localhost:8501**

---

## Common Issues

**Execution Policy Error:**
```powershell
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser
```

**Reset ChromaDB:**
```powershell
Remove-Item -Recurse -Force .\chroma_db
```

**Deactivate venv:**
```powershell
deactivate
```