rapida-python 0.1.15__tar.gz → 0.1.17__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.15 → rapida_python-0.1.17}/PKG-INFO +1 -1
- {rapida_python-0.1.15 → rapida_python-0.1.17}/pyproject.toml +1 -1
- {rapida_python-0.1.15 → rapida_python-0.1.17}/rapida/__init__.py +4 -2
- {rapida_python-0.1.15 → rapida_python-0.1.17}/rapida/clients/assistant.py +33 -0
- {rapida_python-0.1.15 → rapida_python-0.1.17}/rapida/configs/__init__.py +3 -3
- {rapida_python-0.1.15 → rapida_python-0.1.17}/rapida/connections/__init__.py +4 -4
- {rapida_python-0.1.15 → rapida_python-0.1.17}/rapida_python.egg-info/PKG-INFO +1 -1
- {rapida_python-0.1.15 → rapida_python-0.1.17}/README.md +0 -0
- {rapida_python-0.1.15 → rapida_python-0.1.17}/rapida/clients/__init__.py +0 -0
- {rapida_python-0.1.15 → rapida_python-0.1.17}/rapida/clients/call.py +0 -0
- {rapida_python-0.1.15 → rapida_python-0.1.17}/rapida/clients/endpoint.py +0 -0
- {rapida_python-0.1.15 → rapida_python-0.1.17}/rapida/clients/invoke.py +0 -0
- {rapida_python-0.1.15 → rapida_python-0.1.17}/rapida/clients/protos/assistant_analysis_pb2.py +0 -0
- {rapida_python-0.1.15 → rapida_python-0.1.17}/rapida/clients/protos/assistant_analysis_pb2.pyi +0 -0
- {rapida_python-0.1.15 → rapida_python-0.1.17}/rapida/clients/protos/assistant_analysis_pb2_grpc.py +0 -0
- {rapida_python-0.1.15 → rapida_python-0.1.17}/rapida/clients/protos/assistant_api_pb2.py +0 -0
- {rapida_python-0.1.15 → rapida_python-0.1.17}/rapida/clients/protos/assistant_api_pb2.pyi +0 -0
- {rapida_python-0.1.15 → rapida_python-0.1.17}/rapida/clients/protos/assistant_api_pb2_grpc.py +0 -0
- {rapida_python-0.1.15 → rapida_python-0.1.17}/rapida/clients/protos/assistant_deployment_pb2.py +0 -0
- {rapida_python-0.1.15 → rapida_python-0.1.17}/rapida/clients/protos/assistant_deployment_pb2.pyi +0 -0
- {rapida_python-0.1.15 → rapida_python-0.1.17}/rapida/clients/protos/assistant_deployment_pb2_grpc.py +0 -0
- {rapida_python-0.1.15 → rapida_python-0.1.17}/rapida/clients/protos/assistant_knowledge_pb2.py +0 -0
- {rapida_python-0.1.15 → rapida_python-0.1.17}/rapida/clients/protos/assistant_knowledge_pb2.pyi +0 -0
- {rapida_python-0.1.15 → rapida_python-0.1.17}/rapida/clients/protos/assistant_knowledge_pb2_grpc.py +0 -0
- {rapida_python-0.1.15 → rapida_python-0.1.17}/rapida/clients/protos/assistant_tool_pb2.py +0 -0
- {rapida_python-0.1.15 → rapida_python-0.1.17}/rapida/clients/protos/assistant_tool_pb2.pyi +0 -0
- {rapida_python-0.1.15 → rapida_python-0.1.17}/rapida/clients/protos/assistant_tool_pb2_grpc.py +0 -0
- {rapida_python-0.1.15 → rapida_python-0.1.17}/rapida/clients/protos/assistant_webhook_pb2.py +0 -0
- {rapida_python-0.1.15 → rapida_python-0.1.17}/rapida/clients/protos/assistant_webhook_pb2.pyi +0 -0
- {rapida_python-0.1.15 → rapida_python-0.1.17}/rapida/clients/protos/assistant_webhook_pb2_grpc.py +0 -0
- {rapida_python-0.1.15 → rapida_python-0.1.17}/rapida/clients/protos/audit_logging_api_pb2.py +0 -0
- {rapida_python-0.1.15 → rapida_python-0.1.17}/rapida/clients/protos/audit_logging_api_pb2.pyi +0 -0
- {rapida_python-0.1.15 → rapida_python-0.1.17}/rapida/clients/protos/audit_logging_api_pb2_grpc.py +0 -0
- {rapida_python-0.1.15 → rapida_python-0.1.17}/rapida/clients/protos/common_pb2.py +0 -0
- {rapida_python-0.1.15 → rapida_python-0.1.17}/rapida/clients/protos/common_pb2.pyi +0 -0
- {rapida_python-0.1.15 → rapida_python-0.1.17}/rapida/clients/protos/common_pb2_grpc.py +0 -0
- {rapida_python-0.1.15 → rapida_python-0.1.17}/rapida/clients/protos/connect_api_pb2.py +0 -0
- {rapida_python-0.1.15 → rapida_python-0.1.17}/rapida/clients/protos/connect_api_pb2.pyi +0 -0
- {rapida_python-0.1.15 → rapida_python-0.1.17}/rapida/clients/protos/connect_api_pb2_grpc.py +0 -0
- {rapida_python-0.1.15 → rapida_python-0.1.17}/rapida/clients/protos/document_api_pb2.py +0 -0
- {rapida_python-0.1.15 → rapida_python-0.1.17}/rapida/clients/protos/document_api_pb2.pyi +0 -0
- {rapida_python-0.1.15 → rapida_python-0.1.17}/rapida/clients/protos/document_api_pb2_grpc.py +0 -0
- {rapida_python-0.1.15 → rapida_python-0.1.17}/rapida/clients/protos/endpoint_api_pb2.py +0 -0
- {rapida_python-0.1.15 → rapida_python-0.1.17}/rapida/clients/protos/endpoint_api_pb2.pyi +0 -0
- {rapida_python-0.1.15 → rapida_python-0.1.17}/rapida/clients/protos/endpoint_api_pb2_grpc.py +0 -0
- {rapida_python-0.1.15 → rapida_python-0.1.17}/rapida/clients/protos/integration_api_pb2.py +0 -0
- {rapida_python-0.1.15 → rapida_python-0.1.17}/rapida/clients/protos/integration_api_pb2.pyi +0 -0
- {rapida_python-0.1.15 → rapida_python-0.1.17}/rapida/clients/protos/integration_api_pb2_grpc.py +0 -0
- {rapida_python-0.1.15 → rapida_python-0.1.17}/rapida/clients/protos/invoker_api_pb2.py +0 -0
- {rapida_python-0.1.15 → rapida_python-0.1.17}/rapida/clients/protos/invoker_api_pb2.pyi +0 -0
- {rapida_python-0.1.15 → rapida_python-0.1.17}/rapida/clients/protos/invoker_api_pb2_grpc.py +0 -0
- {rapida_python-0.1.15 → rapida_python-0.1.17}/rapida/clients/protos/knowledge_api_pb2.py +0 -0
- {rapida_python-0.1.15 → rapida_python-0.1.17}/rapida/clients/protos/knowledge_api_pb2.pyi +0 -0
- {rapida_python-0.1.15 → rapida_python-0.1.17}/rapida/clients/protos/knowledge_api_pb2_grpc.py +0 -0
- {rapida_python-0.1.15 → rapida_python-0.1.17}/rapida/clients/protos/marketplace_api_pb2.py +0 -0
- {rapida_python-0.1.15 → rapida_python-0.1.17}/rapida/clients/protos/marketplace_api_pb2.pyi +0 -0
- {rapida_python-0.1.15 → rapida_python-0.1.17}/rapida/clients/protos/marketplace_api_pb2_grpc.py +0 -0
- {rapida_python-0.1.15 → rapida_python-0.1.17}/rapida/clients/protos/provider_api_pb2.py +0 -0
- {rapida_python-0.1.15 → rapida_python-0.1.17}/rapida/clients/protos/provider_api_pb2.pyi +0 -0
- {rapida_python-0.1.15 → rapida_python-0.1.17}/rapida/clients/protos/provider_api_pb2_grpc.py +0 -0
- {rapida_python-0.1.15 → rapida_python-0.1.17}/rapida/clients/protos/sendgrid_api_pb2.py +0 -0
- {rapida_python-0.1.15 → rapida_python-0.1.17}/rapida/clients/protos/sendgrid_api_pb2.pyi +0 -0
- {rapida_python-0.1.15 → rapida_python-0.1.17}/rapida/clients/protos/sendgrid_api_pb2_grpc.py +0 -0
- {rapida_python-0.1.15 → rapida_python-0.1.17}/rapida/clients/protos/talk_api_pb2.py +0 -0
- {rapida_python-0.1.15 → rapida_python-0.1.17}/rapida/clients/protos/talk_api_pb2.pyi +0 -0
- {rapida_python-0.1.15 → rapida_python-0.1.17}/rapida/clients/protos/talk_api_pb2_grpc.py +0 -0
- {rapida_python-0.1.15 → rapida_python-0.1.17}/rapida/clients/protos/vault_api_pb2.py +0 -0
- {rapida_python-0.1.15 → rapida_python-0.1.17}/rapida/clients/protos/vault_api_pb2.pyi +0 -0
- {rapida_python-0.1.15 → rapida_python-0.1.17}/rapida/clients/protos/vault_api_pb2_grpc.py +0 -0
- {rapida_python-0.1.15 → rapida_python-0.1.17}/rapida/clients/protos/web_api_pb2.py +0 -0
- {rapida_python-0.1.15 → rapida_python-0.1.17}/rapida/clients/protos/web_api_pb2.pyi +0 -0
- {rapida_python-0.1.15 → rapida_python-0.1.17}/rapida/clients/protos/web_api_pb2_grpc.py +0 -0
- {rapida_python-0.1.15 → rapida_python-0.1.17}/rapida/utils/__init__.py +0 -0
- {rapida_python-0.1.15 → rapida_python-0.1.17}/rapida/utils/rapida_environment.py +0 -0
- {rapida_python-0.1.15 → rapida_python-0.1.17}/rapida/utils/rapida_header.py +0 -0
- {rapida_python-0.1.15 → rapida_python-0.1.17}/rapida/utils/rapida_region.py +0 -0
- {rapida_python-0.1.15 → rapida_python-0.1.17}/rapida/utils/rapida_source.py +0 -0
- {rapida_python-0.1.15 → rapida_python-0.1.17}/rapida/utils/rapida_value.py +0 -0
- {rapida_python-0.1.15 → rapida_python-0.1.17}/rapida/version.py +0 -0
- {rapida_python-0.1.15 → rapida_python-0.1.17}/rapida_python.egg-info/SOURCES.txt +0 -0
- {rapida_python-0.1.15 → rapida_python-0.1.17}/rapida_python.egg-info/dependency_links.txt +0 -0
- {rapida_python-0.1.15 → rapida_python-0.1.17}/rapida_python.egg-info/requires.txt +0 -0
- {rapida_python-0.1.15 → rapida_python-0.1.17}/rapida_python.egg-info/top_level.txt +0 -0
- {rapida_python-0.1.15 → rapida_python-0.1.17}/setup.cfg +0 -0
- {rapida_python-0.1.15 → rapida_python-0.1.17}/setup.py +0 -0
|
@@ -213,6 +213,8 @@ from rapida.clients.assistant import (
|
|
|
213
213
|
get_all_assistant_tool,
|
|
214
214
|
get_assistant_webhook_log,
|
|
215
215
|
get_all_assistant_webhook_log,
|
|
216
|
+
get_assistant_analysis,
|
|
217
|
+
get_all_assistant_analysis,
|
|
216
218
|
)
|
|
217
219
|
|
|
218
220
|
from rapida.clients.endpoint import (
|
|
@@ -534,8 +536,6 @@ from rapida.clients.protos.assistant_api_pb2 import (
|
|
|
534
536
|
GetAllMessageResponse,
|
|
535
537
|
UpdateAssistantVersionRequest,
|
|
536
538
|
UpdateAssistantDetailRequest,
|
|
537
|
-
GetAllAssistantUserConversationRequest,
|
|
538
|
-
GetAllAssistantUserConversationResponse,
|
|
539
539
|
GetAssistantConversationRequest,
|
|
540
540
|
GetAssistantConversationResponse,
|
|
541
541
|
)
|
|
@@ -599,6 +599,8 @@ __all__ = [
|
|
|
599
599
|
"get_endpoint_log",
|
|
600
600
|
"get_all_endpoint_log",
|
|
601
601
|
"invoke",
|
|
602
|
+
"get_assistant_analysis",
|
|
603
|
+
"get_all_assistant_analysis",
|
|
602
604
|
# "IndexKnowledgeDocument",
|
|
603
605
|
# "GetAllDeployment",
|
|
604
606
|
# "Invoke",
|
|
@@ -20,6 +20,13 @@ from rapida.clients.protos.assistant_webhook_pb2 import (
|
|
|
20
20
|
GetAssistantWebhookRequest,
|
|
21
21
|
GetAssistantWebhookResponse,
|
|
22
22
|
)
|
|
23
|
+
|
|
24
|
+
from rapida.clients.protos.assistant_analysis_pb2 import (
|
|
25
|
+
GetAllAssistantAnalysisRequest,
|
|
26
|
+
GetAssistantAnalysisRequest,
|
|
27
|
+
GetAssistantAnalysisResponse,
|
|
28
|
+
GetAllAssistantAnalysisResponse
|
|
29
|
+
)
|
|
23
30
|
from rapida.clients.protos.assistant_tool_pb2 import (
|
|
24
31
|
GetAllAssistantToolRequest,
|
|
25
32
|
GetAllAssistantToolResponse,
|
|
@@ -167,6 +174,32 @@ def get_all_assistant_tool(
|
|
|
167
174
|
)
|
|
168
175
|
|
|
169
176
|
|
|
177
|
+
def get_assistant_analysis(
|
|
178
|
+
client_cfg: ConnectionConfig,
|
|
179
|
+
request: GetAssistantAnalysisRequest,
|
|
180
|
+
auth: Union[UserAuthInfo, ClientAuthInfo, None] = None,
|
|
181
|
+
) -> GetAssistantAnalysisResponse:
|
|
182
|
+
if auth is None:
|
|
183
|
+
auth = client_cfg.auth
|
|
184
|
+
return client_cfg.assistant_client.GetAssistantAnalysis(
|
|
185
|
+
request,
|
|
186
|
+
metadata=auth,
|
|
187
|
+
)
|
|
188
|
+
|
|
189
|
+
|
|
190
|
+
def get_all_assistant_analysis(
|
|
191
|
+
client_cfg: ConnectionConfig,
|
|
192
|
+
request: GetAllAssistantAnalysisRequest,
|
|
193
|
+
auth: Union[UserAuthInfo, ClientAuthInfo, None] = None,
|
|
194
|
+
) -> GetAllAssistantAnalysisResponse:
|
|
195
|
+
if auth is None:
|
|
196
|
+
auth = client_cfg.auth
|
|
197
|
+
return client_cfg.assistant_client.GetAllAssistantAnalysis(
|
|
198
|
+
request,
|
|
199
|
+
metadata=auth,
|
|
200
|
+
)
|
|
201
|
+
|
|
202
|
+
|
|
170
203
|
def get_assistant_webhook_log(
|
|
171
204
|
client_cfg: ConnectionConfig,
|
|
172
205
|
request: GetAssistantWebhookLogRequest,
|
|
@@ -24,9 +24,9 @@ Author: Prashant <prashant@rapida.ai>
|
|
|
24
24
|
This module provides functions for managing projects through the ProjectService.
|
|
25
25
|
"""
|
|
26
26
|
|
|
27
|
-
ASSISTANT_API = "
|
|
28
|
-
WEB_API = "
|
|
29
|
-
ENDPOINT_API = "
|
|
27
|
+
ASSISTANT_API = "workflow-01.rapida.ai"
|
|
28
|
+
WEB_API = "api.rapida.ai"
|
|
29
|
+
ENDPOINT_API = "endpoint-01.rapida.ai"
|
|
30
30
|
|
|
31
31
|
LOCAL_ASSISTANT_API = "localhost:9007"
|
|
32
32
|
LOCAL_WEB_API = "localhost:9001"
|
|
@@ -130,7 +130,7 @@ class ConnectionConfig:
|
|
|
130
130
|
|
|
131
131
|
@property
|
|
132
132
|
def assistant_client(self):
|
|
133
|
-
return AssistantServiceStub(self._create_channel(self._endpoint["
|
|
133
|
+
return AssistantServiceStub(self._create_channel(self._endpoint["assistant"]))
|
|
134
134
|
|
|
135
135
|
@property
|
|
136
136
|
def project_client(self):
|
|
@@ -138,7 +138,7 @@ class ConnectionConfig:
|
|
|
138
138
|
|
|
139
139
|
@property
|
|
140
140
|
def knowledge_client(self):
|
|
141
|
-
return KnowledgeServiceStub(self._create_channel(self._endpoint["
|
|
141
|
+
return KnowledgeServiceStub(self._create_channel(self._endpoint["assistant"]))
|
|
142
142
|
|
|
143
143
|
@property
|
|
144
144
|
def deployment_client(self):
|
|
@@ -158,7 +158,7 @@ class ConnectionConfig:
|
|
|
158
158
|
|
|
159
159
|
@property
|
|
160
160
|
def endpoint_client(self):
|
|
161
|
-
return EndpointServiceStub(self._create_channel(self._endpoint["
|
|
161
|
+
return EndpointServiceStub(self._create_channel(self._endpoint["endpoint"]))
|
|
162
162
|
|
|
163
163
|
@property
|
|
164
164
|
def audit_logging_client(self):
|
|
@@ -167,7 +167,7 @@ class ConnectionConfig:
|
|
|
167
167
|
@property
|
|
168
168
|
def assistant_deployment_client(self):
|
|
169
169
|
return AssistantDeploymentServiceStub(
|
|
170
|
-
self._create_channel(self._endpoint["
|
|
170
|
+
self._create_channel(self._endpoint["assistant"])
|
|
171
171
|
)
|
|
172
172
|
|
|
173
173
|
@property
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{rapida_python-0.1.15 → rapida_python-0.1.17}/rapida/clients/protos/assistant_analysis_pb2.py
RENAMED
|
File without changes
|
{rapida_python-0.1.15 → rapida_python-0.1.17}/rapida/clients/protos/assistant_analysis_pb2.pyi
RENAMED
|
File without changes
|
{rapida_python-0.1.15 → rapida_python-0.1.17}/rapida/clients/protos/assistant_analysis_pb2_grpc.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{rapida_python-0.1.15 → rapida_python-0.1.17}/rapida/clients/protos/assistant_api_pb2_grpc.py
RENAMED
|
File without changes
|
{rapida_python-0.1.15 → rapida_python-0.1.17}/rapida/clients/protos/assistant_deployment_pb2.py
RENAMED
|
File without changes
|
{rapida_python-0.1.15 → rapida_python-0.1.17}/rapida/clients/protos/assistant_deployment_pb2.pyi
RENAMED
|
File without changes
|
{rapida_python-0.1.15 → rapida_python-0.1.17}/rapida/clients/protos/assistant_deployment_pb2_grpc.py
RENAMED
|
File without changes
|
{rapida_python-0.1.15 → rapida_python-0.1.17}/rapida/clients/protos/assistant_knowledge_pb2.py
RENAMED
|
File without changes
|
{rapida_python-0.1.15 → rapida_python-0.1.17}/rapida/clients/protos/assistant_knowledge_pb2.pyi
RENAMED
|
File without changes
|
{rapida_python-0.1.15 → rapida_python-0.1.17}/rapida/clients/protos/assistant_knowledge_pb2_grpc.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{rapida_python-0.1.15 → rapida_python-0.1.17}/rapida/clients/protos/assistant_tool_pb2_grpc.py
RENAMED
|
File without changes
|
{rapida_python-0.1.15 → rapida_python-0.1.17}/rapida/clients/protos/assistant_webhook_pb2.py
RENAMED
|
File without changes
|
{rapida_python-0.1.15 → rapida_python-0.1.17}/rapida/clients/protos/assistant_webhook_pb2.pyi
RENAMED
|
File without changes
|
{rapida_python-0.1.15 → rapida_python-0.1.17}/rapida/clients/protos/assistant_webhook_pb2_grpc.py
RENAMED
|
File without changes
|
{rapida_python-0.1.15 → rapida_python-0.1.17}/rapida/clients/protos/audit_logging_api_pb2.py
RENAMED
|
File without changes
|
{rapida_python-0.1.15 → rapida_python-0.1.17}/rapida/clients/protos/audit_logging_api_pb2.pyi
RENAMED
|
File without changes
|
{rapida_python-0.1.15 → rapida_python-0.1.17}/rapida/clients/protos/audit_logging_api_pb2_grpc.py
RENAMED
|
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
|
{rapida_python-0.1.15 → rapida_python-0.1.17}/rapida/clients/protos/document_api_pb2_grpc.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{rapida_python-0.1.15 → rapida_python-0.1.17}/rapida/clients/protos/endpoint_api_pb2_grpc.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{rapida_python-0.1.15 → rapida_python-0.1.17}/rapida/clients/protos/integration_api_pb2_grpc.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{rapida_python-0.1.15 → rapida_python-0.1.17}/rapida/clients/protos/knowledge_api_pb2_grpc.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{rapida_python-0.1.15 → rapida_python-0.1.17}/rapida/clients/protos/marketplace_api_pb2_grpc.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{rapida_python-0.1.15 → rapida_python-0.1.17}/rapida/clients/protos/provider_api_pb2_grpc.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{rapida_python-0.1.15 → rapida_python-0.1.17}/rapida/clients/protos/sendgrid_api_pb2_grpc.py
RENAMED
|
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
|