rasa-pro 3.10.9.dev1__py3-none-any.whl → 3.10.11__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of rasa-pro might be problematic. Click here for more details.

Files changed (35) hide show
  1. rasa/cli/arguments/train.py +9 -3
  2. rasa/cli/train.py +40 -2
  3. rasa/cli/utils.py +7 -5
  4. rasa/constants.py +1 -1
  5. rasa/core/featurizers/single_state_featurizer.py +1 -22
  6. rasa/core/featurizers/tracker_featurizers.py +18 -115
  7. rasa/core/policies/ted_policy.py +33 -58
  8. rasa/core/policies/unexpected_intent_policy.py +7 -15
  9. rasa/dialogue_understanding/generator/multi_step/multi_step_llm_command_generator.py +20 -3
  10. rasa/dialogue_understanding/generator/single_step/single_step_llm_command_generator.py +29 -4
  11. rasa/e2e_test/e2e_test_runner.py +4 -2
  12. rasa/engine/storage/local_model_storage.py +41 -12
  13. rasa/model_training.py +10 -3
  14. rasa/nlu/classifiers/diet_classifier.py +25 -38
  15. rasa/nlu/classifiers/logistic_regression_classifier.py +9 -22
  16. rasa/nlu/classifiers/sklearn_intent_classifier.py +16 -37
  17. rasa/nlu/extractors/crf_entity_extractor.py +50 -93
  18. rasa/nlu/featurizers/sparse_featurizer/count_vectors_featurizer.py +16 -45
  19. rasa/nlu/featurizers/sparse_featurizer/lexical_syntactic_featurizer.py +17 -52
  20. rasa/nlu/featurizers/sparse_featurizer/regex_featurizer.py +3 -5
  21. rasa/nlu/persistor.py +37 -15
  22. rasa/shared/constants.py +4 -1
  23. rasa/shared/importers/importer.py +7 -8
  24. rasa/shared/nlu/training_data/features.py +2 -120
  25. rasa/shared/utils/io.py +0 -1
  26. rasa/utils/io.py +66 -0
  27. rasa/utils/tensorflow/model_data.py +193 -2
  28. rasa/version.py +1 -1
  29. {rasa_pro-3.10.9.dev1.dist-info → rasa_pro-3.10.11.dist-info}/METADATA +6 -6
  30. {rasa_pro-3.10.9.dev1.dist-info → rasa_pro-3.10.11.dist-info}/RECORD +33 -35
  31. {rasa_pro-3.10.9.dev1.dist-info → rasa_pro-3.10.11.dist-info}/WHEEL +1 -1
  32. rasa/shared/importers/remote_importer.py +0 -196
  33. rasa/utils/tensorflow/feature_array.py +0 -366
  34. {rasa_pro-3.10.9.dev1.dist-info → rasa_pro-3.10.11.dist-info}/NOTICE +0 -0
  35. {rasa_pro-3.10.9.dev1.dist-info → rasa_pro-3.10.11.dist-info}/entry_points.txt +0 -0
@@ -19,7 +19,7 @@ rasa/cli/arguments/interactive.py,sha256=S-cY9XUOg7vzgVh_1mlQWObTmIO9pDQ0OdWVVCx
19
19
  rasa/cli/arguments/run.py,sha256=G7Ldj5pEsfhXMhhHOqTO1lgRG0939VZ6SRVpwBYaP_M,6340
20
20
  rasa/cli/arguments/shell.py,sha256=Vyt3XizJPxKAMo4NIcpdSOs73rD-q-yjWH1Qzc15xCs,367
21
21
  rasa/cli/arguments/test.py,sha256=2g6OvwkTlwCK85_nxYvKiFUMICBUMjfttd6Qif2Hme8,6854
22
- rasa/cli/arguments/train.py,sha256=gyqJysj0nydSdMQt8EWrjgmqDiSd898aFMT1Rh9A34k,8356
22
+ rasa/cli/arguments/train.py,sha256=CMf6h9oCDYS29UXEdVDuSYCkLJTobURhplmvMW4wlNQ,8539
23
23
  rasa/cli/arguments/visualize.py,sha256=Su0qyXv4bEx5mrteRqEyf-K3JGQ1t2WCXOYlCpGYfAk,861
24
24
  rasa/cli/arguments/x.py,sha256=FQkarKvNBtzZ5xrPBhHWk-ZKPgEHvgE5ItwRL1TNR3I,1027
25
25
  rasa/cli/data.py,sha256=M33oHv3PCqDx4Gc5ifGmcZoEc6h2_uP8pRIygimjT8w,12695
@@ -85,11 +85,11 @@ rasa/cli/studio/train.py,sha256=ruXA5UkaRbO3femk8w3I2cXKs06-34FYtB_9MKdP6hw,1572
85
85
  rasa/cli/studio/upload.py,sha256=kdHqrVGsEbbqH5fz_HusWwJEycB31SHaPlXer8lXAE0,2069
86
86
  rasa/cli/telemetry.py,sha256=ZywhlOpp0l2Yz9oEcOGA2ej3SEkSTisKPpBhn_fS7tc,3538
87
87
  rasa/cli/test.py,sha256=Ub7Cm9rFQ_tkB310jPYzVwU0Di88Z7IE0nLi1o-aYbA,8901
