rasa-pro 3.12.5__py3-none-any.whl → 3.13.0.dev1__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.
- rasa/cli/scaffold.py +1 -1
- rasa/core/actions/action.py +38 -28
- rasa/core/actions/action_run_slot_rejections.py +1 -1
- rasa/core/channels/studio_chat.py +16 -43
- rasa/core/information_retrieval/faiss.py +62 -6
- rasa/core/nlg/contextual_response_rephraser.py +7 -6
- rasa/core/nlg/generator.py +5 -21
- rasa/core/nlg/response.py +6 -43
- rasa/core/nlg/translate.py +0 -8
- rasa/core/policies/enterprise_search_policy.py +1 -0
- rasa/dialogue_understanding/commands/knowledge_answer_command.py +2 -2
- rasa/dialogue_understanding/generator/llm_based_command_generator.py +1 -2
- rasa/dialogue_understanding/generator/prompt_templates/command_prompt_v2_claude_3_5_sonnet_20240620_template.jinja2 +1 -1
- rasa/dialogue_understanding/generator/prompt_templates/command_prompt_v2_gpt_4o_2024_11_20_template.jinja2 +5 -2
- rasa/dialogue_understanding_test/command_metric_calculation.py +7 -40
- rasa/dialogue_understanding_test/command_metrics.py +38 -0
- rasa/dialogue_understanding_test/du_test_case.py +58 -25
- rasa/dialogue_understanding_test/du_test_result.py +228 -132
- rasa/dialogue_understanding_test/du_test_runner.py +10 -1
- rasa/dialogue_understanding_test/io.py +35 -8
- rasa/model_manager/model_api.py +1 -1
- rasa/model_manager/socket_bridge.py +0 -7
- rasa/shared/core/slot_mappings.py +12 -0
- rasa/shared/core/slots.py +1 -1
- rasa/shared/core/trackers.py +4 -10
- rasa/shared/providers/llm/default_litellm_llm_client.py +2 -2
- rasa/tracing/instrumentation/attribute_extractors.py +36 -6
- rasa/version.py +1 -1
- {rasa_pro-3.12.5.dist-info → rasa_pro-3.13.0.dev1.dist-info}/METADATA +5 -6
- {rasa_pro-3.12.5.dist-info → rasa_pro-3.13.0.dev1.dist-info}/RECORD +33 -34
- {rasa_pro-3.12.5.dist-info → rasa_pro-3.13.0.dev1.dist-info}/WHEEL +1 -1
- README.md +0 -38
- rasa/keys +0 -1
- {rasa_pro-3.12.5.dist-info → rasa_pro-3.13.0.dev1.dist-info}/NOTICE +0 -0
- {rasa_pro-3.12.5.dist-info → rasa_pro-3.13.0.dev1.dist-info}/entry_points.txt +0 -0
rasa/shared/core/trackers.py
CHANGED
|
@@ -1123,16 +1123,10 @@ class DialogueStateTracker:
|
|
|
1123
1123
|
f"Please update the slot configuration accordingly."
|
|
1124
1124
|
)
|
|
1125
1125
|
|
|
1126
|
-
|
|
1127
|
-
|
|
1128
|
-
|
|
1129
|
-
|
|
1130
|
-
language_code=language_code,
|
|
1131
|
-
is_default=is_default,
|
|
1132
|
-
)
|
|
1133
|
-
supported_languages.append(language)
|
|
1134
|
-
|
|
1135
|
-
return supported_languages
|
|
1126
|
+
return [
|
|
1127
|
+
Language.from_language_code(language_code)
|
|
1128
|
+
for language_code in language_slot.values
|
|
1129
|
+
]
|
|
1136
1130
|
|
|
1137
1131
|
@property
|
|
1138
1132
|
def current_language(self) -> Optional[Language]:
|
|
@@ -101,11 +101,11 @@ class DefaultLiteLLMClient(_BaseLiteLLMClient):
|
|
|
101
101
|
# SageMaker) in Rasa by allowing AWS secrets to be provided as extra
|
|
102
102
|
# parameters without triggering validation errors due to missing AWS
|
|
103
103
|
# environment variables.
|
|
104
|
-
if self.provider.lower() in
|
|
104
|
+
if self.provider.lower() in {
|
|
105
105
|
AWS_BEDROCK_PROVIDER,
|
|
106
106
|
AWS_SAGEMAKER_PROVIDER,
|
|
107
107
|
AWS_SAGEMAKER_CHAT_PROVIDER,
|
|
108
|
-
|
|
108
|
+
}:
|
|
109
109
|
validate_aws_setup_for_litellm_clients(
|
|
110
110
|
self._litellm_model_name,
|
|
111
111
|
self._litellm_extra_parameters,
|
|
@@ -22,8 +22,14 @@ from rasa.dialogue_understanding.generator import LLMBasedCommandGenerator
|
|
|
22
22
|
from rasa.dialogue_understanding.generator.constants import FLOW_RETRIEVAL_KEY
|
|
23
23
|
from rasa.dialogue_understanding.stack.dialogue_stack import DialogueStack
|
|
24
24
|
from rasa.dialogue_understanding_test.du_test_result import (
|
|
25
|
+
KEY_COMMANDS_F1_MACRO,
|
|
26
|
+
KEY_COMMANDS_F1_MICRO,
|
|
27
|
+
KEY_COMMANDS_F1_WEIGHTED,
|
|
25
28
|
KEY_TEST_CASES_ACCURACY,
|
|
26
29
|
KEY_USER_UTTERANCES_ACCURACY,
|
|
30
|
+
OUTPUT_COMMANDS_F1_MACRO_INSTRUMENTATION_ATTR,
|
|
31
|
+
OUTPUT_COMMANDS_F1_MICRO_INSTRUMENTATION_ATTR,
|
|
32
|
+
OUTPUT_COMMANDS_F1_WEIGHTED_INSTRUMENTATION_ATTR,
|
|
27
33
|
OUTPUT_COMPLETION_TOKEN_METRICS,
|
|
28
34
|
OUTPUT_LATENCY_METRICS,
|
|
29
35
|
OUTPUT_NAMES_OF_FAILED_TESTS,
|
|
@@ -614,6 +620,15 @@ def extract_attrs_for_du_print_test_results(
|
|
|
614
620
|
OUTPUT_NAMES_OF_FAILED_TESTS: json.dumps(
|
|
615
621
|
test_suite_result.names_of_failed_tests
|
|
616
622
|
),
|
|
623
|
+
OUTPUT_COMMANDS_F1_MACRO_INSTRUMENTATION_ATTR: (
|
|
624
|
+
test_suite_result.f1_score[KEY_COMMANDS_F1_MACRO]
|
|
625
|
+
),
|
|
626
|
+
OUTPUT_COMMANDS_F1_MICRO_INSTRUMENTATION_ATTR: (
|
|
627
|
+
test_suite_result.f1_score[KEY_COMMANDS_F1_MICRO]
|
|
628
|
+
),
|
|
629
|
+
OUTPUT_COMMANDS_F1_WEIGHTED_INSTRUMENTATION_ATTR: (
|
|
630
|
+
test_suite_result.f1_score[KEY_COMMANDS_F1_WEIGHTED]
|
|
631
|
+
),
|
|
617
632
|
}
|
|
618
633
|
if test_suite_result.command_metrics:
|
|
619
634
|
for (
|
|
@@ -638,12 +653,27 @@ def extract_attrs_for_du_print_test_results(
|
|
|
638
653
|
for key, value in test_suite_result.llm_config.items():
|
|
639
654
|
attributes_dict[f"llm_config_0_{key}"] = value
|
|
640
655
|
|
|
641
|
-
for
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
656
|
+
for component_name, latency_metric in test_suite_result.latency_metrics.items():
|
|
657
|
+
for metric_name, metric_value in latency_metric.items():
|
|
658
|
+
attributes_dict[
|
|
659
|
+
f"{OUTPUT_LATENCY_METRICS}_{component_name}_{metric_name}"
|
|
660
|
+
] = metric_value
|
|
661
|
+
for (
|
|
662
|
+
component_name,
|
|
663
|
+
prompt_token_metric,
|
|
664
|
+
) in test_suite_result.prompt_token_metrics.items():
|
|
665
|
+
for metric_name, metric_value in prompt_token_metric.items():
|
|
666
|
+
attributes_dict[
|
|
667
|
+
f"{OUTPUT_PROMPT_TOKEN_METRICS}_{component_name}_{metric_name}"
|
|
668
|
+
] = metric_value
|
|
669
|
+
for (
|
|
670
|
+
component_name,
|
|
671
|
+
completion_token_metric,
|
|
672
|
+
) in test_suite_result.completion_token_metrics.items():
|
|
673
|
+
for metric_name, metric_value in completion_token_metric.items():
|
|
674
|
+
attributes_dict[
|
|
675
|
+
f"{OUTPUT_COMPLETION_TOKEN_METRICS}_{component_name}_{metric_name}"
|
|
676
|
+
] = metric_value
|
|
647
677
|
|
|
648
678
|
return attributes_dict
|
|
649
679
|
|
rasa/version.py
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.3
|
|
2
2
|
Name: rasa-pro
|
|
3
|
-
Version: 3.
|
|
3
|
+
Version: 3.13.0.dev1
|
|
4
4
|
Summary: State-of-the-art open-core Conversational AI framework for Enterprises that natively leverages generative AI for effortless assistant development.
|
|
5
|
-
Home-page: https://rasa.com
|
|
6
5
|
Keywords: nlp,machine-learning,machine-learning-library,bot,bots,botkit,rasa conversational-agents,conversational-ai,chatbot,chatbot-framework,bot-framework
|
|
7
6
|
Author: Rasa Technologies GmbH
|
|
8
7
|
Author-email: hi@rasa.com
|
|
@@ -86,7 +85,6 @@ Requires-Dist: protobuf (>=4.23.3,<4.25.4)
|
|
|
86
85
|
Requires-Dist: psutil (>=5.9.5,<6.0.0)
|
|
87
86
|
Requires-Dist: psycopg2-binary (>=2.9.9,<2.10.0)
|
|
88
87
|
Requires-Dist: pycountry (>=22.3.5,<23.0.0)
|
|
89
|
-
Requires-Dist: pydantic (>=2.0,<3.0)
|
|
90
88
|
Requires-Dist: pydot (>=1.4,<1.5)
|
|
91
89
|
Requires-Dist: pykwalify (>=1.8,<1.9)
|
|
92
90
|
Requires-Dist: pymilvus (>=2.4.1,<2.4.2)
|
|
@@ -102,7 +100,7 @@ Requires-Dist: pyyaml (>=6.0)
|
|
|
102
100
|
Requires-Dist: qdrant-client (>=1.9.1,<1.10.0)
|
|
103
101
|
Requires-Dist: questionary (>=1.10.0,<2.1.0)
|
|
104
102
|
Requires-Dist: randomname (>=0.2.1,<0.3.0)
|
|
105
|
-
Requires-Dist: rasa-sdk (==3.
|
|
103
|
+
Requires-Dist: rasa-sdk (==3.13.0.dev1)
|
|
106
104
|
Requires-Dist: redis (>=4.6.0,<6.0)
|
|
107
105
|
Requires-Dist: regex (>=2024.7.24,<2024.8.0)
|
|
108
106
|
Requires-Dist: requests (>=2.32.3,<2.33.0)
|
|
@@ -135,7 +133,7 @@ Requires-Dist: tensorflow-io-gcs-filesystem (==0.34) ; sys_platform == "darwin"
|
|
|
135
133
|
Requires-Dist: tensorflow-io-gcs-filesystem (==0.34) ; sys_platform == "linux"
|
|
136
134
|
Requires-Dist: tensorflow-macos (==2.14.1) ; sys_platform == "darwin" and platform_machine == "arm64"
|
|
137
135
|
Requires-Dist: tensorflow-metal (==1.1.0) ; (sys_platform == "darwin" and platform_machine == "arm64") and (extra == "metal")
|
|
138
|
-
Requires-Dist: tensorflow-text (==2.14.0) ; sys_platform != "win32" and
|
|
136
|
+
Requires-Dist: tensorflow-text (==2.14.0) ; sys_platform != "win32" and platform_machine != "arm64" and platform_machine != "aarch64"
|
|
139
137
|
Requires-Dist: tensorflow_hub (>=0.13.0,<0.14.0)
|
|
140
138
|
Requires-Dist: terminaltables (>=3.1.10,<3.2.0)
|
|
141
139
|
Requires-Dist: tiktoken (>=0.7.0,<0.8.0)
|
|
@@ -150,6 +148,7 @@ Requires-Dist: webexteamssdk (>=1.6.1,<1.7.0)
|
|
|
150
148
|
Requires-Dist: websockets (>=10.4,<11.0)
|
|
151
149
|
Requires-Dist: wheel (>=0.40.0)
|
|
152
150
|
Project-URL: Documentation, https://rasa.com/docs
|
|
151
|
+
Project-URL: Homepage, https://rasa.com
|
|
153
152
|
Project-URL: Repository, https://github.com/rasahq/rasa
|
|
154
153
|
Description-Content-Type: text/markdown
|
|
155
154
|
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
README.md,sha256=rn81McEFcq6MM6i5ZVs-MV7HQd4ffBVtBeVV2DvF7Bo,3175
|
|
2
1
|
rasa/__init__.py,sha256=YXG8RzVxiSJ__v-AewtV453YoCbmzWlHsU_4S0O2XpE,206
|
|
3
2
|
rasa/__main__.py,sha256=OmUXcaA9l7KR_eSYCwaCSetuczxjrcN2taNnZ2ZUTbA,6472
|
|
4
3
|
rasa/anonymization/__init__.py,sha256=Z-ZUW2ofZGfI6ysjYIS7U0JL4JSzDNOkHiiXK488Zik,86
|
|
@@ -77,7 +76,7 @@ rasa/cli/project_templates/tutorial/data/patterns.yml,sha256=phj1vrOcAacwzdVHFHN
|
|
|
77
76
|
rasa/cli/project_templates/tutorial/domain.yml,sha256=X16UwfoTNKSV2DYvEQZ-CfRczzg5MqI49AHgSH0-aZs,974
|
|
78
77
|
rasa/cli/project_templates/tutorial/endpoints.yml,sha256=HgnwIyGcWoMZGtQr9jFTzmlkAct8U9c3ueeLtshtH3I,1780
|
|
79
78
|
rasa/cli/run.py,sha256=Mowl-DC8IvWs2mxQm462TtJd3hKf_2eb6SKSF7WpgFg,4517
|
|
80
|
-
rasa/cli/scaffold.py,sha256=
|
|
79
|
+
rasa/cli/scaffold.py,sha256=E-cq91YZeRkMKBZvPfHimVgqCxLd5R7PUEzNqFcj_FY,8063
|
|
81
80
|
rasa/cli/shell.py,sha256=YTXn3_iDWJySY187BEJTRDxPoG-mqRtl17jqwqQ6hX4,4332
|
|
82
81
|
rasa/cli/studio/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
83
82
|
rasa/cli/studio/download.py,sha256=rd_YtbJXOVJZo-U4A-Gz2Uk_c_wlwe4B69XgYYRf1Dk,1831
|
|
@@ -93,13 +92,13 @@ rasa/cli/x.py,sha256=C7dLtYXAkD-uj7hNj7Pz5YbOupp2yRcMjQbsEVqXUJ8,6825
|
|
|
93
92
|
rasa/constants.py,sha256=m6If7alC5obaHU-JQWXEBo4mooVwIMzNRTjyTzzZSVg,1306
|
|
94
93
|
rasa/core/__init__.py,sha256=wTSmsFlgK0Ylvuyq20q9APwpT5xyVJYZfzhs4rrkciM,456
|
|
95
94
|
rasa/core/actions/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
96
|
-
rasa/core/actions/action.py,sha256=
|
|
95
|
+
rasa/core/actions/action.py,sha256=Kqup2dXUREQRA7vPk3-VjLZCVubbRR2I998cOSDRNkg,43336
|
|
97
96
|
rasa/core/actions/action_clean_stack.py,sha256=xUP-2ipPsPAnAiwP17c-ezmHPSrV4JSUZr-eSgPQwIs,2279
|
|
98
97
|
rasa/core/actions/action_exceptions.py,sha256=hghzXYN6VeHC-O_O7WiPesCNV86ZTkHgG90ZnQcbai8,724
|
|
99
98
|
rasa/core/actions/action_handle_digressions.py,sha256=p3cjzTfT0GEsJlYip-TPnr-PJQ545vQnNp0JPKBUs8A,5234
|
|
100
99
|
rasa/core/actions/action_hangup.py,sha256=o5iklHG-F9IcRgWis5C6AumVXznxzAV3o9zdduhozEM,994
|
|
101
100
|
rasa/core/actions/action_repeat_bot_messages.py,sha256=2DZFHPS7SKslz_Pm3Tyn0154xTws3E7lMYKl2ktQPTQ,3522
|
|
102
|
-
rasa/core/actions/action_run_slot_rejections.py,sha256=
|
|
101
|
+
rasa/core/actions/action_run_slot_rejections.py,sha256=xsb0AHEWLV9AtX7dsCyxaJBbF0t7REC353YWerHIhts,7274
|
|
103
102
|
rasa/core/actions/action_trigger_chitchat.py,sha256=krOPqCXBihxOskqmm05A4mFEm4lj4ohvzuddy7rELVQ,1084
|
|
104
103
|
rasa/core/actions/action_trigger_flow.py,sha256=IydYAGafTtoY6XSgCX124xJQhzudUg8JAICstqsV3VA,3487
|
|
105
104
|
rasa/core/actions/action_trigger_search.py,sha256=QfYqnaGRCqRYJ4msYsLAbnVYW5ija_tqhCcKIN8aEfw,1064
|
|
@@ -264,7 +263,7 @@ rasa/core/channels/rest.py,sha256=ShKGmooXphhcDnHyV8TiQhDhj2r7hxTKNQ57FwFfyUA,72
|
|
|
264
263
|
rasa/core/channels/rocketchat.py,sha256=hajaH6549CjEYFM5jSapw1DQKBPKTXbn7cVSuZzknmI,5999
|
|
265
264
|
rasa/core/channels/slack.py,sha256=jVsTTUu9wUjukPoIsAhbee9o0QFUMCNlQHbR8LTcMBc,24406
|
|
266
265
|
rasa/core/channels/socketio.py,sha256=Q7Gts30Ulwj90pQQxaUk4NykzagXErXgbHYwOjTmDig,10842
|
|
267
|
-
rasa/core/channels/studio_chat.py,sha256=
|
|
266
|
+
rasa/core/channels/studio_chat.py,sha256=eaH30ARpdqgIHeTQ1YNy31bx7NLOaFdTBGNEKOLhlPg,7532
|
|
268
267
|
rasa/core/channels/telegram.py,sha256=TKVknsk3U9tYeY1a8bzlhqkltWmZfGSOvrcmwa9qozc,12499
|
|
269
268
|
rasa/core/channels/twilio.py,sha256=2BTQpyx0b0yPpc0A2BHYfxLPgodrLGLs8nq6i3lVGAM,5906
|
|
270
269
|
rasa/core/channels/vier_cvg.py,sha256=GkrWKu7NRMFtLMyYp-kQ2taWAc_keAwhYrkVPW56iaU,13544
|
|
@@ -309,7 +308,7 @@ rasa/core/featurizers/single_state_featurizer.py,sha256=K3O-dPmSjXwxgmOjXIvp7W4U
|
|
|
309
308
|
rasa/core/featurizers/tracker_featurizers.py,sha256=_4kvkAH95-V1TKhhSuxFLSd_O43gW0U3IcqN79NDFCo,46756
|
|
310
309
|
rasa/core/http_interpreter.py,sha256=rLvMdH4E_RgHzDIjazFIHIXvkwMezrNzwdGl9GQ4pMM,3032
|
|
311
310
|
rasa/core/information_retrieval/__init__.py,sha256=Xo9VzUBriFGo4m2Ba-1f7D6sIz_WcXAOJr9WU2iYJRc,218
|
|
312
|
-
rasa/core/information_retrieval/faiss.py,sha256=
|
|
311
|
+
rasa/core/information_retrieval/faiss.py,sha256=vMfgQBuqJKqjBYGx8P0ZZV73KCkNsffT-wcDZWIP2Mw,6206
|
|
313
312
|
rasa/core/information_retrieval/information_retrieval.py,sha256=Re17_o7jQfaQWR_3jJs42J_EaH0SXgMnAp5rlQSe7Ww,4251
|
|
314
313
|
rasa/core/information_retrieval/milvus.py,sha256=x-WDVANwj9gJ1ZqpkdTWAK0a2K-_bIyyXDdYReXfJlo,2024
|
|
315
314
|
rasa/core/information_retrieval/qdrant.py,sha256=KHtU6txMs5ZrAECVjgTa2d5mb37-gHxpy8uRHSIMMAg,3441
|
|
@@ -319,16 +318,16 @@ rasa/core/lock_store.py,sha256=weupfBiYMz-B_N-LAONCvp-po1uPRdie9imLYn7hFDU,12504
|
|
|
319
318
|
rasa/core/migrate.py,sha256=h1dOpXxmVmZlbLVGy1yOU_Obp2KzRiOiL0iuEacA0Cg,14618
|
|
320
319
|
rasa/core/nlg/__init__.py,sha256=jZuQAhOUcxO-KqqHGqICHSY3oDeXlUiGr2trQDYfG6o,240
|
|
321
320
|
rasa/core/nlg/callback.py,sha256=0zDQsOa3uV66G3smCVQ9cUdvj-it8tFneIzqShM7NeI,5208
|
|
322
|
-
rasa/core/nlg/contextual_response_rephraser.py,sha256=
|
|
323
|
-
rasa/core/nlg/generator.py,sha256=
|
|
321
|
+
rasa/core/nlg/contextual_response_rephraser.py,sha256=iRXA4Cpjp7NUzy9BUqgp1fqqwawZryjW5uSFWRt8lXU,13530
|
|
322
|
+
rasa/core/nlg/generator.py,sha256=GA3XwpGdWKKcaMdNGqRCiSwvix2RR4IocVxg_dv_1Yg,10895
|
|
324
323
|
rasa/core/nlg/interpolator.py,sha256=hEOhqfMXrAqTZiqjg2t6ZfTK6DJQ5IiX4tJIz2b8Fbw,5190
|
|
325
|
-
rasa/core/nlg/response.py,sha256=
|
|
324
|
+
rasa/core/nlg/response.py,sha256=kfBSFnQni0lDZlGpZEVRjuQvil7G1JMjS4xIdd3AKhs,6045
|
|
326
325
|
rasa/core/nlg/summarize.py,sha256=liXcbJMBm0NaaSH0LwlSs1l0dTby0OEprSzeKeyRyv0,2109
|
|
327
|
-
rasa/core/nlg/translate.py,sha256=
|
|
326
|
+
rasa/core/nlg/translate.py,sha256=PBMTbIgdkhx8rhzqv6h0u5r9jqdfiVIh7u0qb363sJA,1822
|
|
328
327
|
rasa/core/persistor.py,sha256=EP8kaGQQbRJKkxw2GCZkjJk-O2n4PgIHXa9F9a5MjVk,20337
|
|
329
328
|
rasa/core/policies/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
330
329
|
rasa/core/policies/ensemble.py,sha256=XoHxU0jcb_io_LBOpjJffylzqtGEB7CH9ivhRyO8pDc,12960
|
|
331
|
-
rasa/core/policies/enterprise_search_policy.py,sha256=
|
|
330
|
+
rasa/core/policies/enterprise_search_policy.py,sha256=8J_SV5sMjz39TXpuudvxjY6IlHZ1VUpOggvMg1z-jyA,36517
|
|
332
331
|
rasa/core/policies/enterprise_search_prompt_template.jinja2,sha256=dCS_seyBGxMQoMsOjjvPp0dd31OSzZCJSZeev1FJK5Q,1187
|
|
333
332
|
rasa/core/policies/enterprise_search_prompt_with_citation_template.jinja2,sha256=va9rpP97dN3PKoJZOVfyuISt3cPBlb10Pqyz25RwO_Q,3294
|
|
334
333
|
rasa/core/policies/flow_policy.py,sha256=597G62hrLF_CAMCvu-TPRldFnjMP2XEIkhcIaPWcQAc,7489
|
|
@@ -382,7 +381,7 @@ rasa/dialogue_understanding/commands/free_form_answer_command.py,sha256=XlQrHXrc
|
|
|
382
381
|
rasa/dialogue_understanding/commands/handle_code_change_command.py,sha256=Cp2e1iD0zacXmljJ8vDXHJu9Fp6BwB7cGx8NF748akw,2192
|
|
383
382
|
rasa/dialogue_understanding/commands/handle_digressions_command.py,sha256=KKEqyW6HROsZ0xcCUKqOIQapK6oSKWXyDNOHyzU-5KA,4889
|
|
384
383
|
rasa/dialogue_understanding/commands/human_handoff_command.py,sha256=vfMXBWKm7fsaabCcLti1r8c1GrjS_0bvRKzgxJ8s6rU,2965
|
|
385
|
-
rasa/dialogue_understanding/commands/knowledge_answer_command.py,sha256=
|
|
384
|
+
rasa/dialogue_understanding/commands/knowledge_answer_command.py,sha256=ZS5XyqYhUDqe0pcGSoEsjbr2tDGMHRMyX5CUzq5qIeI,2860
|
|
386
385
|
rasa/dialogue_understanding/commands/noop_command.py,sha256=aIaLBjSV84qy9X4aGlJfMIYhF57maH5CiKNWL_-giD4,1485
|
|
387
386
|
rasa/dialogue_understanding/commands/prompt_command.py,sha256=slKQkvtrM353I3gltiett5xrZ7IxQ0omdqJHi6IowGk,2569
|
|
388
387
|
rasa/dialogue_understanding/commands/repeat_bot_messages_command.py,sha256=8SavUvMk6FmWz4Yr-j_JDTuwAwLfGy0RYZOLqn16wx0,2933
|
|
@@ -402,7 +401,7 @@ rasa/dialogue_understanding/generator/command_parser.py,sha256=wf6FSgqBw5F0legg0
|
|
|
402
401
|
rasa/dialogue_understanding/generator/constants.py,sha256=PuUckBGUZ-Tu31B0cs8yxN99BDW3PGoExZa-BlIL5v8,1108
|
|
403
402
|
rasa/dialogue_understanding/generator/flow_document_template.jinja2,sha256=f4H6vVd-_nX_RtutMh1xD3ZQE_J2OyuPHAtiltfiAPY,253
|
|
404
403
|
rasa/dialogue_understanding/generator/flow_retrieval.py,sha256=wlGnMj17-X1-siQmdSvOd7K61sRzBf82MQEL2pqDQMI,17891
|
|
405
|
-
rasa/dialogue_understanding/generator/llm_based_command_generator.py,sha256=
|
|
404
|
+
rasa/dialogue_understanding/generator/llm_based_command_generator.py,sha256=d1fz28ACXopCkuXeI8Mzy3Wil8jQXHr2_4oPAfcFdfM,23949
|
|
406
405
|
rasa/dialogue_understanding/generator/llm_command_generator.py,sha256=z7jhIJ3W_5GFH-p15kVoWbigMIoY8fIJjc_j_uX7yxw,2581
|
|
407
406
|
rasa/dialogue_understanding/generator/multi_step/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
408
407
|
rasa/dialogue_understanding/generator/multi_step/fill_slots_prompt.jinja2,sha256=Y0m673tAML3cFPaLM-urMXDsBYUUcXIw9YUpkAhGUuA,2933
|
|
@@ -411,8 +410,8 @@ rasa/dialogue_understanding/generator/multi_step/multi_step_llm_command_generato
|
|
|
411
410
|
rasa/dialogue_understanding/generator/nlu_command_adapter.py,sha256=cisxLlPVQXgbWMAz9xSxBvrOz4HO-f0G3CFVjJ2wt-g,10876
|
|
412
411
|
rasa/dialogue_understanding/generator/prompt_templates/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
413
412
|
rasa/dialogue_understanding/generator/prompt_templates/command_prompt_template.jinja2,sha256=nMayu-heJYH1QmcL1cFmXb8SeiJzfdDR_9Oy5IRUXsM,3937
|
|
414
|
-
rasa/dialogue_understanding/generator/prompt_templates/command_prompt_v2_claude_3_5_sonnet_20240620_template.jinja2,sha256=
|
|
415
|
-
rasa/dialogue_understanding/generator/prompt_templates/command_prompt_v2_gpt_4o_2024_11_20_template.jinja2,sha256=
|
|
413
|
+
rasa/dialogue_understanding/generator/prompt_templates/command_prompt_v2_claude_3_5_sonnet_20240620_template.jinja2,sha256=PgcXX5faOZZaJvggEL3NKt-qR6oTczNGhZ0Jge6PVJ4,3812
|
|
414
|
+
rasa/dialogue_understanding/generator/prompt_templates/command_prompt_v2_gpt_4o_2024_11_20_template.jinja2,sha256=JvirU3zH5yJR6z2UsSGyJ5rMAStXo2fvEhg2FOUT3hQ,4299
|
|
416
415
|
rasa/dialogue_understanding/generator/single_step/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
417
416
|
rasa/dialogue_understanding/generator/single_step/compact_llm_command_generator.py,sha256=jRnc_vp95kR5qkEHyGnq3VGuMxdho88a0KZis96NbWU,21735
|
|
418
417
|
rasa/dialogue_understanding/generator/single_step/single_step_llm_command_generator.py,sha256=cvWsl-hYUgZ_tIQmWjMM1RQwsgRTlZ_osfLaUQiBk-U,4543
|
|
@@ -454,13 +453,14 @@ rasa/dialogue_understanding/utils.py,sha256=s3Y-REFv2HKYGpPS8nCgISQh86SnQgaRA8Ku
|
|
|
454
453
|
rasa/dialogue_understanding_test/README.md,sha256=klUCq_FYd0MkIeyxlwYCfsB9EEsSmXUpTTDTxdR7EPc,17764
|
|
455
454
|
rasa/dialogue_understanding_test/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
456
455
|
rasa/dialogue_understanding_test/command_comparison.py,sha256=LvCZGgZVFpKjWqaZE5OqPClM5xDNdFZQ4FslvNerB7s,1812
|
|
457
|
-
rasa/dialogue_understanding_test/command_metric_calculation.py,sha256=
|
|
456
|
+
rasa/dialogue_understanding_test/command_metric_calculation.py,sha256=cNVJmEjRblNuGfJHaIvRWegsjSLlif4QxmqbTtxNbbM,2940
|
|
457
|
+
rasa/dialogue_understanding_test/command_metrics.py,sha256=yOugD2JitTmarD__Ktf158sFNIQPT1HcdORoewEOqyg,1103
|
|
458
458
|
rasa/dialogue_understanding_test/constants.py,sha256=G63FEzswDUOonTxoXQicEJwI6ICkSx3YP1ILkGH1ijw,790
|
|
459
|
-
rasa/dialogue_understanding_test/du_test_case.py,sha256=
|
|
460
|
-
rasa/dialogue_understanding_test/du_test_result.py,sha256=
|
|
461
|
-
rasa/dialogue_understanding_test/du_test_runner.py,sha256=
|
|
459
|
+
rasa/dialogue_understanding_test/du_test_case.py,sha256=cMlg8V_TQV7yEbEm7Vbcx3tpeVxRxTd3NrB5HWLRcMs,16664
|
|
460
|
+
rasa/dialogue_understanding_test/du_test_result.py,sha256=y9U_w_5aV8bGppmUHWgbNZG-9-TQGOm2xO0w38e1eUo,19457
|
|
461
|
+
rasa/dialogue_understanding_test/du_test_runner.py,sha256=E026hZ0sR0-HqgR-Sr-HWPYYBuk2Af-b0h220RF0bk4,12221
|
|
462
462
|
rasa/dialogue_understanding_test/du_test_schema.yml,sha256=zgIhb6PE8LnoigVmv4NbU3cjSsr2SkGoO-5Xh4Et9KA,4767
|
|
463
|
-
rasa/dialogue_understanding_test/io.py,sha256=
|
|
463
|
+
rasa/dialogue_understanding_test/io.py,sha256=doMboRm9G6KaxmfsOYhsa2iz8zghh4bLMa3XTIV6DC0,16250
|
|
464
464
|
rasa/dialogue_understanding_test/test_case_simulation/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
465
465
|
rasa/dialogue_understanding_test/test_case_simulation/exception.py,sha256=RJV8CfoGKmfpC3d28y7IBKfmcAZSm2Vs6p0GkiCHlcc,1034
|
|
466
466
|
rasa/dialogue_understanding_test/test_case_simulation/test_case_tracker_simulator.py,sha256=ypRPY3ua5wRrIDfXF1hSBsJzAXpu8qlQP9fR9Neb3jY,12965
|
|
@@ -535,7 +535,6 @@ rasa/graph_components/validators/default_recipe_validator.py,sha256=iOVoB7zVTKes
|
|
|
535
535
|
rasa/graph_components/validators/finetuning_validator.py,sha256=VfCGytnweijKBG8bAqYp7zKZB2aRgi2ZI8R0eou5Ev4,12865
|
|
536
536
|
rasa/hooks.py,sha256=5ZMrqNz323w56MMY6E8jeZ_YXgRqq8p-yi18S2XOmbo,4061
|
|
537
537
|
rasa/jupyter.py,sha256=TCYVD4QPQIMmfA6ZwDUBOBTAECwCwbU2XOkosodLO9k,1782
|
|
538
|
-
rasa/keys,sha256=2Stg1fstgJ203cOoW1B2gGMY29fhEnjIfTVxKv_fqPo,101
|
|
539
538
|
rasa/llm_fine_tuning/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
540
539
|
rasa/llm_fine_tuning/annotation_module.py,sha256=6wBBjGwONVlikp79xAHp5g3rydEhPM6kP1bw1g-maYk,8578
|
|
541
540
|
rasa/llm_fine_tuning/conversations.py,sha256=QZVaUsfXe5iIE830Bv-_3oo8luhGfHpirvubxzOoEvA,4116
|
|
@@ -557,9 +556,9 @@ rasa/markers/validate.py,sha256=dZvMTcDK_sji9OP8JY4kUcjeIScLF93C3CKTWK8DplI,708
|
|
|
557
556
|
rasa/model.py,sha256=cAbQXvfZXBKHAj79Z0-mCy29hSSWp2KaroScgDeTfJw,3489
|
|
558
557
|
rasa/model_manager/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
559
558
|
rasa/model_manager/config.py,sha256=FziaDSyDB-qr40pU46QrvfnScviJaqExfQKUezqlroE,1159
|
|
560
|
-
rasa/model_manager/model_api.py,sha256=
|
|
559
|
+
rasa/model_manager/model_api.py,sha256=zACwxiURsJU9BG1lxCRG8eSNwzeNwshlcjRjqvhPYsk,20275
|
|
561
560
|
rasa/model_manager/runner_service.py,sha256=Lw0shswAekncsQcYriGaPPPL4fJhP9ry6XDUMv0buqU,8811
|
|
562
|
-
rasa/model_manager/socket_bridge.py,sha256=
|
|
561
|
+
rasa/model_manager/socket_bridge.py,sha256=wvoWqNwEEIM9sJEtdC_2AzFkMpkAG0CZpf6MA0NZ-2E,5299
|
|
563
562
|
rasa/model_manager/studio_jwt_auth.py,sha256=uls2QiHUlUrR3fOzZssW4UaAMJMfnPMZeV1aDmZIT0E,2645
|
|
564
563
|
rasa/model_manager/trainer_service.py,sha256=kz6OJlFJvfic4wLBChOKe1O0ysBx2rozL1mEALZwvg0,10320
|
|
565
564
|
rasa/model_manager/utils.py,sha256=rS0ST-rJMuZOna90r_Ioz7gOkZ8r8vm4XAhzI0iUZOA,2643
|
|
@@ -663,9 +662,9 @@ rasa/shared/core/flows/yaml_flows_io.py,sha256=85ln95jpkh7ZqDl1cheFa8Q21gnadLjWr
|
|
|
663
662
|
rasa/shared/core/generator.py,sha256=UAuBPu5UjUhL9djVK-PvrWZcNhRACOEgnRsTleV7eeY,35686
|
|
664
663
|
rasa/shared/core/policies/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
665
664
|
rasa/shared/core/policies/utils.py,sha256=rWE_-48Ovc__V7wOKCJ-2lTerVRtN3iRHV4ZvuU2b2g,3070
|
|
666
|
-
rasa/shared/core/slot_mappings.py,sha256=
|
|
667
|
-
rasa/shared/core/slots.py,sha256=
|
|
668
|
-
rasa/shared/core/trackers.py,sha256=
|
|
665
|
+
rasa/shared/core/slot_mappings.py,sha256=t-YAYmZpKTkEfrkZuOkJ1ZPcct29lIZJYmp1SsUgoJA,26410
|
|
666
|
+
rasa/shared/core/slots.py,sha256=2tOpUGLMY3a24zL8pqJ_U38x-h5Du-KpZoNxEGoFOqY,29198
|
|
667
|
+
rasa/shared/core/trackers.py,sha256=KRmahvRNa3M9q8MS-pv8wu8atzo__sh8uHhkSildSsA,45018
|
|
669
668
|
rasa/shared/core/training_data/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
670
669
|
rasa/shared/core/training_data/loading.py,sha256=RCx1uTI9iDejFI_sWg3qPzhjln7-hu78f3EDAT6K0No,2894
|
|
671
670
|
rasa/shared/core/training_data/story_reader/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
@@ -741,7 +740,7 @@ rasa/shared/providers/embedding/openai_embedding_client.py,sha256=XNRGE7apo2v3kW
|
|
|
741
740
|
rasa/shared/providers/llm/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
742
741
|
rasa/shared/providers/llm/_base_litellm_client.py,sha256=NQ_AxENfnUT_cEsshBLPh-4RtsZEVNAT2OaO8X7yQXk,11411
|
|
743
742
|
rasa/shared/providers/llm/azure_openai_llm_client.py,sha256=tMHn0i7-HZb01__CuzKvzSbXAq2dE0Oov4U7qIl74no,14989
|
|
744
|
-
rasa/shared/providers/llm/default_litellm_llm_client.py,sha256=
|
|
743
|
+
rasa/shared/providers/llm/default_litellm_llm_client.py,sha256=mPDehyLxt3Q9fPSyaMArkVAMkMTf5lfSzhgv--pMTt4,4083
|
|
745
744
|
rasa/shared/providers/llm/litellm_router_llm_client.py,sha256=_6vAdPLAVSI_sBJLaXLnE87M-0ip_klfQ78fQ_pyoyI,7947
|
|
746
745
|
rasa/shared/providers/llm/llm_client.py,sha256=-hTCRsL-A3GCMRHtcyCgcCyra-9OJ8GUC-mURoRXH0k,3242
|
|
747
746
|
rasa/shared/providers/llm/llm_response.py,sha256=8mOpZdmh4-3yM7aOmNO0yEYUmRDErfoP7ZDMUuHr2Cc,3504
|
|
@@ -784,7 +783,7 @@ rasa/tracing/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
|
784
783
|
rasa/tracing/config.py,sha256=32X2rqAiHe0e-Iijb5AivjqDs2j03n8xx5mo07NBMI4,12964
|
|
785
784
|
rasa/tracing/constants.py,sha256=-3vlfI9v_D8f-KB5tuiqBHhszu2WofFQOyjKBn28gyg,2889
|
|
786
785
|
rasa/tracing/instrumentation/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
787
|
-
rasa/tracing/instrumentation/attribute_extractors.py,sha256=
|
|
786
|
+
rasa/tracing/instrumentation/attribute_extractors.py,sha256=j7SYENglrzLk_205szODRrwzvXPJlr13YRstqXq4OLs,30638
|
|
788
787
|
rasa/tracing/instrumentation/instrumentation.py,sha256=BPI5OoZFbl90kVJzlKEz-eD8cf-CaX_x1t4V9XBhDKo,53625
|
|
789
788
|
rasa/tracing/instrumentation/intentless_policy_instrumentation.py,sha256=RgixI0FVIzBz19E3onidUpSEwjkAh8paA5_w07PMzFo,4821
|
|
790
789
|
rasa/tracing/instrumentation/metrics.py,sha256=DI_qIS6sz5KYU4QDcPKfnHxKLL_Ma3wV6diH4_vg85c,12051
|
|
@@ -825,9 +824,9 @@ rasa/utils/train_utils.py,sha256=ClJx-6x3-h3Vt6mskacgkcCUJTMXjFPe3zAcy_DfmaU,212
|
|
|
825
824
|
rasa/utils/url_tools.py,sha256=dZ1HGkVdWTJB7zYEdwoDIrEuyX9HE5WsxKKFVsXBLE0,1218
|
|
826
825
|
rasa/utils/yaml.py,sha256=KjbZq5C94ZP7Jdsw8bYYF7HASI6K4-C_kdHfrnPLpSI,2000
|
|
827
826
|
rasa/validator.py,sha256=tAFzUKVbCPRPx0LjCUKY0zSCaX2hgINuaMfK123FCyc,88716
|
|
828
|
-
rasa/version.py,sha256=
|
|
829
|
-
rasa_pro-3.
|
|
830
|
-
rasa_pro-3.
|
|
831
|
-
rasa_pro-3.
|
|
832
|
-
rasa_pro-3.
|
|
833
|
-
rasa_pro-3.
|
|
827
|
+
rasa/version.py,sha256=CTb3VhTeTm5b8Ibwnq3997bF8_O7hvJOtooa6PUiVjU,122
|
|
828
|
+
rasa_pro-3.13.0.dev1.dist-info/METADATA,sha256=UUmzsFTmsGSwQsNa61VPWosSD50EPb8BrWcyNLvjEbI,10625
|
|
829
|
+
rasa_pro-3.13.0.dev1.dist-info/NOTICE,sha256=7HlBoMHJY9CL2GlYSfTQ-PZsVmLmVkYmMiPlTjhuCqA,218
|
|
830
|
+
rasa_pro-3.13.0.dev1.dist-info/WHEEL,sha256=fGIA9gx4Qxk2KDKeNJCbOEwSrmLtjWCwzBz351GyrPQ,88
|
|
831
|
+
rasa_pro-3.13.0.dev1.dist-info/entry_points.txt,sha256=ckJ2SfEyTPgBqj_I6vm_tqY9dZF_LAPJZA335Xp0Q9U,43
|
|
832
|
+
rasa_pro-3.13.0.dev1.dist-info/RECORD,,
|
README.md
DELETED
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
<h1 align="center">Rasa Pro</h1>
|
|
2
|
-
|
|
3
|
-
<div align="center">
|
|
4
|
-
|
|
5
|
-
[](https://sonarcloud.io/summary/new_code?id=RasaHQ_rasa)
|
|
6
|
-
[](https://rasa.com/docs/docs/pro/intro)
|
|
7
|
-

|
|
8
|
-
|
|
9
|
-
</div>
|
|
10
|
-
|
|
11
|
-
<hr />
|
|
12
|
-
|
|
13
|
-
Rasa Pro is a framework for building scalable, dynamic conversational AI assistants that integrate large language models (LLMs) to enable more contextually aware and agentic interactions. Whether you’re new to conversational AI or an experienced developer, Rasa Pro offers enhanced flexibility, control, and performance for mission-critical applications.
|
|
14
|
-
|
|
15
|
-
Building on the foundation of Rasa Open Source, Rasa Pro adds advanced features like CALM (Conversational AI with Language Models) and Dialogue Understanding (DU), which enable developers to shift from traditional intent-driven systems to LLM-based agents. This allows for more robust, responsive interactions that adhere strictly to business logic, while reducing risks like prompt injection and minimizing hallucinations.
|
|
16
|
-
|
|
17
|
-
**Key Features:**
|
|
18
|
-
|
|
19
|
-
- **Flows for Business Logic:** Easily define business logic through Flows, a simplified way to describe how your AI assistant should handle conversations. Flows help streamline the development process, focusing on key tasks and reducing the complexity involved in managing conversations.
|
|
20
|
-
- **Automatic Conversation Repair:** Ensure seamless interactions by automatically handling interruptions or unexpected inputs. Developers have full control to customize these repairs based on specific use cases.
|
|
21
|
-
- **Customizable and Open:** Fully customizable code that allows developers to modify Rasa Pro to meet specific requirements, ensuring flexibility and adaptability to various conversational AI needs.
|
|
22
|
-
- **Robustness and Control:** Maintain strict adherence to business logic, preventing unwanted behaviors like prompt injection and hallucinations, leading to more reliable responses and secure interactions.
|
|
23
|
-
- **Built-in Security:** Safeguard sensitive data, control access, and ensure secure deployment, essential for production environments that demand high levels of security and compliance.
|
|
24
|
-
|
|
25
|
-
A [free developer license](https://rasa.com/docs/pro/intro/#who-rasa-pro-is-for) is available so you can explore and get to know Rasa Pro. It allows you to take your assistant live in production a limited capacity. A paid license is required for larger-scale production use, but all code is visible and can be customized as needed.
|
|
26
|
-
|
|
27
|
-
To get started right now, you can
|
|
28
|
-
|
|
29
|
-
`pip install rasa-pro`
|
|
30
|
-
|
|
31
|
-
Check out our
|
|
32
|
-
|
|
33
|
-
- [Rasa-pro Quickstart](https://rasa.com/docs/learn/quickstart/pro),
|
|
34
|
-
- [Conversational AI with Language Models (CALM) conceptual rundown](https://rasa.com/docs/learn/concepts/calm),
|
|
35
|
-
- [Rasa Pro / CALM tutorial](https://rasa.com/docs/pro/tutorial), and
|
|
36
|
-
- [Rasa pro changelog](https://rasa.com/docs/reference/changelogs/rasa-pro-changelog)
|
|
37
|
-
|
|
38
|
-
for more. Also feel free to reach out to us on the [Rasa forum](https://forum.rasa.com/).
|
rasa/keys
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"segment": "CcvVD1I68Nkkxrv93cIqv1twIwrwG8nz", "sentry": "a283f1fde04347b099c8d729109dd450@o251570"}
|
|
File without changes
|
|
File without changes
|