rasa-pro 3.10.7.dev2__py3-none-any.whl → 3.10.7.dev3__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.

@@ -37,7 +37,11 @@ class SocketBlueprint(Blueprint):
37
37
  :param options: Options to be used while registering the
38
38
  blueprint into the app.
39
39
  """
40
- self.ctx.sio.attach(app, self.ctx.socketio_path)
40
+ if self.ctx.socketio_path:
41
+ path = self.ctx.socketio_path
42
+ else:
43
+ path = options.get("url_prefix", "/socket.io")
44
+ self.ctx.sio.attach(app, path)
41
45
  super().register(app, options)
42
46
 
43
47
 
@@ -2,7 +2,7 @@ import asyncio
2
2
  import os
3
3
  from typing import Any, Dict, Optional
4
4
  import dotenv
5
- from sanic import Sanic, response
5
+ from sanic import Blueprint, Sanic, response
6
6
  from sanic.response import json
7
7
  from sanic.exceptions import NotFound
8
8
  from sanic.request import Request
@@ -35,12 +35,6 @@ dotenv.load_dotenv()
35
35
 
36
36
  structlogger = structlog.get_logger()
37
37
 
38
- # configure the sanice application
39
- app = Sanic("RasaManager")
40
- # attach the socketio server to the sanic app
41
- sio = AsyncServer(async_mode="sanic", cors_allowed_origins=[])
42
- sio.attach(app, "/socket.io")
43
-
44
38
 
45
39
  # A simple in-memory store for training sessions and running bots
46
40
  trainings: Dict[str, TrainingSession] = {}
@@ -138,295 +132,302 @@ async def continuously_update_process_status() -> None:
138
132
  await asyncio.sleep(1)
139
133
 
140
134
 
141
- @app.before_server_stop
142
- async def cleanup_processes(app: Sanic, loop: asyncio.AbstractEventLoop) -> None:
143
- """Terminate all running processes before the server stops."""
144
- structlogger.debug("model_api.cleanup_processes.started")
145
- cleanup_training_processes()
146
- cleanup_bot_processes()
135
+ def internal_blueprint() -> Blueprint:
136
+ """Create a blueprint for the model manager API."""
137
+ bp = Blueprint("model_api_internal")
147
138
 
139
+ @bp.before_server_stop
140
+ async def cleanup_processes(app: Sanic, loop: asyncio.AbstractEventLoop) -> None:
141
+ """Terminate all running processes before the server stops."""
142
+ structlogger.debug("model_api.cleanup_processes.started")
143
+ cleanup_training_processes()
144
+ cleanup_bot_processes()
148
145
 
149
- @app.get("/")
150
- async def health(request: Request) -> response.HTTPResponse:
151
- return json(
152
- {
153
- "status": "ok",
154
- "bots": [
155
- {
156
- "deployment_id": bot.deployment_id,
157
- "status": bot.status,
158
- "internal_url": bot.internal_url,
159
- "url": bot.url,
160
- }
161
- for bot in running_bots.values()
162
- ],
163
- "trainings": [
146
+ @bp.get("/")
147
+ async def health(request: Request) -> response.HTTPResponse:
148
+ return json(
149
+ {
150
+ "status": "ok",
151
+ "bots": [
152
+ {
153
+ "deployment_id": bot.deployment_id,
154
+ "status": bot.status,
155
+ "internal_url": bot.internal_url,
156
+ "url": bot.url,
157
+ }
158
+ for bot in running_bots.values()
159
+ ],
160
+ "trainings": [
161
+ {
162
+ "training_id": training.training_id,
163
+ "assistant_id": training.assistant_id,
164
+ "client_id": training.client_id,
165
+ "progress": training.progress,
166
+ "status": training.status,
167
+ }
168
+ for training in trainings.values()
169
+ ],
170
+ }
171
+ )
172
+
173
+ @bp.get("/training")
174
+ async def get_training_list(request: Request) -> response.HTTPResponse:
175
+ """Return a list of all training sessions for an assistant."""
176
+ assistant_id = request.args.get("assistant_id")
177
+ sessions = [
178
+ {
179
+ "training_id": session.training_id,
180
+ "assistant_id": session.assistant_id,
181
+ "client_id": session.client_id,
182
+ "training_runtime": "self",
183
+ "status": session.status,
184
+ "bot_config": None,
185
+ "logs": None,
186
+ "metadata": None,
187
+ "model": None,
188
+ "runtime_metadata": None,
189
+ }
190
+ for session in trainings.values()
191
+ if session.assistant_id == assistant_id
192
+ ]
193
+ return json({"training_sessions": sessions, "total_number": len(sessions)})
194
+
195
+ @bp.post("/training")
196
+ async def start_training(request: Request) -> response.HTTPResponse:
197
+ """Start a new training session."""
198
+ data = request.json
199
+ training_id: Optional[str] = data.get("id")
200
+ assistant_id: Optional[str] = data.get("assistant_id")
201
+ client_id: Optional[str] = data.get("client_id")
202
+
203
+ if training_id in trainings:
204
+ # fail, because there apparently is already a training with this id
205
+ return json({"message": "Training with this id already exists"}, status=409)
206
+
207
+ if not assistant_id:
208
+ return json({"message": "Assistant id is required"}, status=400)
209
+
210
+ if not training_id:
211
+ return json({"message": "Training id is required"}, status=400)
212
+
213
+ try:
214
+ training_session = run_training(
215
+ training_id=training_id,
216
+ assistant_id=assistant_id,
217
+ client_id=client_id,
218
+ data=data,
219
+ )
220
+ trainings[training_id] = training_session
221
+ return json({"training_id": training_id})
222
+ except Exception as e:
223
+ return json({"message": str(e)}, status=500)
224
+
225
+ @bp.get("/training/<training_id>")
226
+ async def get_training(request: Request, training_id: str) -> response.HTTPResponse:
227
+ """Return the status of a training session."""
228
+ if training := trainings.get(training_id):
229
+ return json(
164
230
  {
165
- "training_id": training.training_id,
231
+ "training_id": training_id,
166
232
  "assistant_id": training.assistant_id,
167
233
  "client_id": training.client_id,
168
234
  "progress": training.progress,
169
235
  "status": training.status,
170
236
  }
171
- for training in trainings.values()
172
- ],
173
- }
174
- )
175
-
237
+ )
238
+ else:
239
+ return json({"message": "Training not found"}, status=404)
240
+
241
+ @bp.delete("/training/<training_id>")
242
+ async def stop_training(
243
+ request: Request, training_id: str
244
+ ) -> response.HTTPResponse:
245
+ # this is a no-op if the training is already done
246
+ if not (training := trainings.get(training_id)):
247
+ return json({"message": "Training session not found"}, status=404)
176
248
 
177
- @app.get("/training")
178
- async def get_training_list(request: Request) -> response.HTTPResponse:
179
- """Return a list of all training sessions for an assistant."""
180
- assistant_id = request.args.get("assistant_id")
181
- sessions = [
182
- {
183
- "training_id": session.training_id,
184
- "assistant_id": session.assistant_id,
185
- "client_id": session.client_id,
186
- "training_runtime": "self",
187
- "status": session.status,
188
- "bot_config": None,
189
- "logs": None,
190
- "metadata": None,
191
- "model": None,
192
- "runtime_metadata": None,
193
- }
194
- for session in trainings.values()
195
- if session.assistant_id == assistant_id
196
- ]
197
- return json({"training_sessions": sessions, "total_number": len(sessions)})
198
-
199
-
200
- @app.post("/training")
201
- async def start_training(request: Request) -> response.HTTPResponse:
202
- """Start a new training session."""
203
- data = request.json
204
- training_id: Optional[str] = data.get("id")
205
- assistant_id: Optional[str] = data.get("assistant_id")
206
- client_id: Optional[str] = data.get("client_id")
207
-
208
- if training_id in trainings:
209
- # fail, because there apparently is already a training with this id
210
- return json({"message": "Training with this id already exists"}, status=409)
211
-
212
- if not assistant_id:
213
- return json({"message": "Assistant id is required"}, status=400)
214
-
215
- if not training_id:
216
- return json({"message": "Training id is required"}, status=400)
217
-
218
- try:
219
- training_session = run_training(
220
- training_id=training_id,
221
- assistant_id=assistant_id,
222
- client_id=client_id,
223
- data=data,
224
- )
225
- trainings[training_id] = training_session
249
+ terminate_training(training)
226
250
  return json({"training_id": training_id})
227
- except Exception as e:
228
- return json({"message": str(e)}, status=500)
229
-
230
251
 
231
- @app.get("/training/<training_id>")
232
- async def get_training(request: Request, training_id: str) -> response.HTTPResponse:
233
- """Return the status of a training session."""
234
- if training := trainings.get(training_id):
235
- return json(
236
- {
237
- "training_id": training_id,
238
- "assistant_id": training.assistant_id,
239
- "client_id": training.client_id,
240
- "progress": training.progress,
241
- "status": training.status,
242
- }
243
- )
244
- else:
245
- return json({"message": "Training not found"}, status=404)
246
-
247
-
248
- @app.delete("/training/<training_id>")
249
- async def stop_training(request: Request, training_id: str) -> response.HTTPResponse:
250
- # this is a no-op if the training is already done
251
- if not (training := trainings.get(training_id)):
252
- return json({"message": "Training session not found"}, status=404)
253
-
254
- terminate_training(training)
255
- return json({"training_id": training_id})
256
-
257
-
258
- @app.get("/training/<training_id>/download_url")
259
- async def get_training_download_url(
260
- request: Request, training_id: str
261
- ) -> response.HTTPResponse:
262
- # Provide a URL for downloading the training log
263
- # check object key that is passed in as a query parameter
264
- key = request.args.get("object_key")
265
- if "model.tar.gz" in key:
266
- return get_training_model_url(request, training_id)
267
- return get_log_url(request, training_id)
252
+ @bp.get("/training/<training_id>/download_url")
253
+ async def get_training_download_url(
254
+ request: Request, training_id: str
255
+ ) -> response.HTTPResponse:
256
+ # Provide a URL for downloading the training log
257
+ # check object key that is passed in as a query parameter
258
+ key = request.args.get("object_key")
259
+ if "model.tar.gz" in key:
260
+ return get_training_model_url(request, training_id)
261
+ return get_log_url(request, training_id)
262
+
263
+ @bp.post("/bot")
264
+ async def start_bot(request: Request) -> response.HTTPResponse:
265
+ data = request.json
266
+ deployment_id: Optional[str] = data.get("deployment_id")
267
+ assumed_model_path: Optional[str] = data.get("model_path")
268
+
269
+ if deployment_id in running_bots:
270
+ # fail, because there apparently is already a bot running with this id
271
+ return json(
272
+ {"message": "Bot with this deployment id already exists"}, status=409
273
+ )
274
+
275
+ if not deployment_id:
276
+ return json({"message": "Deployment id is required"}, status=400)
277
+
278
+ if not assumed_model_path:
279
+ return json({"message": "Model path is required"}, status=400)
280
+
281
+ training_id = assumed_model_path.split("/")[-3]
282
+ training_base_path = train_path(training_id)
283
+ if not os.path.exists(f"{training_base_path}/models"):
284
+ return json(
285
+ {"message": "Model not found, for the given training id"},
286
+ status=404,
287
+ )
288
+
289
+ base_url_path = base_server_url(request)
290
+ try:
291
+ bot_session = run_bot(deployment_id, training_base_path, base_url_path)
292
+ running_bots[deployment_id] = bot_session
293
+ return json(
294
+ {
295
+ "deployment_id": deployment_id,
296
+ "status": bot_session.status,
297
+ "url": bot_session.url,
298
+ }
299
+ )
300
+ except Exception as e:
301
+ return json({"message": str(e)}, status=500)
268
302
 
303
+ @bp.delete("/bot/<deployment_id>")
304
+ async def stop_bot(request: Request, deployment_id: str) -> response.HTTPResponse:
305
+ bot = running_bots.get(deployment_id)
306
+ if bot is None:
307
+ return json({"message": "Bot not found"}, status=404)
269
308
 
270
- @app.post("/bot")
271
- async def start_bot(request: Request) -> response.HTTPResponse:
272
- data = request.json
273
- deployment_id: Optional[str] = data.get("deployment_id")
274
- assumed_model_path: Optional[str] = data.get("model_path")
309
+ terminate_bot(bot)
275
310
 
276
- if deployment_id in running_bots:
277
- # fail, because there apparently is already a bot running with this id
278
311
  return json(
279
- {"message": "Bot with this deployment id already exists"}, status=409
312
+ {"deployment_id": deployment_id, "status": bot.status, "url": bot.url}
280
313
  )
281
314
 
282
- if not deployment_id:
283
- return json({"message": "Deployment id is required"}, status=400)
284
-
285
- if not assumed_model_path:
286
- return json({"message": "Model path is required"}, status=400)
287
-
288
- training_id = assumed_model_path.split("/")[-3]
289
- training_base_path = train_path(training_id)
290
- if not os.path.exists(f"{training_base_path}/models"):
291
- return json(
292
- {"message": "Model not found, for the given training id"},
293
- status=404,
294
- )
315
+ @bp.get("/bot/<deployment_id>")
316
+ async def get_bot(request: Request, deployment_id: str) -> response.HTTPResponse:
317
+ bot = running_bots.get(deployment_id)
318
+ if bot is None:
319
+ return json({"message": "Bot not found"}, status=404)
295
320
 
296
- base_url_path = base_server_url(request)
297
- try:
298
- bot_session = run_bot(deployment_id, training_base_path, base_url_path)
299
- running_bots[deployment_id] = bot_session
300
321
  return json(
301
322
  {
302
323
  "deployment_id": deployment_id,
303
- "status": bot_session.status,
304
- "url": bot_session.url,
324
+ "status": bot.status,
325
+ "url": bot.url,
305
326
  }
306
327
  )
307
- except Exception as e:
308
- return json({"message": str(e)}, status=500)
309
-
310
-
311
- @app.delete("/bot/<deployment_id>")
312
- async def stop_bot(request: Request, deployment_id: str) -> response.HTTPResponse:
313
- bot = running_bots.get(deployment_id)
314
- if bot is None:
315
- return json({"message": "Bot not found"}, status=404)
316
-
317
- terminate_bot(bot)
318
328
 
319
- return json({"deployment_id": deployment_id, "status": bot.status, "url": bot.url})
320
-
321
-
322
- @app.get("/bot/<deployment_id>")
323
- async def get_bot(request: Request, deployment_id: str) -> response.HTTPResponse:
324
- bot = running_bots.get(deployment_id)
325
- if bot is None:
326
- return json({"message": "Bot not found"}, status=404)
327
-
328
- return json(
329
- {
330
- "deployment_id": deployment_id,
331
- "status": bot.status,
332
- "url": bot.url,
333
- }
334
- )
335
-
336
-
337
- @app.get("/bot/<deployment_id>/download_url")
338
- async def get_bot_download_url(
339
- request: Request, deployment_id: str
340
- ) -> response.HTTPResponse:
341
- return get_log_url(request, deployment_id)
342
-
343
-
344
- @app.get("/bot/<deployment_id>/logs")
345
- async def get_bot_logs(request: Request, deployment_id: str) -> response.HTTPResponse:
346
- return get_log_url(request, deployment_id)
347
-
348
-
349
- @app.get("/bot")
350
- async def list_bots(request: Request) -> response.HTTPResponse:
351
- bots = [
352
- {
353
- "deployment_id": bot.deployment_id,
354
- "status": bot.status,
355
- "url": bot.url,
356
- }
357
- for bot in running_bots.values()
358
- ]
359
- return json({"deployment_sessions": bots, "total_number": len(bots)})
360
-
361
-
362
- @app.route("/logs/<path:path>")
363
- async def get_training_logs(request: Request, path: str) -> response.HTTPResponse:
364
- try:
365
- headers = {"Content-Disposition": 'attachment; filename="log.txt"'}
366
- return await response.file(
367
- os.path.join(logs_base_path(), path), headers=headers
368
- )
369
- except NotFound:
370
- return json({"message": "Log not found"}, status=404)
371
-
372
-
373
- @app.route("/models/<path:path>")
374
- async def send_model(request: Request, path: str) -> response.HTTPResponse:
375
- try:
376
- return await response.file(models_path(path))
377
- except NotFound:
378
- return json({"message": "Model not found"}, status=404)
379
-
380
-
381
- @sio.on("connect")
382
- async def socketio_websocket_traffic(
383
- sid: str, environ: Dict, auth: Optional[Dict]
384
- ) -> bool:
385
- """Bridge websockets between user chat socket and bot server."""
386
- structlogger.debug("model_runner.user_connected", sid=sid)
387
- deployment_id = auth.get("deployment_id") if auth else None
388
-
389
- if deployment_id is None:
390
- structlogger.error("model_runner.bot_no_deployment_id", sid=sid)
391
- return False
392
-
393
- bot = running_bots.get(deployment_id)
394
- if bot is None:
395
- structlogger.error("model_runner.bot_not_found", deployment_id=deployment_id)
396
- return False
397
-
398
- client = await create_bridge_client(sio, bot.internal_url, sid, deployment_id)
399
-
400
- if client.sid is not None:
401
- structlogger.debug(
402
- "model_runner.bot_connection_established", deployment_id=deployment_id
403
- )
404
- socket_proxy_clients[sid] = client
405
- return True
406
- else:
407
- structlogger.error(
408
- "model_runner.bot_connection_failed", deployment_id=deployment_id
409
- )
410
- return False
411
-
412
-
413
- @sio.on("disconnect")
414
- async def disconnect(sid: str) -> None:
415
- structlogger.debug("model_runner.bot_disconnect", sid=sid)
416
- if sid in socket_proxy_clients:
417
- await socket_proxy_clients[sid].disconnect()
418
- del socket_proxy_clients[sid]
419
-
420
-
421
- @sio.on("*")
422
- async def handle_message(event: str, sid: str, data: Dict[str, Any]) -> None:
423
- # bridge both, incoming messages to the bot_url but also
424
- # send the response back to the client. both need to happen
425
- # in parallel in an async way
426
-
427
- client = socket_proxy_clients.get(sid)
428
- if client is None:
429
- structlogger.error("model_runner.bot_not_connected", sid=sid)
430
- return
431
-
432
- await client.emit(event, data)
329
+ @bp.get("/bot/<deployment_id>/download_url")
330
+ async def get_bot_download_url(
331
+ request: Request, deployment_id: str
332
+ ) -> response.HTTPResponse:
333
+ return get_log_url(request, deployment_id)
334
+
335
+ @bp.get("/bot/<deployment_id>/logs")
336
+ async def get_bot_logs(
337
+ request: Request, deployment_id: str
338
+ ) -> response.HTTPResponse:
339
+ return get_log_url(request, deployment_id)
340
+
341
+ @bp.get("/bot")
342
+ async def list_bots(request: Request) -> response.HTTPResponse:
343
+ bots = [
344
+ {
345
+ "deployment_id": bot.deployment_id,
346
+ "status": bot.status,
347
+ "url": bot.url,
348
+ }
349
+ for bot in running_bots.values()
350
+ ]
351
+ return json({"deployment_sessions": bots, "total_number": len(bots)})
352
+
353
+ return bp
354
+
355
+
356
+ def external_blueprint() -> Blueprint:
357
+ """Create a blueprint for the model manager API."""
358
+ from rasa.core.channels.socketio import SocketBlueprint
359
+
360
+ sio = AsyncServer(async_mode="sanic", cors_allowed_origins=[])
361
+ bp = SocketBlueprint(sio, "", "model_api_external")
362
+
363
+ @bp.route("/logs/<path:path>")
364
+ async def get_training_logs(request: Request, path: str) -> response.HTTPResponse:
365
+ try:
366
+ headers = {"Content-Disposition": 'attachment; filename="log.txt"'}
367
+ return await response.file(
368
+ os.path.join(logs_base_path(), path), headers=headers
369
+ )
370
+ except NotFound:
371
+ return json({"message": "Log not found"}, status=404)
372
+
373
+ @bp.route("/models/<path:path>")
374
+ async def send_model(request: Request, path: str) -> response.HTTPResponse:
375
+ try:
376
+ return await response.file(models_path(path))
377
+ except NotFound:
378
+ return json({"message": "Model not found"}, status=404)
379
+
380
+ @sio.on("connect")
381
+ async def socketio_websocket_traffic(
382
+ sid: str, environ: Dict, auth: Optional[Dict]
383
+ ) -> bool:
384
+ """Bridge websockets between user chat socket and bot server."""
385
+ structlogger.debug("model_runner.user_connected", sid=sid)
386
+ deployment_id = auth.get("deployment_id") if auth else None
387
+
388
+ if deployment_id is None:
389
+ structlogger.error("model_runner.bot_no_deployment_id", sid=sid)
390
+ return False
391
+
392
+ bot = running_bots.get(deployment_id)
393
+ if bot is None:
394
+ structlogger.error(
395
+ "model_runner.bot_not_found", deployment_id=deployment_id
396
+ )
397
+ return False
398
+
399
+ client = await create_bridge_client(sio, bot.internal_url, sid, deployment_id)
400
+
401
+ if client.sid is not None:
402
+ structlogger.debug(
403
+ "model_runner.bot_connection_established", deployment_id=deployment_id
404
+ )
405
+ socket_proxy_clients[sid] = client
406
+ return True
407
+ else:
408
+ structlogger.error(
409
+ "model_runner.bot_connection_failed", deployment_id=deployment_id
410
+ )
411
+ return False
412
+
413
+ @sio.on("disconnect")
414
+ async def disconnect(sid: str) -> None:
415
+ structlogger.debug("model_runner.bot_disconnect", sid=sid)
416
+ if sid in socket_proxy_clients:
417
+ await socket_proxy_clients[sid].disconnect()
418
+ del socket_proxy_clients[sid]
419
+
420
+ @sio.on("*")
421
+ async def handle_message(event: str, sid: str, data: Dict[str, Any]) -> None:
422
+ # bridge both, incoming messages to the bot_url but also
423
+ # send the response back to the client. both need to happen
424
+ # in parallel in an async way
425
+
426
+ client = socket_proxy_clients.get(sid)
427
+ if client is None:
428
+ structlogger.error("model_runner.bot_not_connected", sid=sid)
429
+ return
430
+
431
+ await client.emit(event, data)
432
+
433
+ return bp
rasa/model_service.py CHANGED
@@ -1,9 +1,12 @@
1
1
  import os
2
2
  import logging
3
3
 
4
+ from sanic import Sanic
4
5
  import structlog
5
6
 
7
+ from rasa.core.utils import list_routes
6
8
  from rasa.model_manager import model_api
9
+ from rasa.model_manager.config import SERVER_BASE_URL
7
10
  from rasa.utils.common import configure_logging_and_warnings
8
11
  import rasa.utils.licensing
9
12
 
@@ -12,6 +15,16 @@ structlogger = structlog.get_logger()
12
15
  MODEL_SERVICE_PORT = 8000
13
16
 
14
17
 
18
+ def url_prefix_from_base_url() -> str:
19
+ """Return the path prefix from the base URL."""
20
+ if SERVER_BASE_URL:
21
+ from urllib.parse import urlparse
22
+
23
+ return urlparse(SERVER_BASE_URL).path
24
+
25
+ return ""
26
+
27
+
15
28
  def main() -> None:
16
29
  """Start the Rasa Model Manager server.