88
- rasa/cli/train.py,sha256=X4q-ub66Jto8K2vW6g_AOk06SdC-DXC_Mnf6gMiR7lc,8514
89
- rasa/cli/utils.py,sha256=9VKC04qX9hJiMvQG9BWWJCH1Sb4jVNO0N_zE7oyUz1Y,15660
88
+ rasa/cli/train.py,sha256=a8KB-zc9mFZrWYztpiC7g5Ab3O86KJcTlo_CBLyB7Tk,9934
89
+ rasa/cli/utils.py,sha256=Q4WFdSYrqQvMY2nZY4i2P-vBimUh_cS08KEN-PGkJlg,15662
90
90
  rasa/cli/visualize.py,sha256=YmRAATAfxHpgE8_PknGyM-oIujwICNzVftTzz6iLNNc,1256
91
91
  rasa/cli/x.py,sha256=1w-H6kb_3OG3zVPJ1isX67BTb_T-x2MJo4OGffCD4Vc,6827
92
- rasa/constants.py,sha256=zFvPAkk6B17QAx0ofo9K220w0gwsdSrJ7xvhr03ukjQ,1313
92
+ rasa/constants.py,sha256=BuDQ59uM3GhxmShZR-1IuDHh5VHfEneA9P9HUQagZ9M,1311
93
93
  rasa/core/__init__.py,sha256=DYHLve7F1yQBVOZTA63efVIwLiULMuihOfdpzw1j0os,457
94
94
  rasa/core/actions/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
95
95
  rasa/core/actions/action.py,sha256=fzGdE-zhpul6dipV0t5_KtJomVsqfXw4bZ6IX1P1h5Y,43818
@@ -273,8 +273,8 @@ rasa/core/exceptions.py,sha256=0ZyxnGz6V02K24ybMbIwGx2bPh86X0u7As5wImcgrOk,901
273
273
  rasa/core/exporter.py,sha256=Jshzp7gqf7iC0z7uxHM5wALP4MXyDM-fs2Gf_tIgj2Y,10479
274
274
  rasa/core/featurizers/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
275
275
  rasa/core/featurizers/precomputation.py,sha256=LWhx7Gm_n1aVvguGkTrHcHt-menRP6gj9OObbSKiReA,18006
276
- rasa/core/featurizers/single_state_featurizer.py,sha256=byEldbHPhUiFHN6oCy_IPislWwtM_6cG4AhR3vH3pJM,16088
277
- rasa/core/featurizers/tracker_featurizers.py,sha256=micA9TuSFnsj1aTZDQTGPR44jIDbDg0oNadkv86nSUk,46756
276
+ rasa/core/featurizers/single_state_featurizer.py,sha256=9zohJb5tXcTRSAdzBM9ebCNy_yDtcJykUoCZTFm8laY,15431
277
+ rasa/core/featurizers/tracker_featurizers.py,sha256=cjwAM8pmUE8TJX4qrX3EkxL3ETHOdFvRZTAXQ2SY6zg,43368
278
278
  rasa/core/http_interpreter.py,sha256=zstMlaBK_K_DSpxMuR_Wn-AbYwFplLaG8jiWofa16Eg,3033
279
279
  rasa/core/information_retrieval/__init__.py,sha256=bop2jgd0f16j-SbVGsvAI3F7znb23qQ-Gydy-AG-dNI,218
280
280
  rasa/core/information_retrieval/faiss.py,sha256=gytyxSAPo4FoL23CwJZyEdF7gfQwEHKgX1MUPIqwV3Y,4192
@@ -307,8 +307,8 @@ rasa/core/policies/intentless_prompt_template.jinja2,sha256=KhIL3cruMmkxhrs5oVbq
307
307
  rasa/core/policies/memoization.py,sha256=XoRxUdYUGRfO47tAEyc5k5pUgt38a4fipO336EU5Vdc,19466
308
308
  rasa/core/policies/policy.py,sha256=HeVtIaV0dA1QcAG3vjdn-4g7-oUEJPL4u01ETJt78YA,27464
309
309
  rasa/core/policies/rule_policy.py,sha256=YNDPZUZkpKFCvZwKe1kSfP6LQnDL9CQ6JU69JRwdmWw,50729
310
- rasa/core/policies/ted_policy.py,sha256=_DHiDH5Upx1yFNzMXBA3SGdHBRfsitTLlr7howUHPoo,87750
311
- rasa/core/policies/unexpected_intent_policy.py,sha256=5pGe9EMS-NLHIDDhqY6KCH_Kv7_TGMzSbe_GsjuKH1w,39649
310
+ rasa/core/policies/ted_policy.py,sha256=TFTM-Ujp1Mu7dQKnX5euKY81cvzDkzokGqAT813PKkY,86658
311
+ rasa/core/policies/unexpected_intent_policy.py,sha256=zeV4atIW9K2QHr4io_8RWOtreABSHoAQHjiznwcmUSo,39441
312
312
  rasa/core/processor.py,sha256=-Jf2WliPA7lUZ8DCNt4r7fdU7qLNQf4g-IhoGZIswN0,54434
313
313
  rasa/core/run.py,sha256=s32pZE3B1uKIs20xIbSty0HxeQ9One63_8NeCODwpQE,11050
314
314
  rasa/core/secrets_manager/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -364,11 +364,11 @@ rasa/dialogue_understanding/generator/llm_command_generator.py,sha256=P1LA0eJxf3
364
364
  rasa/dialogue_understanding/generator/multi_step/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
365
365
  rasa/dialogue_understanding/generator/multi_step/fill_slots_prompt.jinja2,sha256=Y0m673tAML3cFPaLM-urMXDsBYUUcXIw9YUpkAhGUuA,2933
366
366
  rasa/dialogue_understanding/generator/multi_step/handle_flows_prompt.jinja2,sha256=8l93_QBKBYnqLICVdiTu5ejZDE8F36BU8-qwba0px44,1927
