rasa-pro 3.12.0.dev6__py3-none-any.whl → 3.12.0.dev7__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/core/channels/studio_chat.py +0 -14
- rasa/core/channels/voice_stream/asr/azure.py +1 -1
- rasa/core/channels/voice_stream/tts/azure.py +1 -1
- rasa/core/processor.py +3 -3
- rasa/version.py +1 -1
- {rasa_pro-3.12.0.dev6.dist-info → rasa_pro-3.12.0.dev7.dist-info}/METADATA +2 -2
- {rasa_pro-3.12.0.dev6.dist-info → rasa_pro-3.12.0.dev7.dist-info}/RECORD +10 -10
- {rasa_pro-3.12.0.dev6.dist-info → rasa_pro-3.12.0.dev7.dist-info}/NOTICE +0 -0
- {rasa_pro-3.12.0.dev6.dist-info → rasa_pro-3.12.0.dev7.dist-info}/WHEEL +0 -0
- {rasa_pro-3.12.0.dev6.dist-info → rasa_pro-3.12.0.dev7.dist-info}/entry_points.txt +0 -0
|
@@ -18,8 +18,6 @@ from sanic import Sanic
|
|
|
18
18
|
from rasa.core.channels.socketio import SocketBlueprint, SocketIOInput
|
|
19
19
|
from rasa.hooks import hookimpl
|
|
20
20
|
from rasa.plugin import plugin_manager
|
|
21
|
-
from rasa.shared.core.constants import ACTION_LISTEN_NAME
|
|
22
|
-
from rasa.shared.core.events import ActionExecuted
|
|
23
21
|
from rasa.shared.core.trackers import EventVerbosity
|
|
24
22
|
|
|
25
23
|
if TYPE_CHECKING:
|
|
@@ -171,18 +169,6 @@ class StudioChatInput(SocketIOInput):
|
|
|
171
169
|
# will override an existing tracker with the same id!
|
|
172
170
|
await self.agent.tracker_store.save(tracker)
|
|
173
171
|
|
|
174
|
-
if (
|
|
175
|
-
len(tracker.events) == 0
|
|
176
|
-
or not isinstance(tracker.events[-1], ActionExecuted)
|
|
177
|
-
or tracker.events[-1].action_name != ACTION_LISTEN_NAME
|
|
178
|
-
):
|
|
179
|
-
output_channel = self.get_output_channel()
|
|
180
|
-
await self.agent.processor._run_prediction_loop(output_channel, tracker)
|
|
181
|
-
|
|
182
|
-
await self.agent.processor.run_anonymization_pipeline(tracker)
|
|
183
|
-
|
|
184
|
-
await self.agent.tracker_store.save(tracker)
|
|
185
|
-
|
|
186
172
|
await self.on_tracker_updated(tracker)
|
|
187
173
|
|
|
188
174
|
def blueprint(
|
|
@@ -123,7 +123,7 @@ class AzureASR(ASREngine[AzureASRConfig]):
|
|
|
123
123
|
|
|
124
124
|
@staticmethod
|
|
125
125
|
def get_default_config() -> AzureASRConfig:
|
|
126
|
-
return AzureASRConfig("en-US", "
|
|
126
|
+
return AzureASRConfig("en-US", "eastus")
|
|
127
127
|
|
|
128
128
|
@classmethod
|
|
129
129
|
def from_config_dict(cls, config: Dict) -> "AzureASR":
|
rasa/core/processor.py
CHANGED
|
@@ -205,8 +205,6 @@ class MessageProcessor:
|
|
|
205
205
|
tracker = await self.run_action_extract_slots(
|
|
206
206
|
message.output_channel, tracker
|
|
207
207
|
)
|
|
208
|
-
else:
|
|
209
|
-
tracker = await self.run_command_processor(tracker)
|
|
210
208
|
|
|
211
209
|
await self._run_prediction_loop(message.output_channel, tracker)
|
|
212
210
|
|
|
@@ -685,7 +683,7 @@ class MessageProcessor:
|
|
|
685
683
|
)
|
|
686
684
|
|
|
687
685
|
tracker = await self.run_action_extract_slots(output_channel, tracker)
|
|
688
|
-
|
|
686
|
+
|
|
689
687
|
await self._run_prediction_loop(output_channel, tracker)
|
|
690
688
|
# save tracker state to continue conversation from this state
|
|
691
689
|
await self.save_tracker(tracker)
|
|
@@ -1093,6 +1091,8 @@ class MessageProcessor:
|
|
|
1093
1091
|
# keep taking actions decided by the policy until it chooses to 'listen'
|
|
1094
1092
|
should_predict_another_action = True
|
|
1095
1093
|
|
|
1094
|
+
tracker = await self.run_command_processor(tracker)
|
|
1095
|
+
|
|
1096
1096
|
# action loop. predicts actions until we hit action listen
|
|
1097
1097
|
while should_predict_another_action and self._should_handle_message(tracker):
|
|
1098
1098
|
# this actually just calls the policy's method by the same name
|
rasa/version.py
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: rasa-pro
|
|
3
|
-
Version: 3.12.0.
|
|
3
|
+
Version: 3.12.0.dev7
|
|
4
4
|
Summary: State-of-the-art open-core Conversational AI framework for Enterprises that natively leverages generative AI for effortless assistant development.
|
|
5
5
|
Home-page: https://rasa.com
|
|
6
6
|
Keywords: nlp,machine-learning,machine-learning-library,bot,bots,botkit,rasa conversational-agents,conversational-ai,chatbot,chatbot-framework,bot-framework
|
|
@@ -101,7 +101,7 @@ Requires-Dist: pyyaml (>=6.0)
|
|
|
101
101
|
Requires-Dist: qdrant-client (>=1.9.1,<1.10.0)
|
|
102
102
|
Requires-Dist: questionary (>=1.10.0,<2.1.0)
|
|
103
103
|
Requires-Dist: randomname (>=0.2.1,<0.3.0)
|
|
104
|
-
Requires-Dist: rasa-sdk (==3.
|
|
104
|
+
Requires-Dist: rasa-sdk (==3.12.0.dev2)
|
|
105
105
|
Requires-Dist: redis (>=4.6.0,<6.0)
|
|
106
106
|
Requires-Dist: regex (>=2024.7.24,<2024.8.0)
|
|
107
107
|
Requires-Dist: requests (>=2.32.3,<2.33.0)
|
|
@@ -262,7 +262,7 @@ rasa/core/channels/rest.py,sha256=ShKGmooXphhcDnHyV8TiQhDhj2r7hxTKNQ57FwFfyUA,72
|
|
|
262
262
|
rasa/core/channels/rocketchat.py,sha256=hajaH6549CjEYFM5jSapw1DQKBPKTXbn7cVSuZzknmI,5999
|
|
263
263
|
rasa/core/channels/slack.py,sha256=jVsTTUu9wUjukPoIsAhbee9o0QFUMCNlQHbR8LTcMBc,24406
|
|
264
264
|
rasa/core/channels/socketio.py,sha256=Q7Gts30Ulwj90pQQxaUk4NykzagXErXgbHYwOjTmDig,10842
|
|
265
|
-
rasa/core/channels/studio_chat.py,sha256=
|
|
265
|
+
rasa/core/channels/studio_chat.py,sha256=i3dIDwVXlrjwR9mfXmN7A31tXCmQ-hydlDDpi4Oqwa0,6730
|
|
266
266
|
rasa/core/channels/telegram.py,sha256=-rDxVpW_HS8ARQm4d1VZNd2vovKt-Hs3dbCRdKmEZo4,11827
|
|
267
267
|
rasa/core/channels/twilio.py,sha256=2BTQpyx0b0yPpc0A2BHYfxLPgodrLGLs8nq6i3lVGAM,5906
|
|
268
268
|
rasa/core/channels/vier_cvg.py,sha256=GkrWKu7NRMFtLMyYp-kQ2taWAc_keAwhYrkVPW56iaU,13544
|
|
@@ -276,13 +276,13 @@ rasa/core/channels/voice_stream/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm
|
|
|
276
276
|
rasa/core/channels/voice_stream/asr/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
277
277
|
rasa/core/channels/voice_stream/asr/asr_engine.py,sha256=74h2FcWgeFx3w9to_G3aqstMy2EDs0afmNIXlddUgLQ,3050
|
|
278
278
|
rasa/core/channels/voice_stream/asr/asr_event.py,sha256=QDn8OdeQ-7uBedT6Eqvs8wyR5T4UNHQ32TSMPaRHXwQ,246
|
|
279
|
-
rasa/core/channels/voice_stream/asr/azure.py,sha256=
|
|
279
|
+
rasa/core/channels/voice_stream/asr/azure.py,sha256=_cnljBWxRlZBrWAyTbibTPGqsabQ1sLq_tf-DOSnvM0,5334
|
|
280
280
|
rasa/core/channels/voice_stream/asr/deepgram.py,sha256=TUJr0CuxRka7wCmHlMb9bcOOyOWlRwSFI98VxJXtvzw,5128
|
|
281
281
|
rasa/core/channels/voice_stream/audio_bytes.py,sha256=3V0QQplPD-kVfebaaeVcKgV7pwIJyjnTenujVD3y3sY,340
|
|
282
282
|
rasa/core/channels/voice_stream/browser_audio.py,sha256=P_0Dq6QHuClfu2yNyypJth9JR6gqzjFOqcPrS8f9syw,3784
|
|
283
283
|
rasa/core/channels/voice_stream/call_state.py,sha256=U6rSgL3ITkUnYBu8mWNfUvMQT5sqoxIfFE_ZhsVDME8,765
|
|
284
284
|
rasa/core/channels/voice_stream/tts/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
285
|
-
rasa/core/channels/voice_stream/tts/azure.py,sha256=
|
|
285
|
+
rasa/core/channels/voice_stream/tts/azure.py,sha256=MtWMfqhjNmVtZcmdVvzwCIZM8ZFuCN2tdktT4uaTpXU,3911
|
|
286
286
|
rasa/core/channels/voice_stream/tts/cartesia.py,sha256=aX0T6HSlLxy6DdHyXMcIpCH_Xw22nbEp_KUrn_es6VA,4339
|
|
287
287
|
rasa/core/channels/voice_stream/tts/tts_cache.py,sha256=K4S2d8zWX2h2ylYALp7IdqFSkuTIqLvho--Yt0litb4,850
|
|
288
288
|
rasa/core/channels/voice_stream/tts/tts_engine.py,sha256=JMCWGHxT8QiqKoBeI6F4RX_-Q9EEqG3vUtkgOUnlt-w,1812
|
|
@@ -338,7 +338,7 @@ rasa/core/policies/policy.py,sha256=5SUnPajSTSf8PzB1-jFbQPtsvR-zLN-xkjeotWOxuJc,
|
|
|
338
338
|
rasa/core/policies/rule_policy.py,sha256=EItfUn07JIBLRIbriPKDprsvWq_-xzZTGrlTS2erByA,50730
|
|
339
339
|
rasa/core/policies/ted_policy.py,sha256=0RzIuyrtt4PxLcqQ-bfaExkZvU-TnsMbgmDcwh2SakY,87710
|
|
340
340
|
rasa/core/policies/unexpected_intent_policy.py,sha256=ZXvbswf2NDy00kHmBQcyXa1OVYFyc79HQKrFkQ4gCfM,39609
|
|
341
|
-
rasa/core/processor.py,sha256=
|
|
341
|
+
rasa/core/processor.py,sha256=ZF0T1GLl2AblIPkSuvFlluj58al5Znc02LEzS4XDE80,56737
|
|
342
342
|
rasa/core/run.py,sha256=QsQtIzUnh2wHJU03-ucXGDYTXLYcskEai7AaGw9pMQ8,11452
|
|
343
343
|
rasa/core/secrets_manager/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
344
344
|
rasa/core/secrets_manager/constants.py,sha256=dTDHenvG1JBVi34QIR6FpdO5RDOXQwAjAxLlgJ2ZNEI,1193
|
|
@@ -801,9 +801,9 @@ rasa/utils/train_utils.py,sha256=ClJx-6x3-h3Vt6mskacgkcCUJTMXjFPe3zAcy_DfmaU,212
|
|
|
801
801
|
rasa/utils/url_tools.py,sha256=dZ1HGkVdWTJB7zYEdwoDIrEuyX9HE5WsxKKFVsXBLE0,1218
|
|
802
802
|
rasa/utils/yaml.py,sha256=KjbZq5C94ZP7Jdsw8bYYF7HASI6K4-C_kdHfrnPLpSI,2000
|
|
803
803
|
rasa/validator.py,sha256=Uh5R1JDmIRl0aNprh9FfHND8UKiNJTNYBrMdBDVxEFM,67516
|
|
804
|
-
rasa/version.py,sha256=
|
|
805
|
-
rasa_pro-3.12.0.
|
|
806
|
-
rasa_pro-3.12.0.
|
|
807
|
-
rasa_pro-3.12.0.
|
|
808
|
-
rasa_pro-3.12.0.
|
|
809
|
-
rasa_pro-3.12.0.
|
|
804
|
+
rasa/version.py,sha256=ZidWAktMLMvwbHEMlVU7E2f6M0gBaoHOhrxbP9X0u-g,122
|
|
805
|
+
rasa_pro-3.12.0.dev7.dist-info/METADATA,sha256=YNfDp8Z3qUiOSQ4He_M5ddASCrUenlBybBk7LTv3XEE,10730
|
|
806
|
+
rasa_pro-3.12.0.dev7.dist-info/NOTICE,sha256=7HlBoMHJY9CL2GlYSfTQ-PZsVmLmVkYmMiPlTjhuCqA,218
|
|
807
|
+
rasa_pro-3.12.0.dev7.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
|
|
808
|
+
rasa_pro-3.12.0.dev7.dist-info/entry_points.txt,sha256=ckJ2SfEyTPgBqj_I6vm_tqY9dZF_LAPJZA335Xp0Q9U,43
|
|
809
|
+
rasa_pro-3.12.0.dev7.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|