rasa-pro 3.13.0.dev3__py3-none-any.whl → 3.13.0.dev5__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 (132) hide show
  1. rasa/__main__.py +3 -1
  2. rasa/cli/inspect.py +8 -4
  3. rasa/cli/project_templates/default/config.yml +5 -32
  4. rasa/cli/project_templates/{calm → default}/e2e_tests/cancelations/user_cancels_during_a_correction.yml +1 -1
  5. rasa/cli/project_templates/{calm → default}/e2e_tests/cancelations/user_changes_mind_on_a_whim.yml +1 -1
  6. rasa/cli/project_templates/{calm → default}/e2e_tests/corrections/user_corrects_contact_handle.yml +1 -1
  7. rasa/cli/project_templates/{calm → default}/e2e_tests/corrections/user_corrects_contact_name.yml +1 -1
  8. rasa/cli/project_templates/{calm → default}/e2e_tests/happy_paths/user_adds_contact_to_their_list.yml +1 -1
  9. rasa/cli/project_templates/{calm → default}/e2e_tests/happy_paths/user_lists_contacts.yml +1 -1
  10. rasa/cli/project_templates/{calm → default}/e2e_tests/happy_paths/user_removes_contact.yml +1 -1
  11. rasa/cli/project_templates/{calm → default}/e2e_tests/happy_paths/user_removes_contact_from_list.yml +1 -1
  12. rasa/cli/project_templates/default/endpoints.yml +18 -2
  13. rasa/cli/scaffold.py +3 -4
  14. rasa/cli/studio/download.py +1 -1
  15. rasa/cli/studio/upload.py +0 -6
  16. rasa/core/channels/channel.py +68 -5
  17. rasa/core/channels/inspector/dist/assets/{arc-c7691751.js → arc-9f75cc3b.js} +1 -1
  18. rasa/core/channels/inspector/dist/assets/{blockDiagram-38ab4fdb-ab99dff7.js → blockDiagram-38ab4fdb-7f34db23.js} +1 -1
  19. rasa/core/channels/inspector/dist/assets/{c4Diagram-3d4e48cf-08c35a6b.js → c4Diagram-3d4e48cf-948bab2c.js} +1 -1
  20. rasa/core/channels/inspector/dist/assets/channel-dfa68278.js +1 -0
  21. rasa/core/channels/inspector/dist/assets/{classDiagram-70f12bd4-9e9c71c9.js → classDiagram-70f12bd4-53b0dd0e.js} +1 -1
  22. rasa/core/channels/inspector/dist/assets/{classDiagram-v2-f2320105-15e7e2bf.js → classDiagram-v2-f2320105-fdf789e7.js} +1 -1
  23. rasa/core/channels/inspector/dist/assets/clone-edb7f119.js +1 -0
  24. rasa/core/channels/inspector/dist/assets/{createText-2e5e7dd3-9c105cb1.js → createText-2e5e7dd3-87c4ece5.js} +1 -1
  25. rasa/core/channels/inspector/dist/assets/{edges-e0da2a9e-77e89e48.js → edges-e0da2a9e-5a8b0749.js} +1 -1
  26. rasa/core/channels/inspector/dist/assets/{erDiagram-9861fffd-7a011646.js → erDiagram-9861fffd-66da90e2.js} +1 -1
  27. rasa/core/channels/inspector/dist/assets/{flowDb-956e92f1-b6f105ac.js → flowDb-956e92f1-10044f05.js} +1 -1
  28. rasa/core/channels/inspector/dist/assets/{flowDiagram-66a62f08-ce4f18c2.js → flowDiagram-66a62f08-f338f66a.js} +1 -1
  29. rasa/core/channels/inspector/dist/assets/flowDiagram-v2-96b9c2cf-65e7c670.js +1 -0
  30. rasa/core/channels/inspector/dist/assets/{flowchart-elk-definition-4a651766-cb5f6da4.js → flowchart-elk-definition-4a651766-b13140aa.js} +1 -1
  31. rasa/core/channels/inspector/dist/assets/{ganttDiagram-c361ad54-e4d19e28.js → ganttDiagram-c361ad54-f2b4a55a.js} +1 -1
  32. rasa/core/channels/inspector/dist/assets/{gitGraphDiagram-72cf32ee-727b1c33.js → gitGraphDiagram-72cf32ee-dedc298d.js} +1 -1
  33. rasa/core/channels/inspector/dist/assets/{graph-6e2ab9a7.js → graph-4ede11ff.js} +1 -1
  34. rasa/core/channels/inspector/dist/assets/{index-3862675e-84ec700f.js → index-3862675e-65549d37.js} +1 -1
  35. rasa/core/channels/inspector/dist/assets/{index-098a1a24.js → index-3a23e736.js} +142 -129
  36. rasa/core/channels/inspector/dist/assets/{infoDiagram-f8f76790-78dda442.js → infoDiagram-f8f76790-65439671.js} +1 -1
  37. rasa/core/channels/inspector/dist/assets/{journeyDiagram-49397b02-f1cc6dd1.js → journeyDiagram-49397b02-56d03d98.js} +1 -1
  38. rasa/core/channels/inspector/dist/assets/{layout-d98dcd0c.js → layout-dd48f7f4.js} +1 -1
  39. rasa/core/channels/inspector/dist/assets/{line-838e3d82.js → line-1569ad2c.js} +1 -1
  40. rasa/core/channels/inspector/dist/assets/{linear-eae72406.js → linear-48bf4935.js} +1 -1
  41. rasa/core/channels/inspector/dist/assets/{mindmap-definition-fc14e90a-c96fd84b.js → mindmap-definition-fc14e90a-688504c1.js} +1 -1
  42. rasa/core/channels/inspector/dist/assets/{pieDiagram-8a3498a8-c936d4e2.js → pieDiagram-8a3498a8-78b6d7e6.js} +1 -1
  43. rasa/core/channels/inspector/dist/assets/{quadrantDiagram-120e2f19-b338eb8f.js → quadrantDiagram-120e2f19-048b84b3.js} +1 -1
  44. rasa/core/channels/inspector/dist/assets/{requirementDiagram-deff3bca-c6b6c0d5.js → requirementDiagram-deff3bca-dd67f107.js} +1 -1
  45. rasa/core/channels/inspector/dist/assets/{sankeyDiagram-04a897e0-b9372e19.js → sankeyDiagram-04a897e0-8128436e.js} +1 -1
  46. rasa/core/channels/inspector/dist/assets/{sequenceDiagram-704730f1-479e0a3f.js → sequenceDiagram-704730f1-1a0d1461.js} +1 -1
  47. rasa/core/channels/inspector/dist/assets/{stateDiagram-587899a1-fd26eebc.js → stateDiagram-587899a1-46d388ed.js} +1 -1
  48. rasa/core/channels/inspector/dist/assets/{stateDiagram-v2-d93cdb3a-3233e0ae.js → stateDiagram-v2-d93cdb3a-ea42951a.js} +1 -1
  49. rasa/core/channels/inspector/dist/assets/{styles-6aaf32cf-1fdd392b.js → styles-6aaf32cf-7427ed0c.js} +1 -1
  50. rasa/core/channels/inspector/dist/assets/{styles-9a916d00-6d7bfa1b.js → styles-9a916d00-ff5e5a16.js} +1 -1
  51. rasa/core/channels/inspector/dist/assets/{styles-c10674c1-f86aab11.js → styles-c10674c1-7b3680cf.js} +1 -1
  52. rasa/core/channels/inspector/dist/assets/{svgDrawCommon-08f97a94-e3e49d7a.js → svgDrawCommon-08f97a94-f860f2ad.js} +1 -1
  53. rasa/core/channels/inspector/dist/assets/{timeline-definition-85554ec2-6fe08b4d.js → timeline-definition-85554ec2-2eebf0c8.js} +1 -1
  54. rasa/core/channels/inspector/dist/assets/{xychartDiagram-e933f94c-c2e06fd6.js → xychartDiagram-e933f94c-5d7f4e96.js} +1 -1
  55. rasa/core/channels/inspector/dist/index.html +1 -1
  56. rasa/core/channels/inspector/src/App.tsx +3 -2
  57. rasa/core/channels/inspector/src/components/Chat.tsx +23 -2
  58. rasa/core/channels/inspector/src/components/DiagramFlow.tsx +2 -5
  59. rasa/core/channels/inspector/src/helpers/conversation.ts +16 -0
  60. rasa/core/channels/inspector/src/types.ts +1 -1
  61. rasa/core/channels/voice_ready/audiocodes.py +41 -15
  62. rasa/core/channels/voice_ready/twilio_voice.py +48 -1
  63. rasa/core/channels/voice_stream/tts/azure.py +11 -2
  64. rasa/core/channels/voice_stream/twilio_media_streams.py +101 -26
  65. rasa/core/channels/voice_stream/voice_channel.py +28 -2
  66. rasa/core/concurrent_lock_store.py +24 -10
  67. rasa/core/lock_store.py +151 -60
  68. rasa/dialogue_understanding_test/du_test_case.py +16 -8
  69. rasa/plugin.py +0 -3
  70. rasa/shared/constants.py +1 -0
  71. rasa/shared/core/domain.py +165 -11
  72. rasa/shared/core/flows/flow.py +155 -131
  73. rasa/shared/core/flows/flow_step.py +19 -3
  74. rasa/shared/core/flows/flow_step_links.py +15 -0
  75. rasa/shared/core/flows/flow_step_sequence.py +6 -0
  76. rasa/shared/core/flows/nlu_trigger.py +13 -0
  77. rasa/shared/core/flows/steps/action.py +7 -4
  78. rasa/shared/core/flows/steps/call.py +11 -4
  79. rasa/shared/core/flows/steps/collect.py +27 -6
  80. rasa/shared/core/flows/steps/internal.py +6 -1
  81. rasa/shared/core/flows/steps/link.py +7 -4
  82. rasa/shared/core/flows/steps/no_operation.py +7 -4
  83. rasa/shared/core/flows/steps/set_slots.py +8 -4
  84. rasa/shared/core/flows/yaml_flows_io.py +106 -5
  85. rasa/shared/importers/importer.py +8 -0
  86. rasa/shared/providers/_utils.py +83 -0
  87. rasa/shared/providers/llm/_base_litellm_client.py +6 -3
  88. rasa/shared/providers/llm/azure_openai_llm_client.py +6 -68
  89. rasa/shared/providers/router/_base_litellm_router_client.py +53 -1
  90. rasa/shared/utils/common.py +42 -0
  91. rasa/studio/download/domains.py +49 -0
  92. rasa/studio/download/download.py +439 -0
  93. rasa/studio/download/flows.py +359 -0
  94. rasa/studio/results_logger.py +6 -1
  95. rasa/studio/upload.py +69 -5
  96. rasa/utils/common.py +36 -0
  97. rasa/utils/endpoints.py +22 -1
  98. rasa/utils/licensing.py +1 -1
  99. rasa/validator.py +1 -2
  100. rasa/version.py +1 -1
  101. {rasa_pro-3.13.0.dev3.dist-info → rasa_pro-3.13.0.dev5.dist-info}/METADATA +8 -8
  102. {rasa_pro-3.13.0.dev3.dist-info → rasa_pro-3.13.0.dev5.dist-info}/RECORD +119 -125
  103. rasa/cli/project_templates/calm/config.yml +0 -10
  104. rasa/cli/project_templates/calm/credentials.yml +0 -33
  105. rasa/cli/project_templates/calm/endpoints.yml +0 -58
  106. rasa/cli/project_templates/default/actions/actions.py +0 -27
  107. rasa/cli/project_templates/default/data/nlu.yml +0 -91
  108. rasa/cli/project_templates/default/data/rules.yml +0 -13
  109. rasa/cli/project_templates/default/data/stories.yml +0 -30
  110. rasa/cli/project_templates/default/domain.yml +0 -34
  111. rasa/cli/project_templates/default/tests/test_stories.yml +0 -91
  112. rasa/core/channels/inspector/dist/assets/channel-11268142.js +0 -1
  113. rasa/core/channels/inspector/dist/assets/clone-ff7f2ce7.js +0 -1
  114. rasa/core/channels/inspector/dist/assets/flowDiagram-v2-96b9c2cf-cba7ae20.js +0 -1
  115. rasa/studio/download.py +0 -489
  116. /rasa/cli/project_templates/{calm → default}/actions/action_template.py +0 -0
  117. /rasa/cli/project_templates/{calm → default}/actions/add_contact.py +0 -0
  118. /rasa/cli/project_templates/{calm → default}/actions/db.py +0 -0
  119. /rasa/cli/project_templates/{calm → default}/actions/list_contacts.py +0 -0
  120. /rasa/cli/project_templates/{calm → default}/actions/remove_contact.py +0 -0
  121. /rasa/cli/project_templates/{calm → default}/data/flows/add_contact.yml +0 -0
  122. /rasa/cli/project_templates/{calm → default}/data/flows/list_contacts.yml +0 -0
  123. /rasa/cli/project_templates/{calm → default}/data/flows/remove_contact.yml +0 -0
  124. /rasa/cli/project_templates/{calm → default}/db/contacts.json +0 -0
  125. /rasa/cli/project_templates/{calm → default}/domain/add_contact.yml +0 -0
  126. /rasa/cli/project_templates/{calm → default}/domain/list_contacts.yml +0 -0
  127. /rasa/cli/project_templates/{calm → default}/domain/remove_contact.yml +0 -0
  128. /rasa/cli/project_templates/{calm → default}/domain/shared.yml +0 -0
  129. /rasa/{cli/project_templates/calm/actions → studio/download}/__init__.py +0 -0
  130. {rasa_pro-3.13.0.dev3.dist-info → rasa_pro-3.13.0.dev5.dist-info}/NOTICE +0 -0
  131. {rasa_pro-3.13.0.dev3.dist-info → rasa_pro-3.13.0.dev5.dist-info}/WHEEL +0 -0
  132. {rasa_pro-3.13.0.dev3.dist-info → rasa_pro-3.13.0.dev5.dist-info}/entry_points.txt +0 -0
