rapida-python 0.1.12__tar.gz → 0.1.14__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.
Files changed (88) hide show
  1. rapida_python-0.1.14/PKG-INFO +120 -0
  2. rapida_python-0.1.14/README.md +89 -0
  3. {rapida_python-0.1.12 → rapida_python-0.1.14}/pyproject.toml +1 -1
  4. {rapida_python-0.1.12 → rapida_python-0.1.14}/rapida/clients/assistant.py +12 -12
  5. {rapida_python-0.1.12 → rapida_python-0.1.14}/rapida/clients/call.py +2 -2
  6. {rapida_python-0.1.12 → rapida_python-0.1.14}/rapida/clients/endpoint.py +4 -4
  7. {rapida_python-0.1.12 → rapida_python-0.1.14}/rapida/clients/invoke.py +1 -1
  8. {rapida_python-0.1.12 → rapida_python-0.1.14}/rapida/clients/protos/assistant_api_pb2.py +9 -15
  9. {rapida_python-0.1.12 → rapida_python-0.1.14}/rapida/clients/protos/assistant_api_pb2.pyi +4 -30
  10. rapida_python-0.1.14/rapida_python.egg-info/PKG-INFO +120 -0
  11. rapida_python-0.1.12/PKG-INFO +0 -78
  12. rapida_python-0.1.12/README.md +0 -47
  13. rapida_python-0.1.12/rapida_python.egg-info/PKG-INFO +0 -78
  14. {rapida_python-0.1.12 → rapida_python-0.1.14}/rapida/__init__.py +0 -0
  15. {rapida_python-0.1.12 → rapida_python-0.1.14}/rapida/clients/__init__.py +0 -0
  16. {rapida_python-0.1.12 → rapida_python-0.1.14}/rapida/clients/protos/assistant_analysis_pb2.py +0 -0
  17. {rapida_python-0.1.12 → rapida_python-0.1.14}/rapida/clients/protos/assistant_analysis_pb2.pyi +0 -0
  18. {rapida_python-0.1.12 → rapida_python-0.1.14}/rapida/clients/protos/assistant_analysis_pb2_grpc.py +0 -0
  19. {rapida_python-0.1.12 → rapida_python-0.1.14}/rapida/clients/protos/assistant_api_pb2_grpc.py +0 -0
  20. {rapida_python-0.1.12 → rapida_python-0.1.14}/rapida/clients/protos/assistant_deployment_pb2.py +0 -0
  21. {rapida_python-0.1.12 → rapida_python-0.1.14}/rapida/clients/protos/assistant_deployment_pb2.pyi +0 -0
  22. {rapida_python-0.1.12 → rapida_python-0.1.14}/rapida/clients/protos/assistant_deployment_pb2_grpc.py +0 -0
  23. {rapida_python-0.1.12 → rapida_python-0.1.14}/rapida/clients/protos/assistant_knowledge_pb2.py +0 -0
  24. {rapida_python-0.1.12 → rapida_python-0.1.14}/rapida/clients/protos/assistant_knowledge_pb2.pyi +0 -0
  25. {rapida_python-0.1.12 → rapida_python-0.1.14}/rapida/clients/protos/assistant_knowledge_pb2_grpc.py +0 -0
  26. {rapida_python-0.1.12 → rapida_python-0.1.14}/rapida/clients/protos/assistant_tool_pb2.py +0 -0
  27. {rapida_python-0.1.12 → rapida_python-0.1.14}/rapida/clients/protos/assistant_tool_pb2.pyi +0 -0
  28. {rapida_python-0.1.12 → rapida_python-0.1.14}/rapida/clients/protos/assistant_tool_pb2_grpc.py +0 -0
  29. {rapida_python-0.1.12 → rapida_python-0.1.14}/rapida/clients/protos/assistant_webhook_pb2.py +0 -0
  30. {rapida_python-0.1.12 → rapida_python-0.1.14}/rapida/clients/protos/assistant_webhook_pb2.pyi +0 -0
  31. {rapida_python-0.1.12 → rapida_python-0.1.14}/rapida/clients/protos/assistant_webhook_pb2_grpc.py +0 -0
  32. {rapida_python-0.1.12 → rapida_python-0.1.14}/rapida/clients/protos/audit_logging_api_pb2.py +0 -0
  33. {rapida_python-0.1.12 → rapida_python-0.1.14}/rapida/clients/protos/audit_logging_api_pb2.pyi +0 -0
  34. {rapida_python-0.1.12 → rapida_python-0.1.14}/rapida/clients/protos/audit_logging_api_pb2_grpc.py +0 -0
  35. {rapida_python-0.1.12 → rapida_python-0.1.14}/rapida/clients/protos/common_pb2.py +0 -0
  36. {rapida_python-0.1.12 → rapida_python-0.1.14}/rapida/clients/protos/common_pb2.pyi +0 -0
  37. {rapida_python-0.1.12 → rapida_python-0.1.14}/rapida/clients/protos/common_pb2_grpc.py +0 -0
  38. {rapida_python-0.1.12 → rapida_python-0.1.14}/rapida/clients/protos/connect_api_pb2.py +0 -0
  39. {rapida_python-0.1.12 → rapida_python-0.1.14}/rapida/clients/protos/connect_api_pb2.pyi +0 -0
  40. {rapida_python-0.1.12 → rapida_python-0.1.14}/rapida/clients/protos/connect_api_pb2_grpc.py +0 -0
  41. {rapida_python-0.1.12 → rapida_python-0.1.14}/rapida/clients/protos/document_api_pb2.py +0 -0
  42. {rapida_python-0.1.12 → rapida_python-0.1.14}/rapida/clients/protos/document_api_pb2.pyi +0 -0
  43. {rapida_python-0.1.12 → rapida_python-0.1.14}/rapida/clients/protos/document_api_pb2_grpc.py +0 -0
  44. {rapida_python-0.1.12 → rapida_python-0.1.14}/rapida/clients/protos/endpoint_api_pb2.py +0 -0
  45. {rapida_python-0.1.12 → rapida_python-0.1.14}/rapida/clients/protos/endpoint_api_pb2.pyi +0 -0
  46. {rapida_python-0.1.12 → rapida_python-0.1.14}/rapida/clients/protos/endpoint_api_pb2_grpc.py +0 -0
  47. {rapida_python-0.1.12 → rapida_python-0.1.14}/rapida/clients/protos/integration_api_pb2.py +0 -0
  48. {rapida_python-0.1.12 → rapida_python-0.1.14}/rapida/clients/protos/integration_api_pb2.pyi +0 -0
  49. {rapida_python-0.1.12 → rapida_python-0.1.14}/rapida/clients/protos/integration_api_pb2_grpc.py +0 -0
  50. {rapida_python-0.1.12 → rapida_python-0.1.14}/rapida/clients/protos/invoker_api_pb2.py +0 -0
  51. {rapida_python-0.1.12 → rapida_python-0.1.14}/rapida/clients/protos/invoker_api_pb2.pyi +0 -0
  52. {rapida_python-0.1.12 → rapida_python-0.1.14}/rapida/clients/protos/invoker_api_pb2_grpc.py +0 -0
  53. {rapida_python-0.1.12 → rapida_python-0.1.14}/rapida/clients/protos/knowledge_api_pb2.py +0 -0
  54. {rapida_python-0.1.12 → rapida_python-0.1.14}/rapida/clients/protos/knowledge_api_pb2.pyi +0 -0
  55. {rapida_python-0.1.12 → rapida_python-0.1.14}/rapida/clients/protos/knowledge_api_pb2_grpc.py +0 -0
  56. {rapida_python-0.1.12 → rapida_python-0.1.14}/rapida/clients/protos/marketplace_api_pb2.py +0 -0
  57. {rapida_python-0.1.12 → rapida_python-0.1.14}/rapida/clients/protos/marketplace_api_pb2.pyi +0 -0
  58. {rapida_python-0.1.12 → rapida_python-0.1.14}/rapida/clients/protos/marketplace_api_pb2_grpc.py +0 -0
  59. {rapida_python-0.1.12 → rapida_python-0.1.14}/rapida/clients/protos/provider_api_pb2.py +0 -0
  60. {rapida_python-0.1.12 → rapida_python-0.1.14}/rapida/clients/protos/provider_api_pb2.pyi +0 -0
  61. {rapida_python-0.1.12 → rapida_python-0.1.14}/rapida/clients/protos/provider_api_pb2_grpc.py +0 -0
  62. {rapida_python-0.1.12 → rapida_python-0.1.14}/rapida/clients/protos/sendgrid_api_pb2.py +0 -0
  63. {rapida_python-0.1.12 → rapida_python-0.1.14}/rapida/clients/protos/sendgrid_api_pb2.pyi +0 -0
  64. {rapida_python-0.1.12 → rapida_python-0.1.14}/rapida/clients/protos/sendgrid_api_pb2_grpc.py +0 -0
  65. {rapida_python-0.1.12 → rapida_python-0.1.14}/rapida/clients/protos/talk_api_pb2.py +0 -0
  66. {rapida_python-0.1.12 → rapida_python-0.1.14}/rapida/clients/protos/talk_api_pb2.pyi +0 -0
  67. {rapida_python-0.1.12 → rapida_python-0.1.14}/rapida/clients/protos/talk_api_pb2_grpc.py +0 -0
  68. {rapida_python-0.1.12 → rapida_python-0.1.14}/rapida/clients/protos/vault_api_pb2.py +0 -0
  69. {rapida_python-0.1.12 → rapida_python-0.1.14}/rapida/clients/protos/vault_api_pb2.pyi +0 -0
  70. {rapida_python-0.1.12 → rapida_python-0.1.14}/rapida/clients/protos/vault_api_pb2_grpc.py +0 -0
  71. {rapida_python-0.1.12 → rapida_python-0.1.14}/rapida/clients/protos/web_api_pb2.py +0 -0
  72. {rapida_python-0.1.12 → rapida_python-0.1.14}/rapida/clients/protos/web_api_pb2.pyi +0 -0
  73. {rapida_python-0.1.12 → rapida_python-0.1.14}/rapida/clients/protos/web_api_pb2_grpc.py +0 -0
  74. {rapida_python-0.1.12 → rapida_python-0.1.14}/rapida/configs/__init__.py +0 -0
  75. {rapida_python-0.1.12 → rapida_python-0.1.14}/rapida/connections/__init__.py +0 -0
  76. {rapida_python-0.1.12 → rapida_python-0.1.14}/rapida/utils/__init__.py +0 -0
  77. {rapida_python-0.1.12 → rapida_python-0.1.14}/rapida/utils/rapida_environment.py +0 -0
  78. {rapida_python-0.1.12 → rapida_python-0.1.14}/rapida/utils/rapida_header.py +0 -0
  79. {rapida_python-0.1.12 → rapida_python-0.1.14}/rapida/utils/rapida_region.py +0 -0
  80. {rapida_python-0.1.12 → rapida_python-0.1.14}/rapida/utils/rapida_source.py +0 -0
  81. {rapida_python-0.1.12 → rapida_python-0.1.14}/rapida/utils/rapida_value.py +0 -0
  82. {rapida_python-0.1.12 → rapida_python-0.1.14}/rapida/version.py +0 -0
  83. {rapida_python-0.1.12 → rapida_python-0.1.14}/rapida_python.egg-info/SOURCES.txt +0 -0
  84. {rapida_python-0.1.12 → rapida_python-0.1.14}/rapida_python.egg-info/dependency_links.txt +0 -0
  85. {rapida_python-0.1.12 → rapida_python-0.1.14}/rapida_python.egg-info/requires.txt +0 -0
  86. {rapida_python-0.1.12 → rapida_python-0.1.14}/rapida_python.egg-info/top_level.txt +0 -0
  87. {rapida_python-0.1.12 → rapida_python-0.1.14}/setup.cfg +0 -0
  88. {rapida_python-0.1.12 → rapida_python-0.1.14}/setup.py +0 -0
