File size: 1,575 Bytes
900d7e8
d7a88a1
900d7e8
9e054cc
900d7e8
 
9e054cc
 
900d7e8
9e054cc
d7a88a1
 
900d7e8
 
e1c9d7f
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
---
title: Fed AI Savant
emoji: 💬
colorFrom: blue
colorTo: purple
sdk: gradio
sdk_version: "5.38.0"
app_file: src/app.py
pinned: false
python_version: "3.11"
license: apache-2.0
short_description: A Fed savant to answer all your monetary policy questions
---

# Fed AI Savant

An intelligent chatbot for analyzing Federal Reserve monetary policy and FOMC meeting minutes, powered by LLM-based agents and real-time data processing.

## Setup

```bash
make setup  # Install uv, Python 3.11, create venv, and install dependencies
```

Create a `.env` file with your API key:
```bash
echo "FIREWORKS_API_KEY=your_api_key_here" > .env
```

## Components

### Data Pipeline (`src/fed_scraper_pipeline/data_pipeline.py`)
Scrapes FOMC meeting minutes from federalreserve.gov and processes them using LLM analysis to extract rate decisions, forward guidance, economic outlook, and market impact.

**Run the pipeline:**
```bash
python -m src.fed_scraper_pipeline.data_pipeline --max-meetings 25 --start-year 2022 --end-year 2025
```

**Update recent meetings:**
```bash
python -m src.fed_scraper_pipeline.update_recent_meetings --num-recent 2
```

**Process from already scraped data:**
```bash
python -m src.fed_scraper_pipeline.data_pipeline --from-scraped data/fed_meetings_scraped_YYYYMMDD_HHMMSS.json
```

### Gradio App (`src/app.py`)
Interactive chat interface for querying Federal Reserve policy with AI-powered assistance, searchable FOMC meeting minutes, and real-time streaming responses.

**Run the app:**
```bash
make run
```

Or directly:
```bash
python -m src.app
```