Week 4&5 update in the coding period for GSoC with Sugar Labs
Hello everyone before reading this blog you can refer to my previous blogs on the project for a better understanding — https://medium.com/@khadarvsk/week-3-update-in-the-coding-period-for-gsoc-with-sugar-labs-54ee7c39f30b
I have added some features to my chatbot (MusicBlocks AI) —
Feature1: Song
- when the user asks a question related to generating a lesson plan then our model should give 6 songs related to that topic.
- And, our model will ask the user to select one song based on the index.
- As soon as the user selects the index of the song then our model starts generating a lesson plan on the topic the user has provided based on the song the user selected.
How I have implemented:
- Whenever the user asks a question our llama3 model will understand the question and see if the user is asking about generating a lesson plan or not.
- If yes then we will modify the question as Give me the best 6 songs for the topic to generate the lesson plan?
- If not then it will be executing normally.
Responses from the model:
Feature2: MIDI file
What is the midi file?
A MIDI (Musical Instrument Digital Interface) file is a type of digital file that contains instructions for how music should be played. Instead of storing actual audio recordings, it stores information about musical notes, such as which notes to play, how long to hold them, and how loud they should be. Think of it like sheet music for computers and electronic instruments.
How the midi file will help in music blocks?
The user can download the MIDI file and directly place it inside the music blocks then it will work like magic and collect all the blocks required for that song.
As in Feature 1 the song which the user selects we will do a Google search for it and we will give the user the midi file of that song so it will be easy for the user so he can download it and directly put it in the Music Blocks.
Work for the next week:
- I have to update the guide which I have used.
- I have to create a dataset of the tour of music blocks.
- Work on the history part.