File size: 3,059 Bytes
fbb7938
 
 
 
 
 
37cec44
fbb7938
 
 
 
 
b13191c
88daa62
1914134
fbb7938
b13191c
b5f320c
b13191c
1914134
b13191c
 
 
 
fbb7938
b13191c
b5f320c
b13191c
 
 
 
 
fbb7938
b13191c
fbb7938
b13191c
fbb7938
b13191c
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
062e80d
fbb7938
 
 
b13191c
fbb7938
 
 
b13191c
fbb7938
b13191c
fbb7938
b13191c
fbb7938
 
 
b13191c
 
2066696
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
---
title: Brock Events Assistant
emoji: πŸŽ“
colorFrom: red
colorTo: indigo
sdk: gradio
sdk_version: 5.9.1
app_file: app.py
pinned: false
license: mit
---

# πŸŽ“ Brock University Events Assistant

An AI-powered chatbot that helps you discover events at Brock University. Using Natural Language Processing and real-time event data, this assistant provides personalized event recommendations and information.

## ✨ Features

- **Natural Language Understanding**: Ask questions in everyday language
- **Real-time Event Updates**: Fresh data from ExperienceBU's rss feed.
- **Smart Filtering**: Find events by category, date, or location
- **Responsive Interface**: User-friendly chat experience
- **Cache System**: Efficient data management
- **Automatic Updates**: Events refresh every 24 hours

## πŸ’‘ Example Questions

- "What's happening on campus this week?"
- "Are there any academic workshops tomorrow?"
- "Tell me about events in the library"
- "What club meetings are coming up?"
- "Any career fairs this month?"

## πŸ› οΈ Technical Details

### Stack
- **Frontend**: Gradio 4.14.0
- **NLP**: Sentence Transformers (all-MiniLM-L6-v2)
- **Vector DB**: ChromaDB
- **Data Source**: ExperienceBU RSS Feed
- **Processing**: BeautifulSoup4, NLTK

### Features
- Event caching for improved performance
- 14-day event window for relevance
- Natural language response generation
- Context-aware query understanding
- Automatic data refresh system

## πŸ“Š Performance

- Processes next 14 days of events
- Response time: ~2-3 seconds
- Cache updates: Every 24 hours
- Memory usage: ~500MB

## πŸš€ Development

1. Clone the repository
2. Install dependencies: `pip install -r requirements.txt`
3. Run locally: `python app.py` or on google colab (Remember to !pip install required repositories)!

## πŸ“ License

MIT License - See LICENSE file

## πŸ”— Links

- [ExperienceBU](https://experiencebu.brocku.ca/events)

## πŸ‘₯ Contributing

Contributions welcome! Please check the issues page.

## πŸ“« Contact

Created by Aryan J - Feel free to connect!
- [LinkedIn](https://www.linkedin.com/in/aryanjhaveri/)

# Brock Events Assistant: Development Roadmap & Analysis

## Current Limitations

### 1. Time Window Constraints
- Limited to 14-day window for event fetching
- No historical event data available
- Can't handle queries about past events
- No long-term event planning capabilities

### 2. Search and Response Limitations
- Basic semantic search without context awareness
- Responses are template-based and lack conversational flow
- No memory of previous interactions within the conversation
- Limited understanding of complex queries
- No handling of follow-up questions

### 3. Technical Constraints
- Single RSS feed dependency
- Basic caching system
- No real-time updates
- Limited error recovery
- No user preferences or personalization

## Next Steps

1. Begin with conversation memory implementation
2. Enhance query understanding
3. Implement basic categorization
4. Add simple personalization features
5. Plan for expanded time window