-
Notifications
You must be signed in to change notification settings - Fork 301
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
Iris
: Answer questions about lecture slides
#8636
Conversation
Iris
: Add lecture ingestion pipeline
…abled from chat to general IRIS Settings
…odel.ts Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
…GlobalSettings.java Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
reapprove
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reapprove
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 1
src/main/java/de/tum/in/www1/artemis/service/iris/settings/IrisSettingsService.java
Show resolved
Hide resolved
* @return returns the job token if the operation is successful else it returns null | ||
*/ | ||
public boolean ingestLecturesInPyris(Set<Lecture> lectures) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
a boolean is not a job token
} | ||
} | ||
catch (Exception e) { | ||
log.error(e.getMessage()); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should probably do something here when we add a status update to the UI
Iris
: Add lecture ingestion pipelineIris
: Allow students to answer questions on lecture slides
Iris
: Allow students to answer questions on lecture slidesIris
: Allow Iris to answer questions about lecture slides
Iris
: Allow Iris to answer questions about lecture slidesIris
: Answer questions about lecture slides
Checklist
General
Server
Motivation and Context
We want Iris to be able to respond to the students questions based on the lecture content. For that we need to send the lectures to Pyris, everytime new lecture slides or attachments get updated or deleted.
Description
Every lecture that gets updated or created is sent to the Pyris through a rest call. If a course, lecture or a lectureUnit gets erased the webhook is also executed and the files are erased from the Pyris side.
Steps for Testing
Prerequisites:
Test as an admin(only people with admin rights can test on ts3):
Test as an INSTRUCTOR/Admin:
5. Download a lecture unit attachment then Reupload it -> Check if the file is sent correctly to Pyris by checking Artemis logs on Grafana. After some time you should find this log: Slides ingestion:Lecture Ingestion Finished.
6. Delete a lecture unit, delete a Lecture -> Check if the file is sent correctly to Pyris by checking the Artemis logs on Grafana after some time you should find this log: Old slides removal:Old slides removed.
7. On the lectures page there is a button called send lectures to Pyris near create lectures, when you click on it, the upload should work as expected. After some time you should find this log: Slides ingestion:Lecture Ingestion Finished.
Testserver States
Note
These badges show the state of the test servers.
Green = Currently available, Red = Currently locked
Review Progress
Performance Review
Code Review
Manual Tests
Test Coverage
Client
Server
Summary by CodeRabbit
New Features
Enhancements
Bug Fixes
Tests
Documentation