uipath-llm-client 1.0.4__py3-none-any.whl → 1.0.5__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.
@@ -20,7 +20,7 @@ Quick Start:
20
20
  ... client_type="passthrough",
21
21
  ... vendor_type="openai",
22
22
  ... ),
23
- ... client_settings=settings,
23
+ ... settings=settings,
24
24
  ... )
25
25
  >>> response = client.uipath_request(request_body={...})
26
26
  """
@@ -1,3 +1,3 @@
1
1
  __titile__ = "UiPath LLM Client"
2
2
  __description__ = "A Python client for interacting with UiPath's LLM services."
3
- __version__ = "1.0.4"
3
+ __version__ = "1.0.5"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: uipath-llm-client
3
- Version: 1.0.4
3
+ Version: 1.0.5
4
4
  Summary: UiPath LLM Client
5
5
  Author-email: Cosmin Maria <cosmin.maria@uipath.com>, Dragos Bobolea <dragos.bobolea@uipath.com>
6
6
  License-File: LICENSE
@@ -272,7 +272,7 @@ response = chat_model.invoke("What is the capital of France?")
272
272
  print(response.content)
273
273
 
274
274
  # Create an embeddings model
275
- embeddings_model = get_embedding_model(model="text-embedding-3-large", client_settings=settings)
275
+ embeddings_model = get_embedding_model(model_name="text-embedding-3-large", client_settings=settings)
276
276
  vectors = embeddings_model.embed_documents(["Hello world", "How are you?"])
277
277
  ```
278
278
 
@@ -484,7 +484,7 @@ settings = LLMGatewaySettings(
484
484
  # Use with OpenAI/Azure chat model
485
485
  openai_chat = UiPathAzureChatOpenAI(
486
486
  model="gpt-4o-2024-11-20",
487
- client_settings=settings,
487
+ settings=settings,
488
488
  )
489
489
  response = openai_chat.invoke("Hello!")
490
490
  print(response.content)
@@ -492,7 +492,7 @@ print(response.content)
492
492
  # Use with Google Gemini
493
493
  gemini_chat = UiPathChatGoogleGenerativeAI(
494
494
  model="gemini-2.5-flash",
495
- client_settings=settings,
495
+ settings=settings,
496
496
  )
497
497
  response = gemini_chat.invoke("Hello!")
498
498
  print(response.content)
@@ -500,7 +500,7 @@ print(response.content)
500
500
  # Use with embeddings
501
501
  embeddings = UiPathAzureOpenAIEmbeddings(
502
502
  model="text-embedding-3-large",
503
- client_settings=settings,
503
+ settings=settings,
504
504
  )
505
505
  vectors = embeddings.embed_documents(["Hello world"])
506
506
  ```
@@ -541,7 +541,7 @@ print(response.content)
541
541
 
542
542
  # Embeddings with factory
543
543
  embeddings = get_embedding_model(
544
- model="text-embedding-3-large",
544
+ model_name="text-embedding-3-large",
545
545
  client_settings=settings,
546
546
  )
547
547
  vectors = embeddings.embed_documents(["Hello", "World"])
@@ -1,5 +1,5 @@
1
- uipath_llm_client/__init__.py,sha256=K7pMecLOblh6GWVBkoOalC-ho5ozlw3WG6loiJNzSFo,2363
2
- uipath_llm_client/__version__.py,sha256=pWHtmmJRN_K9orqRQrqJ_mA8wnFVkj97oHjJ57-_vvg,135
1
+ uipath_llm_client/__init__.py,sha256=P1E8IThDCxIonWFj56NbxUwkSRlBjBbbagWwdflKZhs,2356
2
+ uipath_llm_client/__version__.py,sha256=YGKqqlusqqdpl4dA7_JdiXtnI92uDgNDl3ezpJlsWDU,135
3
3
  uipath_llm_client/httpx_client.py,sha256=kr7zKv0GwntCgxjvqN-3x35-OTMw2VthY9o7WNUKzZQ,12760
4
4
  uipath_llm_client/clients/anthropic/__init__.py,sha256=0KxbVGKSVWwC89PYPM7IXkP3qhJa2J0zyW6xsr0efWM,546
5
5
  uipath_llm_client/clients/anthropic/client.py,sha256=UjrXzsgOOgoIRjo7SiLThWtXAJIEH-BHuPy3umNcmC0,17967
@@ -22,7 +22,7 @@ uipath_llm_client/utils/exceptions.py,sha256=IcHPQIf-Jzir_rG7gaD7ByD25Thcl-QpAjn
22
22
  uipath_llm_client/utils/logging.py,sha256=pmC00QAt4LVXFb6PCHQDPoX7iLE9N2GeEytuAkUiQ1w,4641
23
23
  uipath_llm_client/utils/retry.py,sha256=dCWjucI6RtXrjvE0i4YpwQOOwd3d89FZ7MFLwxRSs_s,8602
24
24
  uipath_llm_client/utils/ssl_config.py,sha256=N-XGdZ93bWLJLwgIHkI9YD58QiB6lzVvgNT97q0dmF8,1777
25
- uipath_llm_client-1.0.4.dist-info/METADATA,sha256=7-67NMYhZNXs_Ib_oMawxjnQgui_QF9s45YtnTeQn6Y,22958
26
- uipath_llm_client-1.0.4.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
27
- uipath_llm_client-1.0.4.dist-info/licenses/LICENSE,sha256=r4HMU0pdnVI7BlSYgDUCszn7IrCXJiN8o3yt2U1aOpc,375
28
- uipath_llm_client-1.0.4.dist-info/RECORD,,
25
+ uipath_llm_client-1.0.5.dist-info/METADATA,sha256=KvKOmiOoWiLrT7UAh_RKePKkxfLi0QziH9Pd2kfHMz8,22947
26
+ uipath_llm_client-1.0.5.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
27
+ uipath_llm_client-1.0.5.dist-info/licenses/LICENSE,sha256=r4HMU0pdnVI7BlSYgDUCszn7IrCXJiN8o3yt2U1aOpc,375
28
+ uipath_llm_client-1.0.5.dist-info/RECORD,,