17
30
 
@@ -36,8 +49,17 @@ def main() -> None:
36
49
  structlogger.debug("model_training.starting_server", port=MODEL_SERVICE_PORT)
37
50
  structlogger.debug("model_running.starting_server", port=MODEL_SERVICE_PORT)
38
51
 
39
- model_api.app.add_task(model_api.continuously_update_process_status)
40
- model_api.app.run(host="0.0.0.0", port=MODEL_SERVICE_PORT, legacy=True)
52
+ url_prefix = url_prefix_from_base_url()
53
+ # configure the sanice application
54
+ app = Sanic("RasaModelService")
55
+ app.add_task(model_api.continuously_update_process_status)
56
+ app.blueprint(model_api.external_blueprint(), url_prefix=url_prefix)
57
+ app.blueprint(model_api.internal_blueprint())
58
+
59
+ # list all routes
60
+ list_routes(app)
61
+
62
+ app.run(host="0.0.0.0", port=MODEL_SERVICE_PORT, legacy=True)
41
63
 
42
64
 
43
65
  if __name__ == "__main__":
rasa/version.py CHANGED
@@ -1,3 +1,3 @@
1
1
  # this file will automatically be changed,
2
2
  # do not add anything but the version number here!
3
- __version__ = "3.10.7.dev2"
3
+ __version__ = "3.10.7.dev3"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: rasa-pro
3
- Version: 3.10.7.dev2
3
+ Version: 3.10.7.dev3
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
@@ -251,7 +251,7 @@ rasa/core/channels/rasa_chat.py,sha256=XGZ7QLyQHhB-m7EjetDNEBSjAa2mEFqU-e-FuS9z3
251
251
  rasa/core/channels/rest.py,sha256=zeUAKr0UyeJVt_UFfri7GAYcGzTdG-mBwwN3zLVzjpc,7129