367
- rasa/dialogue_understanding/generator/multi_step/multi_step_llm_command_generator.py,sha256=JjNvD3Zp5_riFYdUuk4oerT9WDSm8uPKky8qeklJyyw,30818
367
+ rasa/dialogue_understanding/generator/multi_step/multi_step_llm_command_generator.py,sha256=133WGlwv49PF4_DKM53u0J_pWrDs88dgUYc5fq1m6NQ,31568
368
368
  rasa/dialogue_understanding/generator/nlu_command_adapter.py,sha256=-oc3lxAdQEcX25f4IalxOhEw9XhA_6HxGpItlY1RUvY,8412
369
369
  rasa/dialogue_understanding/generator/single_step/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
370
370
  rasa/dialogue_understanding/generator/single_step/command_prompt_template.jinja2,sha256=qVTuas5XgAv2M_hsihyXl-wAnBDEpg_uhVvNrR5m-h0,3751
371
- rasa/dialogue_understanding/generator/single_step/single_step_llm_command_generator.py,sha256=aCE3CP2jSW8Tn4iQcwoY8fZJjzgU9am2MO-ddjot4vo,14912
371
+ rasa/dialogue_understanding/generator/single_step/single_step_llm_command_generator.py,sha256=lzSGEqsKtRPWK9hP3GmaZazN39icII-MZp_0sykvpNQ,16031
372
372
  rasa/dialogue_understanding/patterns/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
373
373
  rasa/dialogue_understanding/patterns/cancel.py,sha256=IQ4GVHNnNCqwKRLlAqBtLsgolcbPPnHsHdb3aOAFhEs,3868
374
374
  rasa/dialogue_understanding/patterns/cannot_handle.py,sha256=pg0zJHl-hDBnl6y9IyxZzW57yuMdfD8xI8eiK6EVrG8,1406
@@ -410,7 +410,7 @@ rasa/e2e_test/e2e_test_converter.py,sha256=VxIx7uk36HzLIyEumJiR6G6-CyyqkV_lYoX-X
410
410
  rasa/e2e_test/e2e_test_converter_prompt.jinja2,sha256=EMy-aCd7jLARHmwAuZUGT5ABnNHjR872_pexRIMGA7c,2791
411
411
  rasa/e2e_test/e2e_test_coverage_report.py,sha256=Cv5bMtoOC240231YMNHz10ibSqm_UD1-eskQVdjPUsw,11326
412
412
  rasa/e2e_test/e2e_test_result.py,sha256=9LlH6vIQeK_dxDwMQ5RzlNHoxCNXpWC9S527-ch8kUA,1649
413
- rasa/e2e_test/e2e_test_runner.py,sha256=HJuF5rD-Sy2eRt1U8cLcR7lwU9bG7HGEQbQj1sU0kbo,43871
413
+ rasa/e2e_test/e2e_test_runner.py,sha256=o-vCDTMV3xoElNV-Cj2_vnuDwhTxnQBXdMjRE5z1cko,44021
414
414
  rasa/e2e_test/e2e_test_schema.yml,sha256=0deWjuKRHNo6e_LSCnUoiw9NLIYf6dj1-zFPl_AqLYA,5632
415
415
  rasa/e2e_test/pykwalify_extensions.py,sha256=OGYKIKYJXd2S0NrWknoQuijyBQaE-oMLkfV_eMRkGSM,1331
416
416
  rasa/e2e_test/stub_custom_action.py,sha256=teq8c5I6IuUsFX4lPdeBLY3j0SLSMCC95KmKx7GrE8I,2369
@@ -434,7 +434,7 @@ rasa/engine/runner/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuF
434
434
  rasa/engine/runner/dask.py,sha256=npWZXpYtYjdbQOH4OVCTsA2F0TNK43g8201y2wCS6U8,9540
435
435
  rasa/engine/runner/interface.py,sha256=4mbJSMbXPwnITDl5maYZjq8sUcbWw1ToGjYVQtnWCkc,1678
436
436
  rasa/engine/storage/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
437
- rasa/engine/storage/local_model_storage.py,sha256=m8VpHEBoBy4_oNpCnR0O2cRJ1Tui1lMsU58hgzXg2Fc,9578
437
+ rasa/engine/storage/local_model_storage.py,sha256=gybPSv4HuG6JdbU6Blxs3PEPTeY-VkOFyzWUJSGcCSM,10517
438
438
  rasa/engine/storage/resource.py,sha256=1ecgZbDw7y6CLLFLdi5cYRfdk0yTmD7V1seWEzdtzpU,3931
439
439
  rasa/engine/storage/storage.py,sha256=Qx1kp8LwX6Oe0W6rfTd0qzo9jWhNVttXWhVXRy_qW4w,6923
440
440
  rasa/engine/training/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -483,17 +483,17 @@ rasa/markers/upload.py,sha256=Ot1s_O-CEIB9c4CKUlfOldiJo92pdqxFUHOPCU7E_NU,2518
483
483
  rasa/markers/validate.py,sha256=YypXKRS87xxrMMEz9HpAQzYJUwg0OPbczMXBRNjlJq4,709
484
484
  rasa/model.py,sha256=GH1-N6Po3gL3nwfa9eGoN2bMRNMrn4f3mi17-osW3T0,3491
485
485
  rasa/model_testing.py,sha256=h0QUpJu6p_TDse3aHjCfYwI6OGH47b3Iuo5Ot0HQADM,14959
