ContriHUB / PlayTopia

0 stars 11 forks source link

feat: optimized chatbot to suggest spotify #11

Closed lokesh-wagh closed 1 year ago

lokesh-wagh commented 1 year ago

a completely new chatbot has been created using dialogflow

I have created a chatbot with two intent's suggest song's and search song's

this chatbot can now suggest song's that the user want's using spotify api

demo video:

playtopia.webm

Description

only the backend directory has been changed
css file : some styling's are added
public/index.js file : included option to call upon serverSpotify function serverSpotify Function is that create's the spotify player's and render's them display initial convo function show's the initial few dialogues one after other
index.js (main server file) the runSample method is modified to give different output's based on the intent a generateURIS function is added that make's the spotify api call's to get the appropriate URI

new modules installed : fetch: for api calls

Note : credentials have been made public for the bot in case some changes are to be made in future

Related Issue


6


Fixes # (issue) fixes #6

Type of change

Motivation and Context

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

Screenshots (if appropriate):

Checklist:

Test Configuration:

lokesh-wagh commented 1 year ago

Thank You for your guidance mam!!

silkie261001 commented 1 year ago

My pleasure!

On Wed, Oct 11, 2023, 7:53 PM lokesh-wagh @.***> wrote:

Thank You for your guidance mam!!

— Reply to this email directly, view it on GitHub https://github.com/ContriHUB/PlayTopia/pull/11#issuecomment-1757807249, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASRKYIZDWNURFVADN45Q3ILX62TWXANCNFSM6AAAAAA52ZTCOM . You are receiving this because you modified the open/close state.Message ID: @.***>