rasa-sdk 3.14.0.dev2__tar.gz → 3.14.0.dev3__tar.gz
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.
- {rasa_sdk-3.14.0.dev2 → rasa_sdk-3.14.0.dev3}/PKG-INFO +10 -11
- {rasa_sdk-3.14.0.dev2 → rasa_sdk-3.14.0.dev3}/pyproject.toml +10 -10
- {rasa_sdk-3.14.0.dev2 → rasa_sdk-3.14.0.dev3}/rasa_sdk/grpc_py/action_webhook_pb2.py +14 -4
- {rasa_sdk-3.14.0.dev2 → rasa_sdk-3.14.0.dev3}/rasa_sdk/grpc_py/action_webhook_pb2_grpc.py +49 -8
- {rasa_sdk-3.14.0.dev2 → rasa_sdk-3.14.0.dev3}/rasa_sdk/version.py +1 -1
- {rasa_sdk-3.14.0.dev2 → rasa_sdk-3.14.0.dev3}/LICENSE.txt +0 -0
- {rasa_sdk-3.14.0.dev2 → rasa_sdk-3.14.0.dev3}/README.md +0 -0
- {rasa_sdk-3.14.0.dev2 → rasa_sdk-3.14.0.dev3}/rasa_sdk/__init__.py +0 -0
- {rasa_sdk-3.14.0.dev2 → rasa_sdk-3.14.0.dev3}/rasa_sdk/__main__.py +0 -0
- {rasa_sdk-3.14.0.dev2 → rasa_sdk-3.14.0.dev3}/rasa_sdk/cli/__init__.py +0 -0
- {rasa_sdk-3.14.0.dev2 → rasa_sdk-3.14.0.dev3}/rasa_sdk/cli/arguments.py +0 -0
- {rasa_sdk-3.14.0.dev2 → rasa_sdk-3.14.0.dev3}/rasa_sdk/constants.py +0 -0
- {rasa_sdk-3.14.0.dev2 → rasa_sdk-3.14.0.dev3}/rasa_sdk/endpoint.py +0 -0
- {rasa_sdk-3.14.0.dev2 → rasa_sdk-3.14.0.dev3}/rasa_sdk/events.py +0 -0
- {rasa_sdk-3.14.0.dev2 → rasa_sdk-3.14.0.dev3}/rasa_sdk/exceptions.py +0 -0
- {rasa_sdk-3.14.0.dev2 → rasa_sdk-3.14.0.dev3}/rasa_sdk/executor.py +0 -0
- {rasa_sdk-3.14.0.dev2 → rasa_sdk-3.14.0.dev3}/rasa_sdk/forms.py +0 -0
- {rasa_sdk-3.14.0.dev2 → rasa_sdk-3.14.0.dev3}/rasa_sdk/grpc_errors.py +0 -0
- {rasa_sdk-3.14.0.dev2 → rasa_sdk-3.14.0.dev3}/rasa_sdk/grpc_py/__init__.py +0 -0
- {rasa_sdk-3.14.0.dev2 → rasa_sdk-3.14.0.dev3}/rasa_sdk/grpc_py/action_webhook_pb2.pyi +0 -0
- {rasa_sdk-3.14.0.dev2 → rasa_sdk-3.14.0.dev3}/rasa_sdk/grpc_server.py +0 -0
- {rasa_sdk-3.14.0.dev2 → rasa_sdk-3.14.0.dev3}/rasa_sdk/interfaces.py +0 -0
- {rasa_sdk-3.14.0.dev2 → rasa_sdk-3.14.0.dev3}/rasa_sdk/knowledge_base/__init__.py +0 -0
- {rasa_sdk-3.14.0.dev2 → rasa_sdk-3.14.0.dev3}/rasa_sdk/knowledge_base/actions.py +0 -0
- {rasa_sdk-3.14.0.dev2 → rasa_sdk-3.14.0.dev3}/rasa_sdk/knowledge_base/storage.py +0 -0
- {rasa_sdk-3.14.0.dev2 → rasa_sdk-3.14.0.dev3}/rasa_sdk/knowledge_base/utils.py +0 -0
- {rasa_sdk-3.14.0.dev2 → rasa_sdk-3.14.0.dev3}/rasa_sdk/plugin.py +0 -0
- {rasa_sdk-3.14.0.dev2 → rasa_sdk-3.14.0.dev3}/rasa_sdk/slots.py +0 -0
- {rasa_sdk-3.14.0.dev2 → rasa_sdk-3.14.0.dev3}/rasa_sdk/tracing/config.py +0 -0
- {rasa_sdk-3.14.0.dev2 → rasa_sdk-3.14.0.dev3}/rasa_sdk/tracing/endpoints.py +0 -0
- {rasa_sdk-3.14.0.dev2 → rasa_sdk-3.14.0.dev3}/rasa_sdk/tracing/instrumentation/attribute_extractors.py +0 -0
- {rasa_sdk-3.14.0.dev2 → rasa_sdk-3.14.0.dev3}/rasa_sdk/tracing/instrumentation/instrumentation.py +0 -0
- {rasa_sdk-3.14.0.dev2 → rasa_sdk-3.14.0.dev3}/rasa_sdk/tracing/tracer_register.py +0 -0
- {rasa_sdk-3.14.0.dev2 → rasa_sdk-3.14.0.dev3}/rasa_sdk/tracing/utils.py +0 -0
- {rasa_sdk-3.14.0.dev2 → rasa_sdk-3.14.0.dev3}/rasa_sdk/types.py +0 -0
- {rasa_sdk-3.14.0.dev2 → rasa_sdk-3.14.0.dev3}/rasa_sdk/utils.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: rasa-sdk
|
|
3
|
-
Version: 3.14.0.
|
|
3
|
+
Version: 3.14.0.dev3
|
|
4
4
|
Summary: Open source machine learning framework to automate text- and voice-based conversations: NLU, dialogue management, connect to Slack, Facebook, and more - Create chatbots and voice assistants
|
|
5
5
|
License: Apache-2.0
|
|
6
6
|
Keywords: nlp,machine-learning,machine-learning-library,bot,bots,botkit,rasa conversational-agents,conversational-ai,chatbot,chatbot-framework,bot-framework
|
|
@@ -8,27 +8,26 @@ Author: Rasa Technologies GmbH
|
|
|
8
8
|
Author-email: hi@rasa.com
|
|
9
9
|
Maintainer: Tom Bocklisch
|
|
10
10
|
Maintainer-email: tom@rasa.com
|
|
11
|
-
Requires-Python:
|
|
11
|
+
Requires-Python: >=3.10,<3.13
|
|
12
12
|
Classifier: Development Status :: 5 - Production/Stable
|
|
13
13
|
Classifier: Intended Audience :: Developers
|
|
14
14
|
Classifier: License :: OSI Approved :: Apache Software License
|
|
15
15
|
Classifier: Programming Language :: Python :: 3
|
|
16
|
-
Classifier: Programming Language :: Python :: 3.9
|
|
17
16
|
Classifier: Programming Language :: Python :: 3.10
|
|
18
17
|
Classifier: Programming Language :: Python :: 3.11
|
|
19
18
|
Classifier: Programming Language :: Python :: 3.12
|
|
20
19
|
Classifier: Topic :: Software Development :: Libraries
|
|
21
20
|
Requires-Dist: Sanic-Cors (>=2.0.0,<3.0.0)
|
|
22
21
|
Requires-Dist: coloredlogs (>=10,<16)
|
|
23
|
-
Requires-Dist: grpcio (>=1.
|
|
24
|
-
Requires-Dist: grpcio-health-checking (>=1.
|
|
25
|
-
Requires-Dist: grpcio-tools (>=1.
|
|
26
|
-
Requires-Dist: opentelemetry-api (>=1.
|
|
27
|
-
Requires-Dist: opentelemetry-exporter-jaeger (>=1.
|
|
28
|
-
Requires-Dist: opentelemetry-exporter-otlp (>=1.
|
|
29
|
-
Requires-Dist: opentelemetry-sdk (>=1.
|
|
22
|
+
Requires-Dist: grpcio (>=1.70.0,<2.0.0)
|
|
23
|
+
Requires-Dist: grpcio-health-checking (>=1.70.0,<2.0.0)
|
|
24
|
+
Requires-Dist: grpcio-tools (>=1.70.0,<2.0.0)
|
|
25
|
+
Requires-Dist: opentelemetry-api (>=1.33.0,<1.34.0)
|
|
26
|
+
Requires-Dist: opentelemetry-exporter-jaeger (>=1.21.0,<1.22.0)
|
|
27
|
+
Requires-Dist: opentelemetry-exporter-otlp (>=1.33.0,<1.34.0)
|
|
28
|
+
Requires-Dist: opentelemetry-sdk (>=1.33.0,<1.34.0)
|
|
30
29
|
Requires-Dist: pluggy (>=1.0.0,<2.0.0)
|
|
31
|
-
Requires-Dist: protobuf (>=
|
|
30
|
+
Requires-Dist: protobuf (>=5.29.5,<5.30.0)
|
|
32
31
|
Requires-Dist: pydantic (>=2.6.4,<3.0.0)
|
|
33
32
|
Requires-Dist: ruamel.yaml (>=0.16.5,<0.18.0)
|
|
34
33
|
Requires-Dist: sanic (>=22.12,<23.0)
|
|
@@ -4,7 +4,7 @@ build-backend = "poetry.core.masonry.api"
|
|
|
4
4
|
|
|
5
5
|
[tool.poetry]
|
|
6
6
|
name = "rasa-sdk"
|
|
7
|
-
version = "3.14.0.
|
|
7
|
+
version = "3.14.0.dev3"
|
|
8
8
|
description = "Open source machine learning framework to automate text- and voice-based conversations: NLU, dialogue management, connect to Slack, Facebook, and more - Create chatbots and voice assistants"
|
|
9
9
|
authors = [ "Rasa Technologies GmbH <hi@rasa.com>",]
|
|
10
10
|
maintainers = [ "Tom Bocklisch <tom@rasa.com>",]
|
|
@@ -70,7 +70,7 @@ target-version = "py38"
|
|
|
70
70
|
exclude = [ "rasa_sdk/grpc_py", "eggs", ".git", ".pytest_cache", "build", "dist", ".DS_Store",]
|
|
71
71
|
|
|
72
72
|
[tool.poetry.dependencies]
|
|
73
|
-
python = "
|
|
73
|
+
python = ">=3.10,<3.13"
|
|
74
74
|
coloredlogs = ">=10,<16"
|
|
75
75
|
sanic = "^22.12"
|
|
76
76
|
typing-extensions = ">=4.1.1,<5.0.0"
|
|
@@ -78,15 +78,15 @@ Sanic-Cors = "^2.0.0"
|
|
|
78
78
|
"ruamel.yaml" = ">=0.16.5,<0.18.0"
|
|
79
79
|
websockets = ">=10.0,<12.0"
|
|
80
80
|
pluggy = "^1.0.0"
|
|
81
|
-
opentelemetry-api = "~1.
|
|
82
|
-
opentelemetry-sdk = "~1.
|
|
83
|
-
opentelemetry-exporter-jaeger = "~1.
|
|
84
|
-
opentelemetry-exporter-otlp = "~1.
|
|
85
|
-
grpcio = "
|
|
86
|
-
protobuf = "~
|
|
81
|
+
opentelemetry-api = "~1.33.0"
|
|
82
|
+
opentelemetry-sdk = "~1.33.0"
|
|
83
|
+
opentelemetry-exporter-jaeger = "~1.21.0"
|
|
84
|
+
opentelemetry-exporter-otlp = "~1.33.0"
|
|
85
|
+
grpcio = "^1.70.0"
|
|
86
|
+
protobuf = "~5.29.5"
|
|
87
87
|
pydantic = "^2.6.4"
|
|
88
|
-
grpcio-health-checking = "
|
|
89
|
-
grpcio-tools = "
|
|
88
|
+
grpcio-health-checking = "^1.70.0"
|
|
89
|
+
grpcio-tools = "^1.70.0"
|
|
90
90
|
|
|
91
91
|
[tool.poetry.requires-plugins]
|
|
92
92
|
poetry-plugin-export = ">=1.8"
|
|
@@ -1,12 +1,22 @@
|
|
|
1
1
|
# -*- coding: utf-8 -*-
|
|
2
2
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# NO CHECKED-IN PROTOBUF GENCODE
|
|
3
4
|
# source: rasa_sdk/grpc_py/action_webhook.proto
|
|
4
|
-
# Protobuf Python Version:
|
|
5
|
+
# Protobuf Python Version: 5.29.0
|
|
5
6
|
"""Generated protocol buffer code."""
|
|
6
7
|
from google.protobuf import descriptor as _descriptor
|
|
7
8
|
from google.protobuf import descriptor_pool as _descriptor_pool
|
|
9
|
+
from google.protobuf import runtime_version as _runtime_version
|
|
8
10
|
from google.protobuf import symbol_database as _symbol_database
|
|
9
11
|
from google.protobuf.internal import builder as _builder
|
|
12
|
+
_runtime_version.ValidateProtobufRuntimeVersion(
|
|
13
|
+
_runtime_version.Domain.PUBLIC,
|
|
14
|
+
5,
|
|
15
|
+
29,
|
|
16
|
+
0,
|
|
17
|
+
'',
|
|
18
|
+
'rasa_sdk/grpc_py/action_webhook.proto'
|
|
19
|
+
)
|
|
10
20
|
# @@protoc_insertion_point(imports)
|
|
11
21
|
|
|
12
22
|
_sym_db = _symbol_database.Default()
|
|
@@ -20,9 +30,9 @@ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n%rasa_sdk/grpc_py/
|
|
|
20
30
|
_globals = globals()
|
|
21
31
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
22
32
|
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'rasa_sdk.grpc_py.action_webhook_pb2', _globals)
|
|
23
|
-
if _descriptor._USE_C_DESCRIPTORS
|
|
24
|
-
DESCRIPTOR.
|
|
25
|
-
_globals['_TRACKER_ACTIVELOOPENTRY'].
|
|
33
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
|
34
|
+
DESCRIPTOR._loaded_options = None
|
|
35
|
+
_globals['_TRACKER_ACTIVELOOPENTRY']._loaded_options = None
|
|
26
36
|
_globals['_TRACKER_ACTIVELOOPENTRY']._serialized_options = b'8\001'
|
|
27
37
|
_globals['_ACTIONSREQUEST']._serialized_start=94
|
|
28
38
|
_globals['_ACTIONSREQUEST']._serialized_end=110
|
|
@@ -1,9 +1,29 @@
|
|
|
1
1
|
# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
|
|
2
2
|
"""Client and server classes corresponding to protobuf-defined services."""
|
|
3
3
|
import grpc
|
|
4
|
+
import warnings
|
|
4
5
|
|
|
5
6
|
from rasa_sdk.grpc_py import action_webhook_pb2 as rasa__sdk_dot_grpc__py_dot_action__webhook__pb2
|
|
6
7
|
|
|
8
|
+
GRPC_GENERATED_VERSION = '1.71.2'
|
|
9
|
+
GRPC_VERSION = grpc.__version__
|
|
10
|
+
_version_not_supported = False
|
|
11
|
+
|
|
12
|
+
try:
|
|
13
|
+
from grpc._utilities import first_version_is_lower
|
|
14
|
+
_version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION)
|
|
15
|
+
except ImportError:
|
|
16
|
+
_version_not_supported = True
|
|
17
|
+
|
|
18
|
+
if _version_not_supported:
|
|
19
|
+
raise RuntimeError(
|
|
20
|
+
f'The grpc package installed is at version {GRPC_VERSION},'
|
|
21
|
+
+ f' but the generated code in rasa_sdk/grpc_py/action_webhook_pb2_grpc.py depends on'
|
|
22
|
+
+ f' grpcio>={GRPC_GENERATED_VERSION}.'
|
|
23
|
+
+ f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}'
|
|
24
|
+
+ f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.'
|
|
25
|
+
)
|
|
26
|
+
|
|
7
27
|
|
|
8
28
|
class ActionServiceStub(object):
|
|
9
29
|
"""Missing associated documentation comment in .proto file."""
|
|
@@ -18,12 +38,12 @@ class ActionServiceStub(object):
|
|
|
18
38
|
'/action_server_webhook.ActionService/Webhook',
|
|
19
39
|
request_serializer=rasa__sdk_dot_grpc__py_dot_action__webhook__pb2.WebhookRequest.SerializeToString,
|
|
20
40
|
response_deserializer=rasa__sdk_dot_grpc__py_dot_action__webhook__pb2.WebhookResponse.FromString,
|
|
21
|
-
)
|
|
41
|
+
_registered_method=True)
|
|
22
42
|
self.Actions = channel.unary_unary(
|
|
23
43
|
'/action_server_webhook.ActionService/Actions',
|
|
24
44
|
request_serializer=rasa__sdk_dot_grpc__py_dot_action__webhook__pb2.ActionsRequest.SerializeToString,
|
|
25
45
|
response_deserializer=rasa__sdk_dot_grpc__py_dot_action__webhook__pb2.ActionsResponse.FromString,
|
|
26
|
-
)
|
|
46
|
+
_registered_method=True)
|
|
27
47
|
|
|
28
48
|
|
|
29
49
|
class ActionServiceServicer(object):
|
|
@@ -58,6 +78,7 @@ def add_ActionServiceServicer_to_server(servicer, server):
|
|
|
58
78
|
generic_handler = grpc.method_handlers_generic_handler(
|
|
59
79
|
'action_server_webhook.ActionService', rpc_method_handlers)
|
|
60
80
|
server.add_generic_rpc_handlers((generic_handler,))
|
|
81
|
+
server.add_registered_method_handlers('action_server_webhook.ActionService', rpc_method_handlers)
|
|
61
82
|
|
|
62
83
|
|
|
63
84
|
# This class is part of an EXPERIMENTAL API.
|
|
@@ -75,11 +96,21 @@ class ActionService(object):
|
|
|
75
96
|
wait_for_ready=None,
|
|
76
97
|
timeout=None,
|
|
77
98
|
metadata=None):
|
|
78
|
-
return grpc.experimental.unary_unary(
|
|
99
|
+
return grpc.experimental.unary_unary(
|
|
100
|
+
request,
|
|
101
|
+
target,
|
|
102
|
+
'/action_server_webhook.ActionService/Webhook',
|
|
79
103
|
rasa__sdk_dot_grpc__py_dot_action__webhook__pb2.WebhookRequest.SerializeToString,
|
|
80
104
|
rasa__sdk_dot_grpc__py_dot_action__webhook__pb2.WebhookResponse.FromString,
|
|
81
|
-
options,
|
|
82
|
-
|
|
105
|
+
options,
|
|
106
|
+
channel_credentials,
|
|
107
|
+
insecure,
|
|
108
|
+
call_credentials,
|
|
109
|
+
compression,
|
|
110
|
+
wait_for_ready,
|
|
111
|
+
timeout,
|
|
112
|
+
metadata,
|
|
113
|
+
_registered_method=True)
|
|
83
114
|
|
|
84
115
|
@staticmethod
|
|
85
116
|
def Actions(request,
|
|
@@ -92,8 +123,18 @@ class ActionService(object):
|
|
|
92
123
|
wait_for_ready=None,
|
|
93
124
|
timeout=None,
|
|
94
125
|
metadata=None):
|
|
95
|
-
return grpc.experimental.unary_unary(
|
|
126
|
+
return grpc.experimental.unary_unary(
|
|
127
|
+
request,
|
|
128
|
+
target,
|
|
129
|
+
'/action_server_webhook.ActionService/Actions',
|
|
96
130
|
rasa__sdk_dot_grpc__py_dot_action__webhook__pb2.ActionsRequest.SerializeToString,
|
|
97
131
|
rasa__sdk_dot_grpc__py_dot_action__webhook__pb2.ActionsResponse.FromString,
|
|
98
|
-
options,
|
|
99
|
-
|
|
132
|
+
options,
|
|
133
|
+
channel_credentials,
|
|
134
|
+
insecure,
|
|
135
|
+
call_credentials,
|
|
136
|
+
compression,
|
|
137
|
+
wait_for_ready,
|
|
138
|
+
timeout,
|
|
139
|
+
metadata,
|
|
140
|
+
_registered_method=True)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{rasa_sdk-3.14.0.dev2 → rasa_sdk-3.14.0.dev3}/rasa_sdk/tracing/instrumentation/instrumentation.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|