Skip to content

Commit cbc25c7

Browse files
authored
chore: expose Bedrock and Vertex chat models from chat module (#752)
1 parent 118bac4 commit cbc25c7

3 files changed

Lines changed: 15 additions & 2 deletions

File tree

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "uipath-langchain"
3-
version = "0.9.20"
3+
version = "0.9.21"
44
description = "Python SDK that enables developers to build and deploy LangGraph agents to the UiPath Cloud Platform"
55
readme = { file = "README.md", content-type = "text/markdown" }
66
requires-python = ">=3.11"

src/uipath_langchain/chat/__init__.py

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,16 @@ def __getattr__(name):
2929
from .hitl import requires_approval
3030

3131
return requires_approval
32+
if name in ("UiPathChatBedrock", "UiPathChatBedrockConverse"):
33+
from .bedrock import UiPathChatBedrock, UiPathChatBedrockConverse
34+
35+
if name == "UiPathChatBedrock":
36+
return UiPathChatBedrock
37+
return UiPathChatBedrockConverse
38+
if name == "UiPathChatVertex":
39+
from .vertex import UiPathChatVertex
40+
41+
return UiPathChatVertex
3242
if name in ("OpenAIModels", "BedrockModels", "GeminiModels"):
3343
from . import supported_models
3444

@@ -44,6 +54,9 @@ def __getattr__(name):
4454
"UiPathChat",
4555
"UiPathAzureChatOpenAI",
4656
"UiPathChatOpenAI",
57+
"UiPathChatBedrock",
58+
"UiPathChatBedrockConverse",
59+
"UiPathChatVertex",
4760
"OpenAIModels",
4861
"BedrockModels",
4962
"GeminiModels",

uv.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)