rapida-python 0.1.25__tar.gz → 0.1.26__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.
- {rapida_python-0.1.25 → rapida_python-0.1.26}/PKG-INFO +4 -5
- {rapida_python-0.1.25 → rapida_python-0.1.26}/README.md +0 -1
- {rapida_python-0.1.25 → rapida_python-0.1.26}/pyproject.toml +5 -5
- {rapida_python-0.1.25 → rapida_python-0.1.26}/rapida/__init__.py +218 -53
- {rapida_python-0.1.25 → rapida_python-0.1.26}/rapida/agentkit/__init__.py +153 -83
- {rapida_python-0.1.25 → rapida_python-0.1.26}/rapida/clients/__init__.py +1 -1
- rapida_python-0.1.26/rapida/clients/assistant.py +615 -0
- rapida_python-0.1.26/rapida/clients/call.py +102 -0
- rapida_python-0.1.26/rapida/clients/endpoint.py +214 -0
- {rapida_python-0.1.25 → rapida_python-0.1.26}/rapida/clients/invoke.py +54 -9
- rapida_python-0.1.26/rapida/clients/protos/agentkit_pb2.py +43 -0
- rapida_python-0.1.26/rapida/clients/protos/agentkit_pb2.pyi +44 -0
- rapida_python-0.1.26/rapida/clients/protos/agentkit_pb2_grpc.py +101 -0
- rapida_python-0.1.26/rapida/clients/protos/assistant_analysis_pb2.py +77 -0
- {rapida_python-0.1.25 → rapida_python-0.1.26}/rapida/clients/protos/assistant_analysis_pb2.pyi +18 -45
- rapida_python-0.1.25/rapida/clients/protos/assistant_webhook_pb2_grpc.py → rapida_python-0.1.26/rapida/clients/protos/assistant_analysis_pb2_grpc.py +2 -2
- rapida_python-0.1.26/rapida/clients/protos/assistant_api_pb2.py +201 -0
- {rapida_python-0.1.25 → rapida_python-0.1.26}/rapida/clients/protos/assistant_api_pb2.pyi +229 -4
- {rapida_python-0.1.25 → rapida_python-0.1.26}/rapida/clients/protos/assistant_api_pb2_grpc.py +416 -29
- {rapida_python-0.1.25 → rapida_python-0.1.26}/rapida/clients/protos/assistant_deployment_pb2.py +19 -5
- {rapida_python-0.1.25 → rapida_python-0.1.26}/rapida/clients/protos/assistant_deployment_pb2.pyi +80 -0
- {rapida_python-0.1.25 → rapida_python-0.1.26}/rapida/clients/protos/assistant_deployment_pb2_grpc.py +432 -2
- rapida_python-0.1.25/rapida/clients/protos/assistant_analysis_pb2_grpc.py → rapida_python-0.1.26/rapida/clients/protos/assistant_knowledge_pb2_grpc.py +2 -2
- {rapida_python-0.1.25 → rapida_python-0.1.26}/rapida/clients/protos/assistant_provider_pb2_grpc.py +2 -2
- {rapida_python-0.1.25 → rapida_python-0.1.26}/rapida/clients/protos/assistant_tool_pb2.py +2 -4
- {rapida_python-0.1.25 → rapida_python-0.1.26}/rapida/clients/protos/assistant_tool_pb2.pyi +4 -8
- {rapida_python-0.1.25 → rapida_python-0.1.26}/rapida/clients/protos/assistant_tool_pb2_grpc.py +2 -2
- rapida_python-0.1.26/rapida/clients/protos/assistant_webhook_pb2.py +118 -0
- {rapida_python-0.1.25 → rapida_python-0.1.26}/rapida/clients/protos/assistant_webhook_pb2.pyi +47 -105
- rapida_python-0.1.26/rapida/clients/protos/assistant_webhook_pb2_grpc.py +24 -0
- {rapida_python-0.1.25 → rapida_python-0.1.26}/rapida/clients/protos/audit_logging_api_pb2_grpc.py +2 -2
- rapida_python-0.1.26/rapida/clients/protos/billing_api_pb2.py +67 -0
- rapida_python-0.1.26/rapida/clients/protos/billing_api_pb2.pyi +123 -0
- rapida_python-0.1.26/rapida/clients/protos/billing_api_pb2_grpc.py +183 -0
- {rapida_python-0.1.25 → rapida_python-0.1.26}/rapida/clients/protos/common_pb2.py +29 -33
- {rapida_python-0.1.25 → rapida_python-0.1.26}/rapida/clients/protos/common_pb2.pyi +8 -29
- {rapida_python-0.1.25 → rapida_python-0.1.26}/rapida/clients/protos/common_pb2_grpc.py +2 -2
- {rapida_python-0.1.25 → rapida_python-0.1.26}/rapida/clients/protos/connect_api_pb2_grpc.py +2 -2
- {rapida_python-0.1.25 → rapida_python-0.1.26}/rapida/clients/protos/document_api_pb2_grpc.py +2 -2
- {rapida_python-0.1.25 → rapida_python-0.1.26}/rapida/clients/protos/endpoint_api_pb2_grpc.py +2 -2
- rapida_python-0.1.26/rapida/clients/protos/integration_api_pb2.py +152 -0
- {rapida_python-0.1.25 → rapida_python-0.1.26}/rapida/clients/protos/integration_api_pb2.pyi +122 -8
- rapida_python-0.1.26/rapida/clients/protos/integration_api_pb2_grpc.py +275 -0
- {rapida_python-0.1.25 → rapida_python-0.1.26}/rapida/clients/protos/invoker_api_pb2_grpc.py +2 -2
- {rapida_python-0.1.25 → rapida_python-0.1.26}/rapida/clients/protos/knowledge_api_pb2_grpc.py +2 -2
- {rapida_python-0.1.25 → rapida_python-0.1.26}/rapida/clients/protos/notification_api_pb2_grpc.py +2 -2
- rapida_python-0.1.26/rapida/clients/protos/talk_api_pb2.py +168 -0
- {rapida_python-0.1.25 → rapida_python-0.1.26}/rapida/clients/protos/talk_api_pb2.pyi +221 -118
- {rapida_python-0.1.25 → rapida_python-0.1.26}/rapida/clients/protos/talk_api_pb2_grpc.py +23 -87
- {rapida_python-0.1.25 → rapida_python-0.1.26}/rapida/clients/protos/vault_api_pb2_grpc.py +2 -2
- rapida_python-0.1.26/rapida/clients/protos/web_api_pb2.py +195 -0
- {rapida_python-0.1.25 → rapida_python-0.1.26}/rapida/clients/protos/web_api_pb2.pyi +21 -2
- {rapida_python-0.1.25 → rapida_python-0.1.26}/rapida/clients/protos/web_api_pb2_grpc.py +2 -2
- rapida_python-0.1.26/rapida/clients/protos/webrtc_pb2.py +56 -0
- rapida_python-0.1.26/rapida/clients/protos/webrtc_pb2.pyi +141 -0
- rapida_python-0.1.26/rapida/clients/protos/webrtc_pb2_grpc.py +113 -0
- {rapida_python-0.1.25 → rapida_python-0.1.26}/rapida/configs/__init__.py +5 -5
- {rapida_python-0.1.25 → rapida_python-0.1.26}/rapida/version.py +1 -1
- {rapida_python-0.1.25 → rapida_python-0.1.26}/rapida_python.egg-info/PKG-INFO +4 -5
- {rapida_python-0.1.25 → rapida_python-0.1.26}/rapida_python.egg-info/SOURCES.txt +9 -0
- rapida_python-0.1.26/rapida_python.egg-info/requires.txt +10 -0
- {rapida_python-0.1.25 → rapida_python-0.1.26}/tests/test_connections.py +9 -1
- {rapida_python-0.1.25 → rapida_python-0.1.26}/tests/test_proto_imports.py +112 -86
- rapida_python-0.1.25/rapida/clients/assistant.py +0 -247
- rapida_python-0.1.25/rapida/clients/call.py +0 -55
- rapida_python-0.1.25/rapida/clients/endpoint.py +0 -87
- rapida_python-0.1.25/rapida/clients/protos/assistant_analysis_pb2.py +0 -95
- rapida_python-0.1.25/rapida/clients/protos/assistant_api_pb2.py +0 -107
- rapida_python-0.1.25/rapida/clients/protos/assistant_knowledge_pb2_grpc.py +0 -24
- rapida_python-0.1.25/rapida/clients/protos/assistant_webhook_pb2.py +0 -136
- rapida_python-0.1.25/rapida/clients/protos/integration_api_pb2.py +0 -148
- rapida_python-0.1.25/rapida/clients/protos/integration_api_pb2_grpc.py +0 -2323
- rapida_python-0.1.25/rapida/clients/protos/talk_api_pb2.py +0 -138
- rapida_python-0.1.25/rapida/clients/protos/web_api_pb2.py +0 -189
- rapida_python-0.1.25/rapida_python.egg-info/requires.txt +0 -10
- {rapida_python-0.1.25 → rapida_python-0.1.26}/rapida/clients/protos/__init__.py +0 -0
- {rapida_python-0.1.25 → rapida_python-0.1.26}/rapida/clients/protos/assistant_knowledge_pb2.py +0 -0
- {rapida_python-0.1.25 → rapida_python-0.1.26}/rapida/clients/protos/assistant_knowledge_pb2.pyi +0 -0
- {rapida_python-0.1.25 → rapida_python-0.1.26}/rapida/clients/protos/assistant_provider_pb2.py +0 -0
- {rapida_python-0.1.25 → rapida_python-0.1.26}/rapida/clients/protos/assistant_provider_pb2.pyi +0 -0
- {rapida_python-0.1.25 → rapida_python-0.1.26}/rapida/clients/protos/audit_logging_api_pb2.py +0 -0
- {rapida_python-0.1.25 → rapida_python-0.1.26}/rapida/clients/protos/audit_logging_api_pb2.pyi +0 -0
- {rapida_python-0.1.25 → rapida_python-0.1.26}/rapida/clients/protos/connect_api_pb2.py +0 -0
- {rapida_python-0.1.25 → rapida_python-0.1.26}/rapida/clients/protos/connect_api_pb2.pyi +0 -0
- {rapida_python-0.1.25 → rapida_python-0.1.26}/rapida/clients/protos/document_api_pb2.py +0 -0
- {rapida_python-0.1.25 → rapida_python-0.1.26}/rapida/clients/protos/document_api_pb2.pyi +0 -0
- {rapida_python-0.1.25 → rapida_python-0.1.26}/rapida/clients/protos/endpoint_api_pb2.py +0 -0
- {rapida_python-0.1.25 → rapida_python-0.1.26}/rapida/clients/protos/endpoint_api_pb2.pyi +0 -0
- {rapida_python-0.1.25 → rapida_python-0.1.26}/rapida/clients/protos/invoker_api_pb2.py +0 -0
- {rapida_python-0.1.25 → rapida_python-0.1.26}/rapida/clients/protos/invoker_api_pb2.pyi +0 -0
- {rapida_python-0.1.25 → rapida_python-0.1.26}/rapida/clients/protos/knowledge_api_pb2.py +0 -0
- {rapida_python-0.1.25 → rapida_python-0.1.26}/rapida/clients/protos/knowledge_api_pb2.pyi +0 -0
- {rapida_python-0.1.25 → rapida_python-0.1.26}/rapida/clients/protos/notification_api_pb2.py +0 -0
- {rapida_python-0.1.25 → rapida_python-0.1.26}/rapida/clients/protos/notification_api_pb2.pyi +0 -0
- {rapida_python-0.1.25 → rapida_python-0.1.26}/rapida/clients/protos/vault_api_pb2.py +0 -0
- {rapida_python-0.1.25 → rapida_python-0.1.26}/rapida/clients/protos/vault_api_pb2.pyi +0 -0
- {rapida_python-0.1.25 → rapida_python-0.1.26}/rapida/connections/__init__.py +0 -0
- {rapida_python-0.1.25 → rapida_python-0.1.26}/rapida/utils/__init__.py +0 -0
- {rapida_python-0.1.25 → rapida_python-0.1.26}/rapida/utils/rapida_environment.py +0 -0
- {rapida_python-0.1.25 → rapida_python-0.1.26}/rapida/utils/rapida_header.py +0 -0
- {rapida_python-0.1.25 → rapida_python-0.1.26}/rapida/utils/rapida_region.py +0 -0
- {rapida_python-0.1.25 → rapida_python-0.1.26}/rapida/utils/rapida_source.py +0 -0
- {rapida_python-0.1.25 → rapida_python-0.1.26}/rapida/utils/rapida_value.py +0 -0
- {rapida_python-0.1.25 → rapida_python-0.1.26}/rapida_python.egg-info/dependency_links.txt +0 -0
- {rapida_python-0.1.25 → rapida_python-0.1.26}/rapida_python.egg-info/top_level.txt +0 -0
- {rapida_python-0.1.25 → rapida_python-0.1.26}/setup.cfg +0 -0
- {rapida_python-0.1.25 → rapida_python-0.1.26}/setup.py +0 -0
- {rapida_python-0.1.25 → rapida_python-0.1.26}/tests/test_configs.py +0 -0
- {rapida_python-0.1.25 → rapida_python-0.1.26}/tests/test_version.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: rapida-python
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.26
|
|
4
4
|
Summary: RapidaAI SDK to integrate rapida.ai APIs
|
|
5
5
|
Author-email: RapidaAI <code@rapida.ai>
|
|
6
6
|
License-Expression: MIT
|
|
@@ -19,9 +19,9 @@ Classifier: Programming Language :: Python :: 3.11
|
|
|
19
19
|
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
20
20
|
Requires-Python: >=3.9
|
|
21
21
|
Description-Content-Type: text/markdown
|
|
22
|
-
Requires-Dist: protobuf
|
|
23
|
-
Requires-Dist: grpcio
|
|
24
|
-
Requires-Dist: grpcio-tools
|
|
22
|
+
Requires-Dist: protobuf>=6.31.1
|
|
23
|
+
Requires-Dist: grpcio>=1.78.0
|
|
24
|
+
Requires-Dist: grpcio-tools>=1.78.0
|
|
25
25
|
Provides-Extra: dev
|
|
26
26
|
Requires-Dist: pytest; extra == "dev"
|
|
27
27
|
Requires-Dist: pytest-cov; extra == "dev"
|
|
@@ -117,4 +117,3 @@ pip install --upgrade rapida-python
|
|
|
117
117
|
## Conclusion
|
|
118
118
|
|
|
119
119
|
The Rapida Python SDK provides everything necessary to integrate seamlessly with Rapida AI services, offering flexible configuration and authentication options. With the examples provided, you should be able to get started quickly and make advanced API calls as needed.
|
|
120
|
-
|
|
@@ -86,4 +86,3 @@ pip install --upgrade rapida-python
|
|
|
86
86
|
## Conclusion
|
|
87
87
|
|
|
88
88
|
The Rapida Python SDK provides everything necessary to integrate seamlessly with Rapida AI services, offering flexible configuration and authentication options. With the examples provided, you should be able to get started quickly and make advanced API calls as needed.
|
|
89
|
-
|
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "rapida-python"
|
|
7
|
-
version = "0.1.
|
|
7
|
+
version = "0.1.26"
|
|
8
8
|
description = "RapidaAI SDK to integrate rapida.ai APIs"
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
authors = [{name = "RapidaAI", email = "code@rapida.ai"}]
|
|
@@ -22,9 +22,9 @@ classifiers = [
|
|
|
22
22
|
]
|
|
23
23
|
requires-python = ">=3.9"
|
|
24
24
|
dependencies = [
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
25
|
+
"protobuf>=6.31.1",
|
|
26
|
+
"grpcio>=1.78.0",
|
|
27
|
+
"grpcio-tools>=1.78.0",
|
|
28
28
|
]
|
|
29
29
|
|
|
30
30
|
[project.optional-dependencies]
|
|
@@ -58,4 +58,4 @@ packages = [
|
|
|
58
58
|
"rapida.clients.protos" = ["*.py"]
|
|
59
59
|
|
|
60
60
|
[tool.setuptools.exclude-package-data]
|
|
61
|
-
"*" = ["tests", "examples"]
|
|
61
|
+
"*" = ["tests", "examples"]
|
|
@@ -65,32 +65,80 @@ from rapida.utils.rapida_header import (
|
|
|
65
65
|
HEADER_LONGITUDE,
|
|
66
66
|
)
|
|
67
67
|
|
|
68
|
-
from rapida.clients.call import
|
|
68
|
+
from rapida.clients.call import (
|
|
69
|
+
create_bulk_phone_call,
|
|
70
|
+
create_conversation_metric,
|
|
71
|
+
create_message_metric,
|
|
72
|
+
create_phone_call,
|
|
73
|
+
)
|
|
69
74
|
from rapida.clients.assistant import (
|
|
75
|
+
create_assistant,
|
|
76
|
+
create_assistant_analysis,
|
|
77
|
+
create_assistant_authentication,
|
|
78
|
+
create_assistant_knowledge,
|
|
79
|
+
create_assistant_provider,
|
|
80
|
+
create_assistant_tag,
|
|
81
|
+
create_assistant_telemetry_provider,
|
|
82
|
+
create_assistant_tool,
|
|
83
|
+
create_assistant_webhook,
|
|
84
|
+
delete_assistant,
|
|
85
|
+
delete_assistant_analysis,
|
|
86
|
+
delete_assistant_knowledge,
|
|
87
|
+
delete_assistant_telemetry_provider,
|
|
88
|
+
delete_assistant_tool,
|
|
89
|
+
delete_assistant_webhook,
|
|
90
|
+
disable_assistant_authentication,
|
|
70
91
|
get_assistant,
|
|
71
92
|
get_all_assistant,
|
|
93
|
+
get_all_assistant_analysis,
|
|
72
94
|
get_assistant_conversation,
|
|
73
95
|
get_all_assistant_conversation,
|
|
96
|
+
get_all_assistant_http_log,
|
|
97
|
+
get_all_assistant_knowledge,
|
|
98
|
+
get_all_assistant_message,
|
|
99
|
+
get_all_assistant_provider,
|
|
100
|
+
get_all_assistant_telemetry,
|
|
101
|
+
get_all_assistant_telemetry_provider,
|
|
74
102
|
get_assistant_webhook,
|
|
75
103
|
get_all_assistant_webhook,
|
|
76
|
-
get_assistant_knowledge,
|
|
77
|
-
get_all_assistant_knowledge,
|
|
78
|
-
get_assistant_tool,
|
|
79
104
|
get_all_assistant_tool,
|
|
80
|
-
|
|
81
|
-
|
|
105
|
+
get_all_assistant_tool_log,
|
|
106
|
+
get_all_conversation_message,
|
|
107
|
+
get_all_message,
|
|
82
108
|
get_assistant_analysis,
|
|
83
|
-
|
|
109
|
+
get_assistant_authentication,
|
|
110
|
+
get_assistant_http_log,
|
|
111
|
+
get_assistant_tool,
|
|
112
|
+
get_assistant_telemetry_provider,
|
|
113
|
+
get_assistant_tool_log,
|
|
114
|
+
get_assistant_knowledge,
|
|
115
|
+
retry_assistant_http_log,
|
|
116
|
+
update_assistant_analysis,
|
|
117
|
+
update_assistant_detail,
|
|
118
|
+
update_assistant_knowledge,
|
|
119
|
+
update_assistant_telemetry_provider,
|
|
120
|
+
update_assistant_tool,
|
|
121
|
+
update_assistant_version,
|
|
122
|
+
update_assistant_webhook,
|
|
84
123
|
)
|
|
85
124
|
|
|
86
125
|
from rapida.clients.endpoint import (
|
|
126
|
+
create_endpoint,
|
|
127
|
+
create_endpoint_cache_configuration,
|
|
128
|
+
create_endpoint_provider_model,
|
|
129
|
+
create_endpoint_retry_configuration,
|
|
130
|
+
create_endpoint_tag,
|
|
131
|
+
fork_endpoint,
|
|
87
132
|
get_endpoint,
|
|
88
133
|
get_all_endpoint,
|
|
134
|
+
get_all_endpoint_provider_model,
|
|
89
135
|
get_endpoint_log,
|
|
90
136
|
get_all_endpoint_log,
|
|
137
|
+
update_endpoint_detail,
|
|
138
|
+
update_endpoint_version,
|
|
91
139
|
)
|
|
92
140
|
|
|
93
|
-
from rapida.clients.invoke import invoke
|
|
141
|
+
from rapida.clients.invoke import invoke, probe, update
|
|
94
142
|
|
|
95
143
|
|
|
96
144
|
# # Protobuf imports - Import common_pb2 FIRST since other protos depend on it
|
|
@@ -162,17 +210,20 @@ from rapida.clients.protos.talk_api_pb2 import (
|
|
|
162
210
|
CreateBulkPhoneCallResponse,
|
|
163
211
|
CreatePhoneCallRequest,
|
|
164
212
|
CreatePhoneCallResponse,
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
TalkInput,
|
|
168
|
-
TalkOutput,
|
|
213
|
+
AssistantTalkRequest,
|
|
214
|
+
AssistantTalkResponse,
|
|
169
215
|
ConversationAssistantMessage,
|
|
170
216
|
ConversationConfiguration,
|
|
171
|
-
|
|
217
|
+
ConversationDisconnection,
|
|
172
218
|
ConversationInterruption,
|
|
219
|
+
ConversationModeChange,
|
|
173
220
|
ConversationUserMessage,
|
|
174
221
|
ConversationToolCall,
|
|
175
|
-
|
|
222
|
+
ConversationToolCallResult,
|
|
223
|
+
)
|
|
224
|
+
from rapida.clients.protos.agentkit_pb2 import (
|
|
225
|
+
TalkInput,
|
|
226
|
+
TalkOutput,
|
|
176
227
|
)
|
|
177
228
|
from rapida.clients.protos.assistant_analysis_pb2 import (
|
|
178
229
|
AssistantAnalysis,
|
|
@@ -246,19 +297,20 @@ from rapida.clients.protos.web_api_pb2 import (
|
|
|
246
297
|
GetAllProjectCredentialResponse,
|
|
247
298
|
)
|
|
248
299
|
from rapida.clients.protos.assistant_webhook_pb2 import (
|
|
300
|
+
AssistantHTTPLog,
|
|
249
301
|
AssistantWebhook,
|
|
250
|
-
AssistantWebhookLog,
|
|
251
302
|
CreateAssistantWebhookRequest,
|
|
252
|
-
UpdateAssistantWebhookRequest,
|
|
253
|
-
GetAssistantWebhookRequest,
|
|
254
303
|
DeleteAssistantWebhookRequest,
|
|
255
|
-
|
|
304
|
+
GetAllAssistantHTTPLogRequest,
|
|
305
|
+
GetAllAssistantHTTPLogResponse,
|
|
256
306
|
GetAllAssistantWebhookRequest,
|
|
257
307
|
GetAllAssistantWebhookResponse,
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
308
|
+
GetAssistantHTTPLogRequest,
|
|
309
|
+
GetAssistantHTTPLogResponse,
|
|
310
|
+
GetAssistantWebhookRequest,
|
|
311
|
+
GetAssistantWebhookResponse,
|
|
312
|
+
RetryAssistantHTTPLogRequest,
|
|
313
|
+
UpdateAssistantWebhookRequest,
|
|
262
314
|
)
|
|
263
315
|
from rapida.clients.protos.connect_api_pb2 import (
|
|
264
316
|
GeneralConnectRequest,
|
|
@@ -300,14 +352,19 @@ from rapida.clients.protos.endpoint_api_pb2 import (
|
|
|
300
352
|
GetEndpointLogResponse,
|
|
301
353
|
)
|
|
302
354
|
from rapida.clients.protos.assistant_tool_pb2 import (
|
|
355
|
+
AssistantToolLog,
|
|
303
356
|
AssistantTool,
|
|
304
357
|
CreateAssistantToolRequest,
|
|
305
|
-
UpdateAssistantToolRequest,
|
|
306
|
-
GetAssistantToolRequest,
|
|
307
358
|
DeleteAssistantToolRequest,
|
|
308
|
-
|
|
359
|
+
GetAllAssistantToolLogRequest,
|
|
360
|
+
GetAllAssistantToolLogResponse,
|
|
309
361
|
GetAllAssistantToolRequest,
|
|
310
362
|
GetAllAssistantToolResponse,
|
|
363
|
+
GetAssistantToolLogRequest,
|
|
364
|
+
GetAssistantToolLogResponse,
|
|
365
|
+
GetAssistantToolRequest,
|
|
366
|
+
GetAssistantToolResponse,
|
|
367
|
+
UpdateAssistantToolRequest,
|
|
311
368
|
)
|
|
312
369
|
from rapida.clients.protos.integration_api_pb2 import (
|
|
313
370
|
Credential,
|
|
@@ -358,11 +415,31 @@ from rapida.clients.protos.knowledge_api_pb2 import (
|
|
|
358
415
|
UpdateKnowledgeDocumentSegmentRequest,
|
|
359
416
|
DeleteKnowledgeDocumentSegmentRequest,
|
|
360
417
|
)
|
|
418
|
+
from rapida.clients.protos.assistant_provider_pb2 import (
|
|
419
|
+
AssistantProviderAgentkit,
|
|
420
|
+
AssistantProviderModel,
|
|
421
|
+
AssistantProviderWebsocket,
|
|
422
|
+
CreateAssistantProviderRequest,
|
|
423
|
+
GetAllAssistantProviderRequest,
|
|
424
|
+
GetAllAssistantProviderResponse,
|
|
425
|
+
GetAssistantProviderResponse,
|
|
426
|
+
UpdateAssistantVersionRequest,
|
|
427
|
+
)
|
|
361
428
|
from rapida.clients.protos.assistant_api_pb2 import (
|
|
362
429
|
Assistant,
|
|
430
|
+
CreateAssistantAuthenticationRequest,
|
|
363
431
|
CreateAssistantRequest,
|
|
364
432
|
CreateAssistantTagRequest,
|
|
433
|
+
CreateAssistantTelemetryProviderRequest,
|
|
434
|
+
DeleteAssistantTelemetryProviderRequest,
|
|
435
|
+
DisableAssistantAuthenticationRequest,
|
|
436
|
+
GetAllAssistantTelemetryProviderRequest,
|
|
437
|
+
GetAllAssistantTelemetryProviderResponse,
|
|
438
|
+
GetAllAssistantTelemetryRequest,
|
|
439
|
+
GetAllAssistantTelemetryResponse,
|
|
365
440
|
GetAssistantRequest,
|
|
441
|
+
GetAssistantAuthenticationRequest,
|
|
442
|
+
GetAssistantAuthenticationResponse,
|
|
366
443
|
DeleteAssistantRequest,
|
|
367
444
|
GetAssistantResponse,
|
|
368
445
|
GetAllAssistantRequest,
|
|
@@ -371,28 +448,45 @@ from rapida.clients.protos.assistant_api_pb2 import (
|
|
|
371
448
|
GetAllAssistantMessageResponse,
|
|
372
449
|
GetAllMessageRequest,
|
|
373
450
|
GetAllMessageResponse,
|
|
451
|
+
GetAssistantTelemetryProviderRequest,
|
|
452
|
+
GetAssistantTelemetryProviderResponse,
|
|
453
|
+
UpdateAssistantTelemetryProviderRequest,
|
|
374
454
|
UpdateAssistantDetailRequest,
|
|
375
455
|
GetAssistantConversationRequest,
|
|
376
456
|
GetAssistantConversationResponse,
|
|
377
457
|
)
|
|
378
458
|
|
|
379
459
|
from rapida.clients.protos.talk_api_pb2_grpc import (
|
|
380
|
-
TalkServiceServicer,
|
|
460
|
+
TalkServiceServicer,
|
|
461
|
+
)
|
|
462
|
+
from rapida.clients.protos.agentkit_pb2_grpc import (
|
|
381
463
|
AgentKitStub,
|
|
382
464
|
AgentKit,
|
|
383
465
|
AgentKitServicer,
|
|
384
466
|
add_AgentKitServicer_to_server,
|
|
385
|
-
)
|
|
386
|
-
|
|
387
|
-
# Agent Kit classes
|
|
388
|
-
from rapida.agentkit import (
|
|
389
|
-
AgentKitAgent,
|
|
390
|
-
AgentKitServer,
|
|
391
|
-
SSLConfig,
|
|
392
|
-
AuthConfig,
|
|
393
|
-
AuthorizationInterceptor,
|
|
394
467
|
)
|
|
395
468
|
|
|
469
|
+
_AGENTKIT_EXPORTS = []
|
|
470
|
+
|
|
471
|
+
try:
|
|
472
|
+
from rapida.agentkit import (
|
|
473
|
+
AgentKitAgent,
|
|
474
|
+
AgentKitServer,
|
|
475
|
+
SSLConfig,
|
|
476
|
+
AuthConfig,
|
|
477
|
+
AuthorizationInterceptor,
|
|
478
|
+
)
|
|
479
|
+
except ImportError:
|
|
480
|
+
pass
|
|
481
|
+
else:
|
|
482
|
+
_AGENTKIT_EXPORTS = [
|
|
483
|
+
"AgentKitAgent",
|
|
484
|
+
"AgentKitServer",
|
|
485
|
+
"SSLConfig",
|
|
486
|
+
"AuthConfig",
|
|
487
|
+
"AuthorizationInterceptor",
|
|
488
|
+
]
|
|
489
|
+
|
|
396
490
|
__all__ = [
|
|
397
491
|
"Any",
|
|
398
492
|
"RapidaSource",
|
|
@@ -435,25 +529,72 @@ __all__ = [
|
|
|
435
529
|
"HEADER_LATITUDE",
|
|
436
530
|
"HEADER_LONGITUDE",
|
|
437
531
|
#
|
|
532
|
+
"create_assistant",
|
|
533
|
+
"create_assistant_analysis",
|
|
534
|
+
"create_assistant_authentication",
|
|
535
|
+
"create_assistant_knowledge",
|
|
536
|
+
"create_assistant_provider",
|
|
537
|
+
"create_assistant_tag",
|
|
538
|
+
"create_assistant_telemetry_provider",
|
|
539
|
+
"create_assistant_tool",
|
|
540
|
+
"create_assistant_webhook",
|
|
541
|
+
"delete_assistant",
|
|
542
|
+
"delete_assistant_analysis",
|
|
543
|
+
"delete_assistant_knowledge",
|
|
544
|
+
"delete_assistant_telemetry_provider",
|
|
545
|
+
"delete_assistant_tool",
|
|
546
|
+
"delete_assistant_webhook",
|
|
547
|
+
"disable_assistant_authentication",
|
|
438
548
|
"get_assistant",
|
|
439
549
|
"get_all_assistant",
|
|
550
|
+
"get_all_assistant_analysis",
|
|
440
551
|
"get_assistant_conversation",
|
|
441
552
|
"get_all_assistant_conversation",
|
|
553
|
+
"get_assistant_http_log",
|
|
554
|
+
"get_all_assistant_http_log",
|
|
442
555
|
"get_assistant_webhook",
|
|
443
556
|
"get_all_assistant_webhook",
|
|
444
557
|
"get_assistant_knowledge",
|
|
445
558
|
"get_all_assistant_knowledge",
|
|
559
|
+
"get_all_assistant_message",
|
|
560
|
+
"get_all_assistant_provider",
|
|
561
|
+
"get_all_assistant_telemetry",
|
|
562
|
+
"get_assistant_telemetry_provider",
|
|
563
|
+
"get_all_assistant_telemetry_provider",
|
|
446
564
|
"get_assistant_tool",
|
|
447
565
|
"get_all_assistant_tool",
|
|
448
|
-
"
|
|
449
|
-
"
|
|
566
|
+
"get_assistant_tool_log",
|
|
567
|
+
"get_all_assistant_tool_log",
|
|
568
|
+
"get_all_conversation_message",
|
|
569
|
+
"get_all_message",
|
|
570
|
+
"create_endpoint",
|
|
571
|
+
"create_endpoint_cache_configuration",
|
|
572
|
+
"create_endpoint_provider_model",
|
|
573
|
+
"create_endpoint_retry_configuration",
|
|
574
|
+
"create_endpoint_tag",
|
|
575
|
+
"fork_endpoint",
|
|
450
576
|
"get_endpoint",
|
|
451
577
|
"get_all_endpoint",
|
|
578
|
+
"get_all_endpoint_provider_model",
|
|
452
579
|
"get_endpoint_log",
|
|
453
580
|
"get_all_endpoint_log",
|
|
454
581
|
"invoke",
|
|
582
|
+
"probe",
|
|
583
|
+
"update",
|
|
455
584
|
"get_assistant_analysis",
|
|
456
|
-
"
|
|
585
|
+
"get_assistant_authentication",
|
|
586
|
+
"retry_assistant_http_log",
|
|
587
|
+
"update_endpoint_detail",
|
|
588
|
+
"update_endpoint_version",
|
|
589
|
+
"update_assistant_analysis",
|
|
590
|
+
"update_assistant_detail",
|
|
591
|
+
"update_assistant_knowledge",
|
|
592
|
+
"update_assistant_telemetry_provider",
|
|
593
|
+
"update_assistant_tool",
|
|
594
|
+
"update_assistant_version",
|
|
595
|
+
"update_assistant_webhook",
|
|
596
|
+
"create_message_metric",
|
|
597
|
+
"create_conversation_metric",
|
|
457
598
|
"create_phone_call",
|
|
458
599
|
"create_bulk_phone_call",
|
|
459
600
|
# Protobuf classes
|
|
@@ -578,8 +719,8 @@ __all__ = [
|
|
|
578
719
|
"GetAllAssistantConversationResponse",
|
|
579
720
|
"GetAllConversationMessageRequest",
|
|
580
721
|
"GetAllConversationMessageResponse",
|
|
722
|
+
"AssistantHTTPLog",
|
|
581
723
|
"AssistantWebhook",
|
|
582
|
-
"AssistantWebhookLog",
|
|
583
724
|
"CreateAssistantWebhookRequest",
|
|
584
725
|
"UpdateAssistantWebhookRequest",
|
|
585
726
|
"GetAssistantWebhookRequest",
|
|
@@ -587,10 +728,11 @@ __all__ = [
|
|
|
587
728
|
"GetAssistantWebhookResponse",
|
|
588
729
|
"GetAllAssistantWebhookRequest",
|
|
589
730
|
"GetAllAssistantWebhookResponse",
|
|
590
|
-
"
|
|
591
|
-
"
|
|
592
|
-
"
|
|
593
|
-
"
|
|
731
|
+
"GetAllAssistantHTTPLogRequest",
|
|
732
|
+
"GetAssistantHTTPLogRequest",
|
|
733
|
+
"GetAssistantHTTPLogResponse",
|
|
734
|
+
"GetAllAssistantHTTPLogResponse",
|
|
735
|
+
"RetryAssistantHTTPLogRequest",
|
|
594
736
|
"GeneralConnectRequest",
|
|
595
737
|
"GeneralConnectResponse",
|
|
596
738
|
"GetConnectorFilesRequest",
|
|
@@ -627,6 +769,7 @@ __all__ = [
|
|
|
627
769
|
"GetEndpointLogRequest",
|
|
628
770
|
"GetEndpointLogResponse",
|
|
629
771
|
"AssistantTool",
|
|
772
|
+
"AssistantToolLog",
|
|
630
773
|
"CreateAssistantToolRequest",
|
|
631
774
|
"UpdateAssistantToolRequest",
|
|
632
775
|
"GetAssistantToolRequest",
|
|
@@ -634,6 +777,10 @@ __all__ = [
|
|
|
634
777
|
"GetAssistantToolResponse",
|
|
635
778
|
"GetAllAssistantToolRequest",
|
|
636
779
|
"GetAllAssistantToolResponse",
|
|
780
|
+
"GetAssistantToolLogRequest",
|
|
781
|
+
"GetAssistantToolLogResponse",
|
|
782
|
+
"GetAllAssistantToolLogRequest",
|
|
783
|
+
"GetAllAssistantToolLogResponse",
|
|
637
784
|
"Credential",
|
|
638
785
|
"ToolDefinition",
|
|
639
786
|
"FunctionDefinition",
|
|
@@ -677,18 +824,39 @@ __all__ = [
|
|
|
677
824
|
"UpdateKnowledgeDetailRequest",
|
|
678
825
|
"UpdateKnowledgeDocumentSegmentRequest",
|
|
679
826
|
"DeleteKnowledgeDocumentSegmentRequest",
|
|
827
|
+
"AssistantProviderAgentkit",
|
|
828
|
+
"AssistantProviderModel",
|
|
829
|
+
"AssistantProviderWebsocket",
|
|
830
|
+
"CreateAssistantProviderRequest",
|
|
831
|
+
"GetAllAssistantProviderRequest",
|
|
832
|
+
"GetAllAssistantProviderResponse",
|
|
833
|
+
"GetAssistantProviderResponse",
|
|
834
|
+
"UpdateAssistantVersionRequest",
|
|
680
835
|
"Assistant",
|
|
836
|
+
"CreateAssistantAuthenticationRequest",
|
|
681
837
|
"CreateAssistantRequest",
|
|
682
838
|
"CreateAssistantTagRequest",
|
|
839
|
+
"CreateAssistantTelemetryProviderRequest",
|
|
683
840
|
"GetAssistantRequest",
|
|
841
|
+
"GetAssistantAuthenticationRequest",
|
|
842
|
+
"GetAssistantAuthenticationResponse",
|
|
684
843
|
"DeleteAssistantRequest",
|
|
844
|
+
"DeleteAssistantTelemetryProviderRequest",
|
|
845
|
+
"DisableAssistantAuthenticationRequest",
|
|
685
846
|
"GetAssistantResponse",
|
|
686
847
|
"GetAllAssistantRequest",
|
|
687
848
|
"GetAllAssistantResponse",
|
|
688
849
|
"GetAllAssistantMessageRequest",
|
|
689
850
|
"GetAllAssistantMessageResponse",
|
|
851
|
+
"GetAllAssistantTelemetryProviderRequest",
|
|
852
|
+
"GetAllAssistantTelemetryProviderResponse",
|
|
853
|
+
"GetAllAssistantTelemetryRequest",
|
|
854
|
+
"GetAllAssistantTelemetryResponse",
|
|
690
855
|
"GetAllMessageRequest",
|
|
691
856
|
"GetAllMessageResponse",
|
|
857
|
+
"GetAssistantTelemetryProviderRequest",
|
|
858
|
+
"GetAssistantTelemetryProviderResponse",
|
|
859
|
+
"UpdateAssistantTelemetryProviderRequest",
|
|
692
860
|
"UpdateAssistantDetailRequest",
|
|
693
861
|
"GetAssistantConversationRequest",
|
|
694
862
|
"GetAssistantConversationResponse",
|
|
@@ -697,21 +865,18 @@ __all__ = [
|
|
|
697
865
|
"AgentKitServicer",
|
|
698
866
|
"TalkServiceServicer",
|
|
699
867
|
"add_AgentKitServicer_to_server",
|
|
700
|
-
|
|
701
|
-
"
|
|
702
|
-
"AgentKitServer",
|
|
703
|
-
"SSLConfig",
|
|
704
|
-
"AuthConfig",
|
|
705
|
-
"AuthorizationInterceptor",
|
|
706
|
-
"AssistantTalkInput",
|
|
707
|
-
"AssistantTalkOutput",
|
|
868
|
+
"AssistantTalkRequest",
|
|
869
|
+
"AssistantTalkResponse",
|
|
708
870
|
"TalkInput",
|
|
709
871
|
"TalkOutput",
|
|
710
872
|
"ConversationAssistantMessage",
|
|
711
873
|
"ConversationConfiguration",
|
|
712
|
-
"
|
|
874
|
+
"ConversationDisconnection",
|
|
713
875
|
"ConversationInterruption",
|
|
876
|
+
"ConversationModeChange",
|
|
714
877
|
"ConversationUserMessage",
|
|
715
878
|
"ConversationToolCall",
|
|
716
|
-
"
|
|
879
|
+
"ConversationToolCallResult",
|
|
717
880
|
]
|
|
881
|
+
|
|
882
|
+
__all__.extend(_AGENTKIT_EXPORTS)
|