File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44
55[project ]
66name = " rapida-python"
7- version = " 0.1.16 "
7+ version = " 0.1.17 "
88description = " RapidaAI SDK to integrate rapida.ai APIs"
99readme = " README.md"
1010authors = [{name = " RapidaAI" , email = " code@rapida.ai" }]
Original file line number Diff line number Diff line change 2424This 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
3131LOCAL_ASSISTANT_API = "localhost:9007"
3232LOCAL_WEB_API = "localhost:9001"
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments