A bot created in C# and with the use of Bot Framework and LUIS AI from Microsoft that can store tracks, albums and artists based on the commands given by the user. You can also get back the list of all the tracks associated with an album or artist. (Some functionality already added, some being added at the moment...)
This project is made in Visual Studio 2017 and you can use git commands to clone this or just download and import it in Visual Studio as a project. In addition to having Visual Studio on your machine, you also need to have the bot framework emulator that you can download from the Microsoft website.
The solution has two projects -
- ConsoleApp1 - Involves basic skeleton code which does all the actual work - adding and getting of tracks/albums/artists.
- MusicBot - This project connects the whole program with LUIS AI and uses the commands to get the intent.
More functionality being added as you read this...
Now everything in detail!
- Visual Studio 2017
- Bot Application, Bot Controller, and Bot Dialog .zip files. Install the templates by copying the .zip files to your Visual Studio 2017 project templates directory. (follow this link #3 - https://docs.microsoft.com/en-us/bot-framework/dotnet/bot-builder-dotnet-quickstart)
- Bot Emulator (follow this link - https://emulator.botframework.com/)
- Download this project.
- Import the project in Visual Studio 2017.
- Build and run the project with any browser on your system.
- Once the program runs successfully, open bot emulator and navigate to http://localhost:3979/api/messages (ignore the User ID and Password fields).
- Start typing in the commands and follow the bot!
- If your commands cannot run for some reason, type in 'help' and the bot will return all the commands that it can work with.
- Some bits of code in C# (like using get and set methods for fields instead of get/set with variable declaration in C#) have been coded in a Java-like style instead of C#-like style. This is because this is the first time I am working on C#, so if you face any difficulties grasping the code apologies for that, it will be fixed soon!
- Since I am still working on this project, more functionality may be added in the near future.