Skip to content

Commit e196703

Browse files
committed
feat: added
1 parent f62b761 commit e196703

3 files changed

Lines changed: 8 additions & 8 deletions

File tree

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "rapida-python"
7-
version = "0.1.16"
7+
version = "0.1.17"
88
description = "RapidaAI SDK to integrate rapida.ai APIs"
99
readme = "README.md"
1010
authors = [{name = "RapidaAI", email = "code@rapida.ai"}]

rapida/configs/__init__.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@
2424
This module provides functions for managing projects through the ProjectService.
2525
"""
2626

27-
ASSISTANT_API = "https://assistant-01.rapida.ai"
28-
WEB_API = "https://api.rapida.ai"
29-
ENDPOINT_API = "https://api.rapida.ai"
27+
ASSISTANT_API = "workflow-01.rapida.ai"
28+
WEB_API = "api.rapida.ai"
29+
ENDPOINT_API = "endpoint-01.rapida.ai"
3030

3131
LOCAL_ASSISTANT_API = "localhost:9007"
3232
LOCAL_WEB_API = "localhost:9001"

rapida/connections/__init__.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -130,15 +130,15 @@ def conversation_client(self):
130130

131131
@property
132132
def assistant_client(self):
133-
return AssistantServiceStub(self._create_channel(self._endpoint["web"]))
133+
return AssistantServiceStub(self._create_channel(self._endpoint["assistant"]))
134134

135135
@property
136136
def project_client(self):
137137
return ProjectServiceStub(self._create_channel(self._endpoint["web"]))
138138

139139
@property
140140
def knowledge_client(self):
141-
return KnowledgeServiceStub(self._create_channel(self._endpoint["web"]))
141+
return KnowledgeServiceStub(self._create_channel(self._endpoint["assistant"]))
142142

143143
@property
144144
def deployment_client(self):
@@ -158,7 +158,7 @@ def vault_client(self):
158158

159159
@property
160160
def endpoint_client(self):
161-
return EndpointServiceStub(self._create_channel(self._endpoint["web"]))
161+
return EndpointServiceStub(self._create_channel(self._endpoint["endpoint"]))
162162

163163
@property
164164
def audit_logging_client(self):
@@ -167,7 +167,7 @@ def audit_logging_client(self):
167167
@property
168168
def assistant_deployment_client(self):
169169
return AssistantDeploymentServiceStub(
170-
self._create_channel(self._endpoint["web"])
170+
self._create_channel(self._endpoint["assistant"])
171171
)
172172

173173
@property

0 commit comments

Comments
 (0)