252
252
  rasa/core/channels/rocketchat.py,sha256=HWOMxXLuwadYEYIMMP-z6RqAJzMGZDLklpgqLOipXF0,5998
253
253
  rasa/core/channels/slack.py,sha256=3b8OZQ_gih5XBwhQ1q4BbBUC1SCAPaO9AoJEn2NaoQE,24405
254
- rasa/core/channels/socketio.py,sha256=k0b6aWE8gqhXBaLN7Sa5qaxqrWEFqf95ZeN-fX9bhPA,10675
254
+ rasa/core/channels/socketio.py,sha256=Lo342YwWm2O5PciEUXAXA3NRJQ5yi3ZXosRXItyzsc4,10807
255
255
  rasa/core/channels/telegram.py,sha256=XvzU7KAgjmRcu2vUJ-5L2eYAAuYBqtcYlhq1Jo6kLns,10649
256
256
  rasa/core/channels/twilio.py,sha256=c63uFLVKaK4Fj8MAn9BSQtxiV_Ezq4POezHo8zWIoiw,5938
257
257
  rasa/core/channels/twilio_voice.py,sha256=SrtNZOk3Yuk_QuUk45Hadj3PGvmwD0jeSzF90GbiUV0,13244
@@ -484,12 +484,12 @@ rasa/markers/validate.py,sha256=YypXKRS87xxrMMEz9HpAQzYJUwg0OPbczMXBRNjlJq4,709
484
484
  rasa/model.py,sha256=GH1-N6Po3gL3nwfa9eGoN2bMRNMrn4f3mi17-osW3T0,3491
