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
- 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
- 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
- run neureca
python main.py
For more information, please visit docs.
Project details
Release history Release notifications | RSS feed
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
neureca-0.0.1-py3-none-any.whl
(543.0 kB
view hashes)