Skip to content

Sqs feature #27

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 113 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
113 commits
Select commit Hold shift + click to select a range
0bb2f66
Created SQS, function to pass parameters to it, and trigger.
AmanPrakash09 Dec 10, 2024
e2cfaf0
Add presigned URL Lambda and update SQS trigger logic
nikhilsinclair Dec 11, 2024
7de1c04
Merge branch 'sqs-feature' into main
Kiroves Dec 11, 2024
7b683b9
Merge pull request #25 from UBC-CIC/main
Kiroves Dec 11, 2024
e46d5d8
app sync progress
Dec 13, 2024
5385de8
Merge branch 'sqs-feature' of https://github.com/UBC-CIC/AI-Learning-…
Dec 13, 2024
a712469
merges
Dec 13, 2024
56e62df
appsync notifications working
Dec 14, 2024
fd5ff22
fix: fixed secret path and updated deployment guide.
AmanPrakash09 Dec 12, 2024
9a47666
fix: Python Lambda functions establish global RDS connection outside …
AmanPrakash09 Dec 13, 2024
c2c38c3
login password fix
nikhilsinclair Dec 12, 2024
2974863
front end fixes to login page
nikhilsinclair Dec 12, 2024
a07f44d
fix: removed instances where connection is closed after query execution.
AmanPrakash09 Dec 16, 2024
2487ac4
sign up bug fixed
nikhilsinclair Dec 13, 2024
38b3ce3
File required to create module
nikhilsinclair Dec 16, 2024
313a981
eventNotification working
Dec 18, 2024
489cbeb
merge cons
Dec 18, 2024
ce63569
fix: created S3 Bucket for chatlogs, converted sqsTrigger to Docker L…
AmanPrakash09 Dec 18, 2024
6c9ec13
fix: updated Dockerfile to point to handler.
AmanPrakash09 Dec 19, 2024
7203a7b
feat: sqsTrigger gets chatlogs for course, converts data to CSV, and …
AmanPrakash09 Dec 19, 2024
991d182
feat: added method to send notification to AppSync in sqsTrigger.
AmanPrakash09 Dec 19, 2024
066d732
sqs Trigger timeout and dockerfunc name
Dec 20, 2024
4507e65
merge
Dec 20, 2024
8954837
fix: updated Graph QL Schema.
AmanPrakash09 Dec 20, 2024
f7bb15d
Merge branch 'sqs-feature' of https://github.com/UBC-CIC/AI-Learning-…
AmanPrakash09 Dec 20, 2024
b365633
feat: added Authorization Handler for AppSync API to avoid expired AP…
AmanPrakash09 Dec 20, 2024
205fb1a
fix: reordered CDK code in stack.
AmanPrakash09 Dec 20, 2024
8660ea4
fix: updated Graph QL Schema with proper parameters.
AmanPrakash09 Dec 20, 2024
bbad1af
fix: updated file path for uploaded CSV to S3 Bucket.
AmanPrakash09 Dec 20, 2024
11058dd
fix: imported httpx in sqsTrigger.
AmanPrakash09 Dec 20, 2024
c651fb2
fix: updated handler in sqsTrigger to ensure event has body field.
AmanPrakash09 Dec 20, 2024
1750e14
fix: added logs to handler.
AmanPrakash09 Dec 20, 2024
a492a56
fix: syntax issue.
AmanPrakash09 Dec 20, 2024
b6d5ae5
fix: removed redundant trigger from S3 Bucket on sqsTrigger.
AmanPrakash09 Dec 20, 2024
3167a6f
fix: updated eventNotification.py to match GraphQL Schema.
AmanPrakash09 Dec 20, 2024
3536925
fix: updated path of file uploaded to S3 Bucket in Chat Logs Bucket.
AmanPrakash09 Jan 2, 2025
4d1f787
chat history page created with hash map structure
nikhilsinclair Jan 2, 2025
c8d818c
feat: added table in database to keep track of notifications for chat…
AmanPrakash09 Jan 6, 2025
0ae58d6
Merge branch 'sqs-feature' of https://github.com/UBC-CIC/AI-Learning-…
AmanPrakash09 Jan 6, 2025
1b779db
fix: moved sqsFunction to use lib.js to conect to the database.
AmanPrakash09 Jan 6, 2025
a3d27b8
feat: sqsFunction populates chatlog_notifications table with completi…
AmanPrakash09 Jan 6, 2025
0c7ee7d
appsync subscription on frontend for chatlog page
Jan 6, 2025
7c40416
added toast for notfications for generated logs
Jan 6, 2025
2b556fa
page nav fix for Chatlogs
Jan 8, 2025
4e73123
notification icon on front end
Jan 13, 2025
aba5a09
fixed layers for sqsFunction
nikhilsinclair Jan 13, 2025
15c1602
VPC stack adds IGW route to public subnet, Database stack updates RD…
nikhilsinclair Jan 16, 2025
cb9128c
fix: Added check to see if privateSubnetsCidrStrings is empty in Data…
AmanPrakash09 Jan 23, 2025
8021f23
fix: sqsFunction has proper permissions.
AmanPrakash09 Jan 23, 2025
7b03454
feaet: sqsTrigger updates completion status in database after chatlog…
AmanPrakash09 Jan 23, 2025
bb2e30b
feat: front-end opens websocket with AppSync.
AmanPrakash09 Jan 23, 2025
1352d99
fix: updated subscription to AppSync, sqsFunction sends headers in re…
AmanPrakash09 Jan 24, 2025
ad92286
feat: added state for button that downloads chatlogs, added endpoints…
AmanPrakash09 Jan 24, 2025
ab625bd
fix: Download Classroom Chatlog button's state is updated as soon as …
AmanPrakash09 Jan 24, 2025
b365748
fix: modified duplication ID of parameters sent to SQS to allow multi…
AmanPrakash09 Jan 25, 2025
30b3490
fix: included request_id as a unique identfier for messages sent to A…
AmanPrakash09 Jan 27, 2025
69763f9
fix: added delay in sqsTrigger to ensure mutation was being sent to A…
AmanPrakash09 Jan 27, 2025
3a4e49b
chatlogs page table created as well as added functionality for downlo…
nikhilsinclair Jan 29, 2025
96af30d
fix: ChatLogs.jsx page correctly opens websocket with AppSync.
AmanPrakash09 Feb 5, 2025
bc13926
fix: changed fetchCourseMessages to generateCourseMessages for better…
AmanPrakash09 Feb 5, 2025
73fb0dc
merge
nikhilsinclair Feb 5, 2025
9963330
Merge branch 'sqs-feature'
nikhilsinclair Feb 5, 2025
c500e33
feat: created a Lambda function that returns all the chatlog file nam…
AmanPrakash09 Feb 5, 2025
15d2cfd
Merge branch 'sqs-feature' of https://github.com/UBC-CIC/AI-Learning-…
AmanPrakash09 Feb 5, 2025
0953760
chatLogs.jsx updates for dowloading and updating the table
nikhilsinclair Feb 5, 2025
2ec10a4
Merge branch 'sqs-feature' of https://github.com/UBC-CIC/AI-Learning-…
nikhilsinclair Feb 5, 2025
def6d96
fix: chatlogs table dynamically updates when chat logs are fetched, p…
AmanPrakash09 Feb 5, 2025
339d08a
fix: updated check_notifications_status endpoint to include completio…
AmanPrakash09 Feb 5, 2025
76f1d97
chatlogs page fixed with table format
nikhilsinclair Feb 5, 2025
bf8ceae
fix: added request_id to chatlogs_notification table so that websocke…
AmanPrakash09 Feb 5, 2025
411931d
feat: if the instructor exits the app before receiving a notification…
AmanPrakash09 Feb 5, 2025
955aa40
updated loading for chat history page
nikhilsinclair Feb 6, 2025
5c3bf69
feat: created global websocket subscription to ensure all notificatio…
AmanPrakash09 Feb 8, 2025
e9f1b43
Merge branch 'sqs-feature' of https://github.com/UBC-CIC/AI-Learning-…
AmanPrakash09 Feb 8, 2025
269f98e
feat: implemented global notification context to manage chat log upda…
AmanPrakash09 Feb 8, 2025
d032878
order of recent logs on chatLogs.jsx fixed
nikhilsinclair Feb 10, 2025
be95598
ChatLogs.jsx local time zone fix instead of using UTC
nikhilsinclair Feb 11, 2025
5854785
reorder chat logs so most recent are first
nikhilsinclair Feb 12, 2025
0b9fdd3
duplicate notifications on instructor home page fixed
nikhilsinclair Feb 12, 2025
15d352b
fix: resolved issue where the notification state was shared across al…
AmanPrakash09 Feb 18, 2025
a2f621d
fix: resolved double notification issue by using useRef to prevent us…
AmanPrakash09 Feb 18, 2025
8008c85
fix: hide red notification dot on ChatLogs icon when already on ChatL…
AmanPrakash09 Feb 18, 2025
c05e512
fix: removed download chatlogs button on ViewStudents page since it w…
AmanPrakash09 Feb 19, 2025
472b2d9
deployment guide upadted for different types of cmd line
nikhilsinclair Feb 19, 2025
b4d8db6
Merge branch 'sqs-feature' of https://github.com/UBC-CIC/AI-Learning-…
nikhilsinclair Feb 21, 2025
84c7ce2
security guide documentation added to project
nikhilsinclair Feb 25, 2025
c7f408b
README updated with security guide
nikhilsinclair Feb 25, 2025
cb8a7dc
WAF added to api-gateway
nikhilsinclair Feb 25, 2025
943c57c
userGuide image updated and security group ID's removed from security…
nikhilsinclair Feb 25, 2025
db2b6c6
added chat logs feat to userGuide
nikhilsinclair Feb 25, 2025
9980505
s3 workflow diagram included in securityGuide
nikhilsinclair Feb 26, 2025
a56f103
updated WAF metricName
nikhilsinclair Feb 26, 2025
e7b60da
updated securityGuide
nikhilsinclair Feb 27, 2025
9084428
architecture diagram updated
nikhilsinclair Feb 27, 2025
3f17975
updated securityGuide for API gateway
nikhilsinclair Feb 28, 2025
79722e6
API gateway modified for securityGuide
nikhilsinclair Feb 28, 2025
3f9d350
format fixed for securityGuide
nikhilsinclair Feb 28, 2025
bfe1742
format fixes for securityGuide
nikhilsinclair Feb 28, 2025
e284719
updated securityGuide
nikhilsinclair Feb 28, 2025
e0ff66c
updated ecr on diagram
nikhilsinclair Feb 28, 2025
e3f1c98
updated securityGuide with changes from techSync meeting
nikhilsinclair Mar 3, 2025
0994d7d
colour of download for csv button fixed
nikhilsinclair Mar 3, 2025
6586989
date parsing for Chat Logs page compatible with all browsers
nikhilsinclair Mar 3, 2025
157ee32
removed text under chat logs button
nikhilsinclair Mar 3, 2025
ad14cfb
updated securityGuide with feedback
nikhilsinclair Mar 4, 2025
db46573
amplify 404 bug fixed
nikhilsinclair Mar 5, 2025
d8e90b0
routing changes
nikhilsinclair Mar 6, 2025
dc3288a
routing changes
nikhilsinclair Mar 6, 2025
15ae9ff
route changes 2
nikhilsinclair Mar 6, 2025
bb238fc
route updated 2.1
nikhilsinclair Mar 6, 2025
6185c4f
Fixes made to navigation
zayan-sheikh Mar 7, 2025
8267fbe
fixed a few security issues
zayan-sheikh Mar 8, 2025
a608e21
fixed 3 more security issues
zayan-sheikh Mar 8, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 20 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,20 @@
This prototype explores how Large Language Models (LLMs) can enhance education by offering a personalized and adaptive learning experience. The LLM complements an instructor's role by providing tailored feedback, identifying knowledge gaps, and recommending targeted resources to students. This approach resonates with the core principles of personalized education, transforming the learning experience into a journey of self-discovery and growth.


