File size: 1,079 Bytes
275df11
 
 
 
 
 
 
 
 
 
750edfc
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
---
title: 5/3/1 Workout Program Assistant
emoji: 💪
colorFrom: blue
colorTo: purple
sdk: docker
app_port: 8000
pinned: false
---

# Book Assistant

A specialized AI assistant that helps you analyze and get insights from your books, particularly fitness books. It can:
1. Create personalized workout plans
2. Answer questions about book content
3. Provide comprehensive book summaries

## Features

- **Workout Planning**: Creates personalized workout plans based on fitness books
- **Content Analysis**: Answers specific questions about book content
- **Book Summarization**: Provides detailed summaries of books

## Setup

1. Upload your PDF book to the `data/uploads` directory
2. Ask questions like:
   - "Create a workout plan based on this book"
   - "What are the main exercises in this book?"
   - "Summarize this book for me"

## Environment Variables

Create a `.env` file with:
```
OPENAI_API_KEY=your_openai_api_key_here
```

## Development

To run locally:
```bash
pip install -r requirements.txt
chainlit run app/chainlit/chainlit.py
```

## License

MIT License