uipath-llm-client 1.0.4__py3-none-any.whl → 1.0.6__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.
- uipath_llm_client/__init__.py +1 -1
- uipath_llm_client/__version__.py +1 -1
- uipath_llm_client/settings/agenthub/settings.py +3 -1
- {uipath_llm_client-1.0.4.dist-info → uipath_llm_client-1.0.6.dist-info}/METADATA +6 -6
- {uipath_llm_client-1.0.4.dist-info → uipath_llm_client-1.0.6.dist-info}/RECORD +7 -7
- {uipath_llm_client-1.0.4.dist-info → uipath_llm_client-1.0.6.dist-info}/WHEEL +0 -0
- {uipath_llm_client-1.0.4.dist-info → uipath_llm_client-1.0.6.dist-info}/licenses/LICENSE +0 -0
uipath_llm_client/__init__.py
CHANGED
uipath_llm_client/__version__.py
CHANGED
|
@@ -48,8 +48,10 @@ class AgentHubBaseSettings(UiPathBaseSettings):
|
|
|
48
48
|
client_secret: SecretStr | None = Field(default=None, validation_alias="UIPATH_CLIENT_SECRET")
|
|
49
49
|
client_scope: str | None = Field(default=None, validation_alias="UIPATH_CLIENT_SCOPE")
|
|
50
50
|
|
|
51
|
+
# AgentHub configuration (used for discovery)
|
|
52
|
+
agenthub_config: str = Field(default="agentsruntime", validation_alias="UIPATH_AGENTHUB_CONFIG")
|
|
53
|
+
|
|
51
54
|
# Tracing configuration
|
|
52
|
-
agenthub_config: str | None = Field(default=None, validation_alias="UIPATH_AGENTHUB_CONFIG")
|
|
53
55
|
process_key: str | None = Field(default=None, validation_alias="UIPATH_PROCESS_KEY")
|
|
54
56
|
job_key: str | None = Field(default=None, validation_alias="UIPATH_JOB_KEY")
|
|
55
57
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: uipath-llm-client
|
|
3
|
-
Version: 1.0.
|
|
3
|
+
Version: 1.0.6
|
|
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(
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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=
|
|
2
|
-
uipath_llm_client/__version__.py,sha256=
|
|
1
|
+
uipath_llm_client/__init__.py,sha256=P1E8IThDCxIonWFj56NbxUwkSRlBjBbbagWwdflKZhs,2356
|
|
2
|
+
uipath_llm_client/__version__.py,sha256=oxMjyC1-nXFftufe2-c08xp3oDQfG2l_3aumq7-CKb8,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
|
|
@@ -13,7 +13,7 @@ uipath_llm_client/settings/base.py,sha256=rVloAQCvbhY-bBdKEOH5WuB-pay91BZ9gpNXT0
|
|
|
13
13
|
uipath_llm_client/settings/utils.py,sha256=2Rmr7RiQjRchSDHg46tuFRV5scEDphIl-NMkmyPScwo,466
|
|
14
14
|
uipath_llm_client/settings/agenthub/__init__.py,sha256=3aBfGa4YkfeylXGBALF-BFktakYRlideFajhvfq8YlQ,1538
|
|
15
15
|
uipath_llm_client/settings/agenthub/auth.py,sha256=vWb0nipR3pITNxVQmQARCsxx5ZfUAfWS_SR5w0A7dEo,1591
|
|
16
|
-
uipath_llm_client/settings/agenthub/settings.py,sha256=
|
|
16
|
+
uipath_llm_client/settings/agenthub/settings.py,sha256=F_xbajVWZuiBYUndRcbvIeDeu9k8d5UnkF2K7vUKgSM,5999
|
|
17
17
|
uipath_llm_client/settings/llmgateway/__init__.py,sha256=QMViUqELA0LVle_WDjNivxxNaFSpr_X3yfJRsCEdZ4I,1525
|
|
18
18
|
uipath_llm_client/settings/llmgateway/auth.py,sha256=JzN6czbLOQfLF0CMuHNHJjzUOSzKfr_tVrgeC5tXSxI,2710
|
|
19
19
|
uipath_llm_client/settings/llmgateway/settings.py,sha256=ZhKk94UP2yJ6MNR8mSRWmoqYB_pRv9SKmV3OWVh0CWY,4733
|
|
@@ -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.
|
|
26
|
-
uipath_llm_client-1.0.
|
|
27
|
-
uipath_llm_client-1.0.
|
|
28
|
-
uipath_llm_client-1.0.
|
|
25
|
+
uipath_llm_client-1.0.6.dist-info/METADATA,sha256=Z9cfcLiLrxGkozJwFeznKM5KRrs_PQ4ubvM111Z1GO8,22947
|
|
26
|
+
uipath_llm_client-1.0.6.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
|
|
27
|
+
uipath_llm_client-1.0.6.dist-info/licenses/LICENSE,sha256=r4HMU0pdnVI7BlSYgDUCszn7IrCXJiN8o3yt2U1aOpc,375
|
|
28
|
+
uipath_llm_client-1.0.6.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|