486
- rasa/model_training.py,sha256=5NNOr5IJ6WMTx5ok0tL8EocByXpfaXUHJOXyxlm_TXQ,20339
486
+ rasa/model_training.py,sha256=1LoW9TMgzpXeXedLtzxmGHxOl1NBTbNDaqLzu2XayxE,20631
487
487
  rasa/nlu/__init__.py,sha256=D0IYuTK_ZQ_F_9xsy0bXxVCAtU62Fzvp8S7J9tmfI_c,123
488
488
  rasa/nlu/classifiers/__init__.py,sha256=Qvrf7_rfiMxm2Vt2fClb56R3QFExf7WPdFdL-AOvgsk,118
489
489
  rasa/nlu/classifiers/classifier.py,sha256=9fm1mORuFf1vowYIXmqE9yLRKdSC4nGQW7UqNZQipKY,133
490
- rasa/nlu/classifiers/diet_classifier.py,sha256=jhzvTqC_Ln-eFCrE1o3uQf1JRR7d6mCPn5ZRewePUas,72565
490
+ rasa/nlu/classifiers/diet_classifier.py,sha256=C2mKZ2GP7Uptpag240fFkAEZf6P1NuU_2TrnSsR3IA0,71936
491
491
  rasa/nlu/classifiers/fallback_classifier.py,sha256=FYOgM7bLG3HlasVWRozanz-MmDozygTlTIFcPHJWJoo,7150
492
492
  rasa/nlu/classifiers/keyword_intent_classifier.py,sha256=dxDzCK7YzYKslZiXYkBD1Al1y_yZWdZYkBBl7FLyPm8,7581
493
- rasa/nlu/classifiers/logistic_regression_classifier.py,sha256=C7GkIaVNC5MHu5xOaqKzRiV1LTu_19I5vk_Oa9BIDDU,9589
493
+ rasa/nlu/classifiers/logistic_regression_classifier.py,sha256=Qga66-PjW4I4D2uIMoX2aW8ywdufq9ISmt12rP3rj9g,9124
494
494
  rasa/nlu/classifiers/mitie_intent_classifier.py,sha256=_hf0aKWjcjZ8NdH61gbutgY5vAjMmpYDhCpO3dwIrDk,5559
495
495
  rasa/nlu/classifiers/regex_message_handler.py,sha256=r6Z-uFJvqFZjpI1rUeaZZnAOUL9lxuBxGK7W6WZIPOw,1989
496
- rasa/nlu/classifiers/sklearn_intent_classifier.py,sha256=h4J0dc2KPE4Q1J8m9X0JDznHUuUZICVE_XJQbKcPr04,12797
496
+ rasa/nlu/classifiers/sklearn_intent_classifier.py,sha256=zPLr1GNCEAG8xW5SEPLgc2lsenXavTG9KDby8JUDX3o,11923
497
497
  rasa/nlu/constants.py,sha256=ahRBMW-xordjgZtwmMimrTbl8lsCSzjfKMkN1cjanqs,2757
498
498
  rasa/nlu/convert.py,sha256=jLtSQYnj1Ys4Q4WyfL29GDiRlBCbuPmmoFnBYcvFZ5A,1317
499
499
  rasa/nlu/emulators/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -503,7 +503,7 @@ rasa/nlu/emulators/luis.py,sha256=AWMGI17Su1q6PcE8l1S1mDJpwfVtx7ibY9rwBmg3Maw,30
503
503
  rasa/nlu/emulators/no_emulator.py,sha256=tLJ2DyWhOtaIBudVf7mJGsubca9Vunb6VhJB_tWJ8wU,334
504
504
  rasa/nlu/emulators/wit.py,sha256=0eMj_q49JGj0Z6JZjR7rHIABNF-F3POX7s5W5OkANyo,1930
505
505
  rasa/nlu/extractors/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
506
- rasa/nlu/extractors/crf_entity_extractor.py,sha256=5IW7Fa4lLLUxMrbHiRmBD7Y6B7TmS_o66USoSxYBOZk,27532
506
+ rasa/nlu/extractors/crf_entity_extractor.py,sha256=vX7bZHjtdD2M2GhJDwTx-S-Q6y8eskkOIhZShYXaHj8,26503
507
507
  rasa/nlu/extractors/duckling_entity_extractor.py,sha256=XooWjw6eDC0sxZ-T1YgDnrLcRTBx6B40SFGLjHTHg-w,7686
508
508
  rasa/nlu/extractors/entity_synonyms.py,sha256=WShheUF7wbP7VWfpCNw3J4NouAcFjAupDsT4oAj_TUc,7148
509
509
  rasa/nlu/extractors/extractor.py,sha256=m6p07GDBZi1VhgYCkYJrWs_Zk87okV77hvoiwG_1xxA,17539
@@ -519,12 +519,12 @@ rasa/nlu/featurizers/dense_featurizer/mitie_featurizer.py,sha256=xE-dOmdBqCJ4NEm
519
519
  rasa/nlu/featurizers/dense_featurizer/spacy_featurizer.py,sha256=tJzDeX8wkOO1iUNmx13FSIeMHNC0U0RB5ZF9pPo8nqQ,4888
520
520
  rasa/nlu/featurizers/featurizer.py,sha256=cV2v4f1V2DWDqJY1-oGAZsytv0L827nsCtUY6KjEChg,3348
521
521
  rasa/nlu/featurizers/sparse_featurizer/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
