@@ -123,7 +123,7 @@ export LLMGW_SEMANTIC_USER_ID="your-user-id"
123123Configuration settings for UiPath AgentHub client requests. These settings control routing, authentication, and tracking for requests to AgentHub.
124124
125125``` python
126- from uipath_llm_client .settings import AgentHubSettings
126+ from uipath.llm_client .settings import AgentHubSettings
127127
128128settings = AgentHubSettings(
129129 environment = " cloud" , # UiPath environment
@@ -158,7 +158,7 @@ settings = AgentHubSettings(
158158Configuration settings for LLM Gateway client requests. These settings control routing, authentication, and tracking for requests to LLM Gateway.
159159
160160``` python
161- from uipath_llm_client .settings import LLMGatewaySettings
161+ from uipath.llm_client .settings import LLMGatewaySettings
162162
163163settings = LLMGatewaySettings(
164164 base_url = " https://your-llmgw-url.com" ,
@@ -240,7 +240,7 @@ Factory functions automatically detect the model vendor but require settings to
240240
241241``` python
242242from uipath_langchain_client import get_chat_model, get_embedding_model
243- from uipath_llm_client .settings import get_default_client_settings
243+ from uipath.llm_client .settings import get_default_client_settings
244244
245245settings = get_default_client_settings()
246246
@@ -260,7 +260,7 @@ The normalized API provides a consistent interface across all LLM providers:
260260
261261``` python
262262from uipath_langchain_client import get_chat_model
263- from uipath_llm_client .settings import get_default_client_settings
263+ from uipath.llm_client .settings import get_default_client_settings
264264
265265settings = get_default_client_settings()
266266
@@ -368,7 +368,7 @@ print(result["messages"][-1].content)
368368The core ` uipath_llm_client ` package provides thin wrappers around native vendor SDKs. These are drop-in replacements that route requests through UiPath's infrastructure while preserving the original SDK's interface:
369369
370370``` python
371- from uipath_llm_client .clients.openai import UiPathOpenAI, UiPathAzureOpenAI
371+ from uipath.llm_client .clients.openai import UiPathOpenAI, UiPathAzureOpenAI
372372
373373# Drop-in replacement for openai.OpenAI — routes through UiPath
374374client = UiPathOpenAI(model_name = " gpt-4o-2024-11-20" )
@@ -383,7 +383,7 @@ azure_client = UiPathAzureOpenAI(model_name="gpt-4o-2024-11-20")
383383```
384384
385385``` python
386- from uipath_llm_client .clients.anthropic import UiPathAnthropic
386+ from uipath.llm_client .clients.anthropic import UiPathAnthropic
387387
388388# Drop-in replacement for anthropic.Anthropic
389389client = UiPathAnthropic(model_name = " anthropic.claude-sonnet-4-5-20250929-v1:0" )
@@ -396,7 +396,7 @@ print(response.content[0].text)
396396```
397397
398398``` python
399- from uipath_llm_client .clients.google import UiPathGoogle
399+ from uipath.llm_client .clients.google import UiPathGoogle
400400
401401# Drop-in replacement for google.genai.Client
402402client = UiPathGoogle(model_name = " gemini-2.5-flash" )
@@ -424,8 +424,8 @@ All native SDK wrappers are available in sync and async variants:
424424For completely custom HTTP requests, use the low-level HTTPX client directly:
425425
426426``` python
427- from uipath_llm_client import UiPathHttpxClient
428- from uipath_llm_client .settings import UiPathAPIConfig, get_default_client_settings
427+ from uipath.llm_client import UiPathHttpxClient
428+ from uipath.llm_client .settings import UiPathAPIConfig, get_default_client_settings
429429
430430settings = get_default_client_settings()
431431
@@ -463,8 +463,8 @@ Pass custom settings when you need more control:
463463
464464``` python
465465from uipath_langchain_client.clients.openai.chat_models import UiPathAzureChatOpenAI
466- from uipath_llm_client .settings import AgentHubSettings
467- from uipath_llm_client .utils.retry import RetryConfig
466+ from uipath.llm_client .settings import AgentHubSettings
467+ from uipath.llm_client .utils.retry import RetryConfig
468468
469469# Custom settings for AgentHub
470470settings = AgentHubSettings(environment = " cloud" ) # or "staging", "alpha"
@@ -489,7 +489,7 @@ chat_model = UiPathAzureChatOpenAI(
489489
490490``` python
491491from uipath_langchain_client.clients.openai.chat_models import UiPathAzureChatOpenAI
492- from uipath_llm_client .settings import get_default_client_settings
492+ from uipath.llm_client .settings import get_default_client_settings
493493
494494# Explicitly specify the backend
495495agenthub_settings = get_default_client_settings(backend = " agenthub" )
@@ -511,7 +511,7 @@ You can instantiate `LLMGatewaySettings` directly for full control over configur
511511from uipath_langchain_client.clients.openai.chat_models import UiPathAzureChatOpenAI
512512from uipath_langchain_client.clients.google.chat_models import UiPathChatGoogleGenerativeAI
513513from uipath_langchain_client.clients.openai.embeddings import UiPathAzureOpenAIEmbeddings
514- from uipath_llm_client .settings import LLMGatewaySettings
514+ from uipath.llm_client .settings import LLMGatewaySettings
515515
516516# Create LLMGatewaySettings with explicit configuration
517517settings = LLMGatewaySettings(
@@ -553,7 +553,7 @@ vectors = embeddings.embed_documents(["Hello world"])
553553
554554``` python
555555from uipath_langchain_client import get_chat_model, get_embedding_model
556- from uipath_llm_client .settings import LLMGatewaySettings
556+ from uipath.llm_client .settings import LLMGatewaySettings
557557
558558# Create LLMGatewaySettings
559559settings = LLMGatewaySettings(
@@ -632,7 +632,7 @@ byo_embeddings = UiPathAzureOpenAIEmbeddings(
632632The client provides a hierarchy of typed exceptions for handling API errors. All exceptions extend ` UiPathAPIError ` (which extends ` httpx.HTTPStatusError ` ):
633633
634634``` python
635- from uipath_llm_client import (
635+ from uipath.llm_client import (
636636 UiPathAPIError,
637637 UiPathAuthenticationError,
638638 UiPathRateLimitError,
@@ -675,7 +675,7 @@ except UiPathAPIError as e:
675675The ` UiPathAPIConfig ` class controls how requests are routed through UiPath's infrastructure:
676676
677677``` python
678- from uipath_llm_client .settings import UiPathAPIConfig
678+ from uipath.llm_client .settings import UiPathAPIConfig
679679
680680config = UiPathAPIConfig(
681681 api_type = " completions" ,
@@ -802,7 +802,7 @@ When adding new tests or modifying existing ones that require new API interactio
802802
803803```
804804uipath-llm-client/
805- ├── src/uipath_llm_client / # Core package
805+ ├── src/uipath/llm_client / # Core package
806806│ ├── httpx_client.py # UiPathHttpxClient / UiPathHttpxAsyncClient
807807│ ├── clients/ # Native SDK wrappers
808808│ │ ├── openai/ # UiPathOpenAI, UiPathAzureOpenAI, etc.
0 commit comments