rapida-python 0.1.13__tar.gz → 0.1.15__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/PKG-INFO +120 -0
- rapida_python-0.1.15/README.md +89 -0
- {rapida_python-0.1.13 → rapida_python-0.1.15}/pyproject.toml +1 -1
- {rapida_python-0.1.13 → rapida_python-0.1.15}/rapida/__init__.py +0 -2
- {rapida_python-0.1.13 → rapida_python-0.1.15}/rapida/clients/protos/assistant_api_pb2.py +9 -15
- {rapida_python-0.1.13 → rapida_python-0.1.15}/rapida/clients/protos/assistant_api_pb2.pyi +4 -30
- rapida_python-0.1.15/rapida_python.egg-info/PKG-INFO +120 -0
- rapida_python-0.1.13/PKG-INFO +0 -78
- rapida_python-0.1.13/README.md +0 -47
- rapida_python-0.1.13/rapida_python.egg-info/PKG-INFO +0 -78
- {rapida_python-0.1.13 → rapida_python-0.1.15}/rapida/clients/__init__.py +0 -0
- {rapida_python-0.1.13 → rapida_python-0.1.15}/rapida/clients/assistant.py +0 -0
- {rapida_python-0.1.13 → rapida_python-0.1.15}/rapida/clients/call.py +0 -0
- {rapida_python-0.1.13 → rapida_python-0.1.15}/rapida/clients/endpoint.py +0 -0
- {rapida_python-0.1.13 → rapida_python-0.1.15}/rapida/clients/invoke.py +0 -0
- {rapida_python-0.1.13 → rapida_python-0.1.15}/rapida/clients/protos/assistant_analysis_pb2.py +0 -0
- {rapida_python-0.1.13 → rapida_python-0.1.15}/rapida/clients/protos/assistant_analysis_pb2.pyi +0 -0
- {rapida_python-0.1.13 → rapida_python-0.1.15}/rapida/clients/protos/assistant_analysis_pb2_grpc.py +0 -0
- {rapida_python-0.1.13 → rapida_python-0.1.15}/rapida/clients/protos/assistant_api_pb2_grpc.py +0 -0
- {rapida_python-0.1.13 → rapida_python-0.1.15}/rapida/clients/protos/assistant_deployment_pb2.py +0 -0
- {rapida_python-0.1.13 → rapida_python-0.1.15}/rapida/clients/protos/assistant_deployment_pb2.pyi +0 -0
- {rapida_python-0.1.13 → rapida_python-0.1.15}/rapida/clients/protos/assistant_deployment_pb2_grpc.py +0 -0
- {rapida_python-0.1.13 → rapida_python-0.1.15}/rapida/clients/protos/assistant_knowledge_pb2.py +0 -0
- {rapida_python-0.1.13 → rapida_python-0.1.15}/rapida/clients/protos/assistant_knowledge_pb2.pyi +0 -0
- {rapida_python-0.1.13 → rapida_python-0.1.15}/rapida/clients/protos/assistant_knowledge_pb2_grpc.py +0 -0
- {rapida_python-0.1.13 → rapida_python-0.1.15}/rapida/clients/protos/assistant_tool_pb2.py +0 -0
- {rapida_python-0.1.13 → rapida_python-0.1.15}/rapida/clients/protos/assistant_tool_pb2.pyi +0 -0
- {rapida_python-0.1.13 → rapida_python-0.1.15}/rapida/clients/protos/assistant_tool_pb2_grpc.py +0 -0
- {rapida_python-0.1.13 → rapida_python-0.1.15}/rapida/clients/protos/assistant_webhook_pb2.py +0 -0
- {rapida_python-0.1.13 → rapida_python-0.1.15}/rapida/clients/protos/assistant_webhook_pb2.pyi +0 -0
- {rapida_python-0.1.13 → rapida_python-0.1.15}/rapida/clients/protos/assistant_webhook_pb2_grpc.py +0 -0
- {rapida_python-0.1.13 → rapida_python-0.1.15}/rapida/clients/protos/audit_logging_api_pb2.py +0 -0
- {rapida_python-0.1.13 → rapida_python-0.1.15}/rapida/clients/protos/audit_logging_api_pb2.pyi +0 -0
- {rapida_python-0.1.13 → rapida_python-0.1.15}/rapida/clients/protos/audit_logging_api_pb2_grpc.py +0 -0
- {rapida_python-0.1.13 → rapida_python-0.1.15}/rapida/clients/protos/common_pb2.py +0 -0
- {rapida_python-0.1.13 → rapida_python-0.1.15}/rapida/clients/protos/common_pb2.pyi +0 -0
- {rapida_python-0.1.13 → rapida_python-0.1.15}/rapida/clients/protos/common_pb2_grpc.py +0 -0
- {rapida_python-0.1.13 → rapida_python-0.1.15}/rapida/clients/protos/connect_api_pb2.py +0 -0
- {rapida_python-0.1.13 → rapida_python-0.1.15}/rapida/clients/protos/connect_api_pb2.pyi +0 -0
- {rapida_python-0.1.13 → rapida_python-0.1.15}/rapida/clients/protos/connect_api_pb2_grpc.py +0 -0
- {rapida_python-0.1.13 → rapida_python-0.1.15}/rapida/clients/protos/document_api_pb2.py +0 -0
- {rapida_python-0.1.13 → rapida_python-0.1.15}/rapida/clients/protos/document_api_pb2.pyi +0 -0
- {rapida_python-0.1.13 → rapida_python-0.1.15}/rapida/clients/protos/document_api_pb2_grpc.py +0 -0
- {rapida_python-0.1.13 → rapida_python-0.1.15}/rapida/clients/protos/endpoint_api_pb2.py +0 -0
- {rapida_python-0.1.13 → rapida_python-0.1.15}/rapida/clients/protos/endpoint_api_pb2.pyi +0 -0
- {rapida_python-0.1.13 → rapida_python-0.1.15}/rapida/clients/protos/endpoint_api_pb2_grpc.py +0 -0
- {rapida_python-0.1.13 → rapida_python-0.1.15}/rapida/clients/protos/integration_api_pb2.py +0 -0
- {rapida_python-0.1.13 → rapida_python-0.1.15}/rapida/clients/protos/integration_api_pb2.pyi +0 -0
- {rapida_python-0.1.13 → rapida_python-0.1.15}/rapida/clients/protos/integration_api_pb2_grpc.py +0 -0
- {rapida_python-0.1.13 → rapida_python-0.1.15}/rapida/clients/protos/invoker_api_pb2.py +0 -0
- {rapida_python-0.1.13 → rapida_python-0.1.15}/rapida/clients/protos/invoker_api_pb2.pyi +0 -0
- {rapida_python-0.1.13 → rapida_python-0.1.15}/rapida/clients/protos/invoker_api_pb2_grpc.py +0 -0
- {rapida_python-0.1.13 → rapida_python-0.1.15}/rapida/clients/protos/knowledge_api_pb2.py +0 -0
- {rapida_python-0.1.13 → rapida_python-0.1.15}/rapida/clients/protos/knowledge_api_pb2.pyi +0 -0
- {rapida_python-0.1.13 → rapida_python-0.1.15}/rapida/clients/protos/knowledge_api_pb2_grpc.py +0 -0
- {rapida_python-0.1.13 → rapida_python-0.1.15}/rapida/clients/protos/marketplace_api_pb2.py +0 -0
- {rapida_python-0.1.13 → rapida_python-0.1.15}/rapida/clients/protos/marketplace_api_pb2.pyi +0 -0
- {rapida_python-0.1.13 → rapida_python-0.1.15}/rapida/clients/protos/marketplace_api_pb2_grpc.py +0 -0
- {rapida_python-0.1.13 → rapida_python-0.1.15}/rapida/clients/protos/provider_api_pb2.py +0 -0
- {rapida_python-0.1.13 → rapida_python-0.1.15}/rapida/clients/protos/provider_api_pb2.pyi +0 -0
- {rapida_python-0.1.13 → rapida_python-0.1.15}/rapida/clients/protos/provider_api_pb2_grpc.py +0 -0
- {rapida_python-0.1.13 → rapida_python-0.1.15}/rapida/clients/protos/sendgrid_api_pb2.py +0 -0
- {rapida_python-0.1.13 → rapida_python-0.1.15}/rapida/clients/protos/sendgrid_api_pb2.pyi +0 -0
- {rapida_python-0.1.13 → rapida_python-0.1.15}/rapida/clients/protos/sendgrid_api_pb2_grpc.py +0 -0
- {rapida_python-0.1.13 → rapida_python-0.1.15}/rapida/clients/protos/talk_api_pb2.py +0 -0
- {rapida_python-0.1.13 → rapida_python-0.1.15}/rapida/clients/protos/talk_api_pb2.pyi +0 -0
- {rapida_python-0.1.13 → rapida_python-0.1.15}/rapida/clients/protos/talk_api_pb2_grpc.py +0 -0
- {rapida_python-0.1.13 → rapida_python-0.1.15}/rapida/clients/protos/vault_api_pb2.py +0 -0
- {rapida_python-0.1.13 → rapida_python-0.1.15}/rapida/clients/protos/vault_api_pb2.pyi +0 -0
- {rapida_python-0.1.13 → rapida_python-0.1.15}/rapida/clients/protos/vault_api_pb2_grpc.py +0 -0
- {rapida_python-0.1.13 → rapida_python-0.1.15}/rapida/clients/protos/web_api_pb2.py +0 -0
- {rapida_python-0.1.13 → rapida_python-0.1.15}/rapida/clients/protos/web_api_pb2.pyi +0 -0
- {rapida_python-0.1.13 → rapida_python-0.1.15}/rapida/clients/protos/web_api_pb2_grpc.py +0 -0
- {rapida_python-0.1.13 → rapida_python-0.1.15}/rapida/configs/__init__.py +0 -0
- {rapida_python-0.1.13 → rapida_python-0.1.15}/rapida/connections/__init__.py +0 -0
- {rapida_python-0.1.13 → rapida_python-0.1.15}/rapida/utils/__init__.py +0 -0
- {rapida_python-0.1.13 → rapida_python-0.1.15}/rapida/utils/rapida_environment.py +0 -0
- {rapida_python-0.1.13 → rapida_python-0.1.15}/rapida/utils/rapida_header.py +0 -0
- {rapida_python-0.1.13 → rapida_python-0.1.15}/rapida/utils/rapida_region.py +0 -0
- {rapida_python-0.1.13 → rapida_python-0.1.15}/rapida/utils/rapida_source.py +0 -0
- {rapida_python-0.1.13 → rapida_python-0.1.15}/rapida/utils/rapida_value.py +0 -0
- {rapida_python-0.1.13 → rapida_python-0.1.15}/rapida/version.py +0 -0
- {rapida_python-0.1.13 → rapida_python-0.1.15}/rapida_python.egg-info/SOURCES.txt +0 -0
- {rapida_python-0.1.13 → rapida_python-0.1.15}/rapida_python.egg-info/dependency_links.txt +0 -0
- {rapida_python-0.1.13 → rapida_python-0.1.15}/rapida_python.egg-info/requires.txt +0 -0
- {rapida_python-0.1.13 → rapida_python-0.1.15}/rapida_python.egg-info/top_level.txt +0 -0
- {rapida_python-0.1.13 → rapida_python-0.1.15}/setup.cfg +0 -0
- {rapida_python-0.1.13 → rapida_python-0.1.15}/setup.py +0 -0
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: rapida-python
|
|
3
|
+
Version: 0.1.15
|
|
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
|
+
[](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
|
+
[](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
|
+
|
|
@@ -988,8 +988,6 @@ __all__ = [
|
|
|
988
988
|
"GetAllMessageResponse",
|
|
989
989
|
"UpdateAssistantVersionRequest",
|
|
990
990
|
"UpdateAssistantDetailRequest",
|
|
991
|
-
"GetAllAssistantUserConversationRequest",
|
|
992
|
-
"GetAllAssistantUserConversationResponse",
|
|
993
991
|
"GetAssistantConversationRequest",
|
|
994
992
|
"GetAssistantConversationResponse",
|
|
995
993
|
]
|
|
@@ -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['
|
|
93
|
-
_globals['_GETASSISTANTCONVERSATIONREQUEST'].fields_by_name['
|
|
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['
|
|
133
|
-
_globals['
|
|
134
|
-
_globals['
|
|
135
|
-
_globals['
|
|
136
|
-
_globals['
|
|
137
|
-
_globals['
|
|
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", "
|
|
311
|
+
__slots__ = ("assistantId", "id", "selectors")
|
|
338
312
|
ASSISTANTID_FIELD_NUMBER: _ClassVar[int]
|
|
339
|
-
|
|
313
|
+
ID_FIELD_NUMBER: _ClassVar[int]
|
|
340
314
|
SELECTORS_FIELD_NUMBER: _ClassVar[int]
|
|
341
315
|
assistantId: int
|
|
342
|
-
|
|
316
|
+
id: int
|
|
343
317
|
selectors: _containers.RepeatedCompositeFieldContainer[_common_pb2.FieldSelector]
|
|
344
|
-
def __init__(self, assistantId: _Optional[int] = ...,
|
|
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.15
|
|
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
|
+
[](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
|
+
|
rapida_python-0.1.13/PKG-INFO
DELETED
|
@@ -1,78 +0,0 @@
|
|
|
1
|
-
Metadata-Version: 2.4
|
|
2
|
-
Name: rapida-python
|
|
3
|
-
Version: 0.1.13
|
|
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
|
-

|
|
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
|
rapida_python-0.1.13/README.md
DELETED
|
@@ -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
|
-

|
|
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.13
|
|
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
|
-

|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{rapida_python-0.1.13 → rapida_python-0.1.15}/rapida/clients/protos/assistant_analysis_pb2.py
RENAMED
|
File without changes
|
{rapida_python-0.1.13 → rapida_python-0.1.15}/rapida/clients/protos/assistant_analysis_pb2.pyi
RENAMED
|
File without changes
|
{rapida_python-0.1.13 → rapida_python-0.1.15}/rapida/clients/protos/assistant_analysis_pb2_grpc.py
RENAMED
|
File without changes
|
{rapida_python-0.1.13 → rapida_python-0.1.15}/rapida/clients/protos/assistant_api_pb2_grpc.py
RENAMED
|
File without changes
|
{rapida_python-0.1.13 → rapida_python-0.1.15}/rapida/clients/protos/assistant_deployment_pb2.py
RENAMED
|
File without changes
|
{rapida_python-0.1.13 → rapida_python-0.1.15}/rapida/clients/protos/assistant_deployment_pb2.pyi
RENAMED
|
File without changes
|
{rapida_python-0.1.13 → rapida_python-0.1.15}/rapida/clients/protos/assistant_deployment_pb2_grpc.py
RENAMED
|
File without changes
|
{rapida_python-0.1.13 → rapida_python-0.1.15}/rapida/clients/protos/assistant_knowledge_pb2.py
RENAMED
|
File without changes
|
{rapida_python-0.1.13 → rapida_python-0.1.15}/rapida/clients/protos/assistant_knowledge_pb2.pyi
RENAMED
|
File without changes
|
{rapida_python-0.1.13 → rapida_python-0.1.15}/rapida/clients/protos/assistant_knowledge_pb2_grpc.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{rapida_python-0.1.13 → rapida_python-0.1.15}/rapida/clients/protos/assistant_tool_pb2_grpc.py
RENAMED
|
File without changes
|
{rapida_python-0.1.13 → rapida_python-0.1.15}/rapida/clients/protos/assistant_webhook_pb2.py
RENAMED
|
File without changes
|
{rapida_python-0.1.13 → rapida_python-0.1.15}/rapida/clients/protos/assistant_webhook_pb2.pyi
RENAMED
|
File without changes
|
{rapida_python-0.1.13 → rapida_python-0.1.15}/rapida/clients/protos/assistant_webhook_pb2_grpc.py
RENAMED
|
File without changes
|
{rapida_python-0.1.13 → rapida_python-0.1.15}/rapida/clients/protos/audit_logging_api_pb2.py
RENAMED
|
File without changes
|
{rapida_python-0.1.13 → rapida_python-0.1.15}/rapida/clients/protos/audit_logging_api_pb2.pyi
RENAMED
|
File without changes
|
{rapida_python-0.1.13 → rapida_python-0.1.15}/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.13 → rapida_python-0.1.15}/rapida/clients/protos/document_api_pb2_grpc.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{rapida_python-0.1.13 → rapida_python-0.1.15}/rapida/clients/protos/endpoint_api_pb2_grpc.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{rapida_python-0.1.13 → rapida_python-0.1.15}/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.13 → rapida_python-0.1.15}/rapida/clients/protos/knowledge_api_pb2_grpc.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{rapida_python-0.1.13 → rapida_python-0.1.15}/rapida/clients/protos/marketplace_api_pb2_grpc.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{rapida_python-0.1.13 → rapida_python-0.1.15}/rapida/clients/protos/provider_api_pb2_grpc.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{rapida_python-0.1.13 → rapida_python-0.1.15}/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
|
|
File without changes
|
|
File without changes
|