522
- rasa/nlu/featurizers/sparse_featurizer/count_vectors_featurizer.py,sha256=CkbI7jS0UjiFE9BRgF4AnxvJHuQb2_aZ9ky4rUvgCH4,34794
523
- rasa/nlu/featurizers/sparse_featurizer/lexical_syntactic_featurizer.py,sha256=yJC9dRrUnZP-tff10qbXrbfN5De55w8U1wc99gaWv_g,23100
524
- rasa/nlu/featurizers/sparse_featurizer/regex_featurizer.py,sha256=jGK8IlDbms-xMoln9JucKCjGWVzyHbZOEzIPj2BvV9I,10293
522
+ rasa/nlu/featurizers/sparse_featurizer/count_vectors_featurizer.py,sha256=275NcC7W9_n7V0AyVXm8jtYd9fcVHXZRQMgr5MVZAvA,33600
523
+ rasa/nlu/featurizers/sparse_featurizer/lexical_syntactic_featurizer.py,sha256=awydhZZTRmff35L1838bbghNbutEf5xty301OyRIgvI,21848
524
+ rasa/nlu/featurizers/sparse_featurizer/regex_featurizer.py,sha256=PhzJ17lNv3I5h8WrCvjzjjcUvbu_MJBxY6k3pQTDCac,10289
525
525
  rasa/nlu/featurizers/sparse_featurizer/sparse_featurizer.py,sha256=m6qpixorfTDFWSfGVmLImTOHM6zKdgydPaP_wVxCQ-w,220
526
526
  rasa/nlu/model.py,sha256=r6StZb4Dmum_3dRoocxZWo2M5KVNV20_yKNvYZNvpOc,557
527
- rasa/nlu/persistor.py,sha256=Sc0NH2VSK9efOYSD0INYd3za3esQvgNHa4FwClJVH-c,13788
527
+ rasa/nlu/persistor.py,sha256=QniAoBRjk9CPzFJOdkJIpgc_eXXan1cKC61L_xWQjGk,14702
528
528
  rasa/nlu/run.py,sha256=WumXqNn2PEyab463geNnOu3IPwgaCtBai-x685BYCNw,803
529
529
  rasa/nlu/selectors/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
530
530
  rasa/nlu/selectors/response_selector.py,sha256=gwffu9zLniMseOzX-SuqaZ2CQiGi4JUbDcwUe-BsThI,39021
@@ -546,7 +546,7 @@ rasa/nlu/utils/spacy_utils.py,sha256=pBvsCVKVuZ3b2Pjn-XuOVZ6lzZu9Voc2R4N1VczwtCM
546
546
  rasa/plugin.py,sha256=H_OZcHy_U3eAK-JHr43TSxcPqS0JEGcZkFvmumeeJEs,2670
547
547
  rasa/server.py,sha256=pUdhi5dkhzEj4bngj2bTUKJohepjpY-aZ4MGKHYZRH0,57775
548
548
  rasa/shared/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
549
- rasa/shared/constants.py,sha256=WCq5MZibbolWulcnfV4w_yjbtx7lGe-Hhef01sf6wRk,9266
549
+ rasa/shared/constants.py,sha256=MfO5vD2BRZMKWt_V3XiT7Yap1XhFWf5k13epuMG-P2s,9327
550
550
  rasa/shared/core/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
551
551
  rasa/shared/core/command_payload_reader.py,sha256=Vhiop9LWFawaEruRifBBrVmoEJ-fj1Tli1wBvsYu2_I,3563
552
552
  rasa/shared/core/constants.py,sha256=U1q0-oGMQ7aDsP5p6H4CRaBi-H-KZpm2IXpTzIbaEv8,5169
@@ -597,17 +597,16 @@ rasa/shared/engine/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuF
597
597
  rasa/shared/engine/caching.py,sha256=PiBV4vQ5c5z5sopxK1XpzmmaF4V42QQxP1_MX0Yw9PI,743
598
598
  rasa/shared/exceptions.py,sha256=bUTjjIH4PDykWJqApxYXdpPvfo03EVQ6xo1sOc3yjH4,5118
599
599
  rasa/shared/importers/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
600
- rasa/shared/importers/importer.py,sha256=gZUOkSdjZcj5TigMcAd2g8UfeM1Q5fgGIhZpRUQMnbs,27370
600
+ rasa/shared/importers/importer.py,sha256=wBHncehjhIdNpzdVaekKz2e7OJTJOWgWIdD2Vpqqv6o,27190
601
601
  rasa/shared/importers/multi_project.py,sha256=b5LypQf0wdiDaZyAihqItQXSuzDjMibypbUySDXff7g,7863
602
602
  rasa/shared/importers/rasa.py,sha256=9Ie86LgcS9ZtGWR5-NLylxSfK_I329SLvb_UTC71vu4,3853
603
- rasa/shared/importers/remote_importer.py,sha256=SCmwWDKb7GczVEJhAdH8_s2dq55P4f31qDwQ8y18ndk,7694
604
603
  rasa/shared/importers/utils.py,sha256=-EzZ0yH_YnJCSaC4JVx7xrRrXyr8CV6tAKlbASeMtJg,1242
605
604
  rasa/shared/nlu/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
606
605
  rasa/shared/nlu/constants.py,sha256=rf628BT4r6hnvN6QWyh_t2UFKOD7PR5APspi6igmeCU,1643
607
606
  rasa/shared/nlu/interpreter.py,sha256=eCNJp61nQYTGVf4aJi8SCWb46jxZY6-C1M1LFxMyQTM,188
608
607
  rasa/shared/nlu/training_data/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
609
608
  rasa/shared/nlu/training_data/entities_parser.py,sha256=fC-VIso07so6E9b6KrQXOBC-ZUGCQGvnMvzVwiAO1GQ,6729