@@ -0,0 +1,120 @@
1
+ Metadata-Version: 2.4
2
+ Name: rapida-python
3
+ Version: 0.1.14
4
+ Summary: RapidaAI SDK to integrate rapida.ai APIs
5
+ Author-email: RapidaAI <code@rapida.ai>
6
+ License-Expression: MIT
7
+ Project-URL: Homepage, https://github.com/rapidaai/rapida-python
8
+ Project-URL: Bug Reports, https://github.com/rapidaai/rapida-python/issues
9
+ Project-URL: Documentation, https://rapida.ai/docs
10
+ Project-URL: Source, https://github.com/rapidaai/rapida-python
11
+ Classifier: Development Status :: 5 - Production/Stable
12
+ Classifier: Intended Audience :: Developers
13
+ Classifier: Operating System :: OS Independent
14
+ Classifier: Programming Language :: Python
15
+ Classifier: Programming Language :: Python :: 3
16
+ Classifier: Programming Language :: Python :: 3.9
17
+ Classifier: Programming Language :: Python :: 3.10
18
+ Classifier: Programming Language :: Python :: 3.11
19
+ Classifier: Topic :: Software Development :: Libraries :: Python Modules
20
+ Requires-Python: >=3.9
21
+ Description-Content-Type: text/markdown
22
+ Requires-Dist: protobuf
23
+ Requires-Dist: grpcio
24
+ Requires-Dist: grpcio-tools
25
+ Provides-Extra: dev
26
+ Requires-Dist: pytest; extra == "dev"
27
+ Requires-Dist: pytest-cov; extra == "dev"
28
+ Requires-Dist: flake8; extra == "dev"
29
+ Requires-Dist: black; extra == "dev"
30
+ Requires-Dist: mypy; extra == "dev"
31
+
32
+ # Rapida Python SDK
33
+
34
+ [![Build and Publish Python SDK](https://github.com/rapidaai/rapida-python/actions/workflows/python-build.yml/badge.svg?branch=main)](https://github.com/rapidaai/rapida-python/actions/workflows/build.yml)
35
+
36
+ The Rapida Python SDK provides a powerful interface for interacting with Rapida AI services. This SDK simplifies the process of making API calls, handling authentication, and managing responses from Rapida endpoints.
37
+
38
+ ## Installation
39
+
40
+ To install the Rapida Python SDK, use the following command:
41
+
42
+ ```bash
43
+ pip install rapida-python
44
+ ```
45
+
46
+ ## Quick Start
47
+
48
+ Here's how to get started with the Rapida Python SDK:
49
+
50
+ ```python
51
+ from rapida import (
52
+ ConnectionConfig,
53
+ )
54
+ from pprint import pprint
55
+
56
+
57
+ connection_config = ConnectionConfig.default_connection_config(
58
+ ConnectionConfig.with_sdk(
59
+ "{your-api-key-here}" # Replace with your actual API key
60
+ )
61
+ )
62
+
63
+ ```
64
+
65
+ ## Authentication
66
+
67
+ You can configure the Rapida SDK to authenticate using your **API Key** or **Personal Token**:
68
+
69
+ ### Authenticating with API Key
70
+
71
+ ```python
72
+ import os
73
+ from rapida.connections import ConnectionConfig
74
+ connection_config = ConnectionConfig.with_sdk(
75
+ os.environ["RAPIDA_API_KEY"] # API Key from environment variables
76
+ )
77
+ ```
78
+
79
+ ### Authenticating with Personal Token
80
+
81
+ ```python
82
+ import os
83
+ from rapida.connections import ConnectionConfig
84
+
85
+ connection_config = ConnectionConfig.with_personal_token(
86
+ os.environ["RAPIDA_AUTHORIZATION_TOKEN"], # Authorization Token
87
+ os.environ["RAPIDA_AUTH_ID"], # Authentication ID
88
+ os.environ["RAPIDA_PROJECT_ID"], # Project ID
89
+ )
90
+ ```
91
+
92
+ ## Configuration Options
93
+
94
+ The `DefaultConnectionConfig` accepts multiple options for configuring the SDK. Key options include:
95
+
96
+ - `with_sdk(api_key: str)`: Sets the API key for authentication.
97
+ - `with_personal_token(auth_token: str, auth_id: str, project_id: str)`: Configures the connection for personal tokens.
98
+ - `with_endpoint_url(url: str)`: Overrides the default API endpoint URL.
99
+ - `with_timeout(timeout: float)`: Sets the timeout for API requests (in seconds).
100
+
101
+ ## Compatibility
102
+
103
+ This SDK requires **Python 3.8 or later**. Ensure your system meets this requirement:
104
+
105
+ ```bash
106
+ python --version
107
+ ```
108
+
109
+ To upgrade or specify a version, use the following command:
110
+
111
+ ```bash
112
+ pip install --upgrade rapida-python
113
+ ```
114
+
115
+ ---
116
+
117
+ ## Conclusion
118
+
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
+
@@ -0,0 +1,89 @@
1
+ # Rapida Python SDK
2
+
3
+ [![Build and Publish Python SDK](https://github.com/rapidaai/rapida-python/actions/workflows/python-build.yml/badge.svg?branch=main)](https://github.com/rapidaai/rapida-python/actions/workflows/build.yml)
4
+
5
+ The Rapida Python SDK provides a powerful interface for interacting with Rapida AI services. This SDK simplifies the process of making API calls, handling authentication, and managing responses from Rapida endpoints.
6
+
7
+ ## Installation
8
+
9
+ To install the Rapida Python SDK, use the following command:
10
+
11
+ ```bash
12
+ pip install rapida-python
13
+ ```
14
+
15
+ ## Quick Start
16
+
17
+ Here's how to get started with the Rapida Python SDK:
18
+
19
+ ```python
20
+ from rapida import (
21
+ ConnectionConfig,
22
+ )
23
+ from pprint import pprint
24
+
25
+
26
+ connection_config = ConnectionConfig.default_connection_config(
27
+ ConnectionConfig.with_sdk(
28
+ "{your-api-key-here}" # Replace with your actual API key
29
+ )
30
+ )
31
+
32
+ ```
33
+
34
+ ## Authentication
35
+
36
+ You can configure the Rapida SDK to authenticate using your **API Key** or **Personal Token**:
37
+
38
+ ### Authenticating with API Key
39
+
40
+ ```python
41
+ import os
42
+ from rapida.connections import ConnectionConfig
43
+ connection_config = ConnectionConfig.with_sdk(
44
+ os.environ["RAPIDA_API_KEY"] # API Key from environment variables
45
+ )
46
+ ```
47
+
48
+ ### Authenticating with Personal Token
49
+
50
+ ```python
51
+ import os
52
+ from rapida.connections import ConnectionConfig
53
+
54
+ connection_config = ConnectionConfig.with_personal_token(
55
+ os.environ["RAPIDA_AUTHORIZATION_TOKEN"], # Authorization Token
56
+ os.environ["RAPIDA_AUTH_ID"], # Authentication ID
57
+ os.environ["RAPIDA_PROJECT_ID"], # Project ID
58
+ )
59
+ ```
60
+
61
+ ## Configuration Options
62
+
63
+ The `DefaultConnectionConfig` accepts multiple options for configuring the SDK. Key options include:
64
+
65
+ - `with_sdk(api_key: str)`: Sets the API key for authentication.
66
+ - `with_personal_token(auth_token: str, auth_id: str, project_id: str)`: Configures the connection for personal tokens.
67
+ - `with_endpoint_url(url: str)`: Overrides the default API endpoint URL.
68
+ - `with_timeout(timeout: float)`: Sets the timeout for API requests (in seconds).
69
+
70
+ ## Compatibility
71
+
72
+ This SDK requires **Python 3.8 or later**. Ensure your system meets this requirement:
73
+
74
+ ```bash
75
+ python --version
76
+ ```
77
+
78
+ To upgrade or specify a version, use the following command:
79
+
80
+ ```bash
81
+ pip install --upgrade rapida-python
82
+ ```
83
+
84
+ ---
85
+
86
+ ## Conclusion
87
+
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.12"
7
+ version = "0.1.14"
8
8
  description = "RapidaAI SDK to integrate rapida.ai APIs"
9
9
  readme = "README.md"
10
10
  authors = [{name = "RapidaAI", email = "code@rapida.ai"}]
@@ -40,7 +40,7 @@ from rapida.connections import ConnectionConfig, UserAuthInfo, ClientAuthInfo
40
40
  def get_assistant(
41
41
  client_cfg: ConnectionConfig,
42
42
  request: GetAssistantRequest,
43
- auth: Union[UserAuthInfo, ClientAuthInfo, None],
43
+ auth: Union[UserAuthInfo, ClientAuthInfo, None] = None,
44
44
  ) -> GetAssistantResponse:
45
45
  if auth is None:
46
46
  auth = client_cfg.auth
@@ -53,7 +53,7 @@ def get_assistant(
53
53
  def get_all_assistant(
54
54
  client_cfg: ConnectionConfig,
55
55
  request: GetAllAssistantRequest,
56
- auth: Union[UserAuthInfo, ClientAuthInfo, None],
56
+ auth: Union[UserAuthInfo, ClientAuthInfo, None] = None,
57
57
  ) -> GetAllAssistantResponse:
58
58
  if auth is None:
59
59
  auth = client_cfg.auth
@@ -66,7 +66,7 @@ def get_all_assistant(
66
66
  def get_assistant_conversation(
67
67
  client_cfg: ConnectionConfig,
68
68
  request: GetAssistantConversationRequest,
69
- auth: Union[UserAuthInfo, ClientAuthInfo, None],
69
+ auth: Union[UserAuthInfo, ClientAuthInfo, None] = None,
70
70
  ) -> GetAssistantConversationResponse:
71
71
  if auth is None:
72
72
  auth = client_cfg.auth
@@ -79,7 +79,7 @@ def get_assistant_conversation(
79
79
  def get_all_assistant_conversation(
80
80
  client_cfg: ConnectionConfig,
81
81
  request: GetAllAssistantConversationRequest,
82
- auth: Union[UserAuthInfo, ClientAuthInfo, None],
82
+ auth: Union[UserAuthInfo, ClientAuthInfo, None] = None,
83
83
  ) -> GetAllAssistantConversationResponse:
84
84
  if auth is None:
85
85
  auth = client_cfg.auth
@@ -92,7 +92,7 @@ def get_all_assistant_conversation(
92
92
  def get_assistant_webhook(
93
93
  client_cfg: ConnectionConfig,
94
94
  request: GetAssistantWebhookRequest,
95
- auth: Union[UserAuthInfo, ClientAuthInfo, None],
95
+ auth: Union[UserAuthInfo, ClientAuthInfo, None] = None,
96
96
  ) -> GetAssistantWebhookResponse:
97
97
  if auth is None:
98
98
  auth = client_cfg.auth
@@ -105,7 +105,7 @@ def get_assistant_webhook(
105
105
  def get_all_assistant_webhook(
106
106
  client_cfg: ConnectionConfig,
107
107
  request: GetAllAssistantWebhookRequest,
108
- auth: Union[UserAuthInfo, ClientAuthInfo, None],
108
+ auth: Union[UserAuthInfo, ClientAuthInfo, None] = None,
109
109
  ) -> GetAllAssistantWebhookResponse:
110
110
  if auth is None:
111
111
  auth = client_cfg.auth
@@ -118,7 +118,7 @@ def get_all_assistant_webhook(
118
118
  def get_assistant_knowledge(
119
119
  client_cfg: ConnectionConfig,
120
120
  request: GetAssistantKnowledgeRequest,
121
- auth: Union[UserAuthInfo, ClientAuthInfo, None],
121
+ auth: Union[UserAuthInfo, ClientAuthInfo, None] = None,
122
122
  ) -> GetAssistantKnowledgeResponse:
123
123
  if auth is None:
124
124
  auth = client_cfg.auth
@@ -131,7 +131,7 @@ def get_assistant_knowledge(
131
131
  def get_all_assistant_knowledge(
132
132
  client_cfg: ConnectionConfig,
133
133
  request: GetAllAssistantKnowledgeRequest,
134
- auth: Union[UserAuthInfo, ClientAuthInfo, None],
134
+ auth: Union[UserAuthInfo, ClientAuthInfo, None] = None,
135
135
  ) -> GetAllAssistantKnowledgeResponse:
136
136
  if auth is None:
137
137
  auth = client_cfg.auth
@@ -144,7 +144,7 @@ def get_all_assistant_knowledge(
144
144
  def get_assistant_tool(
145
145
  client_cfg: ConnectionConfig,
146
146
  request: GetAssistantToolRequest,
147
- auth: Union[UserAuthInfo, ClientAuthInfo, None],
147
+ auth: Union[UserAuthInfo, ClientAuthInfo, None] = None,
148
148
  ) -> GetAssistantToolResponse:
149
149
  if auth is None:
150
150
  auth = client_cfg.auth
@@ -157,7 +157,7 @@ def get_assistant_tool(
157
157
  def get_all_assistant_tool(
158
158
  client_cfg: ConnectionConfig,
159
159
  request: GetAllAssistantToolRequest,
160
- auth: Union[UserAuthInfo, ClientAuthInfo, None],
160
+ auth: Union[UserAuthInfo, ClientAuthInfo, None] = None,
161
161
  ) -> GetAllAssistantToolResponse:
162
162
  if auth is None:
163
163
  auth = client_cfg.auth
@@ -170,7 +170,7 @@ def get_all_assistant_tool(
170
170
  def get_assistant_webhook_log(
171
171
  client_cfg: ConnectionConfig,
172
172
  request: GetAssistantWebhookLogRequest,
173
- auth: Union[UserAuthInfo, ClientAuthInfo, None],
173
+ auth: Union[UserAuthInfo, ClientAuthInfo, None] = None,
174
174
  ) -> GetAssistantWebhookLogResponse:
175
175
  if auth is None:
176
176
  auth = client_cfg.auth
@@ -183,7 +183,7 @@ def get_assistant_webhook_log(
183
183
  def get_all_assistant_webhook_log(
184
184
  client_cfg: ConnectionConfig,
185
185
  request: GetAllAssistantWebhookLogRequest,
186
- auth: Union[UserAuthInfo, ClientAuthInfo, None],
186
+ auth: Union[UserAuthInfo, ClientAuthInfo, None] = None,
187
187
  ) -> GetAllAssistantWebhookLogResponse:
188
188
  if auth is None:
189
189
  auth = client_cfg.auth
@@ -11,7 +11,7 @@ from rapida.connections import ConnectionConfig, UserAuthInfo, ClientAuthInfo
11
11
  def create_phone_call(
12
12
  client_cfg: ConnectionConfig,
13
13
  request: CreatePhoneCallRequest,
14
- auth: Union[UserAuthInfo, ClientAuthInfo, None],
14
+ auth: Union[UserAuthInfo, ClientAuthInfo, None] = None,
15
15
  ) -> CreatePhoneCallResponse:
16
16
  if auth is None:
17
17
  auth = client_cfg.auth
@@ -24,7 +24,7 @@ def create_phone_call(
24
24
  def create_bulk_phone_call(
25
25
  client_cfg: ConnectionConfig,
26
26
  request: CreateBulkPhoneCallRequest,
27
- auth: Union[UserAuthInfo, ClientAuthInfo, None],
27
+ auth: Union[UserAuthInfo, ClientAuthInfo, None] = None,
28
28
  ) -> CreateBulkPhoneCallResponse:
29
29
  if auth is None:
30
30
  auth = client_cfg.auth
@@ -15,7 +15,7 @@ from rapida.connections import ConnectionConfig, UserAuthInfo, ClientAuthInfo
15
15
  def get_endpoint(
16
16
  client_cfg: ConnectionConfig,
17
17
  request: GetEndpointRequest,
18
- auth: Union[UserAuthInfo, ClientAuthInfo, None],
18
+ auth: Union[UserAuthInfo, ClientAuthInfo, None] = None,
19
19
  ) -> GetEndpointResponse:
20
20
  if auth is None:
21
21
  auth = client_cfg.auth
@@ -29,7 +29,7 @@ def get_endpoint(
29
29
  def get_all_endpoint(
30
30
  client_cfg: ConnectionConfig,
31
31
  request: GetAllEndpointRequest,
32
- auth: Union[UserAuthInfo, ClientAuthInfo, None],
32
+ auth: Union[UserAuthInfo, ClientAuthInfo, None] = None,
33
33
  ) -> GetAllEndpointResponse:
34
34
  if auth is None:
35
35
  auth = client_cfg.auth
@@ -42,7 +42,7 @@ def get_all_endpoint(
42
42
  def get_endpoint_log(
43
43
  client_cfg: ConnectionConfig,
44
44
  request: GetEndpointLogRequest,
45
- auth: Union[UserAuthInfo, ClientAuthInfo, None],
45
+ auth: Union[UserAuthInfo, ClientAuthInfo, None] = None,
46
46
  ) -> GetEndpointLogResponse:
47
47
  if auth is None:
48
48
  auth = client_cfg.auth
@@ -56,7 +56,7 @@ def get_endpoint_log(
56
56
  def get_all_endpoint_log(
57
57
  client_cfg: ConnectionConfig,
58
58
  request: GetAllEndpointLogRequest,
59
- auth: Union[UserAuthInfo, ClientAuthInfo, None],
59
+ auth: Union[UserAuthInfo, ClientAuthInfo, None] = None,
60
60
  ) -> GetAllEndpointLogResponse:
61
61
  if auth is None:
62
62
  auth = client_cfg.auth
@@ -9,7 +9,7 @@ from rapida.connections import ConnectionConfig, UserAuthInfo, ClientAuthInfo
9
9
  def invoke(
10
10
  client_cfg: ConnectionConfig,
11
11
  request: InvokeRequest,
12
- auth: Union[UserAuthInfo, ClientAuthInfo, None],
12
+ auth: Union[UserAuthInfo, ClientAuthInfo, None] = None,
13
13
  ) -> InvokeResponse:
14
14
  if auth is None:
15
15
  auth = client_cfg.auth
@@ -31,7 +31,7 @@ import rapida.clients.protos.assistant_webhook_pb2 as assistant__webhook__pb2
31
31
  import rapida.clients.protos.assistant_knowledge_pb2 as assistant__knowledge__pb2
32
32
 
33
33
 
34
- DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x13\x61ssistant-api.proto\x12\rassistant_api\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x0c\x63ommon.proto\x1a\x1a\x61ssistant-deployment.proto\x1a\x14\x61ssistant-tool.proto\x1a\x18\x61ssistant-analysis.proto\x1a\x17\x61ssistant-webhook.proto\x1a\x19\x61ssistant-knowledge.proto\"\xcf\x08\n\tAssistant\x12\x0e\n\x02id\x18\x01 \x01(\x04\x42\x02\x30\x01\x12\x0e\n\x06status\x18\x02 \x01(\t\x12\x12\n\nvisibility\x18\x03 \x01(\t\x12\x0e\n\x06source\x18\x04 \x01(\t\x12\x1c\n\x10sourceIdentifier\x18\x05 \x01(\x04\x42\x02\x30\x01\x12\x34\n\x0e\x61ssistantTools\x18\x06 \x03(\x0b\x32\x1c.assistant_api.AssistantTool\x12\x15\n\tprojectId\x18\x07 \x01(\x04\x42\x02\x30\x01\x12\x1a\n\x0eorganizationId\x18\x08 \x01(\x04\x42\x02\x30\x01\x12$\n\x18\x61ssistantProviderModelId\x18\t \x01(\x04\x42\x02\x30\x01\x12\x45\n\x16\x61ssistantProviderModel\x18\n \x01(\x0b\x32%.assistant_api.AssistantProviderModel\x12\x0c\n\x04name\x18\x0b \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x0c \x01(\t\x12\x1a\n\x0c\x61ssistantTag\x18\x0e \x01(\x0b\x32\x04.Tag\x12\x10\n\x08language\x18\x10 \x01(\t\x12#\n\x0corganization\x18\x11 \x01(\x0b\x32\r.Organization\x12\x15\n\tcreatedBy\x18\x16 \x01(\x04\x42\x02\x30\x01\x12\x1a\n\x0b\x63reatedUser\x18\x17 \x01(\x0b\x32\x05.User\x12\x15\n\tupdatedBy\x18\x18 \x01(\x04\x42\x02\x30\x01\x12\x1a\n\x0bupdatedUser\x18\x19 \x01(\x0b\x32\x05.User\x12/\n\x0b\x63reatedDate\x18\x1a \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0bupdatedDate\x18\x1b \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x46\n\x12\x64\x65\x62uggerDeployment\x18\x1e \x01(\x0b\x32*.assistant_api.AssistantDebuggerDeployment\x12@\n\x0fphoneDeployment\x18\x1f \x01(\x0b\x32\'.assistant_api.AssistantPhoneDeployment\x12\x46\n\x12whatsappDeployment\x18 \x01(\x0b\x32*.assistant_api.AssistantWhatsappDeployment\x12H\n\x13webPluginDeployment\x18! \x01(\x0b\x32+.assistant_api.AssistantWebpluginDeployment\x12<\n\rapiDeployment\x18\" \x01(\x0b\x32%.assistant_api.AssistantApiDeployment\x12\x36\n\x16\x61ssistantConversations\x18# \x03(\x0b\x32\x16.AssistantConversation\x12:\n\x11\x61ssistantWebhooks\x18$ \x03(\x0b\x32\x1f.assistant_api.AssistantWebhook\"\xa2\x03\n\x16\x41ssistantProviderModel\x12\x0e\n\x02id\x18\x01 \x01(\x04\x42\x02\x30\x01\x12)\n\x08template\x18\x02 \x01(\x0b\x32\x17.TextChatCompletePrompt\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\x12\x1b\n\x0fmodelProviderId\x18\x06 \x01(\x04\x42\x02\x30\x01\x12\x19\n\x11modelProviderName\x18\x07 \x01(\t\x12(\n\x15\x61ssistantModelOptions\x18\t \x03(\x0b\x32\t.Metadata\x12\x0e\n\x06status\x18\x0c \x01(\t\x12\x15\n\tcreatedBy\x18\r \x01(\x04\x42\x02\x30\x01\x12\x1a\n\x0b\x63reatedUser\x18\x0e \x01(\x0b\x32\x05.User\x12\x15\n\tupdatedBy\x18\x0f \x01(\x04\x42\x02\x30\x01\x12\x1a\n\x0bupdatedUser\x18\x10 \x01(\x0b\x32\x05.User\x12/\n\x0b\x63reatedDate\x18\x11 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0bupdatedDate\x18\x12 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\x81\x03\n\x16\x43reateAssistantRequest\x12R\n\x16\x61ssistantProviderModel\x18\x01 \x01(\x0b\x32\x32.assistant_api.CreateAssistantProviderModelRequest\x12K\n\x13\x61ssistantKnowledges\x18\x02 \x03(\x0b\x32..assistant_api.CreateAssistantKnowledgeRequest\x12\x41\n\x0e\x61ssistantTools\x18\x03 \x03(\x0b\x32).assistant_api.CreateAssistantToolRequest\x12\x13\n\x0b\x64\x65scription\x18\x04 \x01(\t\x12\x12\n\nvisibility\x18\x05 \x01(\t\x12\x10\n\x08language\x18\x06 \x01(\t\x12\x0e\n\x06source\x18\x07 \x01(\t\x12\x1c\n\x10sourceIdentifier\x18\x08 \x01(\x04\x42\x02\x30\x01\x12\x0c\n\x04tags\x18\t \x03(\t\x12\x0c\n\x04name\x18\n \x01(\t\"\xe0\x01\n#CreateAssistantProviderModelRequest\x12\x17\n\x0b\x61ssistantId\x18\x01 \x01(\x04\x42\x02\x30\x01\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12)\n\x08template\x18\x03 \x01(\x0b\x32\x17.TextChatCompletePrompt\x12\x1b\n\x0fmodelProviderId\x18\x06 \x01(\x04\x42\x02\x30\x01\x12\x19\n\x11modelProviderName\x18\x07 \x01(\t\x12(\n\x15\x61ssistantModelOptions\x18\x08 \x03(\x0b\x32\t.Metadata\"\x8e\x01\n!GetAssistantProviderModelResponse\x12\x0c\n\x04\x63ode\x18\x01 \x01(\x05\x12\x0f\n\x07success\x18\x02 \x01(\x08\x12\x33\n\x04\x64\x61ta\x18\x03 \x01(\x0b\x32%.assistant_api.AssistantProviderModel\x12\x15\n\x05\x65rror\x18\x04 \x01(\x0b\x32\x06.Error\"B\n\x19\x43reateAssistantTagRequest\x12\x17\n\x0b\x61ssistantId\x18\x01 \x01(\x04\x42\x02\x30\x01\x12\x0c\n\x04tags\x18\x02 \x03(\t\"m\n\x13GetAssistantRequest\x12\x0e\n\x02id\x18\x01 \x01(\x04\x42\x02\x30\x01\x12)\n\x18\x61ssistantProviderModelId\x18\x04 \x01(\x04\x42\x02\x30\x01H\x00\x88\x01\x01\x42\x1b\n\x19_assistantProviderModelId\"(\n\x16\x44\x65leteAssistantRequest\x12\x0e\n\x02id\x18\x01 \x01(\x04\x42\x02\x30\x01\"t\n\x14GetAssistantResponse\x12\x0c\n\x04\x63ode\x18\x01 \x01(\x05\x12\x0f\n\x07success\x18\x02 \x01(\x08\x12&\n\x04\x64\x61ta\x18\x03 \x01(\x0b\x32\x18.assistant_api.Assistant\x12\x15\n\x05\x65rror\x18\x04 \x01(\x0b\x32\x06.Error\"S\n\x16GetAllAssistantRequest\x12\x1b\n\x08paginate\x18\x01 \x01(\x0b\x32\t.Paginate\x12\x1c\n\tcriterias\x18\x02 \x03(\x0b\x32\t.Criteria\"\x96\x01\n\x17GetAllAssistantResponse\x12\x0c\n\x04\x63ode\x18\x01 \x01(\x05\x12\x0f\n\x07success\x18\x02 \x01(\x08\x12&\n\x04\x64\x61ta\x18\x03 \x03(\x0b\x32\x18.assistant_api.Assistant\x12\x15\n\x05\x65rror\x18\x04 \x01(\x0b\x32\x06.Error\x12\x1d\n\tpaginated\x18\x05 \x01(\x0b\x32\n.Paginated\"y\n#GetAllAssistantProviderModelRequest\x12\x1b\n\x08paginate\x18\x01 \x01(\x0b\x32\t.Paginate\x12\x1c\n\tcriterias\x18\x02 \x03(\x0b\x32\t.Criteria\x12\x17\n\x0b\x61ssistantId\x18\x05 \x01(\x04\x42\x02\x30\x01\"\xb0\x01\n$GetAllAssistantProviderModelResponse\x12\x0c\n\x04\x63ode\x18\x01 \x01(\x05\x12\x0f\n\x07success\x18\x02 \x01(\x08\x12\x33\n\x04\x64\x61ta\x18\x03 \x03(\x0b\x32%.assistant_api.AssistantProviderModel\x12\x15\n\x05\x65rror\x18\x04 \x01(\x0b\x32\x06.Error\x12\x1d\n\tpaginated\x18\x05 \x01(\x0b\x32\n.Paginated\"\xb0\x01\n\x1dGetAllAssistantMessageRequest\x12\x1b\n\x08paginate\x18\x01 \x01(\x0b\x32\t.Paginate\x12\x1c\n\tcriterias\x18\x02 \x03(\x0b\x32\t.Criteria\x12\x17\n\x0b\x61ssistantId\x18\x03 \x01(\x04\x42\x02\x30\x01\x12\x18\n\x05order\x18\x05 \x01(\x0b\x32\t.Ordering\x12!\n\tselectors\x18\x06 \x03(\x0b\x32\x0e.FieldSelector\"\xa2\x01\n\x1eGetAllAssistantMessageResponse\x12\x0c\n\x04\x63ode\x18\x01 \x01(\x05\x12\x0f\n\x07success\x18\x02 \x01(\x08\x12+\n\x04\x64\x61ta\x18\x03 \x03(\x0b\x32\x1d.AssistantConversationMessage\x12\x15\n\x05\x65rror\x18\x04 \x01(\x0b\x32\x06.Error\x12\x1d\n\tpaginated\x18\x05 \x01(\x0b\x32\n.Paginated\"\x8e\x01\n\x14GetAllMessageRequest\x12\x1b\n\x08paginate\x18\x01 \x01(\x0b\x32\t.Paginate\x12\x1c\n\tcriterias\x18\x02 \x03(\x0b\x32\t.Criteria\x12\x18\n\x05order\x18\x05 \x01(\x0b\x32\t.Ordering\x12!\n\tselectors\x18\x06 \x03(\x0b\x32\x0e.FieldSelector\"\x99\x01\n\x15GetAllMessageResponse\x12\x0c\n\x04\x63ode\x18\x01 \x01(\x05\x12\x0f\n\x07success\x18\x02 \x01(\x08\x12+\n\x04\x64\x61ta\x18\x03 \x03(\x0b\x32\x1d.AssistantConversationMessage\x12\x15\n\x05\x65rror\x18\x04 \x01(\x0b\x32\x06.Error\x12\x1d\n\tpaginated\x18\x05 \x01(\x0b\x32\n.Paginated\"^\n\x1dUpdateAssistantVersionRequest\x12\x17\n\x0b\x61ssistantId\x18\x01 \x01(\x04\x42\x02\x30\x01\x12$\n\x18\x61ssistantProviderModelId\x18\x02 \x01(\x04\x42\x02\x30\x01\"Z\n\x1cUpdateAssistantDetailRequest\x12\x17\n\x0b\x61ssistantId\x18\x01 \x01(\x04\x42\x02\x30\x01\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\"\x95\x01\n&GetAllAssistantUserConversationRequest\x12\x17\n\x0b\x61ssistantId\x18\x01 \x01(\x04\x42\x02\x30\x01\x12\x1b\n\x08paginate\x18\x02 \x01(\x0b\x32\t.Paginate\x12\x1c\n\tcriterias\x18\x03 \x03(\x0b\x32\t.Criteria\x12\x17\n\x06source\x18\x07 \x01(\x0e\x32\x07.Source\"\xa4\x01\n\'GetAllAssistantUserConversationResponse\x12\x0c\n\x04\x63ode\x18\x01 \x01(\x05\x12\x0f\n\x07success\x18\x02 \x01(\x08\x12$\n\x04\x64\x61ta\x18\x03 \x03(\x0b\x32\x16.AssistantConversation\x12\x15\n\x05\x65rror\x18\x04 \x01(\x0b\x32\x06.Error\x12\x1d\n\tpaginated\x18\x05 \x01(\x0b\x32\n.Paginated\"\x82\x01\n\x1fGetAssistantConversationRequest\x12\x17\n\x0b\x61ssistantId\x18\x01 \x01(\x04\x42\x02\x30\x01\x12#\n\x17\x61ssistantConversationId\x18\x02 \x01(\x04\x42\x02\x30\x01\x12!\n\tselectors\x18\x05 \x03(\x0b\x32\x0e.FieldSelector\"~\n GetAssistantConversationResponse\x12\x0c\n\x04\x63ode\x18\x01 \x01(\x05\x12\x0f\n\x07success\x18\x02 \x01(\x08\x12$\n\x04\x64\x61ta\x18\x03 \x01(\x0b\x32\x16.AssistantConversation\x12\x15\n\x05\x65rror\x18\x04 \x01(\x0b\x32\x06.Error2\xd7!\n\x10\x41ssistantService\x12W\n\x0cGetAssistant\x12\".assistant_api.GetAssistantRequest\x1a#.assistant_api.GetAssistantResponse\x12`\n\x0fGetAllAssistant\x12%.assistant_api.GetAllAssistantRequest\x1a&.assistant_api.GetAllAssistantResponse\x12]\n\x0f\x43reateAssistant\x12%.assistant_api.CreateAssistantRequest\x1a#.assistant_api.GetAssistantResponse\x12]\n\x0f\x44\x65leteAssistant\x12%.assistant_api.DeleteAssistantRequest\x1a#.assistant_api.GetAssistantResponse\x12\x87\x01\n\x1cGetAllAssistantProviderModel\x12\x32.assistant_api.GetAllAssistantProviderModelRequest\x1a\x33.assistant_api.GetAllAssistantProviderModelResponse\x12\x84\x01\n\x1c\x43reateAssistantProviderModel\x12\x32.assistant_api.CreateAssistantProviderModelRequest\x1a\x30.assistant_api.GetAssistantProviderModelResponse\x12\x63\n\x12\x43reateAssistantTag\x12(.assistant_api.CreateAssistantTagRequest\x1a#.assistant_api.GetAssistantResponse\x12k\n\x16UpdateAssistantVersion\x12,.assistant_api.UpdateAssistantVersionRequest\x1a#.assistant_api.GetAssistantResponse\x12i\n\x15UpdateAssistantDetail\x12+.assistant_api.UpdateAssistantDetailRequest\x1a#.assistant_api.GetAssistantResponse\x12u\n\x16GetAllAssistantMessage\x12,.assistant_api.GetAllAssistantMessageRequest\x1a-.assistant_api.GetAllAssistantMessageResponse\x12\x62\n\x19GetAllConversationMessage\x12!.GetAllConversationMessageRequest\x1a\".GetAllConversationMessageResponse\x12Z\n\rGetAllMessage\x12#.assistant_api.GetAllMessageRequest\x1a$.assistant_api.GetAllMessageResponse\x12h\n\x1bGetAllAssistantConversation\x12#.GetAllAssistantConversationRequest\x1a$.GetAllAssistantConversationResponse\x12{\n\x18GetAssistantConversation\x12..assistant_api.GetAssistantConversationRequest\x1a/.assistant_api.GetAssistantConversationResponse\x12u\n\x16GetAssistantWebhookLog\x12,.assistant_api.GetAssistantWebhookLogRequest\x1a-.assistant_api.GetAssistantWebhookLogResponse\x12~\n\x19GetAllAssistantWebhookLog\x12/.assistant_api.GetAllAssistantWebhookLogRequest\x1a\x30.assistant_api.GetAllAssistantWebhookLogResponse\x12u\n\x16GetAllAssistantWebhook\x12,.assistant_api.GetAllAssistantWebhookRequest\x1a-.assistant_api.GetAllAssistantWebhookResponse\x12l\n\x13GetAssistantWebhook\x12).assistant_api.GetAssistantWebhookRequest\x1a*.assistant_api.GetAssistantWebhookResponse\x12r\n\x16\x43reateAssistantWebhook\x12,.assistant_api.CreateAssistantWebhookRequest\x1a*.assistant_api.GetAssistantWebhookResponse\x12r\n\x16UpdateAssistantWebhook\x12,.assistant_api.UpdateAssistantWebhookRequest\x1a*.assistant_api.GetAssistantWebhookResponse\x12r\n\x16\x44\x65leteAssistantWebhook\x12,.assistant_api.DeleteAssistantWebhookRequest\x1a*.assistant_api.GetAssistantWebhookResponse\x12l\n\x13GetAssistantToolLog\x12).assistant_api.GetAssistantToolLogRequest\x1a*.assistant_api.GetAssistantToolLogResponse\x12u\n\x16GetAllAssistantToolLog\x12,.assistant_api.GetAllAssistantToolLogRequest\x1a-.assistant_api.GetAllAssistantToolLogResponse\x12o\n\x14GetAssistantAnalysis\x12*.assistant_api.GetAssistantAnalysisRequest\x1a+.assistant_api.GetAssistantAnalysisResponse\x12u\n\x17UpdateAssistantAnalysis\x12-.assistant_api.UpdateAssistantAnalysisRequest\x1a+.assistant_api.GetAssistantAnalysisResponse\x12u\n\x17\x43reateAssistantAnalysis\x12-.assistant_api.CreateAssistantAnalysisRequest\x1a+.assistant_api.GetAssistantAnalysisResponse\x12u\n\x17\x44\x65leteAssistantAnalysis\x12-.assistant_api.DeleteAssistantAnalysisRequest\x1a+.assistant_api.GetAssistantAnalysisResponse\x12x\n\x17GetAllAssistantAnalysis\x12-.assistant_api.GetAllAssistantAnalysisRequest\x1a..assistant_api.GetAllAssistantAnalysisResponse\x12i\n\x13\x43reateAssistantTool\x12).assistant_api.CreateAssistantToolRequest\x1a\'.assistant_api.GetAssistantToolResponse\x12\x63\n\x10GetAssistantTool\x12&.assistant_api.GetAssistantToolRequest\x1a\'.assistant_api.GetAssistantToolResponse\x12l\n\x13GetAllAssistantTool\x12).assistant_api.GetAllAssistantToolRequest\x1a*.assistant_api.GetAllAssistantToolResponse\x12i\n\x13\x44\x65leteAssistantTool\x12).assistant_api.DeleteAssistantToolRequest\x1a\'.assistant_api.GetAssistantToolResponse\x12i\n\x13UpdateAssistantTool\x12).assistant_api.UpdateAssistantToolRequest\x1a\'.assistant_api.GetAssistantToolResponse\x12x\n\x18\x43reateAssistantKnowledge\x12..assistant_api.CreateAssistantKnowledgeRequest\x1a,.assistant_api.GetAssistantKnowledgeResponse\x12r\n\x15GetAssistantKnowledge\x12+.assistant_api.GetAssistantKnowledgeRequest\x1a,.assistant_api.GetAssistantKnowledgeResponse\x12{\n\x18GetAllAssistantKnowledge\x12..assistant_api.GetAllAssistantKnowledgeRequest\x1a/.assistant_api.GetAllAssistantKnowledgeResponse\x12x\n\x18\x44\x65leteAssistantKnowledge\x12..assistant_api.DeleteAssistantKnowledgeRequest\x1a,.assistant_api.GetAssistantKnowledgeResponse\x12x\n\x18UpdateAssistantKnowledge\x12..assistant_api.UpdateAssistantKnowledgeRequest\x1a,.assistant_api.GetAssistantKnowledgeResponseB7Z5github.com/lexatic/web-backend/protos/lexatic-backendb\x06proto3')
34
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x13\x61ssistant-api.proto\x12\rassistant_api\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x0c\x63ommon.proto\x1a\x1a\x61ssistant-deployment.proto\x1a\x14\x61ssistant-tool.proto\x1a\x18\x61ssistant-analysis.proto\x1a\x17\x61ssistant-webhook.proto\x1a\x19\x61ssistant-knowledge.proto\"\xcf\x08\n\tAssistant\x12\x0e\n\x02id\x18\x01 \x01(\x04\x42\x02\x30\x01\x12\x0e\n\x06status\x18\x02 \x01(\t\x12\x12\n\nvisibility\x18\x03 \x01(\t\x12\x0e\n\x06source\x18\x04 \x01(\t\x12\x1c\n\x10sourceIdentifier\x18\x05 \x01(\x04\x42\x02\x30\x01\x12\x34\n\x0e\x61ssistantTools\x18\x06 \x03(\x0b\x32\x1c.assistant_api.AssistantTool\x12\x15\n\tprojectId\x18\x07 \x01(\x04\x42\x02\x30\x01\x12\x1a\n\x0eorganizationId\x18\x08 \x01(\x04\x42\x02\x30\x01\x12$\n\x18\x61ssistantProviderModelId\x18\t \x01(\x04\x42\x02\x30\x01\x12\x45\n\x16\x61ssistantProviderModel\x18\n \x01(\x0b\x32%.assistant_api.AssistantProviderModel\x12\x0c\n\x04name\x18\x0b \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x0c \x01(\t\x12\x1a\n\x0c\x61ssistantTag\x18\x0e \x01(\x0b\x32\x04.Tag\x12\x10\n\x08language\x18\x10 \x01(\t\x12#\n\x0corganization\x18\x11 \x01(\x0b\x32\r.Organization\x12\x15\n\tcreatedBy\x18\x16 \x01(\x04\x42\x02\x30\x01\x12\x1a\n\x0b\x63reatedUser\x18\x17 \x01(\x0b\x32\x05.User\x12\x15\n\tupdatedBy\x18\x18 \x01(\x04\x42\x02\x30\x01\x12\x1a\n\x0bupdatedUser\x18\x19 \x01(\x0b\x32\x05.User\x12/\n\x0b\x63reatedDate\x18\x1a \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0bupdatedDate\x18\x1b \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x46\n\x12\x64\x65\x62uggerDeployment\x18\x1e \x01(\x0b\x32*.assistant_api.AssistantDebuggerDeployment\x12@\n\x0fphoneDeployment\x18\x1f \x01(\x0b\x32\'.assistant_api.AssistantPhoneDeployment\x12\x46\n\x12whatsappDeployment\x18 \x01(\x0b\x32*.assistant_api.AssistantWhatsappDeployment\x12H\n\x13webPluginDeployment\x18! \x01(\x0b\x32+.assistant_api.AssistantWebpluginDeployment\x12<\n\rapiDeployment\x18\" \x01(\x0b\x32%.assistant_api.AssistantApiDeployment\x12\x36\n\x16\x61ssistantConversations\x18# \x03(\x0b\x32\x16.AssistantConversation\x12:\n\x11\x61ssistantWebhooks\x18$ \x03(\x0b\x32\x1f.assistant_api.AssistantWebhook\"\xa2\x03\n\x16\x41ssistantProviderModel\x12\x0e\n\x02id\x18\x01 \x01(\x04\x42\x02\x30\x01\x12)\n\x08template\x18\x02 \x01(\x0b\x32\x17.TextChatCompletePrompt\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\x12\x1b\n\x0fmodelProviderId\x18\x06 \x01(\x04\x42\x02\x30\x01\x12\x19\n\x11modelProviderName\x18\x07 \x01(\t\x12(\n\x15\x61ssistantModelOptions\x18\t \x03(\x0b\x32\t.Metadata\x12\x0e\n\x06status\x18\x0c \x01(\t\x12\x15\n\tcreatedBy\x18\r \x01(\x04\x42\x02\x30\x01\x12\x1a\n\x0b\x63reatedUser\x18\x0e \x01(\x0b\x32\x05.User\x12\x15\n\tupdatedBy\x18\x0f \x01(\x04\x42\x02\x30\x01\x12\x1a\n\x0bupdatedUser\x18\x10 \x01(\x0b\x32\x05.User\x12/\n\x0b\x63reatedDate\x18\x11 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0bupdatedDate\x18\x12 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\x81\x03\n\x16\x43reateAssistantRequest\x12R\n\x16\x61ssistantProviderModel\x18\x01 \x01(\x0b\x32\x32.assistant_api.CreateAssistantProviderModelRequest\x12K\n\x13\x61ssistantKnowledges\x18\x02 \x03(\x0b\x32..assistant_api.CreateAssistantKnowledgeRequest\x12\x41\n\x0e\x61ssistantTools\x18\x03 \x03(\x0b\x32).assistant_api.CreateAssistantToolRequest\x12\x13\n\x0b\x64\x65scription\x18\x04 \x01(\t\x12\x12\n\nvisibility\x18\x05 \x01(\t\x12\x10\n\x08language\x18\x06 \x01(\t\x12\x0e\n\x06source\x18\x07 \x01(\t\x12\x1c\n\x10sourceIdentifier\x18\x08 \x01(\x04\x42\x02\x30\x01\x12\x0c\n\x04tags\x18\t \x03(\t\x12\x0c\n\x04name\x18\n \x01(\t\"\xe0\x01\n#CreateAssistantProviderModelRequest\x12\x17\n\x0b\x61ssistantId\x18\x01 \x01(\x04\x42\x02\x30\x01\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12)\n\x08template\x18\x03 \x01(\x0b\x32\x17.TextChatCompletePrompt\x12\x1b\n\x0fmodelProviderId\x18\x06 \x01(\x04\x42\x02\x30\x01\x12\x19\n\x11modelProviderName\x18\x07 \x01(\t\x12(\n\x15\x61ssistantModelOptions\x18\x08 \x03(\x0b\x32\t.Metadata\"\x8e\x01\n!GetAssistantProviderModelResponse\x12\x0c\n\x04\x63ode\x18\x01 \x01(\x05\x12\x0f\n\x07success\x18\x02 \x01(\x08\x12\x33\n\x04\x64\x61ta\x18\x03 \x01(\x0b\x32%.assistant_api.AssistantProviderModel\x12\x15\n\x05\x65rror\x18\x04 \x01(\x0b\x32\x06.Error\"B\n\x19\x43reateAssistantTagRequest\x12\x17\n\x0b\x61ssistantId\x18\x01 \x01(\x04\x42\x02\x30\x01\x12\x0c\n\x04tags\x18\x02 \x03(\t\"m\n\x13GetAssistantRequest\x12\x0e\n\x02id\x18\x01 \x01(\x04\x42\x02\x30\x01\x12)\n\x18\x61ssistantProviderModelId\x18\x04 \x01(\x04\x42\x02\x30\x01H\x00\x88\x01\x01\x42\x1b\n\x19_assistantProviderModelId\"(\n\x16\x44\x65leteAssistantRequest\x12\x0e\n\x02id\x18\x01 \x01(\x04\x42\x02\x30\x01\"t\n\x14GetAssistantResponse\x12\x0c\n\x04\x63ode\x18\x01 \x01(\x05\x12\x0f\n\x07success\x18\x02 \x01(\x08\x12&\n\x04\x64\x61ta\x18\x03 \x01(\x0b\x32\x18.assistant_api.Assistant\x12\x15\n\x05\x65rror\x18\x04 \x01(\x0b\x32\x06.Error\"S\n\x16GetAllAssistantRequest\x12\x1b\n\x08paginate\x18\x01 \x01(\x0b\x32\t.Paginate\x12\x1c\n\tcriterias\x18\x02 \x03(\x0b\x32\t.Criteria\"\x96\x01\n\x17GetAllAssistantResponse\x12\x0c\n\x04\x63ode\x18\x01 \x01(\x05\x12\x0f\n\x07success\x18\x02 \x01(\x08\x12&\n\x04\x64\x61ta\x18\x03 \x03(\x0b\x32\x18.assistant_api.Assistant\x12\x15\n\x05\x65rror\x18\x04 \x01(\x0b\x32\x06.Error\x12\x1d\n\tpaginated\x18\x05 \x01(\x0b\x32\n.Paginated\"y\n#GetAllAssistantProviderModelRequest\x12\x1b\n\x08paginate\x18\x01 \x01(\x0b\x32\t.Paginate\x12\x1c\n\tcriterias\x18\x02 \x03(\x0b\x32\t.Criteria\x12\x17\n\x0b\x61ssistantId\x18\x05 \x01(\x04\x42\x02\x30\x01\"\xb0\x01\n$GetAllAssistantProviderModelResponse\x12\x0c\n\x04\x63ode\x18\x01 \x01(\x05\x12\x0f\n\x07success\x18\x02 \x01(\x08\x12\x33\n\x04\x64\x61ta\x18\x03 \x03(\x0b\x32%.assistant_api.AssistantProviderModel\x12\x15\n\x05\x65rror\x18\x04 \x01(\x0b\x32\x06.Error\x12\x1d\n\tpaginated\x18\x05 \x01(\x0b\x32\n.Paginated\"\xb0\x01\n\x1dGetAllAssistantMessageRequest\x12\x1b\n\x08paginate\x18\x01 \x01(\x0b\x32\t.Paginate\x12\x1c\n\tcriterias\x18\x02 \x03(\x0b\x32\t.Criteria\x12\x17\n\x0b\x61ssistantId\x18\x03 \x01(\x04\x42\x02\x30\x01\x12\x18\n\x05order\x18\x05 \x01(\x0b\x32\t.Ordering\x12!\n\tselectors\x18\x06 \x03(\x0b\x32\x0e.FieldSelector\"\xa2\x01\n\x1eGetAllAssistantMessageResponse\x12\x0c\n\x04\x63ode\x18\x01 \x01(\x05\x12\x0f\n\x07success\x18\x02 \x01(\x08\x12+\n\x04\x64\x61ta\x18\x03 \x03(\x0b\x32\x1d.AssistantConversationMessage\x12\x15\n\x05\x65rror\x18\x04 \x01(\x0b\x32\x06.Error\x12\x1d\n\tpaginated\x18\x05 \x01(\x0b\x32\n.Paginated\"\x8e\x01\n\x14GetAllMessageRequest\x12\x1b\n\x08paginate\x18\x01 \x01(\x0b\x32\t.Paginate\x12\x1c\n\tcriterias\x18\x02 \x03(\x0b\x32\t.Criteria\x12\x18\n\x05order\x18\x05 \x01(\x0b\x32\t.Ordering\x12!\n\tselectors\x18\x06 \x03(\x0b\x32\x0e.FieldSelector\"\x99\x01\n\x15GetAllMessageResponse\x12\x0c\n\x04\x63ode\x18\x01 \x01(\x05\x12\x0f\n\x07success\x18\x02 \x01(\x08\x12+\n\x04\x64\x61ta\x18\x03 \x03(\x0b\x32\x1d.AssistantConversationMessage\x12\x15\n\x05\x65rror\x18\x04 \x01(\x0b\x32\x06.Error\x12\x1d\n\tpaginated\x18\x05 \x01(\x0b\x32\n.Paginated\"^\n\x1dUpdateAssistantVersionRequest\x12\x17\n\x0b\x61ssistantId\x18\x01 \x01(\x04\x42\x02\x30\x01\x12$\n\x18\x61ssistantProviderModelId\x18\x02 \x01(\x04\x42\x02\x30\x01\"Z\n\x1cUpdateAssistantDetailRequest\x12\x17\n\x0b\x61ssistantId\x18\x01 \x01(\x04\x42\x02\x30\x01\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\"m\n\x1fGetAssistantConversationRequest\x12\x17\n\x0b\x61ssistantId\x18\x01 \x01(\x04\x42\x02\x30\x01\x12\x0e\n\x02id\x18\x02 \x01(\x04\x42\x02\x30\x01\x12!\n\tselectors\x18\x05 \x03(\x0b\x32\x0e.FieldSelector\"~\n GetAssistantConversationResponse\x12\x0c\n\x04\x63ode\x18\x01 \x01(\x05\x12\x0f\n\x07success\x18\x02 \x01(\x08\x12$\n\x04\x64\x61ta\x18\x03 \x01(\x0b\x32\x16.AssistantConversation\x12\x15\n\x05\x65rror\x18\x04 \x01(\x0b\x32\x06.Error2\xd7!\n\x10\x41ssistantService\x12W\n\x0cGetAssistant\x12\".assistant_api.GetAssistantRequest\x1a#.assistant_api.GetAssistantResponse\x12`\n\x0fGetAllAssistant\x12%.assistant_api.GetAllAssistantRequest\x1a&.assistant_api.GetAllAssistantResponse\x12]\n\x0f\x43reateAssistant\x12%.assistant_api.CreateAssistantRequest\x1a#.assistant_api.GetAssistantResponse\x12]\n\x0f\x44\x65leteAssistant\x12%.assistant_api.DeleteAssistantRequest\x1a#.assistant_api.GetAssistantResponse\x12\x87\x01\n\x1cGetAllAssistantProviderModel\x12\x32.assistant_api.GetAllAssistantProviderModelRequest\x1a\x33.assistant_api.GetAllAssistantProviderModelResponse\x12\x84\x01\n\x1c\x43reateAssistantProviderModel\x12\x32.assistant_api.CreateAssistantProviderModelRequest\x1a\x30.assistant_api.GetAssistantProviderModelResponse\x12\x63\n\x12\x43reateAssistantTag\x12(.assistant_api.CreateAssistantTagRequest\x1a#.assistant_api.GetAssistantResponse\x12k\n\x16UpdateAssistantVersion\x12,.assistant_api.UpdateAssistantVersionRequest\x1a#.assistant_api.GetAssistantResponse\x12i\n\x15UpdateAssistantDetail\x12+.assistant_api.UpdateAssistantDetailRequest\x1a#.assistant_api.GetAssistantResponse\x12u\n\x16GetAllAssistantMessage\x12,.assistant_api.GetAllAssistantMessageRequest\x1a-.assistant_api.GetAllAssistantMessageResponse\x12\x62\n\x19GetAllConversationMessage\x12!.GetAllConversationMessageRequest\x1a\".GetAllConversationMessageResponse\x12Z\n\rGetAllMessage\x12#.assistant_api.GetAllMessageRequest\x1a$.assistant_api.GetAllMessageResponse\x12h\n\x1bGetAllAssistantConversation\x12#.GetAllAssistantConversationRequest\x1a$.GetAllAssistantConversationResponse\x12{\n\x18GetAssistantConversation\x12..assistant_api.GetAssistantConversationRequest\x1a/.assistant_api.GetAssistantConversationResponse\x12u\n\x16GetAssistantWebhookLog\x12,.assistant_api.GetAssistantWebhookLogRequest\x1a-.assistant_api.GetAssistantWebhookLogResponse\x12~\n\x19GetAllAssistantWebhookLog\x12/.assistant_api.GetAllAssistantWebhookLogRequest\x1a\x30.assistant_api.GetAllAssistantWebhookLogResponse\x12u\n\x16GetAllAssistantWebhook\x12,.assistant_api.GetAllAssistantWebhookRequest\x1a-.assistant_api.GetAllAssistantWebhookResponse\x12l\n\x13GetAssistantWebhook\x12).assistant_api.GetAssistantWebhookRequest\x1a*.assistant_api.GetAssistantWebhookResponse\x12r\n\x16\x43reateAssistantWebhook\x12,.assistant_api.CreateAssistantWebhookRequest\x1a*.assistant_api.GetAssistantWebhookResponse\x12r\n\x16UpdateAssistantWebhook\x12,.assistant_api.UpdateAssistantWebhookRequest\x1a*.assistant_api.GetAssistantWebhookResponse\x12r\n\x16\x44\x65leteAssistantWebhook\x12,.assistant_api.DeleteAssistantWebhookRequest\x1a*.assistant_api.GetAssistantWebhookResponse\x12l\n\x13GetAssistantToolLog\x12).assistant_api.GetAssistantToolLogRequest\x1a*.assistant_api.GetAssistantToolLogResponse\x12u\n\x16GetAllAssistantToolLog\x12,.assistant_api.GetAllAssistantToolLogRequest\x1a-.assistant_api.GetAllAssistantToolLogResponse\x12o\n\x14GetAssistantAnalysis\x12*.assistant_api.GetAssistantAnalysisRequest\x1a+.assistant_api.GetAssistantAnalysisResponse\x12u\n\x17UpdateAssistantAnalysis\x12-.assistant_api.UpdateAssistantAnalysisRequest\x1a+.assistant_api.GetAssistantAnalysisResponse\x12u\n\x17\x43reateAssistantAnalysis\x12-.assistant_api.CreateAssistantAnalysisRequest\x1a+.assistant_api.GetAssistantAnalysisResponse\x12u\n\x17\x44\x65leteAssistantAnalysis\x12-.assistant_api.DeleteAssistantAnalysisRequest\x1a+.assistant_api.GetAssistantAnalysisResponse\x12x\n\x17GetAllAssistantAnalysis\x12-.assistant_api.GetAllAssistantAnalysisRequest\x1a..assistant_api.GetAllAssistantAnalysisResponse\x12i\n\x13\x43reateAssistantTool\x12).assistant_api.CreateAssistantToolRequest\x1a\'.assistant_api.GetAssistantToolResponse\x12\x63\n\x10GetAssistantTool\x12&.assistant_api.GetAssistantToolRequest\x1a\'.assistant_api.GetAssistantToolResponse\x12l\n\x13GetAllAssistantTool\x12).assistant_api.GetAllAssistantToolRequest\x1a*.assistant_api.GetAllAssistantToolResponse\x12i\n\x13\x44\x65leteAssistantTool\x12).assistant_api.DeleteAssistantToolRequest\x1a\'.assistant_api.GetAssistantToolResponse\x12i\n\x13UpdateAssistantTool\x12).assistant_api.UpdateAssistantToolRequest\x1a\'.assistant_api.GetAssistantToolResponse\x12x\n\x18\x43reateAssistantKnowledge\x12..assistant_api.CreateAssistantKnowledgeRequest\x1a,.assistant_api.GetAssistantKnowledgeResponse\x12r\n\x15GetAssistantKnowledge\x12+.assistant_api.GetAssistantKnowledgeRequest\x1a,.assistant_api.GetAssistantKnowledgeResponse\x12{\n\x18GetAllAssistantKnowledge\x12..assistant_api.GetAllAssistantKnowledgeRequest\x1a/.assistant_api.GetAllAssistantKnowledgeResponse\x12x\n\x18\x44\x65leteAssistantKnowledge\x12..assistant_api.DeleteAssistantKnowledgeRequest\x1a,.assistant_api.GetAssistantKnowledgeResponse\x12x\n\x18UpdateAssistantKnowledge\x12..assistant_api.UpdateAssistantKnowledgeRequest\x1a,.assistant_api.GetAssistantKnowledgeResponseB7Z5github.com/lexatic/web-backend/protos/lexatic-backendb\x06proto3')
35
35
 
36
36
  _globals = globals()
37
37
  _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
@@ -85,12 +85,10 @@ if not _descriptor._USE_C_DESCRIPTORS:
85
85
  _globals['_UPDATEASSISTANTVERSIONREQUEST'].fields_by_name['assistantProviderModelId']._serialized_options = b'0\001'
86
86
  _globals['_UPDATEASSISTANTDETAILREQUEST'].fields_by_name['assistantId']._loaded_options = None
87
87
  _globals['_UPDATEASSISTANTDETAILREQUEST'].fields_by_name['assistantId']._serialized_options = b'0\001'
88
- _globals['_GETALLASSISTANTUSERCONVERSATIONREQUEST'].fields_by_name['assistantId']._loaded_options = None
89
- _globals['_GETALLASSISTANTUSERCONVERSATIONREQUEST'].fields_by_name['assistantId']._serialized_options = b'0\001'
90
88
  _globals['_GETASSISTANTCONVERSATIONREQUEST'].fields_by_name['assistantId']._loaded_options = None
91
89
  _globals['_GETASSISTANTCONVERSATIONREQUEST'].fields_by_name['assistantId']._serialized_options = b'0\001'
92
- _globals['_GETASSISTANTCONVERSATIONREQUEST'].fields_by_name['assistantConversationId']._loaded_options = None
93
- _globals['_GETASSISTANTCONVERSATIONREQUEST'].fields_by_name['assistantConversationId']._serialized_options = b'0\001'
90
+ _globals['_GETASSISTANTCONVERSATIONREQUEST'].fields_by_name['id']._loaded_options = None
91
+ _globals['_GETASSISTANTCONVERSATIONREQUEST'].fields_by_name['id']._serialized_options = b'0\001'
94
92
  _globals['_ASSISTANT']._serialized_start=214
95
93
  _globals['_ASSISTANT']._serialized_end=1317
96
94
  _globals['_ASSISTANTPROVIDERMODEL']._serialized_start=1320
@@ -129,14 +127,10 @@ if not _descriptor._USE_C_DESCRIPTORS:
129
127
  _globals['_UPDATEASSISTANTVERSIONREQUEST']._serialized_end=4118
130
128
  _globals['_UPDATEASSISTANTDETAILREQUEST']._serialized_start=4120
131
129
  _globals['_UPDATEASSISTANTDETAILREQUEST']._serialized_end=4210
132
- _globals['_GETALLASSISTANTUSERCONVERSATIONREQUEST']._serialized_start=4213
133
- _globals['_GETALLASSISTANTUSERCONVERSATIONREQUEST']._serialized_end=4362
134
- _globals['_GETALLASSISTANTUSERCONVERSATIONRESPONSE']._serialized_start=4365
135
- _globals['_GETALLASSISTANTUSERCONVERSATIONRESPONSE']._serialized_end=4529
136
- _globals['_GETASSISTANTCONVERSATIONREQUEST']._serialized_start=4532
137
- _globals['_GETASSISTANTCONVERSATIONREQUEST']._serialized_end=4662
138
- _globals['_GETASSISTANTCONVERSATIONRESPONSE']._serialized_start=4664
139
- _globals['_GETASSISTANTCONVERSATIONRESPONSE']._serialized_end=4790
140
- _globals['_ASSISTANTSERVICE']._serialized_start=4793
141
- _globals['_ASSISTANTSERVICE']._serialized_end=9104
130
+ _globals['_GETASSISTANTCONVERSATIONREQUEST']._serialized_start=4212
131
+ _globals['_GETASSISTANTCONVERSATIONREQUEST']._serialized_end=4321
132
+ _globals['_GETASSISTANTCONVERSATIONRESPONSE']._serialized_start=4323
133
+ _globals['_GETASSISTANTCONVERSATIONRESPONSE']._serialized_end=4449
134
+ _globals['_ASSISTANTSERVICE']._serialized_start=4452
135
+ _globals['_ASSISTANTSERVICE']._serialized_end=8763
142
136
  # @@protoc_insertion_point(module_scope)
@@ -307,41 +307,15 @@ class UpdateAssistantDetailRequest(_message.Message):
307
307
  description: str
308
308
  def __init__(self, assistantId: _Optional[int] = ..., name: _Optional[str] = ..., description: _Optional[str] = ...) -> None: ...
309
309
 
310
- class GetAllAssistantUserConversationRequest(_message.Message):
311
- __slots__ = ("assistantId", "paginate", "criterias", "source")
312
- ASSISTANTID_FIELD_NUMBER: _ClassVar[int]
313
- PAGINATE_FIELD_NUMBER: _ClassVar[int]
314
- CRITERIAS_FIELD_NUMBER: _ClassVar[int]
315
- SOURCE_FIELD_NUMBER: _ClassVar[int]
316
- assistantId: int
317
- paginate: _common_pb2.Paginate
318
- criterias: _containers.RepeatedCompositeFieldContainer[_common_pb2.Criteria]
319
- source: _common_pb2.Source
320
- def __init__(self, assistantId: _Optional[int] = ..., paginate: _Optional[_Union[_common_pb2.Paginate, _Mapping]] = ..., criterias: _Optional[_Iterable[_Union[_common_pb2.Criteria, _Mapping]]] = ..., source: _Optional[_Union[_common_pb2.Source, str]] = ...) -> None: ...
321
-
322
- class GetAllAssistantUserConversationResponse(_message.Message):
323
- __slots__ = ("code", "success", "data", "error", "paginated")
324
- CODE_FIELD_NUMBER: _ClassVar[int]
325
- SUCCESS_FIELD_NUMBER: _ClassVar[int]
326
- DATA_FIELD_NUMBER: _ClassVar[int]
327
- ERROR_FIELD_NUMBER: _ClassVar[int]
328
- PAGINATED_FIELD_NUMBER: _ClassVar[int]
329
- code: int
330
- success: bool
331
- data: _containers.RepeatedCompositeFieldContainer[_common_pb2.AssistantConversation]
332
- error: _common_pb2.Error
333
- paginated: _common_pb2.Paginated
334
- def __init__(self, code: _Optional[int] = ..., success: bool = ..., data: _Optional[_Iterable[_Union[_common_pb2.AssistantConversation, _Mapping]]] = ..., error: _Optional[_Union[_common_pb2.Error, _Mapping]] = ..., paginated: _Optional[_Union[_common_pb2.Paginated, _Mapping]] = ...) -> None: ...
335
-
336
310
  class GetAssistantConversationRequest(_message.Message):
337
- __slots__ = ("assistantId", "assistantConversationId", "selectors")
311
+ __slots__ = ("assistantId", "id", "selectors")
338
312
  ASSISTANTID_FIELD_NUMBER: _ClassVar[int]
339
- ASSISTANTCONVERSATIONID_FIELD_NUMBER: _ClassVar[int]
313
+ ID_FIELD_NUMBER: _ClassVar[int]
340
314
  SELECTORS_FIELD_NUMBER: _ClassVar[int]
341
315
  assistantId: int
342
- assistantConversationId: int
316
+ id: int
343
317
  selectors: _containers.RepeatedCompositeFieldContainer[_common_pb2.FieldSelector]
344
- def __init__(self, assistantId: _Optional[int] = ..., assistantConversationId: _Optional[int] = ..., selectors: _Optional[_Iterable[_Union[_common_pb2.FieldSelector, _Mapping]]] = ...) -> None: ...
318
+ def __init__(self, assistantId: _Optional[int] = ..., id: _Optional[int] = ..., selectors: _Optional[_Iterable[_Union[_common_pb2.FieldSelector, _Mapping]]] = ...) -> None: ...
345
319
 
346
320
  class GetAssistantConversationResponse(_message.Message):
347
321
  __slots__ = ("code", "success", "data", "error")
@@ -0,0 +1,120 @@
1
+ Metadata-Version: 2.4
2
+ Name: rapida-python
3
+ Version: 0.1.14
4
+ Summary: RapidaAI SDK to integrate rapida.ai APIs
5
+ Author-email: RapidaAI <code@rapida.ai>
6
+ License-Expression: MIT
7
+ Project-URL: Homepage, https://github.com/rapidaai/rapida-python
8
+ Project-URL: Bug Reports, https://github.com/rapidaai/rapida-python/issues
9
+ Project-URL: Documentation, https://rapida.ai/docs
10
+ Project-URL: Source, https://github.com/rapidaai/rapida-python
11
+ Classifier: Development Status :: 5 - Production/Stable
12
+ Classifier: Intended Audience :: Developers
13
+ Classifier: Operating System :: OS Independent
14
+ Classifier: Programming Language :: Python
15
+ Classifier: Programming Language :: Python :: 3
16
+ Classifier: Programming Language :: Python :: 3.9
17
+ Classifier: Programming Language :: Python :: 3.10
18
+ Classifier: Programming Language :: Python :: 3.11
19
+ Classifier: Topic :: Software Development :: Libraries :: Python Modules
20
+ Requires-Python: >=3.9
21
+ Description-Content-Type: text/markdown
22
+ Requires-Dist: protobuf
23
+ Requires-Dist: grpcio
24
+ Requires-Dist: grpcio-tools
25
+ Provides-Extra: dev
26
+ Requires-Dist: pytest; extra == "dev"
27
+ Requires-Dist: pytest-cov; extra == "dev"
28
+ Requires-Dist: flake8; extra == "dev"
29
+ Requires-Dist: black; extra == "dev"
30
+ Requires-Dist: mypy; extra == "dev"
31
+
32
+ # Rapida Python SDK
33
+
34
+ [![Build and Publish Python SDK](https://github.com/rapidaai/rapida-python/actions/workflows/python-build.yml/badge.svg?branch=main)](https://github.com/rapidaai/rapida-python/actions/workflows/build.yml)
35
+
36
+ The Rapida Python SDK provides a powerful interface for interacting with Rapida AI services. This SDK simplifies the process of making API calls, handling authentication, and managing responses from Rapida endpoints.
37
+
38
+ ## Installation
39
+
40
+ To install the Rapida Python SDK, use the following command:
41
+
42
+ ```bash
43
+ pip install rapida-python
44
+ ```
45
+
46
+ ## Quick Start
47
+
48
+ Here's how to get started with the Rapida Python SDK:
49
+
50
+ ```python
51
+ from rapida import (
52
+ ConnectionConfig,
53
+ )
54
+ from pprint import pprint
55
+
56
+
57
+ connection_config = ConnectionConfig.default_connection_config(
58
+ ConnectionConfig.with_sdk(
59
+ "{your-api-key-here}" # Replace with your actual API key
60
+ )
61
+ )
62
+
63
+ ```
64
+
65
+ ## Authentication
66
+
67
+ You can configure the Rapida SDK to authenticate using your **API Key** or **Personal Token**:
68
+
69
+ ### Authenticating with API Key
70
+
71
+ ```python
72
+ import os
73
+ from rapida.connections import ConnectionConfig
74
+ connection_config = ConnectionConfig.with_sdk(
75
+ os.environ["RAPIDA_API_KEY"] # API Key from environment variables
76
+ )
77
+ ```
78
+
79
+ ### Authenticating with Personal Token
80
+
81
+ ```python
82
+ import os
83
+ from rapida.connections import ConnectionConfig
84
+
85
+ connection_config = ConnectionConfig.with_personal_token(
86
+ os.environ["RAPIDA_AUTHORIZATION_TOKEN"], # Authorization Token
87
+ os.environ["RAPIDA_AUTH_ID"], # Authentication ID
88
+ os.environ["RAPIDA_PROJECT_ID"], # Project ID
89
+ )
90
+ ```
91
+
92
+ ## Configuration Options
93
+
94
+ The `DefaultConnectionConfig` accepts multiple options for configuring the SDK. Key options include:
95
+
96
+ - `with_sdk(api_key: str)`: Sets the API key for authentication.
97
+ - `with_personal_token(auth_token: str, auth_id: str, project_id: str)`: Configures the connection for personal tokens.
98
+ - `with_endpoint_url(url: str)`: Overrides the default API endpoint URL.
99
+ - `with_timeout(timeout: float)`: Sets the timeout for API requests (in seconds).
100
+
101
+ ## Compatibility
102
+
103
+ This SDK requires **Python 3.8 or later**. Ensure your system meets this requirement:
104
+
105
+ ```bash
106
+ python --version
107
+ ```
108
+
109
+ To upgrade or specify a version, use the following command:
110
+
111
+ ```bash
112
+ pip install --upgrade rapida-python
113
+ ```
114
+
115
+ ---
116
+
117
+ ## Conclusion
118
+
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
+
@@ -1,78 +0,0 @@
1
- Metadata-Version: 2.4
2
- Name: rapida-python
3
- Version: 0.1.12
4
- Summary: RapidaAI SDK to integrate rapida.ai APIs
5
- Author-email: RapidaAI <code@rapida.ai>
6
- License-Expression: MIT
7
- Project-URL: Homepage, https://github.com/rapidaai/rapida-python
8
- Project-URL: Bug Reports, https://github.com/rapidaai/rapida-python/issues
9
- Project-URL: Documentation, https://rapida.ai/docs
10
- Project-URL: Source, https://github.com/rapidaai/rapida-python
11
- Classifier: Development Status :: 5 - Production/Stable
12
- Classifier: Intended Audience :: Developers
13
- Classifier: Operating System :: OS Independent
14
- Classifier: Programming Language :: Python
15
- Classifier: Programming Language :: Python :: 3
16
- Classifier: Programming Language :: Python :: 3.9
17
- Classifier: Programming Language :: Python :: 3.10
18
- Classifier: Programming Language :: Python :: 3.11
19
- Classifier: Topic :: Software Development :: Libraries :: Python Modules
20
- Requires-Python: >=3.9
21
- Description-Content-Type: text/markdown
22
- Requires-Dist: protobuf
23
- Requires-Dist: grpcio
24
- Requires-Dist: grpcio-tools
25
- Provides-Extra: dev
26
- Requires-Dist: pytest; extra == "dev"
27
- Requires-Dist: pytest-cov; extra == "dev"
28
- Requires-Dist: flake8; extra == "dev"
29
- Requires-Dist: black; extra == "dev"
30
- Requires-Dist: mypy; extra == "dev"
31
-
32
- ## Table Of Contents
33
-
34
- * [About the Project](#about-the-project)
35
- * [Getting Started](#getting-started)
36
- * [Prerequisites](#prerequisites)
37
- * [Installation](#installation)
38
- * [Usage](#usage)
39
-
40
-
41
- ## About The Project
42
-
43
- ![Screen Shot](https://www.rapida.ai/images/screenshots/light-sc-01.png)
44
-
45
- rapida-python sdk to Experiment, Test and Deploy LLM Applications 10X faster and cheaper
46
-
47
-
48
- ## Getting Started
49
-
50
- This is an example of how you may give instructions on setting up your project locally.
51
- To get a local copy up and running follow these simple example steps.
52
-
53
- ### Prerequisites
54
-
55
- This is an example of how to list things you need to use the software and how to install them.
56
-
57
- * python 3.9
58
-
59
-
60
- ### Installation
61
-
62
- 1. Get a free API Key at [rapida.ai](https://www.rapida.ai/)
63
-
64
- 2. pip install rapida-python
65
-
66
- ```
67
- pip install rapida-python
68
- ```
69
-
70
- 3. Refer to [Documentation](https://docs.rapida.ai/api-reference/introduction) on how to use the API Key
71
-
72
-
73
- ## Usage
74
-
75
- Use this space to show useful examples of how a project can be used. Additional screenshots, code examples and demos work well in this space. You may also link to more resources.
76
-
77
- _For more examples, please refer to the [Documentation](https://docs.rapida.ai/api-reference/introduction)
78
- # gxs-demo
@@ -1,47 +0,0 @@
1
- ## Table Of Contents
2
-
3
- * [About the Project](#about-the-project)
4
- * [Getting Started](#getting-started)
5
- * [Prerequisites](#prerequisites)
6
- * [Installation](#installation)
7
- * [Usage](#usage)
8
-
9
-
10
- ## About The Project
11
-
12
- ![Screen Shot](https://www.rapida.ai/images/screenshots/light-sc-01.png)
13
-
14
- rapida-python sdk to Experiment, Test and Deploy LLM Applications 10X faster and cheaper
15
-
16
-
17
- ## Getting Started
18
-
19
- This is an example of how you may give instructions on setting up your project locally.
20
- To get a local copy up and running follow these simple example steps.
21
-
22
- ### Prerequisites
23
-
24
- This is an example of how to list things you need to use the software and how to install them.
25
-
26
- * python 3.9
27
-
28
-
29
- ### Installation
30
-
31
- 1. Get a free API Key at [rapida.ai](https://www.rapida.ai/)
32
-
33
- 2. pip install rapida-python
34
-
35
- ```
36
- pip install rapida-python
37
- ```
38
-
39
- 3. Refer to [Documentation](https://docs.rapida.ai/api-reference/introduction) on how to use the API Key
40
-
41
-
42
- ## Usage
43
-
44
- Use this space to show useful examples of how a project can be used. Additional screenshots, code examples and demos work well in this space. You may also link to more resources.
45
-
46
- _For more examples, please refer to the [Documentation](https://docs.rapida.ai/api-reference/introduction)
47
- # gxs-demo
@@ -1,78 +0,0 @@
1
- Metadata-Version: 2.4
2
- Name: rapida-python
3
- Version: 0.1.12
4
- Summary: RapidaAI SDK to integrate rapida.ai APIs
5
- Author-email: RapidaAI <code@rapida.ai>
6
- License-Expression: MIT
7
- Project-URL: Homepage, https://github.com/rapidaai/rapida-python
8
- Project-URL: Bug Reports, https://github.com/rapidaai/rapida-python/issues
9
- Project-URL: Documentation, https://rapida.ai/docs
10
- Project-URL: Source, https://github.com/rapidaai/rapida-python
11
- Classifier: Development Status :: 5 - Production/Stable
12
- Classifier: Intended Audience :: Developers
13
- Classifier: Operating System :: OS Independent
14
- Classifier: Programming Language :: Python
15
- Classifier: Programming Language :: Python :: 3
16
- Classifier: Programming Language :: Python :: 3.9
17
- Classifier: Programming Language :: Python :: 3.10
18
- Classifier: Programming Language :: Python :: 3.11
19
- Classifier: Topic :: Software Development :: Libraries :: Python Modules
20
- Requires-Python: >=3.9
21
- Description-Content-Type: text/markdown
22
- Requires-Dist: protobuf
23
- Requires-Dist: grpcio
24
- Requires-Dist: grpcio-tools
25
- Provides-Extra: dev
26
- Requires-Dist: pytest; extra == "dev"
27
- Requires-Dist: pytest-cov; extra == "dev"
28
- Requires-Dist: flake8; extra == "dev"
29
- Requires-Dist: black; extra == "dev"
30
- Requires-Dist: mypy; extra == "dev"
31
-
32
- ## Table Of Contents
33
-
34
- * [About the Project](#about-the-project)
35
- * [Getting Started](#getting-started)
36
- * [Prerequisites](#prerequisites)
37
- * [Installation](#installation)
38
- * [Usage](#usage)
39
-
40
-
41
- ## About The Project
42
-
43
- ![Screen Shot](https://www.rapida.ai/images/screenshots/light-sc-01.png)
44
-
45
- rapida-python sdk to Experiment, Test and Deploy LLM Applications 10X faster and cheaper
46
-
47
-
48
- ## Getting Started
49
-
50
- This is an example of how you may give instructions on setting up your project locally.
51
- To get a local copy up and running follow these simple example steps.
52
-
53
- ### Prerequisites
54
-
55
- This is an example of how to list things you need to use the software and how to install them.
56
-
57
- * python 3.9
58
-
59
-
60
- ### Installation
61
-
62
- 1. Get a free API Key at [rapida.ai](https://www.rapida.ai/)
63
-
64
- 2. pip install rapida-python
65
-
66
- ```
67
- pip install rapida-python
68
- ```
69
-
70
- 3. Refer to [Documentation](https://docs.rapida.ai/api-reference/introduction) on how to use the API Key
71
-
72
-
73
- ## Usage
74
-
75
- Use this space to show useful examples of how a project can be used. Additional screenshots, code examples and demos work well in this space. You may also link to more resources.
76
-
77
- _For more examples, please refer to the [Documentation](https://docs.rapida.ai/api-reference/introduction)
78
- # gxs-demo
File without changes
File without changes