Coder Social home page Coder Social logo

chatbot-songrecommender's Introduction

ChatBot-SongRecommender

Tech stack

  • Backend: Flask, cakechat(backend server for chatbot)
  • Frontend: React.js

Demo Video

ChatBot-SongRecommender

Features

  • Chatbot: user can chat with chatbot.
  • Song Recommendation: Based on the "mood" of the user while chatting with chatbot songs are recommended dynamically.
  • Similar Songs: Based on the last song listened by the user from the list of the recommended songs, similar songs are made available to the user.

Implementation Details

  • Mood of the user is analysed with help of 'IBM tone analyser'
  • Chatbot: cakechat backend server is used as chatbot.
  • Song Recommendation is done with help of 'last.fm' API
  • User writes a message. Based on the user's message, IBM tone analyser analyses the mood of the user. This mood along with message is used for cakechat server to get chat response. Mood is also used to get songs recommendation from last.fm API.

References

https://www.crio.do/projects/python-chatbot-api/?utm_source=email&utm_medium=newsletter

chatbot-songrecommender's People

Contributors

pkc3766 avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

chatbot-songrecommender's Issues

'ImportError: DLL load failed: The specified module could not be found' occur while using command 'python tools/fetch.py'

(chatvirt) PS C:\Users\nisha\OneDrive\Desktop\cakechat-2.0.1> python tools/fetch.py
Using TensorFlow backend.
2022-05-08 02:41:43.724583: I tensorflow/core/platform/cpu_feature_guard.cc:141] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2
Traceback (most recent call last):
File "tools/fetch.py", line 15, in
from cakechat.dialog_model.factory import get_trained_model
File "C:\Users\nisha\OneDrive\Desktop\cakechat-2.0.1\cakechat\dialog_model\factory.py", line 8, in
from cakechat.dialog_model.inference_model import InferenceCakeChatModel
File "C:\Users\nisha\OneDrive\Desktop\cakechat-2.0.1\cakechat\dialog_model\inference_model.py", line 1, in
from cakechat.dialog_model.keras_model import KerasTFModelIsolator
File "C:\Users\nisha\OneDrive\Desktop\cakechat-2.0.1\cakechat\dialog_model\keras_model.py", line 11, in
from cakechat.dialog_model.abstract_model import AbstractModel
File "C:\Users\nisha\OneDrive\Desktop\cakechat-2.0.1\cakechat\dialog_model\abstract_model.py", line 6, in
from cakechat.dialog_model.quality.metrics.utils import MetricsSerializer
File "C:\Users\nisha\OneDrive\Desktop\cakechat-2.0.1\cakechat\dialog_model\quality_init_.py", line 2, in
from cakechat.dialog_model.quality.metrics.lexical_simlarity import calculate_lexical_similarity, get_tfidf_vectorizer
File "C:\Users\nisha\OneDrive\Desktop\cakechat-2.0.1\cakechat\dialog_model\quality\metrics\lexical_simlarity.py", line 3, in
from sklearn.feature_extraction.text import TfidfVectorizer
File "C:\Users\nisha\OneDrive\Desktop\cakechat-2.0.1\chatvirt\lib\site-packages\sklearn_init_.py", line 64, in
from .base import clone
File "C:\Users\nisha\OneDrive\Desktop\cakechat-2.0.1\chatvirt\lib\site-packages\sklearn\base.py", line 13, in
from .utils.fixes import signature
File "C:\Users\nisha\OneDrive\Desktop\cakechat-2.0.1\chatvirt\lib\site-packages\sklearn\utils_init_.py", line 16, in
from .fixes import Sequence as Sequence
File "C:\Users\nisha\OneDrive\Desktop\cakechat-2.0.1\chatvirt\lib\site-packages\sklearn\utils\fixes.py", line 92, in
from scipy.sparse.linalg import lsqr as sparse_lsqr # noqa
File "C:\Users\nisha\OneDrive\Desktop\cakechat-2.0.1\chatvirt\lib\site-packages\scipy\sparse\linalg_init
.py", line 114, in
from .isolve import *
File "C:\Users\nisha\OneDrive\Desktop\cakechat-2.0.1\chatvirt\lib\site-packages\scipy\sparse\linalg\isolve_init_.py", line 6, in
from .iterative import *
File "C:\Users\nisha\OneDrive\Desktop\cakechat-2.0.1\chatvirt\lib\site-packages\scipy\sparse\linalg\isolve\iterative.py", line 10, in
from . import _iterative
ImportError: DLL load failed: The specified module could not be found.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.