610
- rasa/shared/nlu/training_data/features.py,sha256=KjvXQT_YF-fXAR1qvp_JhOvDiI0EGekQ8aRJo0KNQCg,18592
609
+ rasa/shared/nlu/training_data/features.py,sha256=k0IsGRWp1tl1_pLVF-1ejr-nqzY-wTsnjn3PZwZwvk0,14835
611
610
  rasa/shared/nlu/training_data/formats/__init__.py,sha256=rX28sTQBs0fL4yTMtv3xVl2DM14TvWmkkoLJt2kIoho,453
612
611
  rasa/shared/nlu/training_data/formats/dialogflow.py,sha256=YfBjqgY0uaqXVdT3bmnQkb8runPe8pY8H-lqVB0L7zM,6142
613
612
  rasa/shared/nlu/training_data/formats/luis.py,sha256=Yaw_0QcXDC35hEckIJGS2fTdweQfyYAO378fwsEaSUs,3014
@@ -657,7 +656,7 @@ rasa/shared/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU
657
656
  rasa/shared/utils/cli.py,sha256=bJpkf0VzzmtpmBnDnIl7SgvrntnBuaJQMHBXHm2WxcA,2916
658
657
  rasa/shared/utils/common.py,sha256=Z0sfpDosVHLhGDY-72lGVTPWsNC64z3HWSLdnZRG7yE,10057
659
658
  rasa/shared/utils/constants.py,sha256=ZNQu0RHM_7Q4A2hn6pD8XlKPEwzivNpfKiiQihwH8-U,141
660
- rasa/shared/utils/io.py,sha256=cYEkHjvuIB-XaK-Qchajv4lDMb_EZc3K-3CLwiEtUcA,15236
659
+ rasa/shared/utils/io.py,sha256=sRgT1JlTRsOtYR97ERj5SntmMaYsR2NWs_DhSxZRbgY,15235
661
660
  rasa/shared/utils/llm.py,sha256=h35-N4LiT0qbg_6sab0GiYsPJe1Q1WHMLj6UhVuXOSY,13804
662
661
  rasa/shared/utils/pykwalify_extensions.py,sha256=4W8gde8C6QpGCY_t9IEmaZSgjMuie1xH0F1DYyn83BM,883
663
662
  rasa/shared/utils/schemas/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -692,7 +691,7 @@ rasa/utils/cli.py,sha256=L-DT4nPdVBWfc2m1COHrziLitVWJxazSreb6JLbTho4,865
692
691
  rasa/utils/common.py,sha256=1ETnOFB_nNexSqHL0EhsMtg8M1k9-2laAy2jsugxnIk,21079
693
692
  rasa/utils/converter.py,sha256=H4LHpoAK7MXMmvNZG_uSn0gbccCJvHtsA2-6Zya4u6M,1656
694
693
  rasa/utils/endpoints.py,sha256=cLeHBr6n88GYlYMxXVzZwvQ0nC1TpuC1pvn_RsxiDYY,9336
695
- rasa/utils/io.py,sha256=HwhG-Y_VmyGNqYpA3Y3ef-OO7GI4TTRGyOnSjEJW6GQ,7442
694
+ rasa/utils/io.py,sha256=4Wl5_5I6fnBWOJxbKwIPPMcdeoA5dZevcHuoo30sd3E,9305
696
695
  rasa/utils/json_utils.py,sha256=SKtJzzsIRCAgNEQiBvWDDm9euMRBgJ-TyvCi2tXHH1w,1689
697
696
  rasa/utils/licensing.py,sha256=JyqusmuufnTwlKFHOa8sdDZe5lG7YxeDQbrXnvsxQZw,20491
698
697
  rasa/utils/log_utils.py,sha256=SmyRYbnqj9gCr-pavNCwmoid6cWVQ3D72ryqGhbtlpM,6377
@@ -707,11 +706,10 @@ rasa/utils/tensorflow/crf.py,sha256=xl6lHmie4aYIIN0kTVzvLSJ7Qkl3UeFoZRnc2RrgBEo,
707
706
  rasa/utils/tensorflow/data_generator.py,sha256=zKW2Uc2EsYXu7Yu4JU13nWpbxwOZYq5mqCO0LHT_0ZA,16238
708
707
  rasa/utils/tensorflow/environment.py,sha256=rXqs4btQbiOMtbCoujUmccvAMQvM0peqNkIiunPn5Ik,5599
709
708
  rasa/utils/tensorflow/exceptions.py,sha256=I5chH5Lky3faXZOCfGyeXfkOsDpjYV7gJWZCiKp5CAs,168
710
- rasa/utils/tensorflow/feature_array.py,sha256=0iCebkyVzMlGqFUBbvgXFvqsAS5v3XwC58J-jEYm01I,14001
711
709
  rasa/utils/tensorflow/layers.py,sha256=jAa7kxO69z9I8x9d_lc8ABrGrOhFQ3TLngT9ftU2ET8,59261
712
710
  rasa/utils/tensorflow/layers_utils.py,sha256=Lvldu67qO275VV064bI8AAmwQZFzgmL9JKRlBFARLs0,3319
713
711
  rasa/utils/tensorflow/metrics.py,sha256=iaWI9W_0pRcSokl3NcsrDvqPryjNX64tv20Gd0OQCNM,10064
714
- rasa/utils/tensorflow/model_data.py,sha256=U8hzLKZCZjojl41ibFXRUjwnY-NQ6MPFn5EX0sJDaRo,26942
712
+ rasa/utils/tensorflow/model_data.py,sha256=F9M4NF_aOwV-3zBsBie4RF8js2rLQEixyhiL6NWg9pA,34538
715
713
  rasa/utils/tensorflow/model_data_utils.py,sha256=cHY0ekIFpCTPmB_d3CrJv17ExGNgHNAVvn7FLERGnv8,18166