| Index | Description |
| :-------------------------------------------------- | :------------------------------------------------------ |
| [High Level Architecture](#high-level-architecture) | High level overview illustrating component interactions |
| [Deployment](#deployment-guide) | How to deploy the project |
| [User Guide](#user-guide) | The working solution |
| [Directories](#directories) | General project directory structure |
| [RAG Documentation](#rag-documentation) | Documentation on how the project uses RAG |
| [API Documentation](#api-documentation) | Documentation on the API the project uses |
| [Changelog](#changelog) | Any changes post publish |
| [Credits](#credits) | Meet the team behind the solution |
| [License](#license) | License details |
| Index | Description |
| :------------------------------------------------------ | :------------------------------------------------------ |
| [High Level Architecture](#high-level-architecture) | High level overview illustrating component interactions |
| [Deployment](#deployment-guide) | How to deploy the project |
| [User Guide](#user-guide) | The working solution |
| [Security & Network Guide](#security-guide-and-network-configuration) | Analysis on network architecture and security |
| [Directories](#directories) | General project directory structure |
| [RAG Documentation](#rag-documentation) | Documentation on how the project uses RAG |
| [API Documentation](#api-documentation) | Documentation on the API the project uses |
| [Changelog](#changelog) | Any changes post publish |
| [Credits](#credits) | Meet the team behind the solution |
| [License](#license) | License details |

---

## High-Level Architecture

Expand All @@ -29,6 +32,12 @@ To deploy this solution, please follow the steps laid out in the [Deployment Gui

Please refer to the [Web App User Guide](./docs/userGuide.md) for instructions on navigating the web app interface.


## Security Guide and Network Configuration

Please refer to the [Security Guide](./docs/securityGuide.md) for an analysis on the network architecture and security of the project


## Directories

```
Expand Down
Loading