485
485
  rasa/model_manager/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
486
486
  rasa/model_manager/config.py,sha256=LCzRoV78bLX_FREW7hfQLsQepupoTs1m-CnK3u_D01s,349
487
- rasa/model_manager/model_api.py,sha256=Eoq6TBjYaqB-9arLIH1Uz_pb7ZagQ8qYDkUAx6DDARE,13926
487
+ rasa/model_manager/model_api.py,sha256=_rj1VfYRbFj7TbPG1mryR_SVXLgTu6gVfXAiEdbbqwM,15187
488
488
  rasa/model_manager/runner_service.py,sha256=aMupR7t0EEy2yOGT5cR_6kluApnwOiiGkjyIVYxdsMk,5553
489
489
  rasa/model_manager/socket_bridge.py,sha256=f-dhsV8xYaENXVZT5OOzkMdpSPPPxFEzsQqNJAuktxQ,1390
490
490
  rasa/model_manager/trainer_service.py,sha256=7LP_EsLQt-P2oqO1AgqbgIcTC515eCW58BamDkDjJjw,7856
491
491
  rasa/model_manager/utils.py,sha256=-DJUcgRiyQZsszlOYlww-OGaAof8CIopbsOxZmeZ9NY,819
492
- rasa/model_service.py,sha256=ZULb8jJHPQYIWtMVv5cCYExJdBnAFs4Wv89p1bVGzqo,1212
492
+ rasa/model_service.py,sha256=x6vFrxc_VH8dh1I5Tkw2cbUimbqoxpiFQKpcem9tSg8,1818
493
493
  rasa/model_testing.py,sha256=h0QUpJu6p_TDse3aHjCfYwI6OGH47b3Iuo5Ot0HQADM,14959