716
714
  rasa/utils/tensorflow/models.py,sha256=jR7RBzSCXLER3YbRcocQ6pBSDZJsPisdSbEl9KCL0r8,36039
717
715
  rasa/utils/tensorflow/rasa_layers.py,sha256=AZpQsAiikDNox1CYmKTB0cZQjemV97Cnv52xNdb0AAc,49111
@@ -721,9 +719,9 @@ rasa/utils/train_utils.py,sha256=f1NWpp5y6al0dzoQyyio4hc4Nf73DRoRSHDzEK6-C4E,212
721
719
  rasa/utils/url_tools.py,sha256=JQcHL2aLqLHu82k7_d9imUoETCm2bmlHaDpOJ-dKqBc,1218
722
720
  rasa/utils/yaml.py,sha256=KjbZq5C94ZP7Jdsw8bYYF7HASI6K4-C_kdHfrnPLpSI,2000
723
721
  rasa/validator.py,sha256=ToRaa4dS859CJO3H2VGqS943O5qWOg45ypbDfFMKECU,62699
724
- rasa/version.py,sha256=ZYVWCHhDCP7gSj8njB4Anh1BKlbZcxtybJxXXMroFXo,122
725
- rasa_pro-3.10.9.dev1.dist-info/METADATA,sha256=OWyF3V2qD-BDnkeaJmbhYjYEcRPxQZPHpgyj5dFS2Ck,30900
726
- rasa_pro-3.10.9.dev1.dist-info/NOTICE,sha256=7HlBoMHJY9CL2GlYSfTQ-PZsVmLmVkYmMiPlTjhuCqA,218
727
- rasa_pro-3.10.9.dev1.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
728
- rasa_pro-3.10.9.dev1.dist-info/entry_points.txt,sha256=ckJ2SfEyTPgBqj_I6vm_tqY9dZF_LAPJZA335Xp0Q9U,43
729
- rasa_pro-3.10.9.dev1.dist-info/RECORD,,
722
+ rasa/version.py,sha256=0PycS7JWF6zF5RV14lJkREbKvYdYXHB_CbCKkQiYfP0,118
723
+ rasa_pro-3.10.11.dist-info/METADATA,sha256=DoqzzlFIc1_OXg5TQimVBnOhWchKq-_c6vblqlOOeH0,30901
724
+ rasa_pro-3.10.11.dist-info/NOTICE,sha256=7HlBoMHJY9CL2GlYSfTQ-PZsVmLmVkYmMiPlTjhuCqA,218
725
+ rasa_pro-3.10.11.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
726
+ rasa_pro-3.10.11.dist-info/entry_points.txt,sha256=ckJ2SfEyTPgBqj_I6vm_tqY9dZF_LAPJZA335Xp0Q9U,43
727
+ rasa_pro-3.10.11.dist-info/RECORD,,
@@ -1,4 +1,4 @@
1
1
  Wheel-Version: 1.0
