Skip to main content

A framework for building conversational recommender systems

Project description

Neureca💡 for Conversational Recommender Systems

This repository contains source code for Neureca💡 project. Neureca💡 is a framework for building conversational recommender (ConvRec) systems. It is also an open-source project that helps any ML researchers develop ConvRec system and contribute to key components easily. Neureca💡 is still under development stage.

installation

pip install neureca

usage

  1. train NLU model(i.e. intent recognizer, item attribute recognizer) and Recommender model using your own dataset
neureca-train intent  
neureca-train attribute 
nuereca-train recommender
  1. create main.py under your project directory
from pathlib import Path
from neureca import Neureca, NLU, Recommender, Explainer, Manager
from stages import greeting_stage

# load the latest trained version of each model if version is not speicfied in arguament
nlu = NLU()  
recommender = Recommender()
explainer = Explainer()
dialogue_manager = Manager(initial_stage=greeting_stage)

#create nureca instance
neureca = Neureca(
    nlu=nlu,
    recommender=recommender,
    explainer=explainer,
    dialogue_manager=dialogue_manager,
    path=Path.cwd(),
)

if __name__ == '__main__':
    neureca.run(env="cli")  # env: cli or web
  1. run neureca
python main.py

chat

For more information, please visit docs.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

neureca-0.0.1-py3-none-any.whl (543.0 kB view details)

Uploaded Python 3

File details

Details for the file neureca-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: neureca-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 543.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.4 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.6

File hashes

Hashes for neureca-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 143719e90554785d49e77a57c46d4263aad4ab0c76bc2a7e451d4b1615698d5c
MD5 5be06f943771f820da9fe9d32d3b8c8c
BLAKE2b-256 2b1dbcca92ec46acd1b872e209fd8786793e3cb4d5480abdc9ffd353e6e396d5

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page