494
494
  rasa/model_training.py,sha256=sFdrizWu8JZZDGrMjI6_0OaY9dK-msOShWpgOOCGZzg,20601
495
495
  rasa/nlu/__init__.py,sha256=D0IYuTK_ZQ_F_9xsy0bXxVCAtU62Fzvp8S7J9tmfI_c,123
@@ -727,9 +727,9 @@ rasa/utils/train_utils.py,sha256=f1NWpp5y6al0dzoQyyio4hc4Nf73DRoRSHDzEK6-C4E,212
727
727
  rasa/utils/url_tools.py,sha256=JQcHL2aLqLHu82k7_d9imUoETCm2bmlHaDpOJ-dKqBc,1218
728
728
  rasa/utils/yaml.py,sha256=KjbZq5C94ZP7Jdsw8bYYF7HASI6K4-C_kdHfrnPLpSI,2000
729
729
  rasa/validator.py,sha256=HM0ZIWjo3JRt2FMIfgNI_s932OABOSXkflm-rFTNkvY,62608
730
- rasa/version.py,sha256=_xRWomNdCH1OVLVcaYC_a-LVDeKGrYo4iDznhzakf3k,122
731
- rasa_pro-3.10.7.dev2.dist-info/METADATA,sha256=exaKQ2A81Kk0kydkgvN3ipZyApPtmatZ96AU2LhlpIo,28217
732
- rasa_pro-3.10.7.dev2.dist-info/NOTICE,sha256=7HlBoMHJY9CL2GlYSfTQ-PZsVmLmVkYmMiPlTjhuCqA,218
733
- rasa_pro-3.10.7.dev2.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
734
- rasa_pro-3.10.7.dev2.dist-info/entry_points.txt,sha256=ckJ2SfEyTPgBqj_I6vm_tqY9dZF_LAPJZA335Xp0Q9U,43
735
- rasa_pro-3.10.7.dev2.dist-info/RECORD,,
730
+ rasa/version.py,sha256=DlTtggo2Cpv3vfmdgNMdjJQ8QS2-yQJIFm9LME4uBLY,122
731
+ rasa_pro-3.10.7.dev3.dist-info/METADATA,sha256=JUZzFADQy5AKkpzwfIMNb2968TjBMJDEpzRFeFklz6A,28217
732
+ rasa_pro-3.10.7.dev3.dist-info/NOTICE,sha256=7HlBoMHJY9CL2GlYSfTQ-PZsVmLmVkYmMiPlTjhuCqA,218
733
+ rasa_pro-3.10.7.dev3.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
734
+ rasa_pro-3.10.7.dev3.dist-info/entry_points.txt,sha256=ckJ2SfEyTPgBqj_I6vm_tqY9dZF_LAPJZA335Xp0Q9U,43
735
+ rasa_pro-3.10.7.dev3.dist-info/RECORD,,