2
- Generator: poetry-core 1.9.1
2
+ Generator: poetry-core 1.9.0
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
@@ -1,196 +0,0 @@
1
- import os
2
- from typing import Dict, List, Optional, Text, Union
3
-
4
- import structlog
5
- from tarsafe import TarSafe
6
-
7
- import rasa.shared.core.flows.yaml_flows_io
8
- import rasa.shared.data
9
- import rasa.shared.utils.common
10
- import rasa.shared.utils.io
11
- from rasa.nlu.persistor import StorageType
12
- from rasa.shared.core.domain import Domain, InvalidDomain
13
- from rasa.shared.core.flows import FlowsList
14
- from rasa.shared.core.training_data.story_reader.yaml_story_reader import (
15
- YAMLStoryReader,
16
- )
17
- from rasa.shared.core.training_data.structures import StoryGraph
18
- from rasa.shared.exceptions import RasaException
19
- from rasa.shared.importers import utils
20
- from rasa.shared.importers.importer import TrainingDataImporter
21
- from rasa.shared.nlu.training_data.training_data import TrainingData
22
- from rasa.shared.utils.yaml import read_model_configuration
23
-
24
- structlogger = structlog.get_logger()
25
-
26
- TRAINING_DATA_ARCHIVE = "training_data.tar.gz"
27
-
28
-
29
- class RemoteTrainingDataImporter(TrainingDataImporter):
30
- """Remote `TrainingFileImporter` implementation.
31
-
32
- Fetches training data from a remote storage and extracts it to a local directory.
33
- Extracted training data is then used to load flows, NLU, stories,
34
- domain, and config files.
35
- """
36
-
37
- def __init__(
38
- self,
39
- config_file: Optional[Text] = None,
40
- domain_path: Optional[Text] = None,
41
- training_data_paths: Optional[Union[List[Text], Text]] = None,
42
- project_directory: Optional[Text] = None,
43
- remote_storage: Optional[StorageType] = None,
44
- training_data_path: Optional[Text] = None,
45
- ):
46
- """Initializes `RemoteTrainingDataImporter`.
47
-
48
- Args:
49
- config_file: Path to the model configuration file.
50
- domain_path: Path to the domain file.
51
- training_data_paths: List of paths to the training data files.
52
- project_directory: Path to the project directory.
53
- remote_storage: Storage to use to load the training data.
54
- training_data_path: Path to the training data.
55
- """
56
- self.remote_storage = remote_storage
57
- self.training_data_path = training_data_path
58
-
59
- self.extracted_path = self._fetch_and_extract_training_archive(
60
- TRAINING_DATA_ARCHIVE, self.training_data_path
61
- )
62
-
63
- self._nlu_files = rasa.shared.data.get_data_files(
64
- self.extracted_path, rasa.shared.data.is_nlu_file
65
- )
66
- self._story_files = rasa.shared.data.get_data_files(
67
- self.extracted_path, YAMLStoryReader.is_stories_file
68
- )
69
- self._flow_files = rasa.shared.data.get_data_files(
70
- self.extracted_path, rasa.shared.core.flows.yaml_flows_io.is_flows_file
71
- )
72
- self._conversation_test_files = rasa.shared.data.get_data_files(
73
- self.extracted_path, YAMLStoryReader.is_test_stories_file
74
- )
75
-
76
- self.config_file = config_file
77
-
78
- def _fetch_training_archive(
79
- self, training_file: str, training_data_path: Optional[str] = None
80
- ) -> str:
81
- """Fetches training files from remote storage."""
82
- from rasa.nlu.persistor import get_persistor
83
-
84
- persistor = get_persistor(self.remote_storage)
85
- if persistor is None:
86
- raise RasaException(
87
- f"Could not find a persistor for "
88
- f"the storage type '{self.remote_storage}'."
89
- )
90
-
91
- return persistor.retrieve(training_file, training_data_path)
92
-
93
- def _fetch_and_extract_training_archive(
94
- self, training_file: str, training_data_path: Optional[Text] = None
95
- ) -> Optional[str]:
96
- """Fetches and extracts training files from remote storage.
97
-
98
- If the `training_data_path` is not provided, the training
99
- data is extracted to the current working directory.
100
-
101
- Args:
102
- training_file: Name of the training data archive file.
103
- training_data_path: Path to the training data.
104
-
105
- Returns:
106
- Path to the extracted training data.
107
- """
108
-
109
- if training_data_path is None:
110
- training_data_path = os.path.join(os.getcwd(), "data")
111
-
112
- if os.path.isfile(training_data_path):
113
- raise ValueError(
114
- f"Training data path '{training_data_path}' is a file. "
115
- f"Please provide a directory path."
116
- )
117
-
118
- structlogger.debug(
119
- "rasa.importers.remote_training_data_importer.fetch_training_archive",
120
- training_data_path=training_data_path,
121
- )
122
- training_archive_file_path = self._fetch_training_archive(
123
- training_file, training_data_path
124
- )
125
-
126
- if not os.path.isfile(training_archive_file_path):
127
- raise FileNotFoundError(
128
- f"Training data archive '{training_archive_file_path}' not found. "
129
- f"Please make sure to provide the correct path."
130
- )
131
-
132
- structlogger.debug(
133
- "rasa.importers.remote_training_data_importer.extract_training_archive",
134
- training_archive_file_path=training_archive_file_path,
135
- training_data_path=training_data_path,
136
- )
137
- with TarSafe.open(training_archive_file_path, "r:gz") as tar:
138
- tar.extractall(path=training_data_path)
139
-
140
- structlogger.debug(
141
- "rasa.importers.remote_training_data_importer.remove_downloaded_archive",
142
- training_data_path=training_data_path,
143
- )
144
- os.remove(training_archive_file_path)
145
- return training_data_path
146
-
147
- def get_config(self) -> Dict:
148
- """Retrieves model config (see parent class for full docstring)."""
149
- if not self.config_file or not os.path.exists(self.config_file):
150
- structlogger.debug(
151
- "rasa.importers.remote_training_data_importer.no_config_file",
152
- message="No configuration file was provided to the RasaFileImporter.",
153
- )
154
- return {}
155
-
156
- config = read_model_configuration(self.config_file)
157
- return config
158
-
159
- @rasa.shared.utils.common.cached_method
160
- def get_config_file_for_auto_config(self) -> Optional[Text]:
161
- """Returns config file path for auto-config only if there is a single one."""
162
- return self.config_file
163
-
164
- def get_stories(self, exclusion_percentage: Optional[int] = None) -> StoryGraph:
165
- """Retrieves training stories / rules (see parent class for full docstring)."""
166
- return utils.story_graph_from_paths(
167
- self._story_files, self.get_domain(), exclusion_percentage
168
- )
169
-
170
- def get_flows(self) -> FlowsList:
171
- """Retrieves training stories / rules (see parent class for full docstring)."""
172
- return utils.flows_from_paths(self._flow_files)
173
-
174
- def get_conversation_tests(self) -> StoryGraph:
175
- """Retrieves conversation test stories (see parent class for full docstring)."""
176
- return utils.story_graph_from_paths(
177
- self._conversation_test_files, self.get_domain()
178
- )
179
-
180
- def get_nlu_data(self, language: Optional[Text] = "en") -> TrainingData:
181
- """Retrieves NLU training data (see parent class for full docstring)."""
182
- return utils.training_data_from_paths(self._nlu_files, language)
183
-
184
- def get_domain(self) -> Domain:
185
- """Retrieves model domain (see parent class for full docstring)."""
186
- domain = Domain.empty()
187
- domain_path = f"{self.extracted_path}"
188
- try:
189
- domain = Domain.load(domain_path)
190
- except InvalidDomain as e:
191
- rasa.shared.utils.io.raise_warning(
192
- f"Loading domain from '{domain_path}' failed. Using "
193
- f"empty domain. Error: '{e}'"
194
- )
195
-
196
- return domain