Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "uipath"
version = "2.6.22"
version = "2.6.23"
description = "Python SDK and CLI for UiPath Platform, enabling programmatic interaction with automation services, process management, and deployment tools."
readme = { file = "README.md", content-type = "text/markdown" }
requires-python = ">=3.11"
Expand Down
16 changes: 15 additions & 1 deletion src/uipath/platform/_uipath.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,13 @@
from .._utils._auth import resolve_config_from_env
from .action_center import TasksService
from .agenthub._agenthub_service import AgentHubService
from .chat import ConversationsService, UiPathLlmChatService, UiPathOpenAIService
from .chat import (
ConversationsService,
UiPathBedrockService,
UiPathLlmChatService,
UiPathOpenAIService,
UiPathVertexService,
)
from .common import (
ApiClient,
ExternalApplicationService,
Expand Down Expand Up @@ -133,6 +139,14 @@ def llm_openai(self) -> UiPathOpenAIService:
def llm(self) -> UiPathLlmChatService:
return UiPathLlmChatService(self._config, self._execution_context)

@property
def llm_vertex(self) -> UiPathVertexService:
return UiPathVertexService(self._config, self._execution_context)

@property
def llm_bedrock(self) -> UiPathBedrockService:
return UiPathBedrockService(self._config, self._execution_context)

@property
def entities(self) -> EntitiesService:
return EntitiesService(self._config, self._execution_context)
Expand Down
14 changes: 14 additions & 0 deletions src/uipath/platform/chat/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,19 @@

from ._conversations_service import ConversationsService
from ._llm_gateway_service import (
APIFlavor,
BedrockModels,
ChatModels,
EmbeddingModels,
GeminiModels,
UiPathBedrockService,
UiPathLlmChatService,
UiPathOpenAIService,
UiPathVertexService,
)
from .llm_gateway import (
AutoToolChoice,
BedrockCompletion,
ChatCompletion,
ChatCompletionChoice,
ChatCompletionUsage,
Expand All @@ -29,17 +35,23 @@
ToolFunctionDefinition,
ToolParametersDefinition,
ToolPropertyDefinition,
VertexCompletion,
)
from .llm_throttle import get_llm_semaphore, set_llm_concurrency

__all__ = [
# Conversations Service
"ConversationsService",
# LLM Gateway Services
"APIFlavor",
"BedrockModels",
"ChatModels",
"EmbeddingModels",
"GeminiModels",
"UiPathBedrockService",
"UiPathLlmChatService",
"UiPathOpenAIService",
"UiPathVertexService",
# LLM Throttling
"get_llm_semaphore",
"set_llm_concurrency",
Expand All @@ -55,6 +67,8 @@
"ChatCompletionChoice",
"ChatCompletionUsage",
"ChatCompletion",
"VertexCompletion",
"BedrockCompletion",
"EmbeddingItem",
"EmbeddingUsage",
"TextEmbedding",
Expand Down
Loading
Loading