uipath-langchain-client 1.0.2__py3-none-any.whl → 1.0.4__py3-none-any.whl

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.
@@ -1,3 +1,3 @@
1
1
  __title__ = "UiPath LangChain Client"
2
2
  __description__ = "A Python client for interacting with UiPath's LLM services via LangChain."
3
- __version__ = "1.0.2"
3
+ __version__ = "1.0.4"
@@ -90,7 +90,7 @@ class UiPathBaseLLMClient(BaseModel):
90
90
  )
91
91
  default_headers: Mapping[str, str] | None = Field(
92
92
  default={
93
- "X-UiPath-LLMGateway-TimeoutSeconds": "30", # server side timeout, default is 10, maximum is 300
93
+ "X-UiPath-LLMGateway-TimeoutSeconds": "300", # server side timeout, default is 10, maximum is 300
94
94
  "X-UiPath-LLMGateway-AllowFull4xxResponse": "true", # allow full 4xx responses (default is false)
95
95
  },
96
96
  description="Default request headers to include in requests",
@@ -43,13 +43,13 @@ class UiPathChatOpenAI(UiPathBaseLLMClient, ChatOpenAI): # type: ignore[overrid
43
43
  self.root_client = OpenAI(
44
44
  api_key="PLACEHOLDER",
45
45
  timeout=None, # handled by the UiPath client
46
- max_retries=1, # handled by the UiPath client
46
+ max_retries=0, # handled by the UiPath client
47
47
  http_client=self.uipath_sync_client,
48
48
  )
49
49
  self.root_async_client = AsyncOpenAI(
50
50
  api_key="PLACEHOLDER",
51
51
  timeout=None, # handled by the UiPath client
52
- max_retries=1, # handled by the UiPath client
52
+ max_retries=0, # handled by the UiPath client
53
53
  http_client=self.uipath_async_client,
54
54
  )
55
55
  self.client = self.root_client.chat.completions
@@ -86,7 +86,7 @@ class UiPathAzureChatOpenAI(UiPathBaseLLMClient, AzureChatOpenAI): # type: igno
86
86
  api_version="PLACEHOLDER",
87
87
  api_key="PLACEHOLDER",
88
88
  timeout=None, # handled by the UiPath client
89
- max_retries=1, # handled by the UiPath client
89
+ max_retries=0, # handled by the UiPath client
90
90
  http_client=self.uipath_sync_client,
91
91
  )
92
92
  self.root_async_client = AsyncAzureOpenAI(
@@ -94,7 +94,7 @@ class UiPathAzureChatOpenAI(UiPathBaseLLMClient, AzureChatOpenAI): # type: igno
94
94
  api_version="PLACEHOLDER",
95
95
  api_key="PLACEHOLDER",
96
96
  timeout=None, # handled by the UiPath client
97
- max_retries=1, # handled by the UiPath client
97
+ max_retries=0, # handled by the UiPath client
98
98
  http_client=self.uipath_async_client,
99
99
  )
100
100
  self.client = self.root_client.chat.completions
@@ -36,13 +36,13 @@ class UiPathOpenAIEmbeddings(UiPathBaseLLMClient, OpenAIEmbeddings):
36
36
  self.client = OpenAI(
37
37
  api_key="PLACEHOLDER",
38
38
  timeout=None, # handled by the UiPath client
39
- max_retries=1, # handled by the UiPath client
39
+ max_retries=0, # handled by the UiPath client
40
40
  http_client=self.uipath_sync_client,
41
41
  ).embeddings
42
42
  self.async_client = AsyncOpenAI(
43
43
  api_key="PLACEHOLDER",
44
44
  timeout=None, # handled by the UiPath client
45
- max_retries=1, # handled by the UiPath client
45
+ max_retries=0, # handled by the UiPath client
46
46
  http_client=self.uipath_async_client,
47
47
  ).embeddings
48
48
  return self
@@ -70,7 +70,7 @@ class UiPathAzureOpenAIEmbeddings(UiPathBaseLLMClient, AzureOpenAIEmbeddings):
70
70
  api_version="PLACEHOLDER",
71
71
  api_key="PLACEHOLDER",
72
72
  timeout=None, # handled by the UiPath client
73
- max_retries=1, # handled by the UiPath client
73
+ max_retries=0, # handled by the UiPath client
74
74
  http_client=self.uipath_sync_client,
75
75
  ).embeddings
76
76
  self.async_client = AsyncAzureOpenAI(
@@ -78,7 +78,7 @@ class UiPathAzureOpenAIEmbeddings(UiPathBaseLLMClient, AzureOpenAIEmbeddings):
78
78
  api_version="PLACEHOLDER",
79
79
  api_key="PLACEHOLDER",
80
80
  timeout=None, # handled by the UiPath client
81
- max_retries=1, # handled by the UiPath client
81
+ max_retries=0, # handled by the UiPath client
82
82
  http_client=self.uipath_async_client,
83
83
  ).embeddings
84
84
  return self
@@ -1,11 +1,12 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: uipath-langchain-client
3
- Version: 1.0.2
3
+ Version: 1.0.4
4
4
  Summary: LangChain-compatible chat models and embeddings for UiPath's LLM services
5
5
  Requires-Python: >=3.11
6
6
  Requires-Dist: langchain>=1.2.7
