uipath-langchain 0.0.99__tar.gz → 0.0.100__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.99 → uipath_langchain-0.0.100}/PKG-INFO +4 -2
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.100}/README.md +2 -0
- uipath_langchain-0.0.100/docs/quick_start.md +144 -0
- uipath_langchain-0.0.100/docs/quick_start_images/cloud_env_var.png +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.100}/pyproject.toml +2 -2
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.100}/src/uipath_langchain/_cli/cli_new.py +10 -10
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.100}/uv.lock +1425 -1425
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.100}/.cursorrules +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.100}/.editorconfig +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.100}/.gitattributes +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.100}/.github/workflows/build.yml +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.100}/.github/workflows/cd.yml +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.100}/.github/workflows/ci.yml +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.100}/.github/workflows/commitlint.yml +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.100}/.github/workflows/lint.yml +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.100}/.github/workflows/test.yml +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.100}/.gitignore +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.100}/.pre-commit-config.yaml +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.100}/.python-version +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.100}/.vscode/extensions.json +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.100}/.vscode/settings.json +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.100}/CONTRIBUTING.md +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.100}/LICENSE +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.100}/docs/chat_models.md +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.100}/docs/context_grounding_retriever.md +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.100}/docs/context_grounding_vector_store.md +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.100}/docs/interrupt_models.md +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.100}/docs/sample_images/multi-agent-distributed/coder-agent-package-overview.png +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.100}/docs/sample_images/multi-agent-distributed/coder-agent-process-configuration.png +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.100}/docs/sample_images/multi-agent-distributed/planner-agent-package-overview.png +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.100}/docs/sample_images/multi-agent-distributed/planner-agent-process-configuration.png +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.100}/docs/sample_images/multi-agent-distributed/researcher-agent-package-overview.png +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.100}/docs/sample_images/multi-agent-distributed/researcher-agent-process-configuration.png +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.100}/docs/sample_images/ticket-classification/activate-apps.png +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.100}/docs/sample_images/ticket-classification/activate-deployment.png +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.100}/docs/sample_images/ticket-classification/copy-folder-path.png +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.100}/docs/sample_images/ticket-classification/deploy-solution-package-wizard.png +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.100}/docs/sample_images/ticket-classification/deploy-solution-package.png +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.100}/docs/sample_images/ticket-classification/monitor-agent.png +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.100}/docs/sample_images/ticket-classification/navigate-to-solution-folder.png +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.100}/docs/sample_images/ticket-classification/resume-condition.png +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.100}/docs/sample_images/ticket-classification/run-agent.png +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.100}/docs/sample_images/ticket-classification/solution-destination-folder.png +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.100}/docs/sample_images/ticket-classification/start-job.png +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.100}/docs/sample_images/ticket-classification/upload-solution-package.png +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.100}/samples/company-research-agent/.env.example +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.100}/samples/company-research-agent/agent.mermaid +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.100}/samples/company-research-agent/graph.py +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.100}/samples/company-research-agent/langgraph.json +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.100}/samples/company-research-agent/pyproject.toml +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.100}/samples/company-research-agent/uipath.json +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.100}/samples/company-research-agent/uv.lock +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.100}/samples/hitl-inbox-server/database.py +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.100}/samples/hitl-inbox-server/main.py +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.100}/samples/hitl-inbox-server/models.py +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.100}/samples/hitl-inbox-server/pyproject.toml +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.100}/samples/hitl-inbox-server/schemas.py +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.100}/samples/hitl-inbox-server/templates/index.html +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.100}/samples/hitl-inbox-server/uv.lock +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.100}/samples/multi-agent-planner-researcher-coder-distributed/.env.example +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.100}/samples/multi-agent-planner-researcher-coder-distributed/README.md +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.100}/samples/multi-agent-planner-researcher-coder-distributed/coder.mermaid +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.100}/samples/multi-agent-planner-researcher-coder-distributed/langgraph.json +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.100}/samples/multi-agent-planner-researcher-coder-distributed/planner.mermaid +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.100}/samples/multi-agent-planner-researcher-coder-distributed/pyproject.toml +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.100}/samples/multi-agent-planner-researcher-coder-distributed/researcher.mermaid +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.100}/samples/multi-agent-planner-researcher-coder-distributed/src/multi-agent-distributed/coder.py +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.100}/samples/multi-agent-planner-researcher-coder-distributed/src/multi-agent-distributed/planner.py +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.100}/samples/multi-agent-planner-researcher-coder-distributed/src/multi-agent-distributed/researcher.py +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.100}/samples/multi-agent-planner-researcher-coder-distributed/uipath.json +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.100}/samples/multi-agent-planner-researcher-coder-distributed/uv.lock +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.100}/samples/multi-agent-supervisor-researcher-coder/.env.example +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.100}/samples/multi-agent-supervisor-researcher-coder/README.md +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.100}/samples/multi-agent-supervisor-researcher-coder/agent.mermaid +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.100}/samples/multi-agent-supervisor-researcher-coder/graph.py +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.100}/samples/multi-agent-supervisor-researcher-coder/langgraph.json +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.100}/samples/multi-agent-supervisor-researcher-coder/pyproject.toml +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.100}/samples/multi-agent-supervisor-researcher-coder/uipath.json +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.100}/samples/multi-agent-supervisor-researcher-coder/uv.lock +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.100}/samples/retrieval-chain/.env.example +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.100}/samples/retrieval-chain/README.md +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.100}/samples/retrieval-chain/main.py +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.100}/samples/retrieval-chain/pyproject.toml +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.100}/samples/retrieval-chain/uv.lock +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.100}/samples/simple-local-mcp/.env.example +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.100}/samples/simple-local-mcp/README.md +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.100}/samples/simple-local-mcp/agent.mermaid +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.100}/samples/simple-local-mcp/langgraph.json +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.100}/samples/simple-local-mcp/pyproject.toml +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.100}/samples/simple-local-mcp/src/simple-local-mcp/graph.py +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.100}/samples/simple-local-mcp/src/simple-local-mcp/math_server.py +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.100}/samples/simple-local-mcp/src/simple-local-mcp/weather_server.py +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.100}/samples/simple-local-mcp/uipath.json +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.100}/samples/simple-local-mcp/uv.lock +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.100}/samples/simple-remote-mcp/.env.example +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.100}/samples/simple-remote-mcp/README.md +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.100}/samples/simple-remote-mcp/agent.mermaid +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.100}/samples/simple-remote-mcp/langgraph.json +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.100}/samples/simple-remote-mcp/main.py +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.100}/samples/simple-remote-mcp/pyproject.toml +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.100}/samples/simple-remote-mcp/uipath.json +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.100}/samples/simple-remote-mcp/uv.lock +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.100}/samples/ticket-classification/.env.example +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.100}/samples/ticket-classification/README.md +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.100}/samples/ticket-classification/agent.mermaid +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.100}/samples/ticket-classification/escalation_app_solution/generic-escalation-app-solution-1.0.0.zip +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.100}/samples/ticket-classification/langgraph.json +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.100}/samples/ticket-classification/main.py +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.100}/samples/ticket-classification/pyproject.toml +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.100}/samples/ticket-classification/uipath.json +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.100}/samples/ticket-classification/uv.lock +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.100}/src/uipath_langchain/__init__.py +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.100}/src/uipath_langchain/_cli/__init__.py +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.100}/src/uipath_langchain/_cli/_runtime/_context.py +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.100}/src/uipath_langchain/_cli/_runtime/_escalation.py +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.100}/src/uipath_langchain/_cli/_runtime/_exception.py +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.100}/src/uipath_langchain/_cli/_runtime/_input.py +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.100}/src/uipath_langchain/_cli/_runtime/_output.py +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.100}/src/uipath_langchain/_cli/_runtime/_runtime.py +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.100}/src/uipath_langchain/_cli/_templates/langgraph.json.template +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.100}/src/uipath_langchain/_cli/_templates/main.py.template +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.100}/src/uipath_langchain/_cli/_utils/_graph.py +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.100}/src/uipath_langchain/_cli/cli_init.py +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.100}/src/uipath_langchain/_cli/cli_run.py +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.100}/src/uipath_langchain/_utils/__init__.py +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.100}/src/uipath_langchain/_utils/_request_mixin.py +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.100}/src/uipath_langchain/_utils/_settings.py +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.100}/src/uipath_langchain/_utils/_sleep_policy.py +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.100}/src/uipath_langchain/chat/__init__.py +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.100}/src/uipath_langchain/chat/models.py +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.100}/src/uipath_langchain/chat/utils/__init__.py +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.100}/src/uipath_langchain/chat/utils/_chat_types.py +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.100}/src/uipath_langchain/embeddings/__init__.py +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.100}/src/uipath_langchain/embeddings/embeddings.py +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.100}/src/uipath_langchain/middlewares.py +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.100}/src/uipath_langchain/retrievers/__init__.py +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.100}/src/uipath_langchain/retrievers/context_grounding_retriever.py +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.100}/src/uipath_langchain/tracers/AsyncUiPathTracer.py +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.100}/src/uipath_langchain/tracers/UiPathTracer.py +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.100}/src/uipath_langchain/tracers/__init__.py +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.100}/src/uipath_langchain/tracers/_events.py +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.100}/src/uipath_langchain/tracers/_instrument_traceable.py +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.100}/src/uipath_langchain/tracers/_utils.py +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.100}/src/uipath_langchain/utils/__init__.py +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.100}/src/uipath_langchain/utils/_request_mixin.py +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.100}/src/uipath_langchain/utils/_settings.py +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.100}/src/uipath_langchain/utils/_sleep_policy.py +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.100}/src/uipath_langchain/vectorstores/context_grounding_vectorstore.py +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.100}/tests/__init__.py +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.100}/tests/test_dummy.py +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.100}/tests/test_langchain_client.py +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.100}/tests/tracers/__init__.py +0 -0
- {uipath_langchain-0.0.99 → uipath_langchain-0.0.100}/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.100
|
|
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.31
|
|
29
29
|
Provides-Extra: langchain
|
|
30
30
|
Description-Content-Type: text/markdown
|
|
31
31
|
|
|
@@ -38,6 +38,8 @@ A Python SDK that enables developers to build and deploy LangGraph agents to the
|
|
|
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](docs/quick_start.md) walks you through deploying your first agent to UiPath Cloud Platform.
|
|
42
|
+
|
|
41
43
|
## Requirements
|
|
42
44
|
|
|
43
45
|
- Python 3.10 or higher
|
|
@@ -7,6 +7,8 @@ A Python SDK that enables developers to build and deploy LangGraph agents to the
|
|
|
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](docs/quick_start.md) walks you through deploying your first agent to UiPath Cloud Platform.
|
|
11
|
+
|
|
10
12
|
## Requirements
|
|
11
13
|
|
|
12
14
|
- Python 3.10 or higher
|
|
@@ -0,0 +1,144 @@
|
|
|
1
|
+
# Quickstart Guide: UiPath LangChain Agents
|
|
2
|
+
|
|
3
|
+
## Introduction
|
|
4
|
+
|
|
5
|
+
This guide walks you through the process of setting up, creating, publishing, and running your first UiPath-LangChain Agent.
|
|
6
|
+
|
|
7
|
+
## Prerequisites
|
|
8
|
+
|
|
9
|
+
Ensure you have the following installed before proceeding:
|
|
10
|
+
|
|
11
|
+
- Python 3.10 or higher
|
|
12
|
+
- `pip` or `uv` package manager
|
|
13
|
+
- A UiPath Platform account with appropriate permissions
|
|
14
|
+
|
|
15
|
+
## Step-by-Step Guide
|
|
16
|
+
|
|
17
|
+
## Creating a New Project
|
|
18
|
+
|
|
19
|
+
We recommend using `uv` for package management. To create a new project:
|
|
20
|
+
|
|
21
|
+
```shell
|
|
22
|
+
mkdir example
|
|
23
|
+
cd example
|
|
24
|
+
uv init . --python 3.10
|
|
25
|
+
```
|
|
26
|
+
This command creates a basic project structure.
|
|
27
|
+
|
|
28
|
+
## Install the UiPath LangChain SDK
|
|
29
|
+
|
|
30
|
+
Add the UiPath LangChain SDK to your project:
|
|
31
|
+
|
|
32
|
+
```bash
|
|
33
|
+
uv add uipath[langchain]
|
|
34
|
+
```
|
|
35
|
+
To verify the installation, run:
|
|
36
|
+
|
|
37
|
+
```shell
|
|
38
|
+
uv run uipath -lv
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
## (Optional) Activate your virtual environment
|
|
42
|
+
```shell
|
|
43
|
+
# Windows
|
|
44
|
+
.venv\Scripts\activate
|
|
45
|
+
```
|
|
46
|
+
or
|
|
47
|
+
```shell
|
|
48
|
+
# Unix-like Systems
|
|
49
|
+
source .venv/bin/activate
|
|
50
|
+
```
|
|
51
|
+
> If you skip activating the virtual environment, prefix the upcoming commands with `uv run`.
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
## Create Your First UiPath Agent
|
|
55
|
+
|
|
56
|
+
Generate your first UiPath LangChain:
|
|
57
|
+
|
|
58
|
+
```bash
|
|
59
|
+
uipath new my-agent
|
|
60
|
+
```
|
|
61
|
+
This command creates the following files:
|
|
62
|
+
|
|
63
|
+
| File Name | Description |
|
|
64
|
+
|------------------|-----------------------------------------------------------------------------------------------------------------------------------|
|
|
65
|
+
| `.env` | Environment variables and secrets (this file will not be packed & published). |
|
|
66
|
+
| `main.py` | LangGraph agent code. |
|
|
67
|
+
| `uipath.json` | Input/output json schemas and bindings. |
|
|
68
|
+
| `langgraph.json` | [LangGraph](https://langchain-ai.github.io/langgraph/concepts/application_structure/#file-structure) specific configuration file. |
|
|
69
|
+
| `agent.mermaid` | Graph visual representation. |
|
|
70
|
+
|
|
71
|
+
## Set Up Environment Variables
|
|
72
|
+
|
|
73
|
+
Before running the agent, set either `ANTHROPIC_API_KEY` or `OPENAI_API_KEY` in the previously created `.env` file:
|
|
74
|
+
|
|
75
|
+
```
|
|
76
|
+
ANTHROPIC_API_KEY=your_api_key_here
|
|
77
|
+
```
|
|
78
|
+
or
|
|
79
|
+
```
|
|
80
|
+
OPENAI_API_KEY=your_api_key_here
|
|
81
|
+
```
|
|
82
|
+
|
|
83
|
+
## Run the Agent Locally
|
|
84
|
+
|
|
85
|
+
Execute the agent with a sample input:
|
|
86
|
+
|
|
87
|
+
```bash
|
|
88
|
+
uipath run agent '{"topic": "UiPath"}'
|
|
89
|
+
```
|
|
90
|
+
|
|
91
|
+
This command runs your agent locally and generates the report at standard output.
|
|
92
|
+
|
|
93
|
+
## Pack and Publish the agent on UiPath Cloud Platform
|
|
94
|
+
|
|
95
|
+
Follow these steps to publish and run your agent on UiPath Cloud Platform:
|
|
96
|
+
|
|
97
|
+
### Authenticate with UiPath
|
|
98
|
+
```bash
|
|
99
|
+
uipath auth
|
|
100
|
+
```
|
|
101
|
+
|
|
102
|
+
### (Optional) Update author details in `pyproject.toml`
|
|
103
|
+
```toml
|
|
104
|
+
authors = [{ name = "John Doe", email = "john.doe@example.com" }]
|
|
105
|
+
```
|
|
106
|
+
|
|
107
|
+
### Package your project:
|
|
108
|
+
```bash
|
|
109
|
+
uipath pack
|
|
110
|
+
```
|
|
111
|
+
|
|
112
|
+
### Publish to your workspace
|
|
113
|
+
```bash
|
|
114
|
+
uipath publish --my-workspace
|
|
115
|
+
```
|
|
116
|
+
> Please note that a process will be auto-created only upon publishing to **my-workspace** package feed.
|
|
117
|
+
|
|
118
|
+
### Configure environment variables using the provided link
|
|
119
|
+
|
|
120
|
+

|
|
121
|
+
|
|
122
|
+
## Invoke the Agent on UiPath Platform
|
|
123
|
+
|
|
124
|
+
Invoke the agent in UiPath Cloud Platform:
|
|
125
|
+
|
|
126
|
+
```bash
|
|
127
|
+
uipath invoke agent '{"topic": "UiPath"}'
|
|
128
|
+
```
|
|
129
|
+
|
|
130
|
+
**Expected output:**
|
|
131
|
+
```
|
|
132
|
+
⠦ Loading configuration ...
|
|
133
|
+
⠦ Starting job ...
|
|
134
|
+
✨ Job started successfully!
|
|
135
|
+
🔗 Monitor your job here: https://example.com
|
|
136
|
+
```
|
|
137
|
+
|
|
138
|
+
Use the provided link to monitor your job and view detailed traces.
|
|
139
|
+
|
|
140
|
+
## Next steps
|
|
141
|
+
|
|
142
|
+
Congratulations! You have successfully set up, created, published, and run a UiPath LangChain Agent. 🚀
|
|
143
|
+
|
|
144
|
+
For more advanced agents and examples, please refer to our [samples section](../samples).
|
|
Binary file
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "uipath-langchain"
|
|
3
|
-
version = "0.0.
|
|
3
|
+
version = "0.0.100"
|
|
4
4
|
description = "UiPath Langchain"
|
|
5
5
|
readme = { file = "README.md", content-type = "text/markdown" }
|
|
6
6
|
requires-python = ">=3.10"
|
|
7
7
|
dependencies = [
|
|
8
|
-
"uipath>=2.0.
|
|
8
|
+
"uipath>=2.0.31, <2.1.0",
|
|
9
9
|
"langgraph>=0.2.70",
|
|
10
10
|
"langchain-core>=0.3.34",
|
|
11
11
|
"langgraph-checkpoint-sqlite>=2.0.3",
|
|
@@ -26,16 +26,16 @@ def generate_script(target_directory):
|
|
|
26
26
|
def generate_pyproject(target_directory, project_name):
|
|
27
27
|
project_toml_path = os.path.join(target_directory, "pyproject.toml")
|
|
28
28
|
toml_content = f"""[project]
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
29
|
+
name = "{project_name}"
|
|
30
|
+
version = "0.0.1"
|
|
31
|
+
description = "{project_name}"
|
|
32
|
+
authors = [{{ name = "John Doe", email = "john.doe@myemail.com" }}]
|
|
33
|
+
dependencies = [
|
|
34
|
+
"uipath-langchain>=0.0.95",
|
|
35
|
+
"langchain-anthropic>=0.3.8",
|
|
36
|
+
]
|
|
37
|
+
requires-python = ">=3.10"
|
|
38
|
+
"""
|
|
39
39
|
|
|
40
40
|
with open(project_toml_path, "w") as f:
|
|
41
41
|
f.write(toml_content)
|