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.
Metadata
Release files for neureca 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| neureca-0.0.1-py3-none-any.whl | Python 3 | none | any | Details for neureca-0.0.1-py3-none-any.whl |
Release files / neureca-0.0.1-py3-none-any.whl
| Download URL | neureca-0.0.1-py3-none-any.whl |
|---|---|
| Size | 543.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
143719e90554785d49e77a57c46d4263aad4ab0c76bc2a7e451d4b1615698d5c
|
|
BLAKE2b-256 checksum How to use checksums |
2b1dbcca92ec46acd1b872e209fd8786793e3cb4d5480abdc9ffd353e6e396d5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Security for neureca 0.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.