7
- Requires-Dist: uipath-llm-client>=1.0.2
7
+ Requires-Dist: uipath-llm-client>=1.0.3
8
8
  Provides-Extra: all
9
+ Requires-Dist: anthropic[bedrock,vertex]>=0.77.0; extra == 'all'
9
10
  Requires-Dist: langchain-anthropic>=1.3.1; extra == 'all'
10
11
  Requires-Dist: langchain-aws>=1.2.1; extra == 'all'
11
12
  Requires-Dist: langchain-azure-ai>=1.0.0; extra == 'all'
@@ -13,6 +14,7 @@ Requires-Dist: langchain-google-genai>=4.2.0; extra == 'all'
13
14
  Requires-Dist: langchain-google-vertexai>=3.2.1; extra == 'all'
14
15
  Requires-Dist: langchain-openai>=1.1.7; extra == 'all'
15
16
  Provides-Extra: anthropic
17
+ Requires-Dist: anthropic[bedrock,vertex]>=0.77.0; extra == 'anthropic'
16
18
  Requires-Dist: langchain-anthropic>=1.3.1; extra == 'anthropic'
17
19
  Provides-Extra: aws
18
20
  Requires-Dist: langchain-aws>=1.2.1; extra == 'aws'
@@ -1,6 +1,6 @@
1
1
  uipath_langchain_client/__init__.py,sha256=3rOLh-mBT_DWUNShlnOzzcU9OxT98V7i_fQPcFRAGuQ,1605
2
- uipath_langchain_client/__version__.py,sha256=4nhzfK4r7krVivStesBcwAOfNmRJXk2QNvz_mT5-iMY,154
3
- uipath_langchain_client/base_client.py,sha256=ZOv51sfGpJLS0fQq0kUIy0v0BA_WF6jEFky9EgO7fpQ,10911
2
+ uipath_langchain_client/__version__.py,sha256=YJ8bUuY3htHNxC6sDjD3ZiublTH_ck_VAiPjEPJjv0g,154
3
+ uipath_langchain_client/base_client.py,sha256=JuvFZ_XHg9T2VmFiw9DqtB2c9JjffIadxI-w9ySXnDc,10912
4
4
  uipath_langchain_client/factory.py,sha256=6KKAQqtdtDS8cwsZ5MUoChiqnDye41svbZ5CeUaggYg,8312
5
5
  uipath_langchain_client/settings.py,sha256=mcSXWzZ_jkG_y-1XJOJpDZH9YVHZd6MMbNMMHXujGjw,920
6
6
  uipath_langchain_client/clients/anthropic/__init__.py,sha256=cU7tkL3WYQXFZhdkZsQn_sgDQRx9wWzde3Amq0ts94U,121
@@ -19,10 +19,10 @@ uipath_langchain_client/clients/normalized/__init__.py,sha256=r0tJ3QvhZPcbNjZJz8
19
19
  uipath_langchain_client/clients/normalized/chat_models.py,sha256=kIs8kyW5OKWiNWnxn7o8hz6W-yizaFVvd3V7KZAC8Sw,16639
20
20
  uipath_langchain_client/clients/normalized/embeddings.py,sha256=CXIuqKZKSa663b0dOubAvp1zHmW6-CgM1M6i7-FcgTA,1275
21
21
  uipath_langchain_client/clients/openai/__init__.py,sha256=f6O7otwFkSc5CxVOHpZ1GHEW9g9K2rDg5P_R7cxTrXs,376
22
- uipath_langchain_client/clients/openai/chat_models.py,sha256=fAaDeR5bQ6FFgufP0Qq8Hs3f-1QKHvLNvghGw18pGzQ,4029
23
- uipath_langchain_client/clients/openai/embeddings.py,sha256=3saz1Do0rylJBVUWLcF8h651VaIED-ivUiiUnLPLJmE,3310
22
+ uipath_langchain_client/clients/openai/chat_models.py,sha256=nhNEnBbfgxt3HE-uHIA77bCyBxlKf3SnJ6B7wnZ6knc,4029
23
+ uipath_langchain_client/clients/openai/embeddings.py,sha256=dOVjnF6EQI_drDXr9IxwibjFn1ntI-h41zUPZFHEnuE,3310
24
24
  uipath_langchain_client/clients/vertexai/__init__.py,sha256=g_rPq14ij0DPxUC4tX7vNDB5KVvfULxOUXyReM97PZw,132
25
25
  uipath_langchain_client/clients/vertexai/chat_models.py,sha256=BpLGbDZ6YP6mOgxXZp8lXf9tId-JAuYhEFUcrqFejHE,2022
26
- uipath_langchain_client-1.0.2.dist-info/METADATA,sha256=CiEtjIYvU7UI_4aYFn4c2MUlgg4lpX4Wi-e5xefgVEs,8762
27
- uipath_langchain_client-1.0.2.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
28
- uipath_langchain_client-1.0.2.dist-info/RECORD,,
26
+ uipath_langchain_client-1.0.4.dist-info/METADATA,sha256=g9gQND0_QXan7-Mb1M0OCYxmgvPeAslFzIj1D9BlHwo,8898
27
+ uipath_langchain_client-1.0.4.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
28
+ uipath_langchain_client-1.0.4.dist-info/RECORD,,