├── .darklint ├── .flake8 ├── .github ├── config.yml └── workflows │ ├── coverage.yml │ ├── greetings.yml │ └── tests.yml ├── .gitignore ├── .pre-commit-config.yaml ├── .pyup.yml ├── CHANGELOG.mdx ├── CONTRIBUTING.en_US.md ├── CONTRIBUTING.md ├── LICENSE ├── Makefile ├── README.en_US.md ├── README.md ├── asset ├── NLU.png ├── bert-dst.png ├── clone.jpg ├── crosswoz.jpg ├── fork.jpg ├── open-new-pr.jpg ├── trade.png ├── xbot-architecture.png ├── xbot.ico └── xbot.jpg ├── data ├── __init__.py └── crosswoz │ ├── .DS_Store │ ├── __init__.py │ ├── data_process │ ├── __init__.py │ ├── dst │ │ ├── __init__.py │ │ ├── bert_preprocess.py │ │ └── trade_preprocess.py │ ├── nlg │ │ └── generate_auto_template.py │ ├── nlu │ │ ├── __init__.py │ │ ├── nlu_dataloader.py │ │ ├── nlu_intent_dataloader.py │ │ ├── nlu_intent_postprocess.py │ │ ├── nlu_intent_preprocess.py │ │ ├── nlu_postprocess.py │ │ ├── nlu_preprocess.py │ │ ├── nlu_slot_dataloader.py │ │ ├── nlu_slot_postprocess.py │ │ └── nlu_slot_preprocess.py │ ├── policy │ │ ├── __init__.py │ │ ├── bert_proprecess.py │ │ ├── mle_preprocess.py │ │ └── rule_preprocess.py │ └── readable_preprocess.py │ ├── database │ ├── attraction_db.json │ ├── database.md │ ├── hotel_db.json │ ├── metro_db.json │ ├── restaurant_db.json │ └── taxi_db.json │ ├── nlg_template_data │ └── nothing │ ├── nlu_intent_data │ └── intent_vocab.json │ ├── nlu_joint_data │ ├── intent_vocab.json │ └── tag_vocab.json │ ├── nlu_slot_data │ ├── intent_vocab.json │ └── tag_vocab.json │ └── raw │ ├── test.json.zip │ ├── train.json.zip │ └── val.json.zip ├── docs ├── .gitignore ├── README.md ├── babel.config.js ├── blog │ ├── 2019-05-28-hola.md │ ├── 2019-05-29-hello-world.md │ └── 2019-05-30-welcome.md ├── docs │ ├── greeting.md │ ├── guide.md │ ├── installation.md │ ├── introduction.md │ └── reference │ │ ├── sidebar.json │ │ └── xbot │ │ ├── chatbot.md │ │ ├── dm │ │ ├── dst │ │ │ ├── bert_dst │ │ │ │ └── bert.md │ │ │ ├── rule_dst │ │ │ │ └── rule.md │ │ │ └── trade_dst │ │ │ │ └── trade.md │ │ ├── intervention.md │ │ └── policy │ │ │ ├── bert_policy │ │ │ └── bert.md │ │ │ └── mle_policy │ │ │ └── mle.md │ │ ├── exceptions.md │ │ ├── model.md │ │ ├── nlg │ │ └── nlg_with_template.md │ │ ├── nlu │ │ ├── intent │ │ │ └── intent_with_bert.md │ │ ├── joint │ │ │ └── joint_with_bert.md │ │ ├── pipeline.md │ │ ├── sequence_detect.md │ │ └── slot │ │ │ └── slot_with_bert.md │ │ ├── pipeline.md │ │ └── util │ │ ├── allennlp_file_utils.md │ │ ├── db_query.md │ │ ├── download.md │ │ ├── dst_util.md │ │ ├── module.md │ │ ├── nlg_util.md │ │ ├── nlu_util.md │ │ └── policy_util.md ├── docusaurus.config.js ├── package.json ├── pydoc-markdown.yml ├── sidebars.js ├── src │ ├── css │ │ └── custom.css │ └── pages │ │ ├── index.jsx │ │ └── styles.module.css ├── static │ ├── .nojekyll │ └── img │ │ ├── favicon.ico │ │ ├── logo.svg │ │ ├── undraw_docusaurus_mountain.svg │ │ ├── undraw_docusaurus_react.svg │ │ └── undraw_docusaurus_tree.svg └── yarn.lock ├── get-poetry.py ├── mypy.ini ├── poetry.lock ├── pyproject.toml ├── pytest.ini ├── script ├── __init__.py ├── dst │ ├── __init__.py │ ├── bert │ │ ├── README.md │ │ ├── __init__.py │ │ ├── train.py │ │ └── utils.py │ └── trade │ │ ├── README.md │ │ ├── __init__.py │ │ ├── train.py │ │ └── utils.py ├── nlg │ └── evaluate.py ├── nlu │ ├── __init__.py │ ├── intent │ │ ├── nlu_intent_test.py │ │ └── nlu_intent_train.py │ ├── joint │ │ ├── nlu_joint_test.py │ │ └── nlu_joint_train.py │ └── slot │ │ ├── nlu_slot_test.py │ │ └── nlu_slot_train.py └── policy │ ├── __init__.py │ ├── bert │ ├── __init__.py │ ├── train.py │ └── utils.py │ ├── mle │ ├── __init__.py │ ├── train.py │ └── utils.py │ └── rule │ ├── __init__.py │ └── rule_test.py ├── setup.cfg ├── src └── xbot │ ├── __init__.py │ ├── api │ └── __init__.py │ ├── builder.py │ ├── chatbot.py │ ├── cli │ ├── __init__.py │ └── commands.py │ ├── component.py │ ├── config.py │ ├── config │ ├── dst │ │ ├── bert │ │ │ ├── common.json │ │ │ ├── inference.json │ │ │ └── train.json │ │ └── trade │ │ │ ├── common.json │ │ │ ├── inference.json │ │ │ └── train.json │ ├── nlu │ │ ├── crosswoz_all_context_joint_nlu.json │ │ ├── crosswoz_all_context_nlu_intent.json │ │ └── crosswoz_all_context_nlu_slot.json │ └── policy │ │ ├── bert │ │ ├── common.json │ │ ├── inference.json │ │ └── train.json │ │ └── mle │ │ ├── common.json │ │ ├── inference.json │ │ └── train.json │ ├── constants.py │ ├── conversation.py │ ├── data │ └── __init__.py │ ├── dm │ ├── __init__.py │ ├── dst │ │ ├── __init__.py │ │ ├── bert_dst │ │ │ ├── __init__.py │ │ │ └── bert.py │ │ ├── fsm_dst │ │ │ └── fsm.py │ │ ├── rule_dst │ │ │ ├── __init__.py │ │ │ └── rule.py │ │ └── trade_dst │ │ │ ├── __init__.py │ │ │ └── trade.py │ ├── intervention.py │ └── policy │ │ ├── __init__.py │ │ ├── bert_policy │ │ ├── __init__.py │ │ └── bert.py │ │ ├── mle_policy │ │ ├── __init__.py │ │ └── mle.py │ │ └── rule_policy │ │ ├── __init__.py │ │ └── rule.py │ ├── exceptions.py │ ├── hippocampus │ ├── __init__.py │ ├── kb.py │ ├── kg.py │ └── personalize.py │ ├── interpreter.py │ ├── language.py │ ├── minibot │ └── __init__.py │ ├── model.py │ ├── nlg │ ├── __init__.py │ └── nlg_with_template.py │ ├── nlu │ ├── __init__.py │ ├── classifiers │ │ └── __init__.py │ ├── component.py │ ├── constants.py │ ├── embeddings │ │ └── __init__.py │ ├── extractors │ │ └── __init__.py │ ├── featurizers │ │ └── __init__.py │ ├── filter.py │ ├── intent │ │ ├── __init__.py │ │ └── intent_with_bert.py │ ├── joint │ │ ├── __init__.py │ │ └── joint_with_bert.py │ ├── pipeline.py │ ├── sequence_detect.py │ ├── slot │ │ ├── __init__.py │ │ └── slot_with_bert.py │ └── translator.py │ ├── pipeline.py │ ├── registry.py │ ├── rule.py │ ├── skill │ ├── __init__.py │ ├── retrieval.py │ └── sort.py │ ├── trainer.py │ ├── util │ ├── __init__.py │ ├── allennlp_file_utils.py │ ├── colored.py │ ├── common.py │ ├── config.py │ ├── db_query.py │ ├── download.py │ ├── dst_util.py │ ├── file_util.py │ ├── io.py │ ├── load.py │ ├── log.py │ ├── module.py │ ├── nlg_util.py │ ├── nlu_util.py │ ├── path.py │ ├── policy_util.py │ ├── state.py │ └── train_util.py │ └── utterance.py └── tests ├── __init__.py ├── cli ├── __init__.py └── test_cli_command_succeed.py └── util ├── __init__.py └── test_config.py /.darklint: -------------------------------------------------------------------------------- 1 | [darglint] 2 | strictness = short 3 | -------------------------------------------------------------------------------- /.flake8: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CYang828/xbot/HEAD/.flake8 -------------------------------------------------------------------------------- /.github/config.yml: -------------------------------------------------------------------------------- 1 | todo: 2 | keyword: "@makeAnIssue" -------------------------------------------------------------------------------- /.github/workflows/coverage.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CYang828/xbot/HEAD/.github/workflows/coverage.yml -------------------------------------------------------------------------------- /.github/workflows/greetings.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CYang828/xbot/HEAD/.github/workflows/greetings.yml -------------------------------------------------------------------------------- /.github/workflows/tests.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CYang828/xbot/HEAD/.github/workflows/tests.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CYang828/xbot/HEAD/.gitignore -------------------------------------------------------------------------------- /.pre-commit-config.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CYang828/xbot/HEAD/.pre-commit-config.yaml -------------------------------------------------------------------------------- /.pyup.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CYang828/xbot/HEAD/.pyup.yml -------------------------------------------------------------------------------- /CHANGELOG.mdx: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /CONTRIBUTING.en_US.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CYang828/xbot/HEAD/CONTRIBUTING.en_US.md -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CYang828/xbot/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CYang828/xbot/HEAD/LICENSE -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CYang828/xbot/HEAD/Makefile -------------------------------------------------------------------------------- /README.en_US.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CYang828/xbot/HEAD/README.en_US.md -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CYang828/xbot/HEAD/README.md -------------------------------------------------------------------------------- /asset/NLU.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CYang828/xbot/HEAD/asset/NLU.png -------------------------------------------------------------------------------- /asset/bert-dst.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CYang828/xbot/HEAD/asset/bert-dst.png -------------------------------------------------------------------------------- /asset/clone.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CYang828/xbot/HEAD/asset/clone.jpg -------------------------------------------------------------------------------- /asset/crosswoz.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CYang828/xbot/HEAD/asset/crosswoz.jpg -------------------------------------------------------------------------------- /asset/fork.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CYang828/xbot/HEAD/asset/fork.jpg -------------------------------------------------------------------------------- /asset/open-new-pr.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CYang828/xbot/HEAD/asset/open-new-pr.jpg -------------------------------------------------------------------------------- /asset/trade.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CYang828/xbot/HEAD/asset/trade.png -------------------------------------------------------------------------------- /asset/xbot-architecture.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CYang828/xbot/HEAD/asset/xbot-architecture.png -------------------------------------------------------------------------------- /asset/xbot.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CYang828/xbot/HEAD/asset/xbot.ico -------------------------------------------------------------------------------- /asset/xbot.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CYang828/xbot/HEAD/asset/xbot.jpg -------------------------------------------------------------------------------- /data/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /data/crosswoz/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CYang828/xbot/HEAD/data/crosswoz/.DS_Store -------------------------------------------------------------------------------- /data/crosswoz/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /data/crosswoz/data_process/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /data/crosswoz/data_process/dst/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /data/crosswoz/data_process/dst/bert_preprocess.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CYang828/xbot/HEAD/data/crosswoz/data_process/dst/bert_preprocess.py -------------------------------------------------------------------------------- /data/crosswoz/data_process/dst/trade_preprocess.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CYang828/xbot/HEAD/data/crosswoz/data_process/dst/trade_preprocess.py -------------------------------------------------------------------------------- /data/crosswoz/data_process/nlg/generate_auto_template.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CYang828/xbot/HEAD/data/crosswoz/data_process/nlg/generate_auto_template.py -------------------------------------------------------------------------------- /data/crosswoz/data_process/nlu/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /data/crosswoz/data_process/nlu/nlu_dataloader.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CYang828/xbot/HEAD/data/crosswoz/data_process/nlu/nlu_dataloader.py -------------------------------------------------------------------------------- /data/crosswoz/data_process/nlu/nlu_intent_dataloader.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CYang828/xbot/HEAD/data/crosswoz/data_process/nlu/nlu_intent_dataloader.py -------------------------------------------------------------------------------- /data/crosswoz/data_process/nlu/nlu_intent_postprocess.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CYang828/xbot/HEAD/data/crosswoz/data_process/nlu/nlu_intent_postprocess.py -------------------------------------------------------------------------------- /data/crosswoz/data_process/nlu/nlu_intent_preprocess.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CYang828/xbot/HEAD/data/crosswoz/data_process/nlu/nlu_intent_preprocess.py -------------------------------------------------------------------------------- /data/crosswoz/data_process/nlu/nlu_postprocess.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CYang828/xbot/HEAD/data/crosswoz/data_process/nlu/nlu_postprocess.py -------------------------------------------------------------------------------- /data/crosswoz/data_process/nlu/nlu_preprocess.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CYang828/xbot/HEAD/data/crosswoz/data_process/nlu/nlu_preprocess.py -------------------------------------------------------------------------------- /data/crosswoz/data_process/nlu/nlu_slot_dataloader.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CYang828/xbot/HEAD/data/crosswoz/data_process/nlu/nlu_slot_dataloader.py -------------------------------------------------------------------------------- /data/crosswoz/data_process/nlu/nlu_slot_postprocess.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CYang828/xbot/HEAD/data/crosswoz/data_process/nlu/nlu_slot_postprocess.py -------------------------------------------------------------------------------- /data/crosswoz/data_process/nlu/nlu_slot_preprocess.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CYang828/xbot/HEAD/data/crosswoz/data_process/nlu/nlu_slot_preprocess.py -------------------------------------------------------------------------------- /data/crosswoz/data_process/policy/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /data/crosswoz/data_process/policy/bert_proprecess.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CYang828/xbot/HEAD/data/crosswoz/data_process/policy/bert_proprecess.py -------------------------------------------------------------------------------- /data/crosswoz/data_process/policy/mle_preprocess.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CYang828/xbot/HEAD/data/crosswoz/data_process/policy/mle_preprocess.py -------------------------------------------------------------------------------- /data/crosswoz/data_process/policy/rule_preprocess.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CYang828/xbot/HEAD/data/crosswoz/data_process/policy/rule_preprocess.py -------------------------------------------------------------------------------- /data/crosswoz/data_process/readable_preprocess.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CYang828/xbot/HEAD/data/crosswoz/data_process/readable_preprocess.py -------------------------------------------------------------------------------- /data/crosswoz/database/attraction_db.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CYang828/xbot/HEAD/data/crosswoz/database/attraction_db.json -------------------------------------------------------------------------------- /data/crosswoz/database/database.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CYang828/xbot/HEAD/data/crosswoz/database/database.md -------------------------------------------------------------------------------- /data/crosswoz/database/hotel_db.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CYang828/xbot/HEAD/data/crosswoz/database/hotel_db.json -------------------------------------------------------------------------------- /data/crosswoz/database/metro_db.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CYang828/xbot/HEAD/data/crosswoz/database/metro_db.json -------------------------------------------------------------------------------- /data/crosswoz/database/restaurant_db.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CYang828/xbot/HEAD/data/crosswoz/database/restaurant_db.json -------------------------------------------------------------------------------- /data/crosswoz/database/taxi_db.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CYang828/xbot/HEAD/data/crosswoz/database/taxi_db.json -------------------------------------------------------------------------------- /data/crosswoz/nlg_template_data/nothing: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /data/crosswoz/nlu_intent_data/intent_vocab.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CYang828/xbot/HEAD/data/crosswoz/nlu_intent_data/intent_vocab.json -------------------------------------------------------------------------------- /data/crosswoz/nlu_joint_data/intent_vocab.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CYang828/xbot/HEAD/data/crosswoz/nlu_joint_data/intent_vocab.json -------------------------------------------------------------------------------- /data/crosswoz/nlu_joint_data/tag_vocab.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CYang828/xbot/HEAD/data/crosswoz/nlu_joint_data/tag_vocab.json -------------------------------------------------------------------------------- /data/crosswoz/nlu_slot_data/intent_vocab.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CYang828/xbot/HEAD/data/crosswoz/nlu_slot_data/intent_vocab.json -------------------------------------------------------------------------------- /data/crosswoz/nlu_slot_data/tag_vocab.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CYang828/xbot/HEAD/data/crosswoz/nlu_slot_data/tag_vocab.json -------------------------------------------------------------------------------- /data/crosswoz/raw/test.json.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CYang828/xbot/HEAD/data/crosswoz/raw/test.json.zip -------------------------------------------------------------------------------- /data/crosswoz/raw/train.json.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CYang828/xbot/HEAD/data/crosswoz/raw/train.json.zip -------------------------------------------------------------------------------- /data/crosswoz/raw/val.json.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CYang828/xbot/HEAD/data/crosswoz/raw/val.json.zip -------------------------------------------------------------------------------- /docs/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CYang828/xbot/HEAD/docs/.gitignore -------------------------------------------------------------------------------- /docs/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CYang828/xbot/HEAD/docs/README.md -------------------------------------------------------------------------------- /docs/babel.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CYang828/xbot/HEAD/docs/babel.config.js -------------------------------------------------------------------------------- /docs/blog/2019-05-28-hola.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CYang828/xbot/HEAD/docs/blog/2019-05-28-hola.md -------------------------------------------------------------------------------- /docs/blog/2019-05-29-hello-world.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CYang828/xbot/HEAD/docs/blog/2019-05-29-hello-world.md -------------------------------------------------------------------------------- /docs/blog/2019-05-30-welcome.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CYang828/xbot/HEAD/docs/blog/2019-05-30-welcome.md -------------------------------------------------------------------------------- /docs/docs/greeting.md: -------------------------------------------------------------------------------- 1 | --- 2 | id: greeting 3 | title: Introduction 4 | --- 5 | 6 | -------------------------------------------------------------------------------- /docs/docs/guide.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CYang828/xbot/HEAD/docs/docs/guide.md -------------------------------------------------------------------------------- /docs/docs/installation.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CYang828/xbot/HEAD/docs/docs/installation.md -------------------------------------------------------------------------------- /docs/docs/introduction.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CYang828/xbot/HEAD/docs/docs/introduction.md -------------------------------------------------------------------------------- /docs/docs/reference/sidebar.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CYang828/xbot/HEAD/docs/docs/reference/sidebar.json -------------------------------------------------------------------------------- /docs/docs/reference/xbot/chatbot.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CYang828/xbot/HEAD/docs/docs/reference/xbot/chatbot.md -------------------------------------------------------------------------------- /docs/docs/reference/xbot/dm/dst/bert_dst/bert.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CYang828/xbot/HEAD/docs/docs/reference/xbot/dm/dst/bert_dst/bert.md -------------------------------------------------------------------------------- /docs/docs/reference/xbot/dm/dst/rule_dst/rule.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CYang828/xbot/HEAD/docs/docs/reference/xbot/dm/dst/rule_dst/rule.md -------------------------------------------------------------------------------- /docs/docs/reference/xbot/dm/dst/trade_dst/trade.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CYang828/xbot/HEAD/docs/docs/reference/xbot/dm/dst/trade_dst/trade.md -------------------------------------------------------------------------------- /docs/docs/reference/xbot/dm/intervention.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CYang828/xbot/HEAD/docs/docs/reference/xbot/dm/intervention.md -------------------------------------------------------------------------------- /docs/docs/reference/xbot/dm/policy/bert_policy/bert.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CYang828/xbot/HEAD/docs/docs/reference/xbot/dm/policy/bert_policy/bert.md -------------------------------------------------------------------------------- /docs/docs/reference/xbot/dm/policy/mle_policy/mle.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CYang828/xbot/HEAD/docs/docs/reference/xbot/dm/policy/mle_policy/mle.md -------------------------------------------------------------------------------- /docs/docs/reference/xbot/exceptions.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CYang828/xbot/HEAD/docs/docs/reference/xbot/exceptions.md -------------------------------------------------------------------------------- /docs/docs/reference/xbot/model.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CYang828/xbot/HEAD/docs/docs/reference/xbot/model.md -------------------------------------------------------------------------------- /docs/docs/reference/xbot/nlg/nlg_with_template.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CYang828/xbot/HEAD/docs/docs/reference/xbot/nlg/nlg_with_template.md -------------------------------------------------------------------------------- /docs/docs/reference/xbot/nlu/intent/intent_with_bert.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CYang828/xbot/HEAD/docs/docs/reference/xbot/nlu/intent/intent_with_bert.md -------------------------------------------------------------------------------- /docs/docs/reference/xbot/nlu/joint/joint_with_bert.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CYang828/xbot/HEAD/docs/docs/reference/xbot/nlu/joint/joint_with_bert.md -------------------------------------------------------------------------------- /docs/docs/reference/xbot/nlu/pipeline.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CYang828/xbot/HEAD/docs/docs/reference/xbot/nlu/pipeline.md -------------------------------------------------------------------------------- /docs/docs/reference/xbot/nlu/sequence_detect.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CYang828/xbot/HEAD/docs/docs/reference/xbot/nlu/sequence_detect.md -------------------------------------------------------------------------------- /docs/docs/reference/xbot/nlu/slot/slot_with_bert.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CYang828/xbot/HEAD/docs/docs/reference/xbot/nlu/slot/slot_with_bert.md -------------------------------------------------------------------------------- /docs/docs/reference/xbot/pipeline.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CYang828/xbot/HEAD/docs/docs/reference/xbot/pipeline.md -------------------------------------------------------------------------------- /docs/docs/reference/xbot/util/allennlp_file_utils.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CYang828/xbot/HEAD/docs/docs/reference/xbot/util/allennlp_file_utils.md -------------------------------------------------------------------------------- /docs/docs/reference/xbot/util/db_query.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CYang828/xbot/HEAD/docs/docs/reference/xbot/util/db_query.md -------------------------------------------------------------------------------- /docs/docs/reference/xbot/util/download.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CYang828/xbot/HEAD/docs/docs/reference/xbot/util/download.md -------------------------------------------------------------------------------- /docs/docs/reference/xbot/util/dst_util.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CYang828/xbot/HEAD/docs/docs/reference/xbot/util/dst_util.md -------------------------------------------------------------------------------- /docs/docs/reference/xbot/util/module.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CYang828/xbot/HEAD/docs/docs/reference/xbot/util/module.md -------------------------------------------------------------------------------- /docs/docs/reference/xbot/util/nlg_util.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CYang828/xbot/HEAD/docs/docs/reference/xbot/util/nlg_util.md -------------------------------------------------------------------------------- /docs/docs/reference/xbot/util/nlu_util.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CYang828/xbot/HEAD/docs/docs/reference/xbot/util/nlu_util.md -------------------------------------------------------------------------------- /docs/docs/reference/xbot/util/policy_util.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CYang828/xbot/HEAD/docs/docs/reference/xbot/util/policy_util.md -------------------------------------------------------------------------------- /docs/docusaurus.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CYang828/xbot/HEAD/docs/docusaurus.config.js -------------------------------------------------------------------------------- /docs/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CYang828/xbot/HEAD/docs/package.json -------------------------------------------------------------------------------- /docs/pydoc-markdown.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CYang828/xbot/HEAD/docs/pydoc-markdown.yml -------------------------------------------------------------------------------- /docs/sidebars.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CYang828/xbot/HEAD/docs/sidebars.js -------------------------------------------------------------------------------- /docs/src/css/custom.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CYang828/xbot/HEAD/docs/src/css/custom.css -------------------------------------------------------------------------------- /docs/src/pages/index.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CYang828/xbot/HEAD/docs/src/pages/index.jsx -------------------------------------------------------------------------------- /docs/src/pages/styles.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CYang828/xbot/HEAD/docs/src/pages/styles.module.css -------------------------------------------------------------------------------- /docs/static/.nojekyll: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /docs/static/img/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CYang828/xbot/HEAD/docs/static/img/favicon.ico -------------------------------------------------------------------------------- /docs/static/img/logo.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CYang828/xbot/HEAD/docs/static/img/logo.svg -------------------------------------------------------------------------------- /docs/static/img/undraw_docusaurus_mountain.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CYang828/xbot/HEAD/docs/static/img/undraw_docusaurus_mountain.svg -------------------------------------------------------------------------------- /docs/static/img/undraw_docusaurus_react.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CYang828/xbot/HEAD/docs/static/img/undraw_docusaurus_react.svg -------------------------------------------------------------------------------- /docs/static/img/undraw_docusaurus_tree.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CYang828/xbot/HEAD/docs/static/img/undraw_docusaurus_tree.svg -------------------------------------------------------------------------------- /docs/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CYang828/xbot/HEAD/docs/yarn.lock -------------------------------------------------------------------------------- /get-poetry.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CYang828/xbot/HEAD/get-poetry.py -------------------------------------------------------------------------------- /mypy.ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CYang828/xbot/HEAD/mypy.ini -------------------------------------------------------------------------------- /poetry.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CYang828/xbot/HEAD/poetry.lock -------------------------------------------------------------------------------- /pyproject.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CYang828/xbot/HEAD/pyproject.toml -------------------------------------------------------------------------------- /pytest.ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CYang828/xbot/HEAD/pytest.ini -------------------------------------------------------------------------------- /script/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /script/dst/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /script/dst/bert/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CYang828/xbot/HEAD/script/dst/bert/README.md -------------------------------------------------------------------------------- /script/dst/bert/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /script/dst/bert/train.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CYang828/xbot/HEAD/script/dst/bert/train.py -------------------------------------------------------------------------------- /script/dst/bert/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CYang828/xbot/HEAD/script/dst/bert/utils.py -------------------------------------------------------------------------------- /script/dst/trade/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CYang828/xbot/HEAD/script/dst/trade/README.md -------------------------------------------------------------------------------- /script/dst/trade/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /script/dst/trade/train.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CYang828/xbot/HEAD/script/dst/trade/train.py -------------------------------------------------------------------------------- /script/dst/trade/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CYang828/xbot/HEAD/script/dst/trade/utils.py -------------------------------------------------------------------------------- /script/nlg/evaluate.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CYang828/xbot/HEAD/script/nlg/evaluate.py -------------------------------------------------------------------------------- /script/nlu/__init__.py: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /script/nlu/intent/nlu_intent_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CYang828/xbot/HEAD/script/nlu/intent/nlu_intent_test.py -------------------------------------------------------------------------------- /script/nlu/intent/nlu_intent_train.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CYang828/xbot/HEAD/script/nlu/intent/nlu_intent_train.py -------------------------------------------------------------------------------- /script/nlu/joint/nlu_joint_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CYang828/xbot/HEAD/script/nlu/joint/nlu_joint_test.py -------------------------------------------------------------------------------- /script/nlu/joint/nlu_joint_train.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CYang828/xbot/HEAD/script/nlu/joint/nlu_joint_train.py -------------------------------------------------------------------------------- /script/nlu/slot/nlu_slot_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CYang828/xbot/HEAD/script/nlu/slot/nlu_slot_test.py -------------------------------------------------------------------------------- /script/nlu/slot/nlu_slot_train.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CYang828/xbot/HEAD/script/nlu/slot/nlu_slot_train.py -------------------------------------------------------------------------------- /script/policy/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /script/policy/bert/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /script/policy/bert/train.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CYang828/xbot/HEAD/script/policy/bert/train.py -------------------------------------------------------------------------------- /script/policy/bert/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CYang828/xbot/HEAD/script/policy/bert/utils.py -------------------------------------------------------------------------------- /script/policy/mle/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /script/policy/mle/train.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CYang828/xbot/HEAD/script/policy/mle/train.py -------------------------------------------------------------------------------- /script/policy/mle/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CYang828/xbot/HEAD/script/policy/mle/utils.py -------------------------------------------------------------------------------- /script/policy/rule/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /script/policy/rule/rule_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CYang828/xbot/HEAD/script/policy/rule/rule_test.py -------------------------------------------------------------------------------- /setup.cfg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CYang828/xbot/HEAD/setup.cfg -------------------------------------------------------------------------------- /src/xbot/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CYang828/xbot/HEAD/src/xbot/__init__.py -------------------------------------------------------------------------------- /src/xbot/api/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/xbot/builder.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CYang828/xbot/HEAD/src/xbot/builder.py -------------------------------------------------------------------------------- /src/xbot/chatbot.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CYang828/xbot/HEAD/src/xbot/chatbot.py -------------------------------------------------------------------------------- /src/xbot/cli/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/xbot/cli/commands.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CYang828/xbot/HEAD/src/xbot/cli/commands.py -------------------------------------------------------------------------------- /src/xbot/component.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CYang828/xbot/HEAD/src/xbot/component.py -------------------------------------------------------------------------------- /src/xbot/config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CYang828/xbot/HEAD/src/xbot/config.py -------------------------------------------------------------------------------- /src/xbot/config/dst/bert/common.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CYang828/xbot/HEAD/src/xbot/config/dst/bert/common.json -------------------------------------------------------------------------------- /src/xbot/config/dst/bert/inference.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CYang828/xbot/HEAD/src/xbot/config/dst/bert/inference.json -------------------------------------------------------------------------------- /src/xbot/config/dst/bert/train.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CYang828/xbot/HEAD/src/xbot/config/dst/bert/train.json -------------------------------------------------------------------------------- /src/xbot/config/dst/trade/common.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CYang828/xbot/HEAD/src/xbot/config/dst/trade/common.json -------------------------------------------------------------------------------- /src/xbot/config/dst/trade/inference.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CYang828/xbot/HEAD/src/xbot/config/dst/trade/inference.json -------------------------------------------------------------------------------- /src/xbot/config/dst/trade/train.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CYang828/xbot/HEAD/src/xbot/config/dst/trade/train.json -------------------------------------------------------------------------------- /src/xbot/config/nlu/crosswoz_all_context_joint_nlu.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CYang828/xbot/HEAD/src/xbot/config/nlu/crosswoz_all_context_joint_nlu.json -------------------------------------------------------------------------------- /src/xbot/config/nlu/crosswoz_all_context_nlu_intent.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CYang828/xbot/HEAD/src/xbot/config/nlu/crosswoz_all_context_nlu_intent.json -------------------------------------------------------------------------------- /src/xbot/config/nlu/crosswoz_all_context_nlu_slot.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CYang828/xbot/HEAD/src/xbot/config/nlu/crosswoz_all_context_nlu_slot.json -------------------------------------------------------------------------------- /src/xbot/config/policy/bert/common.json: -------------------------------------------------------------------------------- 1 | { 2 | "threshold": 0.4 3 | } 4 | -------------------------------------------------------------------------------- /src/xbot/config/policy/bert/inference.json: -------------------------------------------------------------------------------- 1 | { 2 | 3 | } 4 | -------------------------------------------------------------------------------- /src/xbot/config/policy/bert/train.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CYang828/xbot/HEAD/src/xbot/config/policy/bert/train.json -------------------------------------------------------------------------------- /src/xbot/config/policy/mle/common.json: -------------------------------------------------------------------------------- 1 | { 2 | "hidden_size": 100 3 | } 4 | -------------------------------------------------------------------------------- /src/xbot/config/policy/mle/inference.json: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/xbot/config/policy/mle/train.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CYang828/xbot/HEAD/src/xbot/config/policy/mle/train.json -------------------------------------------------------------------------------- /src/xbot/constants.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CYang828/xbot/HEAD/src/xbot/constants.py -------------------------------------------------------------------------------- /src/xbot/conversation.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/xbot/data/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CYang828/xbot/HEAD/src/xbot/data/__init__.py -------------------------------------------------------------------------------- /src/xbot/dm/__init__.py: -------------------------------------------------------------------------------- 1 | from ..util import path 2 | -------------------------------------------------------------------------------- /src/xbot/dm/dst/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/xbot/dm/dst/bert_dst/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/xbot/dm/dst/bert_dst/bert.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CYang828/xbot/HEAD/src/xbot/dm/dst/bert_dst/bert.py -------------------------------------------------------------------------------- /src/xbot/dm/dst/fsm_dst/fsm.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CYang828/xbot/HEAD/src/xbot/dm/dst/fsm_dst/fsm.py -------------------------------------------------------------------------------- /src/xbot/dm/dst/rule_dst/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/xbot/dm/dst/rule_dst/rule.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CYang828/xbot/HEAD/src/xbot/dm/dst/rule_dst/rule.py -------------------------------------------------------------------------------- /src/xbot/dm/dst/trade_dst/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/xbot/dm/dst/trade_dst/trade.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CYang828/xbot/HEAD/src/xbot/dm/dst/trade_dst/trade.py -------------------------------------------------------------------------------- /src/xbot/dm/intervention.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CYang828/xbot/HEAD/src/xbot/dm/intervention.py -------------------------------------------------------------------------------- /src/xbot/dm/policy/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/xbot/dm/policy/bert_policy/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/xbot/dm/policy/bert_policy/bert.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CYang828/xbot/HEAD/src/xbot/dm/policy/bert_policy/bert.py -------------------------------------------------------------------------------- /src/xbot/dm/policy/mle_policy/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/xbot/dm/policy/mle_policy/mle.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CYang828/xbot/HEAD/src/xbot/dm/policy/mle_policy/mle.py -------------------------------------------------------------------------------- /src/xbot/dm/policy/rule_policy/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/xbot/dm/policy/rule_policy/rule.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CYang828/xbot/HEAD/src/xbot/dm/policy/rule_policy/rule.py -------------------------------------------------------------------------------- /src/xbot/exceptions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CYang828/xbot/HEAD/src/xbot/exceptions.py -------------------------------------------------------------------------------- /src/xbot/hippocampus/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/xbot/hippocampus/kb.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/xbot/hippocampus/kg.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/xbot/hippocampus/personalize.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/xbot/interpreter.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/xbot/language.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CYang828/xbot/HEAD/src/xbot/language.py -------------------------------------------------------------------------------- /src/xbot/minibot/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/xbot/model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CYang828/xbot/HEAD/src/xbot/model.py -------------------------------------------------------------------------------- /src/xbot/nlg/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/xbot/nlg/nlg_with_template.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CYang828/xbot/HEAD/src/xbot/nlg/nlg_with_template.py -------------------------------------------------------------------------------- /src/xbot/nlu/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CYang828/xbot/HEAD/src/xbot/nlu/__init__.py -------------------------------------------------------------------------------- /src/xbot/nlu/classifiers/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/xbot/nlu/component.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CYang828/xbot/HEAD/src/xbot/nlu/component.py -------------------------------------------------------------------------------- /src/xbot/nlu/constants.py: -------------------------------------------------------------------------------- 1 | DEFAULT_NLU_MODEL = {} 2 | -------------------------------------------------------------------------------- /src/xbot/nlu/embeddings/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CYang828/xbot/HEAD/src/xbot/nlu/embeddings/__init__.py -------------------------------------------------------------------------------- /src/xbot/nlu/extractors/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CYang828/xbot/HEAD/src/xbot/nlu/extractors/__init__.py -------------------------------------------------------------------------------- /src/xbot/nlu/featurizers/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CYang828/xbot/HEAD/src/xbot/nlu/featurizers/__init__.py -------------------------------------------------------------------------------- /src/xbot/nlu/filter.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/xbot/nlu/intent/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/xbot/nlu/intent/intent_with_bert.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CYang828/xbot/HEAD/src/xbot/nlu/intent/intent_with_bert.py -------------------------------------------------------------------------------- /src/xbot/nlu/joint/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/xbot/nlu/joint/joint_with_bert.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CYang828/xbot/HEAD/src/xbot/nlu/joint/joint_with_bert.py -------------------------------------------------------------------------------- /src/xbot/nlu/pipeline.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CYang828/xbot/HEAD/src/xbot/nlu/pipeline.py -------------------------------------------------------------------------------- /src/xbot/nlu/sequence_detect.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CYang828/xbot/HEAD/src/xbot/nlu/sequence_detect.py -------------------------------------------------------------------------------- /src/xbot/nlu/slot/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/xbot/nlu/slot/slot_with_bert.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CYang828/xbot/HEAD/src/xbot/nlu/slot/slot_with_bert.py -------------------------------------------------------------------------------- /src/xbot/nlu/translator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CYang828/xbot/HEAD/src/xbot/nlu/translator.py -------------------------------------------------------------------------------- /src/xbot/pipeline.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CYang828/xbot/HEAD/src/xbot/pipeline.py -------------------------------------------------------------------------------- /src/xbot/registry.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CYang828/xbot/HEAD/src/xbot/registry.py -------------------------------------------------------------------------------- /src/xbot/rule.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/xbot/skill/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/xbot/skill/retrieval.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/xbot/skill/sort.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/xbot/trainer.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/xbot/util/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/xbot/util/allennlp_file_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CYang828/xbot/HEAD/src/xbot/util/allennlp_file_utils.py -------------------------------------------------------------------------------- /src/xbot/util/colored.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CYang828/xbot/HEAD/src/xbot/util/colored.py -------------------------------------------------------------------------------- /src/xbot/util/common.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CYang828/xbot/HEAD/src/xbot/util/common.py -------------------------------------------------------------------------------- /src/xbot/util/config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CYang828/xbot/HEAD/src/xbot/util/config.py -------------------------------------------------------------------------------- /src/xbot/util/db_query.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CYang828/xbot/HEAD/src/xbot/util/db_query.py -------------------------------------------------------------------------------- /src/xbot/util/download.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CYang828/xbot/HEAD/src/xbot/util/download.py -------------------------------------------------------------------------------- /src/xbot/util/dst_util.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CYang828/xbot/HEAD/src/xbot/util/dst_util.py -------------------------------------------------------------------------------- /src/xbot/util/file_util.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CYang828/xbot/HEAD/src/xbot/util/file_util.py -------------------------------------------------------------------------------- /src/xbot/util/io.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CYang828/xbot/HEAD/src/xbot/util/io.py -------------------------------------------------------------------------------- /src/xbot/util/load.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/xbot/util/log.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CYang828/xbot/HEAD/src/xbot/util/log.py -------------------------------------------------------------------------------- /src/xbot/util/module.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CYang828/xbot/HEAD/src/xbot/util/module.py -------------------------------------------------------------------------------- /src/xbot/util/nlg_util.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CYang828/xbot/HEAD/src/xbot/util/nlg_util.py -------------------------------------------------------------------------------- /src/xbot/util/nlu_util.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CYang828/xbot/HEAD/src/xbot/util/nlu_util.py -------------------------------------------------------------------------------- /src/xbot/util/path.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CYang828/xbot/HEAD/src/xbot/util/path.py -------------------------------------------------------------------------------- /src/xbot/util/policy_util.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CYang828/xbot/HEAD/src/xbot/util/policy_util.py -------------------------------------------------------------------------------- /src/xbot/util/state.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CYang828/xbot/HEAD/src/xbot/util/state.py -------------------------------------------------------------------------------- /src/xbot/util/train_util.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CYang828/xbot/HEAD/src/xbot/util/train_util.py -------------------------------------------------------------------------------- /src/xbot/utterance.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CYang828/xbot/HEAD/src/xbot/utterance.py -------------------------------------------------------------------------------- /tests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/cli/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/cli/test_cli_command_succeed.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CYang828/xbot/HEAD/tests/cli/test_cli_command_succeed.py -------------------------------------------------------------------------------- /tests/util/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/util/test_config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CYang828/xbot/HEAD/tests/util/test_config.py --------------------------------------------------------------------------------