@@ -1,91 +0,0 @@
1
- version: "3.1"
2
-
3
- nlu:
4
- - intent: greet
5
- examples: |
6
- - hey
7
- - hello
8
- - hi
9
- - hello there
10
- - good morning
11
- - good evening
12
- - moin
13
- - hey there
14
- - let's go
15
- - hey dude
16
- - goodmorning
17
- - goodevening
18
- - good afternoon
19
-
20
- - intent: goodbye
21
- examples: |
22
- - cu
23
- - good by
24
- - cee you later
25
- - good night
26
- - bye
27
- - goodbye
28
- - have a nice day
29
- - see you around
30
- - bye bye
31
- - see you later
32
-
33
- - intent: affirm
34
- examples: |
35
- - yes
36
- - y
37
- - indeed
38
- - of course
39
- - that sounds good
40
- - correct
41
-
42
- - intent: deny
43
- examples: |
44
- - no
45
- - n
46
- - never
47
- - I don't think so
48
- - don't like that
49
- - no way
50
- - not really
51
-
52
- - intent: mood_great
53
- examples: |
54
- - perfect
55
- - great
56
- - amazing
57
- - feeling like a king
58
- - wonderful
59
- - I am feeling very good
60
- - I am great
61
- - I am amazing
62
- - I am going to save the world
63
- - super stoked
64
- - extremely good
65
- - so so perfect
66
- - so good
67
- - so perfect
68
-
69
- - intent: mood_unhappy
70
- examples: |
71
- - my day was horrible
72
- - I am sad
73
- - I don't feel very well
74
- - I am disappointed
75
- - super sad
76
- - I'm so sad
77
- - sad
78
- - very sad
79
- - unhappy
80
- - not good
81
- - not very good
82
- - extremly sad
83
- - so saad
84
- - so sad
85
-
86
- - intent: bot_challenge
87
- examples: |
88
- - are you a bot?
89
- - are you a human?
90
- - am I talking to a bot?
91
- - am I talking to a human?
@@ -1,13 +0,0 @@
1
- version: "3.1"
2
-
3
- rules:
4
-
5
- - rule: Say goodbye anytime the user says goodbye
6
- steps:
7
- - intent: goodbye
8
- - action: utter_goodbye
9
-
10
- - rule: Say 'I am a bot' anytime the user challenges
11
- steps:
12
- - intent: bot_challenge
13
- - action: utter_iamabot
@@ -1,30 +0,0 @@
1
- version: "3.1"
2
-
3
- stories:
4
-
5
- - story: happy path
6
- steps:
7
- - intent: greet
8
- - action: utter_greet
9
- - intent: mood_great
10
- - action: utter_happy
11
-
12
- - story: sad path 1
13
- steps:
14
- - intent: greet
15
- - action: utter_greet
16
- - intent: mood_unhappy
17
- - action: utter_cheer_up
18
- - action: utter_did_that_help
19
- - intent: affirm
20
- - action: utter_happy
21
-
22
- - story: sad path 2
23
- steps:
24
- - intent: greet
25
- - action: utter_greet
26
- - intent: mood_unhappy
27
- - action: utter_cheer_up
28
- - action: utter_did_that_help
29
- - intent: deny
30
- - action: utter_goodbye
@@ -1,34 +0,0 @@
1
- version: "3.1"
2
-
3
- intents:
4
- - greet
5
- - goodbye
6
- - affirm
7
- - deny
8
- - mood_great
9
- - mood_unhappy
10
- - bot_challenge
11
-
12
- responses:
13
- utter_greet:
14
- - text: "Hey! How are you?"
15
-
16
- utter_cheer_up:
17
- - text: "Here is something to cheer you up:"
18
- image: "https://i.imgur.com/nGF1K8f.jpg"
19
-
20
- utter_did_that_help:
21
- - text: "Did that help you?"
22
-
23
- utter_happy:
24
- - text: "Great, carry on!"
25
-
26
- utter_goodbye:
27
- - text: "Bye"
28
-
29
- utter_iamabot:
30
- - text: "I am a bot, powered by Rasa."
31
-
32
- session_config:
33
- session_expiration_time: 60
34
- carry_over_slots_to_new_session: true
@@ -1,91 +0,0 @@
1
- #### This file contains tests to evaluate that your bot behaves as expected.
2
- #### If you want to learn more, please see the docs: https://rasa.com/docs/rasa-pro/nlu-based-assistants/testing-your-assistant
3
-
4
- stories:
5
- - story: happy path 1
6
- steps:
7
- - user: |
8
- hello there!
9
- intent: greet
10
- - action: utter_greet
11
- - user: |
12
- amazing
13
- intent: mood_great
14
- - action: utter_happy
15
-
16
- - story: happy path 2
17
- steps:
18
- - user: |
19
- hello there!
20
- intent: greet
21
- - action: utter_greet
22
- - user: |
23
- amazing
24
- intent: mood_great
25
- - action: utter_happy
26
- - user: |
27
- bye-bye!
28
- intent: goodbye
29
- - action: utter_goodbye
30
-
31
- - story: sad path 1
32
- steps:
33
- - user: |
34
- hello
35
- intent: greet
36
- - action: utter_greet
37
- - user: |
38
- not good
39
- intent: mood_unhappy
40
- - action: utter_cheer_up
41
- - action: utter_did_that_help
42
- - user: |
43
- yes
44
- intent: affirm
45
- - action: utter_happy
46
-
47
- - story: sad path 2
48
- steps:
49
- - user: |
50
- hello
51
- intent: greet
52
- - action: utter_greet
53
- - user: |
54
- not good
55
- intent: mood_unhappy
56
- - action: utter_cheer_up
57
- - action: utter_did_that_help
58
- - user: |
59
- not really
60
- intent: deny
61
- - action: utter_goodbye
62
-
63
- - story: sad path 3
64
- steps:
65
- - user: |
66
- hi
67
- intent: greet
68
- - action: utter_greet
69
- - user: |
70
- very terrible
71
- intent: mood_unhappy
72
- - action: utter_cheer_up
73
- - action: utter_did_that_help
74
- - user: |
75
- no
76
- intent: deny
77
- - action: utter_goodbye
78
-
79
- - story: say goodbye
80
- steps:
81
- - user: |
82
- bye-bye!
83
- intent: goodbye
84
- - action: utter_goodbye
85
-
86
- - story: bot challenge
87
- steps:
88
- - user: |
89
- are you a bot?
90
- intent: bot_challenge
91
- - action: utter_iamabot
@@ -1 +0,0 @@
1
- import{aI as o,aJ as r}from"./index-098a1a24.js";const s=(a,n)=>o.lang.round(r.parse(a)[n]),e=s;export{e as c};
@@ -1 +0,0 @@
1
- import{c as r}from"./graph-6e2ab9a7.js";var e=4;function a(o){return r(o,e)}export{a as c};
@@ -1 +0,0 @@
1
- import{p as e,f as o}from"./flowDb-956e92f1-b6f105ac.js";import{f as t,g as a}from"./styles-c10674c1-f86aab11.js";import{u as i}from"./index-098a1a24.js";import"./graph-6e2ab9a7.js";import"./layout-d98dcd0c.js";import"./index-3862675e-84ec700f.js";import"./clone-ff7f2ce7.js";import"./edges-e0da2a9e-77e89e48.js";import"./createText-2e5e7dd3-9c105cb1.js";import"./line-838e3d82.js";import"./array-9f3ba611.js";import"./path-53f90ab3.js";import"./channel-11268142.js";const M={parser:e,db:o,renderer:t,styles:a,init:r=>{r.flowchart||(r.flowchart={}),r.flowchart.arrowMarkerAbsolute=r.arrowMarkerAbsolute,i({flowchart:{arrowMarkerAbsolute:r.arrowMarkerAbsolute}}),t.setConf(r.flowchart),o.clear(),o.setGen("gen-2")}};export{M as diagram};