uipath-langchain 0.0.101__tar.gz → 0.0.103__tar.gz
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.
Potentially problematic release.
This version of uipath-langchain might be problematic. Click here for more details.
- {uipath_langchain-0.0.101 → uipath_langchain-0.0.103}/PKG-INFO +18 -14
- {uipath_langchain-0.0.101 → uipath_langchain-0.0.103}/README.md +16 -12
- {uipath_langchain-0.0.101 → uipath_langchain-0.0.103}/docs/chat_models.md +92 -91
- uipath_langchain-0.0.101/docs/context_grounding_retriever.md → uipath_langchain-0.0.103/docs/context_grounding.md +43 -7
- {uipath_langchain-0.0.101 → uipath_langchain-0.0.103}/docs/human_in_the_loop.md +22 -14
- uipath_langchain-0.0.103/docs/quick_start.md +261 -0
- {uipath_langchain-0.0.101 → uipath_langchain-0.0.103}/pyproject.toml +2 -2
- {uipath_langchain-0.0.101 → uipath_langchain-0.0.103}/samples/ticket-classification/README.md +55 -31
- {uipath_langchain-0.0.101 → uipath_langchain-0.0.103}/src/uipath_langchain/_cli/_runtime/_runtime.py +0 -3
- {uipath_langchain-0.0.101 → uipath_langchain-0.0.103}/src/uipath_langchain/_cli/cli_new.py +3 -2
- {uipath_langchain-0.0.101 → uipath_langchain-0.0.103}/src/uipath_langchain/tracers/AsyncUiPathTracer.py +14 -56
- uipath_langchain-0.0.103/tests/tracers/test_async_uipath_tracer.py +366 -0
- {uipath_langchain-0.0.101 → uipath_langchain-0.0.103}/uv.lock +1425 -1425
- uipath_langchain-0.0.101/docs/context_grounding_vector_store.md +0 -35
- uipath_langchain-0.0.101/docs/quick_start.md +0 -151
- {uipath_langchain-0.0.101 → uipath_langchain-0.0.103}/.cursorrules +0 -0
- {uipath_langchain-0.0.101 → uipath_langchain-0.0.103}/.editorconfig +0 -0
- {uipath_langchain-0.0.101 → uipath_langchain-0.0.103}/.gitattributes +0 -0
- {uipath_langchain-0.0.101 → uipath_langchain-0.0.103}/.github/workflows/build.yml +0 -0
- {uipath_langchain-0.0.101 → uipath_langchain-0.0.103}/.github/workflows/cd.yml +0 -0
- {uipath_langchain-0.0.101 → uipath_langchain-0.0.103}/.github/workflows/ci.yml +0 -0
- {uipath_langchain-0.0.101 → uipath_langchain-0.0.103}/.github/workflows/commitlint.yml +0 -0
- {uipath_langchain-0.0.101 → uipath_langchain-0.0.103}/.github/workflows/lint.yml +0 -0
- {uipath_langchain-0.0.101 → uipath_langchain-0.0.103}/.github/workflows/publish-dev.yml +0 -0
- {uipath_langchain-0.0.101 → uipath_langchain-0.0.103}/.github/workflows/test.yml +0 -0
- {uipath_langchain-0.0.101 → uipath_langchain-0.0.103}/.gitignore +0 -0
- {uipath_langchain-0.0.101 → uipath_langchain-0.0.103}/.pre-commit-config.yaml +0 -0
- {uipath_langchain-0.0.101 → uipath_langchain-0.0.103}/.python-version +0 -0
- {uipath_langchain-0.0.101 → uipath_langchain-0.0.103}/.vscode/extensions.json +0 -0
- {uipath_langchain-0.0.101 → uipath_langchain-0.0.103}/.vscode/settings.json +0 -0
- {uipath_langchain-0.0.101 → uipath_langchain-0.0.103}/CONTRIBUTING.md +0 -0
- {uipath_langchain-0.0.101 → uipath_langchain-0.0.103}/LICENSE +0 -0
- {uipath_langchain-0.0.101 → uipath_langchain-0.0.103}/docs/quick_start_images/cloud_env_var.png +0 -0
- {uipath_langchain-0.0.101 → uipath_langchain-0.0.103}/docs/sample_images/multi-agent-distributed/coder-agent-package-overview.png +0 -0
- {uipath_langchain-0.0.101 → uipath_langchain-0.0.103}/docs/sample_images/multi-agent-distributed/coder-agent-process-configuration.png +0 -0
- {uipath_langchain-0.0.101 → uipath_langchain-0.0.103}/docs/sample_images/multi-agent-distributed/planner-agent-package-overview.png +0 -0
- {uipath_langchain-0.0.101 → uipath_langchain-0.0.103}/docs/sample_images/multi-agent-distributed/planner-agent-process-configuration.png +0 -0
- {uipath_langchain-0.0.101 → uipath_langchain-0.0.103}/docs/sample_images/multi-agent-distributed/researcher-agent-package-overview.png +0 -0
- {uipath_langchain-0.0.101 → uipath_langchain-0.0.103}/docs/sample_images/multi-agent-distributed/researcher-agent-process-configuration.png +0 -0
- {uipath_langchain-0.0.101 → uipath_langchain-0.0.103}/docs/sample_images/ticket-classification/activate-apps.png +0 -0
- {uipath_langchain-0.0.101 → uipath_langchain-0.0.103}/docs/sample_images/ticket-classification/activate-deployment.png +0 -0
- {uipath_langchain-0.0.101 → uipath_langchain-0.0.103}/docs/sample_images/ticket-classification/copy-folder-path.png +0 -0
- {uipath_langchain-0.0.101 → uipath_langchain-0.0.103}/docs/sample_images/ticket-classification/deploy-solution-package-wizard.png +0 -0
- {uipath_langchain-0.0.101 → uipath_langchain-0.0.103}/docs/sample_images/ticket-classification/deploy-solution-package.png +0 -0
- {uipath_langchain-0.0.101 → uipath_langchain-0.0.103}/docs/sample_images/ticket-classification/monitor-agent.png +0 -0
- {uipath_langchain-0.0.101 → uipath_langchain-0.0.103}/docs/sample_images/ticket-classification/navigate-to-solution-folder.png +0 -0
- {uipath_langchain-0.0.101 → uipath_langchain-0.0.103}/docs/sample_images/ticket-classification/resume-condition.png +0 -0
- {uipath_langchain-0.0.101 → uipath_langchain-0.0.103}/docs/sample_images/ticket-classification/run-agent.png +0 -0
- {uipath_langchain-0.0.101 → uipath_langchain-0.0.103}/docs/sample_images/ticket-classification/solution-destination-folder.png +0 -0
- {uipath_langchain-0.0.101 → uipath_langchain-0.0.103}/docs/sample_images/ticket-classification/start-job.png +0 -0
- {uipath_langchain-0.0.101 → uipath_langchain-0.0.103}/docs/sample_images/ticket-classification/upload-solution-package.png +0 -0
- {uipath_langchain-0.0.101 → uipath_langchain-0.0.103}/samples/README.md +0 -0
- {uipath_langchain-0.0.101 → uipath_langchain-0.0.103}/samples/company-research-agent/.env.example +0 -0
- {uipath_langchain-0.0.101 → uipath_langchain-0.0.103}/samples/company-research-agent/agent.mermaid +0 -0
- {uipath_langchain-0.0.101 → uipath_langchain-0.0.103}/samples/company-research-agent/graph.py +0 -0
- {uipath_langchain-0.0.101 → uipath_langchain-0.0.103}/samples/company-research-agent/langgraph.json +0 -0
- {uipath_langchain-0.0.101 → uipath_langchain-0.0.103}/samples/company-research-agent/pyproject.toml +0 -0
- {uipath_langchain-0.0.101 → uipath_langchain-0.0.103}/samples/company-research-agent/uipath.json +0 -0
- {uipath_langchain-0.0.101 → uipath_langchain-0.0.103}/samples/company-research-agent/uv.lock +0 -0
- {uipath_langchain-0.0.101 → uipath_langchain-0.0.103}/samples/hitl-inbox-server/database.py +0 -0
- {uipath_langchain-0.0.101 → uipath_langchain-0.0.103}/samples/hitl-inbox-server/main.py +0 -0
- {uipath_langchain-0.0.101 → uipath_langchain-0.0.103}/samples/hitl-inbox-server/models.py +0 -0
- {uipath_langchain-0.0.101 → uipath_langchain-0.0.103}/samples/hitl-inbox-server/pyproject.toml +0 -0
- {uipath_langchain-0.0.101 → uipath_langchain-0.0.103}/samples/hitl-inbox-server/schemas.py +0 -0
- {uipath_langchain-0.0.101 → uipath_langchain-0.0.103}/samples/hitl-inbox-server/templates/index.html +0 -0
- {uipath_langchain-0.0.101 → uipath_langchain-0.0.103}/samples/hitl-inbox-server/uv.lock +0 -0
- {uipath_langchain-0.0.101 → uipath_langchain-0.0.103}/samples/multi-agent-planner-researcher-coder-distributed/.env.example +0 -0
- {uipath_langchain-0.0.101 → uipath_langchain-0.0.103}/samples/multi-agent-planner-researcher-coder-distributed/README.md +0 -0
- {uipath_langchain-0.0.101 → uipath_langchain-0.0.103}/samples/multi-agent-planner-researcher-coder-distributed/coder.mermaid +0 -0
- {uipath_langchain-0.0.101 → uipath_langchain-0.0.103}/samples/multi-agent-planner-researcher-coder-distributed/langgraph.json +0 -0
- {uipath_langchain-0.0.101 → uipath_langchain-0.0.103}/samples/multi-agent-planner-researcher-coder-distributed/planner.mermaid +0 -0
- {uipath_langchain-0.0.101 → uipath_langchain-0.0.103}/samples/multi-agent-planner-researcher-coder-distributed/pyproject.toml +0 -0
- {uipath_langchain-0.0.101 → uipath_langchain-0.0.103}/samples/multi-agent-planner-researcher-coder-distributed/researcher.mermaid +0 -0
- {uipath_langchain-0.0.101 → uipath_langchain-0.0.103}/samples/multi-agent-planner-researcher-coder-distributed/src/multi-agent-distributed/coder.py +0 -0
- {uipath_langchain-0.0.101 → uipath_langchain-0.0.103}/samples/multi-agent-planner-researcher-coder-distributed/src/multi-agent-distributed/planner.py +0 -0
- {uipath_langchain-0.0.101 → uipath_langchain-0.0.103}/samples/multi-agent-planner-researcher-coder-distributed/src/multi-agent-distributed/researcher.py +0 -0
- {uipath_langchain-0.0.101 → uipath_langchain-0.0.103}/samples/multi-agent-planner-researcher-coder-distributed/uipath.json +0 -0
- {uipath_langchain-0.0.101 → uipath_langchain-0.0.103}/samples/multi-agent-planner-researcher-coder-distributed/uv.lock +0 -0
- {uipath_langchain-0.0.101 → uipath_langchain-0.0.103}/samples/multi-agent-supervisor-researcher-coder/.env.example +0 -0
- {uipath_langchain-0.0.101 → uipath_langchain-0.0.103}/samples/multi-agent-supervisor-researcher-coder/README.md +0 -0
- {uipath_langchain-0.0.101 → uipath_langchain-0.0.103}/samples/multi-agent-supervisor-researcher-coder/agent.mermaid +0 -0
- {uipath_langchain-0.0.101 → uipath_langchain-0.0.103}/samples/multi-agent-supervisor-researcher-coder/graph.py +0 -0
- {uipath_langchain-0.0.101 → uipath_langchain-0.0.103}/samples/multi-agent-supervisor-researcher-coder/langgraph.json +0 -0
- {uipath_langchain-0.0.101 → uipath_langchain-0.0.103}/samples/multi-agent-supervisor-researcher-coder/pyproject.toml +0 -0
- {uipath_langchain-0.0.101 → uipath_langchain-0.0.103}/samples/multi-agent-supervisor-researcher-coder/uipath.json +0 -0
- {uipath_langchain-0.0.101 → uipath_langchain-0.0.103}/samples/multi-agent-supervisor-researcher-coder/uv.lock +0 -0
- {uipath_langchain-0.0.101 → uipath_langchain-0.0.103}/samples/retrieval-chain/.env.example +0 -0
- {uipath_langchain-0.0.101 → uipath_langchain-0.0.103}/samples/retrieval-chain/README.md +0 -0
- {uipath_langchain-0.0.101 → uipath_langchain-0.0.103}/samples/retrieval-chain/main.py +0 -0
- {uipath_langchain-0.0.101 → uipath_langchain-0.0.103}/samples/retrieval-chain/pyproject.toml +0 -0
- {uipath_langchain-0.0.101 → uipath_langchain-0.0.103}/samples/retrieval-chain/uv.lock +0 -0
- {uipath_langchain-0.0.101 → uipath_langchain-0.0.103}/samples/simple-local-mcp/.env.example +0 -0
- {uipath_langchain-0.0.101 → uipath_langchain-0.0.103}/samples/simple-local-mcp/README.md +0 -0
- {uipath_langchain-0.0.101 → uipath_langchain-0.0.103}/samples/simple-local-mcp/agent.mermaid +0 -0
- {uipath_langchain-0.0.101 → uipath_langchain-0.0.103}/samples/simple-local-mcp/langgraph.json +0 -0
- {uipath_langchain-0.0.101 → uipath_langchain-0.0.103}/samples/simple-local-mcp/pyproject.toml +0 -0
- {uipath_langchain-0.0.101 → uipath_langchain-0.0.103}/samples/simple-local-mcp/src/simple-local-mcp/graph.py +0 -0
- {uipath_langchain-0.0.101 → uipath_langchain-0.0.103}/samples/simple-local-mcp/src/simple-local-mcp/math_server.py +0 -0
- {uipath_langchain-0.0.101 → uipath_langchain-0.0.103}/samples/simple-local-mcp/src/simple-local-mcp/weather_server.py +0 -0
- {uipath_langchain-0.0.101 → uipath_langchain-0.0.103}/samples/simple-local-mcp/uipath.json +0 -0
- {uipath_langchain-0.0.101 → uipath_langchain-0.0.103}/samples/simple-local-mcp/uv.lock +0 -0
- {uipath_langchain-0.0.101 → uipath_langchain-0.0.103}/samples/simple-remote-mcp/.env.example +0 -0
- {uipath_langchain-0.0.101 → uipath_langchain-0.0.103}/samples/simple-remote-mcp/README.md +0 -0
- {uipath_langchain-0.0.101 → uipath_langchain-0.0.103}/samples/simple-remote-mcp/agent.mermaid +0 -0
- {uipath_langchain-0.0.101 → uipath_langchain-0.0.103}/samples/simple-remote-mcp/langgraph.json +0 -0
- {uipath_langchain-0.0.101 → uipath_langchain-0.0.103}/samples/simple-remote-mcp/main.py +0 -0
- {uipath_langchain-0.0.101 → uipath_langchain-0.0.103}/samples/simple-remote-mcp/pyproject.toml +0 -0
- {uipath_langchain-0.0.101 → uipath_langchain-0.0.103}/samples/simple-remote-mcp/uipath.json +0 -0
- {uipath_langchain-0.0.101 → uipath_langchain-0.0.103}/samples/simple-remote-mcp/uv.lock +0 -0
- {uipath_langchain-0.0.101 → uipath_langchain-0.0.103}/samples/ticket-classification/.env.example +0 -0
- {uipath_langchain-0.0.101 → uipath_langchain-0.0.103}/samples/ticket-classification/agent.mermaid +0 -0
- {uipath_langchain-0.0.101 → uipath_langchain-0.0.103}/samples/ticket-classification/escalation_app_solution/generic-escalation-app-solution-1.0.0.zip +0 -0
- {uipath_langchain-0.0.101 → uipath_langchain-0.0.103}/samples/ticket-classification/langgraph.json +0 -0
- {uipath_langchain-0.0.101 → uipath_langchain-0.0.103}/samples/ticket-classification/main.py +0 -0
- {uipath_langchain-0.0.101 → uipath_langchain-0.0.103}/samples/ticket-classification/pyproject.toml +0 -0
- {uipath_langchain-0.0.101 → uipath_langchain-0.0.103}/samples/ticket-classification/uipath.json +0 -0
- {uipath_langchain-0.0.101 → uipath_langchain-0.0.103}/samples/ticket-classification/uv.lock +0 -0
- {uipath_langchain-0.0.101 → uipath_langchain-0.0.103}/src/uipath_langchain/__init__.py +0 -0
- {uipath_langchain-0.0.101 → uipath_langchain-0.0.103}/src/uipath_langchain/_cli/__init__.py +0 -0
- {uipath_langchain-0.0.101 → uipath_langchain-0.0.103}/src/uipath_langchain/_cli/_runtime/_context.py +0 -0
- {uipath_langchain-0.0.101 → uipath_langchain-0.0.103}/src/uipath_langchain/_cli/_runtime/_escalation.py +0 -0
- {uipath_langchain-0.0.101 → uipath_langchain-0.0.103}/src/uipath_langchain/_cli/_runtime/_exception.py +0 -0
- {uipath_langchain-0.0.101 → uipath_langchain-0.0.103}/src/uipath_langchain/_cli/_runtime/_input.py +0 -0
- {uipath_langchain-0.0.101 → uipath_langchain-0.0.103}/src/uipath_langchain/_cli/_runtime/_output.py +0 -0
- {uipath_langchain-0.0.101 → uipath_langchain-0.0.103}/src/uipath_langchain/_cli/_templates/langgraph.json.template +0 -0
- {uipath_langchain-0.0.101 → uipath_langchain-0.0.103}/src/uipath_langchain/_cli/_templates/main.py.template +0 -0
- {uipath_langchain-0.0.101 → uipath_langchain-0.0.103}/src/uipath_langchain/_cli/_utils/_graph.py +0 -0
- {uipath_langchain-0.0.101 → uipath_langchain-0.0.103}/src/uipath_langchain/_cli/cli_init.py +0 -0
- {uipath_langchain-0.0.101 → uipath_langchain-0.0.103}/src/uipath_langchain/_cli/cli_run.py +0 -0
- {uipath_langchain-0.0.101 → uipath_langchain-0.0.103}/src/uipath_langchain/_utils/__init__.py +0 -0
- {uipath_langchain-0.0.101 → uipath_langchain-0.0.103}/src/uipath_langchain/_utils/_request_mixin.py +0 -0
- {uipath_langchain-0.0.101 → uipath_langchain-0.0.103}/src/uipath_langchain/_utils/_settings.py +0 -0
- {uipath_langchain-0.0.101 → uipath_langchain-0.0.103}/src/uipath_langchain/_utils/_sleep_policy.py +0 -0
- {uipath_langchain-0.0.101 → uipath_langchain-0.0.103}/src/uipath_langchain/chat/__init__.py +0 -0
- {uipath_langchain-0.0.101 → uipath_langchain-0.0.103}/src/uipath_langchain/chat/models.py +0 -0
- {uipath_langchain-0.0.101 → uipath_langchain-0.0.103}/src/uipath_langchain/chat/utils/__init__.py +0 -0
- {uipath_langchain-0.0.101 → uipath_langchain-0.0.103}/src/uipath_langchain/chat/utils/_chat_types.py +0 -0
- {uipath_langchain-0.0.101 → uipath_langchain-0.0.103}/src/uipath_langchain/embeddings/__init__.py +0 -0
- {uipath_langchain-0.0.101 → uipath_langchain-0.0.103}/src/uipath_langchain/embeddings/embeddings.py +0 -0
- {uipath_langchain-0.0.101 → uipath_langchain-0.0.103}/src/uipath_langchain/middlewares.py +0 -0
- {uipath_langchain-0.0.101 → uipath_langchain-0.0.103}/src/uipath_langchain/retrievers/__init__.py +0 -0
- {uipath_langchain-0.0.101 → uipath_langchain-0.0.103}/src/uipath_langchain/retrievers/context_grounding_retriever.py +0 -0
- {uipath_langchain-0.0.101 → uipath_langchain-0.0.103}/src/uipath_langchain/tracers/UiPathTracer.py +0 -0
- {uipath_langchain-0.0.101 → uipath_langchain-0.0.103}/src/uipath_langchain/tracers/__init__.py +0 -0
- {uipath_langchain-0.0.101 → uipath_langchain-0.0.103}/src/uipath_langchain/tracers/_events.py +0 -0
- {uipath_langchain-0.0.101 → uipath_langchain-0.0.103}/src/uipath_langchain/tracers/_instrument_traceable.py +0 -0
- {uipath_langchain-0.0.101 → uipath_langchain-0.0.103}/src/uipath_langchain/tracers/_utils.py +0 -0
- {uipath_langchain-0.0.101 → uipath_langchain-0.0.103}/src/uipath_langchain/utils/__init__.py +0 -0
- {uipath_langchain-0.0.101 → uipath_langchain-0.0.103}/src/uipath_langchain/utils/_request_mixin.py +0 -0
- {uipath_langchain-0.0.101 → uipath_langchain-0.0.103}/src/uipath_langchain/utils/_settings.py +0 -0
- {uipath_langchain-0.0.101 → uipath_langchain-0.0.103}/src/uipath_langchain/utils/_sleep_policy.py +0 -0
- {uipath_langchain-0.0.101 → uipath_langchain-0.0.103}/src/uipath_langchain/vectorstores/context_grounding_vectorstore.py +0 -0
- {uipath_langchain-0.0.101 → uipath_langchain-0.0.103}/tests/__init__.py +0 -0
- {uipath_langchain-0.0.101 → uipath_langchain-0.0.103}/tests/test_dummy.py +0 -0
- {uipath_langchain-0.0.101 → uipath_langchain-0.0.103}/tests/test_langchain_client.py +0 -0
- {uipath_langchain-0.0.101 → uipath_langchain-0.0.103}/tests/tracers/__init__.py +0 -0
- {uipath_langchain-0.0.101 → uipath_langchain-0.0.103}/tests/tracers/test_instrument_traceable.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: uipath-langchain
|
|
3
|
-
Version: 0.0.
|
|
3
|
+
Version: 0.0.103
|
|
4
4
|
Summary: UiPath Langchain
|
|
5
5
|
Project-URL: Homepage, https://uipath.com
|
|
6
6
|
Project-URL: Repository, https://github.com/UiPath/uipath-langchain-python
|
|
@@ -25,7 +25,7 @@ Requires-Dist: pydantic-settings>=2.6.0
|
|
|
25
25
|
Requires-Dist: python-dotenv>=1.0.1
|
|
26
26
|
Requires-Dist: requests>=2.23.3
|
|
27
27
|
Requires-Dist: types-requests>=2.32.0.20241016
|
|
28
|
-
Requires-Dist: uipath<2.1.0,>=2.0.
|
|
28
|
+
Requires-Dist: uipath<2.1.0,>=2.0.33
|
|
29
29
|
Provides-Extra: langchain
|
|
30
30
|
Description-Content-Type: text/markdown
|
|
31
31
|
|
|
@@ -34,16 +34,18 @@ Description-Content-Type: text/markdown
|
|
|
34
34
|
[](https://pypi.org/project/uipath-langchain/)
|
|
35
35
|
[](https://pypi.org/project/uipath-langchain/)
|
|
36
36
|
|
|
37
|
-
A Python SDK that enables developers to build and deploy LangGraph agents to the UiPath Platform. This package provides programmatic interaction with UiPath Platform services and human-in-the-loop (HITL) semantics through Action Center integration.
|
|
37
|
+
A Python SDK that enables developers to build and deploy LangGraph agents to the UiPath Cloud Platform. This package provides programmatic interaction with UiPath Cloud Platform services and human-in-the-loop (HITL) semantics through Action Center integration.
|
|
38
38
|
|
|
39
39
|
This package is an extension to the [UiPath Python SDK](https://github.com/UiPath/uipath-python).
|
|
40
40
|
|
|
41
|
-
This [quickstart guide](
|
|
41
|
+
This [quickstart guide](https://uipath.github.io/uipath-python/) walks you through deploying your first agent to UiPath Cloud Platform.
|
|
42
|
+
|
|
43
|
+
Check out these [sample projects](https://github.com/UiPath/uipath-langchain-python/tree/main/samples) to see the SDK in action.
|
|
42
44
|
|
|
43
45
|
## Requirements
|
|
44
46
|
|
|
45
|
-
-
|
|
46
|
-
-
|
|
47
|
+
- Python 3.10 or higher
|
|
48
|
+
- UiPath Automation Cloud account
|
|
47
49
|
|
|
48
50
|
## Installation
|
|
49
51
|
|
|
@@ -105,10 +107,12 @@ uipath pack
|
|
|
105
107
|
Packages your project into a `.nupkg` file that can be deployed to UiPath.
|
|
106
108
|
|
|
107
109
|
**Note:** Your `pyproject.toml` must include:
|
|
108
|
-
|
|
109
|
-
-
|
|
110
|
+
|
|
111
|
+
- A description field (avoid characters: &, <, >, ", ', ;)
|
|
112
|
+
- Author information
|
|
110
113
|
|
|
111
114
|
Example:
|
|
115
|
+
|
|
112
116
|
```toml
|
|
113
117
|
description = "Your package description"
|
|
114
118
|
authors = [{name = "Your Name", email = "your.email@example.com"}]
|
|
@@ -125,14 +129,14 @@ Publishes the most recently created package to your UiPath Orchestrator.
|
|
|
125
129
|
## Project Structure
|
|
126
130
|
|
|
127
131
|
To properly use the CLI for packaging and publishing, your project should include:
|
|
128
|
-
|
|
129
|
-
-
|
|
130
|
-
-
|
|
131
|
-
-
|
|
132
|
+
|
|
133
|
+
- A `pyproject.toml` file with project metadata
|
|
134
|
+
- A `langgraph.json` file
|
|
135
|
+
- A `uipath.json` file (generated by `uipath init`)
|
|
136
|
+
- Any Python files needed for your automation
|
|
132
137
|
|
|
133
138
|
## Development
|
|
134
139
|
|
|
135
140
|
### Setting Up a Development Environment
|
|
136
141
|
|
|
137
|
-
Please read our [contribution guidelines](CONTRIBUTING.md) before submitting a pull request.
|
|
138
|
-
|
|
142
|
+
Please read our [contribution guidelines](https://github.com/UiPath/uipath-langchain-python/blob/main/CONTRIBUTING.md) before submitting a pull request.
|
|
@@ -3,16 +3,18 @@
|
|
|
3
3
|
[](https://pypi.org/project/uipath-langchain/)
|
|
4
4
|
[](https://pypi.org/project/uipath-langchain/)
|
|
5
5
|
|
|
6
|
-
A Python SDK that enables developers to build and deploy LangGraph agents to the UiPath Platform. This package provides programmatic interaction with UiPath Platform services and human-in-the-loop (HITL) semantics through Action Center integration.
|
|
6
|
+
A Python SDK that enables developers to build and deploy LangGraph agents to the UiPath Cloud Platform. This package provides programmatic interaction with UiPath Cloud Platform services and human-in-the-loop (HITL) semantics through Action Center integration.
|
|
7
7
|
|
|
8
8
|
This package is an extension to the [UiPath Python SDK](https://github.com/UiPath/uipath-python).
|
|
9
9
|
|
|
10
|
-
This [quickstart guide](
|
|
10
|
+
This [quickstart guide](https://uipath.github.io/uipath-python/) walks you through deploying your first agent to UiPath Cloud Platform.
|
|
11
|
+
|
|
12
|
+
Check out these [sample projects](https://github.com/UiPath/uipath-langchain-python/tree/main/samples) to see the SDK in action.
|
|
11
13
|
|
|
12
14
|
## Requirements
|
|
13
15
|
|
|
14
|
-
-
|
|
15
|
-
-
|
|
16
|
+
- Python 3.10 or higher
|
|
17
|
+
- UiPath Automation Cloud account
|
|
16
18
|
|
|
17
19
|
## Installation
|
|
18
20
|
|
|
@@ -74,10 +76,12 @@ uipath pack
|
|
|
74
76
|
Packages your project into a `.nupkg` file that can be deployed to UiPath.
|
|
75
77
|
|
|
76
78
|
**Note:** Your `pyproject.toml` must include:
|
|
77
|
-
|
|
78
|
-
-
|
|
79
|
+
|
|
80
|
+
- A description field (avoid characters: &, <, >, ", ', ;)
|
|
81
|
+
- Author information
|
|
79
82
|
|
|
80
83
|
Example:
|
|
84
|
+
|
|
81
85
|
```toml
|
|
82
86
|
description = "Your package description"
|
|
83
87
|
authors = [{name = "Your Name", email = "your.email@example.com"}]
|
|
@@ -94,14 +98,14 @@ Publishes the most recently created package to your UiPath Orchestrator.
|
|
|
94
98
|
## Project Structure
|
|
95
99
|
|
|
96
100
|
To properly use the CLI for packaging and publishing, your project should include:
|
|
97
|
-
|
|
98
|
-
-
|
|
99
|
-
-
|
|
100
|
-
-
|
|
101
|
+
|
|
102
|
+
- A `pyproject.toml` file with project metadata
|
|
103
|
+
- A `langgraph.json` file
|
|
104
|
+
- A `uipath.json` file (generated by `uipath init`)
|
|
105
|
+
- Any Python files needed for your automation
|
|
101
106
|
|
|
102
107
|
## Development
|
|
103
108
|
|
|
104
109
|
### Setting Up a Development Environment
|
|
105
110
|
|
|
106
|
-
Please read our [contribution guidelines](CONTRIBUTING.md) before submitting a pull request.
|
|
107
|
-
|
|
111
|
+
Please read our [contribution guidelines](https://github.com/UiPath/uipath-langchain-python/blob/main/CONTRIBUTING.md) before submitting a pull request.
|
|
@@ -1,91 +1,92 @@
|
|
|
1
|
-
# UiPath
|
|
2
|
-
|
|
3
|
-
UiPath provides two chat models `UiPathAzureChatOpenAI` and `UiPathChat`. These are compatible with langgraph as drop in replacements. You do not need to add tokens from OpenAI or Anthropic, usage of these chat models will consume `AI Units` on your account.
|
|
4
|
-
|
|
5
|
-
## UiPathAzureChatOpenAI
|
|
6
|
-
|
|
7
|
-
`UiPathAzureChatOpenAI` can be used as a drop in replacement for `ChatOpenAI` or `AzureChatOpenAI`.
|
|
8
|
-
|
|
9
|
-
### Example usage
|
|
10
|
-
|
|
11
|
-
Here is a code that is using `ChatOpenAI`
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
#
|
|
23
|
-
#
|
|
24
|
-
#
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
```python
|
|
32
|
-
from uipath_langchain.chat.models import UiPathAzureChatOpenAI
|
|
33
|
-
|
|
34
|
-
llm = UiPathAzureChatOpenAI(
|
|
35
|
-
model="gpt-4o-2024-08-06",
|
|
36
|
-
temperature=0,
|
|
37
|
-
max_tokens=4000,
|
|
38
|
-
timeout=30,
|
|
39
|
-
max_retries=2,
|
|
40
|
-
# other params...
|
|
41
|
-
)
|
|
42
|
-
```
|
|
43
|
-
|
|
44
|
-
Currently the following models can be used with `UiPathAzureChatOpenAI` (this list can be updated in the future):
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
## UiPathChat
|
|
49
|
-
|
|
50
|
-
`UiPathChat` is a more versatile clas that can suport models from diferent vendors including OpenAI.
|
|
51
|
-
|
|
52
|
-
### Example usage
|
|
53
|
-
|
|
54
|
-
Given the following code:
|
|
55
|
-
|
|
56
|
-
```python
|
|
57
|
-
from langchain_anthropic import ChatAnthropic
|
|
58
|
-
|
|
59
|
-
llm = ChatAnthropic(
|
|
60
|
-
model="claude-3-5-sonnet-20240620",
|
|
61
|
-
temperature=0,
|
|
62
|
-
max_tokens=1024,
|
|
63
|
-
timeout=None,
|
|
64
|
-
max_retries=2,
|
|
65
|
-
# other params...
|
|
66
|
-
)
|
|
67
|
-
```
|
|
68
|
-
|
|
69
|
-
You can replace it with `UiPathChat` like so:
|
|
70
|
-
|
|
71
|
-
```python
|
|
72
|
-
from uipath_langchain.chat.models import UiPathChat
|
|
73
|
-
|
|
74
|
-
llm = UiPathChat(
|
|
75
|
-
model="anthropic.claude-3-opus-20240229-v1:0",
|
|
76
|
-
temperature=0,
|
|
77
|
-
max_tokens=1024,
|
|
78
|
-
timeout=None,
|
|
79
|
-
max_retries=2,
|
|
80
|
-
# other params...
|
|
81
|
-
)
|
|
82
|
-
```
|
|
83
|
-
|
|
84
|
-
Currently the following models can be used with `UiPathChat` (this list can be updated in the future):
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
1
|
+
# UiPath Chat Models
|
|
2
|
+
|
|
3
|
+
UiPath provides two chat models `UiPathAzureChatOpenAI` and `UiPathChat`. These are compatible with langgraph as drop in replacements. You do not need to add tokens from OpenAI or Anthropic, usage of these chat models will consume `AI Units` on your account.
|
|
4
|
+
|
|
5
|
+
## UiPathAzureChatOpenAI
|
|
6
|
+
|
|
7
|
+
`UiPathAzureChatOpenAI` can be used as a drop in replacement for `ChatOpenAI` or `AzureChatOpenAI`.
|
|
8
|
+
|
|
9
|
+
### Example usage
|
|
10
|
+
|
|
11
|
+
Here is a code that is using `ChatOpenAI`
|
|
12
|
+
|
|
13
|
+
```python
|
|
14
|
+
from langchain_openai import ChatOpenAI
|
|
15
|
+
|
|
16
|
+
llm = ChatOpenAI(
|
|
17
|
+
model="gpt-4o",
|
|
18
|
+
temperature=0,
|
|
19
|
+
max_tokens=4000,
|
|
20
|
+
timeout=30,
|
|
21
|
+
max_retries=2,
|
|
22
|
+
# api_key="...", # if you prefer to pass api key in directly instead of using env vars
|
|
23
|
+
# base_url="...",
|
|
24
|
+
# organization="...",
|
|
25
|
+
# other params...
|
|
26
|
+
)
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
You can simply change `ChatOpenAi` with `UiPathAzureChatOpenAI`, you don't have to provide an `OPEN_AI_TOKEN`
|
|
30
|
+
|
|
31
|
+
```python
|
|
32
|
+
from uipath_langchain.chat.models import UiPathAzureChatOpenAI
|
|
33
|
+
|
|
34
|
+
llm = UiPathAzureChatOpenAI(
|
|
35
|
+
model="gpt-4o-2024-08-06",
|
|
36
|
+
temperature=0,
|
|
37
|
+
max_tokens=4000,
|
|
38
|
+
timeout=30,
|
|
39
|
+
max_retries=2,
|
|
40
|
+
# other params...
|
|
41
|
+
)
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
Currently the following models can be used with `UiPathAzureChatOpenAI` (this list can be updated in the future):
|
|
45
|
+
|
|
46
|
+
- `gpt-4`, `gpt-4-1106-Preview`, `gpt-4-32k`, `gpt-4-turbo-2024-04-09`, `gpt-4-vision-preview`, `gpt-4o-2024-05-13`, `gpt-4o-2024-08-06`, `gpt-4o-mini-2024-07-18`, `o3-mini-2025-01-31`
|
|
47
|
+
|
|
48
|
+
## UiPathChat
|
|
49
|
+
|
|
50
|
+
`UiPathChat` is a more versatile clas that can suport models from diferent vendors including OpenAI.
|
|
51
|
+
|
|
52
|
+
### Example usage
|
|
53
|
+
|
|
54
|
+
Given the following code:
|
|
55
|
+
|
|
56
|
+
```python
|
|
57
|
+
from langchain_anthropic import ChatAnthropic
|
|
58
|
+
|
|
59
|
+
llm = ChatAnthropic(
|
|
60
|
+
model="claude-3-5-sonnet-20240620",
|
|
61
|
+
temperature=0,
|
|
62
|
+
max_tokens=1024,
|
|
63
|
+
timeout=None,
|
|
64
|
+
max_retries=2,
|
|
65
|
+
# other params...
|
|
66
|
+
)
|
|
67
|
+
```
|
|
68
|
+
|
|
69
|
+
You can replace it with `UiPathChat` like so:
|
|
70
|
+
|
|
71
|
+
```python
|
|
72
|
+
from uipath_langchain.chat.models import UiPathChat
|
|
73
|
+
|
|
74
|
+
llm = UiPathChat(
|
|
75
|
+
model="anthropic.claude-3-opus-20240229-v1:0",
|
|
76
|
+
temperature=0,
|
|
77
|
+
max_tokens=1024,
|
|
78
|
+
timeout=None,
|
|
79
|
+
max_retries=2,
|
|
80
|
+
# other params...
|
|
81
|
+
)
|
|
82
|
+
```
|
|
83
|
+
|
|
84
|
+
Currently the following models can be used with `UiPathChat` (this list can be updated in the future):
|
|
85
|
+
|
|
86
|
+
- `anthropic.claude-3-5-sonnet-20240620-v1:0`, `anthropic.claude-3-5-sonnet-20241022-v2:0`, `anthropic.claude-3-7-sonnet-20250219-v1:0`, `anthropic.claude-3-haiku-20240307-v1:0`, `gemini-1.5-pro-001`, `gemini-2.0-flash-001`, `gpt-4o-2024-05-13`, `gpt-4o-2024-08-06`, `gpt-4o-2024-11-20`, `gpt-4o-mini-2024-07-18`, `o3-mini-2025-01-31`
|
|
87
|
+
|
|
88
|
+
### Note
|
|
89
|
+
|
|
90
|
+
Please note that that you may get errors related to data residency, as some models are not available on all regions.
|
|
91
|
+
|
|
92
|
+
Example: `[Enforced Region] No model configuration found for product uipath-python-sdk in EU using model anthropic.claude-3-opus-20240229-v1:0`.
|
|
@@ -1,10 +1,6 @@
|
|
|
1
|
-
#
|
|
2
|
-
|
|
3
|
-
The `ContextGroundingRetriever` is a document retrieval system that uses vector search to efficiently find and retrieve relevant information from your document store.
|
|
4
|
-
|
|
5
|
-
## Overview
|
|
1
|
+
# Context Grounding
|
|
6
2
|
|
|
7
|
-
|
|
3
|
+
Context Grounding Service allows you to:
|
|
8
4
|
- Search through indexed documents using natural language queries
|
|
9
5
|
- Ground LLM responses in your organization's specific information
|
|
10
6
|
- Retrieve context-relevant documents for various applications
|
|
@@ -12,6 +8,11 @@ The `ContextGroundingRetriever` is a document retrieval system that uses vector
|
|
|
12
8
|
|
|
13
9
|
You will need to create an index in `Context Grounding` to use this feature. To create an index go to organization `Admin` -> `AI Trust Layer` -> `Context Grounding`. There you can create a new index and add documents to it. See the full documentation [here](https://docs.uipath.com/automation-cloud/automation-cloud/latest/admin-guide/about-context-grounding) for more details.
|
|
14
10
|
|
|
11
|
+
|
|
12
|
+
# ContextGroundingRetriever
|
|
13
|
+
|
|
14
|
+
The `ContextGroundingRetriever` is a document retrieval system that uses vector search to efficiently find and retrieve relevant information from your document store.
|
|
15
|
+
|
|
15
16
|
## Basic Usage
|
|
16
17
|
|
|
17
18
|
Create a simple retriever by specifying an index name:
|
|
@@ -51,4 +52,39 @@ agent = create_react_agent(model, tools, prompt="Answer user questions as best a
|
|
|
51
52
|
|
|
52
53
|
## Advanced Usage
|
|
53
54
|
|
|
54
|
-
For complex applications, the retriever can be combined with other LangChain components to create robust document QA systems, agents, or knowledge bases.
|
|
55
|
+
For complex applications, the retriever can be combined with other LangChain components to create robust document QA systems, agents, or knowledge bases.
|
|
56
|
+
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
# ContextGroundingVectorStore
|
|
60
|
+
|
|
61
|
+
`ContextGroundingVectorStore` is a vector store implementation designed for context-aware document retrieval. It allows you to perform semantic searches and create retrieval chains with language models.
|
|
62
|
+
|
|
63
|
+
## Searching Documents
|
|
64
|
+
|
|
65
|
+
The vector store supports various search methods:
|
|
66
|
+
|
|
67
|
+
```python
|
|
68
|
+
from uipath_langchain.vectorstores.context_grounding_vectorstore import ContextGroundingVectorStore
|
|
69
|
+
|
|
70
|
+
vectorstore = ContextGroundingVectorStore(index_name="Company policy")
|
|
71
|
+
|
|
72
|
+
# Perform semantic searches with distance scores
|
|
73
|
+
docs_with_scores = vectorstore.asimilarity_search_with_score(query="What is the company policy on data storage?", k=5)
|
|
74
|
+
|
|
75
|
+
# Perform a similarity search with relevance scores
|
|
76
|
+
docs_with_relevance_scores = await vectorstore.asimilarity_search_with_relevance_scores(query=query, k=5)
|
|
77
|
+
```
|
|
78
|
+
|
|
79
|
+
## Creating a Retrieval Chain
|
|
80
|
+
|
|
81
|
+
You can integrate the vector store into a retrieval chain with a language model:
|
|
82
|
+
|
|
83
|
+
```python
|
|
84
|
+
# Run a retrieval chain
|
|
85
|
+
model = UiPathAzureChatOpenAI(model="gpt-4o-2024-08-06", max_retries=3)
|
|
86
|
+
retrieval_chain = create_retrieval_chain(vectorstore=vectorstore, model=model)
|
|
87
|
+
|
|
88
|
+
query = "What is the ECCN for a laptop?"
|
|
89
|
+
result = retrieval_chain(query)
|
|
90
|
+
```
|
|
@@ -4,10 +4,8 @@ Guide for **Human-In-The-Loop** scenarios within the UiPath-Langchain integratio
|
|
|
4
4
|
It focuses on the **interrupt(model)** functionality, illustrating its role as a symbolic representation of an agent's
|
|
5
5
|
wait state within the Langchain framework.
|
|
6
6
|
|
|
7
|
-
|
|
8
7
|
## Models Overview
|
|
9
8
|
|
|
10
|
-
|
|
11
9
|
### 1. CreateAction
|
|
12
10
|
|
|
13
11
|
The `CreateAction` model is utilized to create an escalation action within the UiPath Action Center as part of an interrupt context. The action will rely on a previously created UiPath app.
|
|
@@ -15,18 +13,21 @@ After addressing the escalation, the current agent will resume execution.
|
|
|
15
13
|
For more information on UiPath apps, refer to the [UiPath Apps User Guide](https://docs.uipath.com/apps/automation-cloud/latest/user-guide/introduction).
|
|
16
14
|
|
|
17
15
|
#### Attributes:
|
|
18
|
-
|
|
19
|
-
-
|
|
20
|
-
-
|
|
21
|
-
-
|
|
22
|
-
-
|
|
23
|
-
-
|
|
16
|
+
|
|
17
|
+
- **name** (Optional[str]): The name of the app.
|
|
18
|
+
- **key** (Optional[str]): The key of the app.
|
|
19
|
+
- **title** (str): The title of the action to create.
|
|
20
|
+
- **data** (Optional[Dict[str, Any]]): Values that the action will be populated with.
|
|
21
|
+
- **app_version** (Optional[int]): The version of the app (defaults to 1).
|
|
22
|
+
- **assignee** (Optional[str]): The username or email of the person assigned to handle the escalation.
|
|
24
23
|
|
|
25
24
|
#### Example:
|
|
25
|
+
|
|
26
26
|
```python
|
|
27
27
|
from uipath.models import CreateAction
|
|
28
28
|
action_output = interrupt(CreateAction(name="AppName", title="Escalate Issue", data={"key": "value"}, app_version=1, assignee="user@example.com"))
|
|
29
29
|
```
|
|
30
|
+
|
|
30
31
|
For a practical implementation of the `CreateAction` model, refer to the [ticket-classification sample](https://github.com/UiPath/uipath-langchain-python/tree/main/samples/ticket-classification). This sample demonstrates how to create an action with dynamic input.
|
|
31
32
|
|
|
32
33
|
---
|
|
@@ -36,14 +37,18 @@ For a practical implementation of the `CreateAction` model, refer to the [ticket
|
|
|
36
37
|
The `WaitAction` model is used to wait for an action to be handled. This model is intended for scenarios where the action has already been created.
|
|
37
38
|
|
|
38
39
|
#### Attributes:
|
|
39
|
-
|
|
40
|
+
|
|
41
|
+
- **action** (Action): The instance of the action to wait for.
|
|
40
42
|
|
|
41
43
|
#### Example:
|
|
44
|
+
|
|
42
45
|
```python
|
|
43
46
|
from uipath.models import WaitAction
|
|
44
47
|
action_output = interrupt(WaitAction(action=my_action_instance))
|
|
45
48
|
```
|
|
49
|
+
|
|
46
50
|
---
|
|
51
|
+
|
|
47
52
|
> 💡 UiPath Langchain sdk also supports **Robot/Agent-in-the-loop** scenarios. In this context, the execution of one agent
|
|
48
53
|
> can be suspended until another robot or agent finishes its execution.
|
|
49
54
|
|
|
@@ -54,10 +59,12 @@ This process can be of various types, including API workflows, Agents or RPA aut
|
|
|
54
59
|
Upon completion of the invoked process, the current agent will automatically resume execution.
|
|
55
60
|
|
|
56
61
|
#### Attributes:
|
|
57
|
-
|
|
58
|
-
-
|
|
62
|
+
|
|
63
|
+
- **name** (str): The name of the process to invoke.
|
|
64
|
+
- **input_arguments** (Optional[Dict[str, Any]]): A dictionary containing the input arguments required for the invoked process.
|
|
59
65
|
|
|
60
66
|
#### Example:
|
|
67
|
+
|
|
61
68
|
```python
|
|
62
69
|
from uipath.models import InvokeProcess
|
|
63
70
|
process_output = interrupt(InvokeProcess(name="MyProcess", input_arguments={"arg1": "value1"}))
|
|
@@ -70,14 +77,15 @@ For a practical implementation of the `InvokeProcess` model, refer to the [multi
|
|
|
70
77
|
### 4. WaitJob
|
|
71
78
|
|
|
72
79
|
The `WaitJob` model is used to wait for a job completion. Unlike `InvokeProcess`, which automatically creates a job, this model is intended for scenarios where
|
|
73
|
-
|
|
80
|
+
the job has already been created.
|
|
74
81
|
|
|
75
82
|
#### Attributes:
|
|
76
|
-
|
|
83
|
+
|
|
84
|
+
- **job** (Job): The instance of the job that the agent will wait for. This should be a valid job object that has been previously created.
|
|
77
85
|
|
|
78
86
|
#### Example:
|
|
87
|
+
|
|
79
88
|
```python
|
|
80
89
|
from uipath.models import WaitJob
|
|
81
90
|
job_output = interrupt(WaitJob(job=my_job_instance))
|
|
82
91
|
```
|
|
83
|
-
|