Skip to content

Conversation

@kevin-lann
Copy link
Contributor

Description

SCRUM-132

This PR Includes:

  • Documented /api/ai endpoints
  • Vastly improved chatbot's ability to answer queries involving course year level and breadth requirement.
  • Updated embeddings script for storing metadata in course embeddings

Type of change

  • New feature (non-breaking change which adds functionality)
  • [] Bug fix (non-breaking change which fixes an issue)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

Checklist:

  • My code follows the style guidelines of this project
  • I have commented my code, particularly in hard-to-understand areas
  • My changes generate no new warnings

@kevin-lann kevin-lann changed the title Improved querying of year level and breadth requirement from vector db Kl/scrum-132 Improved querying of year level and breadth requirement from vector db Mar 10, 2025
@minhhaitran08
Copy link
Contributor

I have tested the breadth requirement and year level with Morpheus.

I think the year level suggestion are pretty good and I dont find any problems there.

But for the breadth requirement

  • When i ask in general course suggestion to fulfil a breadth requirement, Morpheus could provide accurate answer. But when I ask for a more narrowed suggestion than it starts to put out inaccurate suggestion

    • For example: In this case MGTA02 breath requirement is Social and Behavioural Sciences
      image
  • Furthermore Morpheus also seems to not being able to correctly identify the course information based on the provided course code --> Incorrect breadth requirement
    image

@kevin-lann
Copy link
Contributor Author

@minhhaitran08 Fixed the issues. The similarity search was previously failing to find the right course in some queries. Let me know if it still persists. I retried some of your queries and they are good now:
image
image
image

@minhhaitran08
Copy link
Contributor

I have reviewed your PR again and the accuracy have been improved. Most of the course I search are accurate, although there are still some mistakes here and there especially for the upper year courses. I tried 10 course 8 of them are correct.
image

The recommendations are also accurate majority of time.

Another feedback I think we should implement if we can is instead of breadth requirement code we should write its name. For example Quantitative Reasoning instead of QUANT or Social and Behavioural Sciences instead of SOCIAL_SCI

@kevin-lann kevin-lann merged commit 2c6d152 into develop Mar 15, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants