uipath-langchain 0.0.100__tar.gz → 0.0.101__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/.github/workflows/publish-dev.yml +123 -0
- {uipath_langchain-0.0.100 → uipath_langchain-0.0.101}/PKG-INFO +1 -1
- uipath_langchain-0.0.100/docs/interrupt_models.md → uipath_langchain-0.0.101/docs/human_in_the_loop.md +41 -39
- {uipath_langchain-0.0.100 → uipath_langchain-0.0.101}/docs/quick_start.md +7 -0
- {uipath_langchain-0.0.100 → uipath_langchain-0.0.101}/pyproject.toml +1 -1
- uipath_langchain-0.0.101/samples/README.md +19 -0
- {uipath_langchain-0.0.100 → uipath_langchain-0.0.101}/samples/company-research-agent/pyproject.toml +3 -6
- {uipath_langchain-0.0.100 → uipath_langchain-0.0.101}/samples/hitl-inbox-server/pyproject.toml +2 -2
- {uipath_langchain-0.0.100 → uipath_langchain-0.0.101}/samples/multi-agent-planner-researcher-coder-distributed/README.md +20 -22
- {uipath_langchain-0.0.100 → uipath_langchain-0.0.101}/samples/multi-agent-planner-researcher-coder-distributed/pyproject.toml +2 -5
- {uipath_langchain-0.0.100 → uipath_langchain-0.0.101}/samples/multi-agent-supervisor-researcher-coder/pyproject.toml +3 -6
- {uipath_langchain-0.0.100 → uipath_langchain-0.0.101}/samples/retrieval-chain/pyproject.toml +2 -2
- {uipath_langchain-0.0.100 → uipath_langchain-0.0.101}/samples/simple-local-mcp/pyproject.toml +3 -3
- {uipath_langchain-0.0.100 → uipath_langchain-0.0.101}/samples/simple-remote-mcp/pyproject.toml +1 -1
- {uipath_langchain-0.0.100 → uipath_langchain-0.0.101}/samples/ticket-classification/README.md +16 -19
- {uipath_langchain-0.0.100 → uipath_langchain-0.0.101}/samples/ticket-classification/pyproject.toml +3 -3
- {uipath_langchain-0.0.100 → uipath_langchain-0.0.101}/src/uipath_langchain/_cli/_templates/main.py.template +1 -1
- {uipath_langchain-0.0.100 → uipath_langchain-0.0.101}/src/uipath_langchain/_cli/cli_run.py +0 -2
- {uipath_langchain-0.0.100 → uipath_langchain-0.0.101}/uv.lock +1 -1
- {uipath_langchain-0.0.100 → uipath_langchain-0.0.101}/.cursorrules +0 -0
- {uipath_langchain-0.0.100 → uipath_langchain-0.0.101}/.editorconfig +0 -0
- {uipath_langchain-0.0.100 → uipath_langchain-0.0.101}/.gitattributes +0 -0
- {uipath_langchain-0.0.100 → uipath_langchain-0.0.101}/.github/workflows/build.yml +0 -0
- {uipath_langchain-0.0.100 → uipath_langchain-0.0.101}/.github/workflows/cd.yml +0 -0
- {uipath_langchain-0.0.100 → uipath_langchain-0.0.101}/.github/workflows/ci.yml +0 -0
- {uipath_langchain-0.0.100 → uipath_langchain-0.0.101}/.github/workflows/commitlint.yml +0 -0
- {uipath_langchain-0.0.100 → uipath_langchain-0.0.101}/.github/workflows/lint.yml +0 -0
- {uipath_langchain-0.0.100 → uipath_langchain-0.0.101}/.github/workflows/test.yml +0 -0
- {uipath_langchain-0.0.100 → uipath_langchain-0.0.101}/.gitignore +0 -0
- {uipath_langchain-0.0.100 → uipath_langchain-0.0.101}/.pre-commit-config.yaml +0 -0
- {uipath_langchain-0.0.100 → uipath_langchain-0.0.101}/.python-version +0 -0
- {uipath_langchain-0.0.100 → uipath_langchain-0.0.101}/.vscode/extensions.json +0 -0
- {uipath_langchain-0.0.100 → uipath_langchain-0.0.101}/.vscode/settings.json +0 -0
- {uipath_langchain-0.0.100 → uipath_langchain-0.0.101}/CONTRIBUTING.md +0 -0
- {uipath_langchain-0.0.100 → uipath_langchain-0.0.101}/LICENSE +0 -0
- {uipath_langchain-0.0.100 → uipath_langchain-0.0.101}/README.md +0 -0
- {uipath_langchain-0.0.100 → uipath_langchain-0.0.101}/docs/chat_models.md +0 -0
- {uipath_langchain-0.0.100 → uipath_langchain-0.0.101}/docs/context_grounding_retriever.md +0 -0
- {uipath_langchain-0.0.100 → uipath_langchain-0.0.101}/docs/context_grounding_vector_store.md +0 -0
- {uipath_langchain-0.0.100 → uipath_langchain-0.0.101}/docs/quick_start_images/cloud_env_var.png +0 -0
- {uipath_langchain-0.0.100 → uipath_langchain-0.0.101}/docs/sample_images/multi-agent-distributed/coder-agent-package-overview.png +0 -0
- {uipath_langchain-0.0.100 → uipath_langchain-0.0.101}/docs/sample_images/multi-agent-distributed/coder-agent-process-configuration.png +0 -0
- {uipath_langchain-0.0.100 → uipath_langchain-0.0.101}/docs/sample_images/multi-agent-distributed/planner-agent-package-overview.png +0 -0
- {uipath_langchain-0.0.100 → uipath_langchain-0.0.101}/docs/sample_images/multi-agent-distributed/planner-agent-process-configuration.png +0 -0
- {uipath_langchain-0.0.100 → uipath_langchain-0.0.101}/docs/sample_images/multi-agent-distributed/researcher-agent-package-overview.png +0 -0
- {uipath_langchain-0.0.100 → uipath_langchain-0.0.101}/docs/sample_images/multi-agent-distributed/researcher-agent-process-configuration.png +0 -0
- {uipath_langchain-0.0.100 → uipath_langchain-0.0.101}/docs/sample_images/ticket-classification/activate-apps.png +0 -0
- {uipath_langchain-0.0.100 → uipath_langchain-0.0.101}/docs/sample_images/ticket-classification/activate-deployment.png +0 -0
- {uipath_langchain-0.0.100 → uipath_langchain-0.0.101}/docs/sample_images/ticket-classification/copy-folder-path.png +0 -0
- {uipath_langchain-0.0.100 → uipath_langchain-0.0.101}/docs/sample_images/ticket-classification/deploy-solution-package-wizard.png +0 -0
- {uipath_langchain-0.0.100 → uipath_langchain-0.0.101}/docs/sample_images/ticket-classification/deploy-solution-package.png +0 -0
- {uipath_langchain-0.0.100 → uipath_langchain-0.0.101}/docs/sample_images/ticket-classification/monitor-agent.png +0 -0
- {uipath_langchain-0.0.100 → uipath_langchain-0.0.101}/docs/sample_images/ticket-classification/navigate-to-solution-folder.png +0 -0
- {uipath_langchain-0.0.100 → uipath_langchain-0.0.101}/docs/sample_images/ticket-classification/resume-condition.png +0 -0
- {uipath_langchain-0.0.100 → uipath_langchain-0.0.101}/docs/sample_images/ticket-classification/run-agent.png +0 -0
- {uipath_langchain-0.0.100 → uipath_langchain-0.0.101}/docs/sample_images/ticket-classification/solution-destination-folder.png +0 -0
- {uipath_langchain-0.0.100 → uipath_langchain-0.0.101}/docs/sample_images/ticket-classification/start-job.png +0 -0
- {uipath_langchain-0.0.100 → uipath_langchain-0.0.101}/docs/sample_images/ticket-classification/upload-solution-package.png +0 -0
- {uipath_langchain-0.0.100 → uipath_langchain-0.0.101}/samples/company-research-agent/.env.example +0 -0
- {uipath_langchain-0.0.100 → uipath_langchain-0.0.101}/samples/company-research-agent/agent.mermaid +0 -0
- {uipath_langchain-0.0.100 → uipath_langchain-0.0.101}/samples/company-research-agent/graph.py +0 -0
- {uipath_langchain-0.0.100 → uipath_langchain-0.0.101}/samples/company-research-agent/langgraph.json +0 -0
- {uipath_langchain-0.0.100 → uipath_langchain-0.0.101}/samples/company-research-agent/uipath.json +0 -0
- {uipath_langchain-0.0.100 → uipath_langchain-0.0.101}/samples/company-research-agent/uv.lock +0 -0
- {uipath_langchain-0.0.100 → uipath_langchain-0.0.101}/samples/hitl-inbox-server/database.py +0 -0
- {uipath_langchain-0.0.100 → uipath_langchain-0.0.101}/samples/hitl-inbox-server/main.py +0 -0
- {uipath_langchain-0.0.100 → uipath_langchain-0.0.101}/samples/hitl-inbox-server/models.py +0 -0
- {uipath_langchain-0.0.100 → uipath_langchain-0.0.101}/samples/hitl-inbox-server/schemas.py +0 -0
- {uipath_langchain-0.0.100 → uipath_langchain-0.0.101}/samples/hitl-inbox-server/templates/index.html +0 -0
- {uipath_langchain-0.0.100 → uipath_langchain-0.0.101}/samples/hitl-inbox-server/uv.lock +0 -0
- {uipath_langchain-0.0.100 → uipath_langchain-0.0.101}/samples/multi-agent-planner-researcher-coder-distributed/.env.example +0 -0
- {uipath_langchain-0.0.100 → uipath_langchain-0.0.101}/samples/multi-agent-planner-researcher-coder-distributed/coder.mermaid +0 -0
- {uipath_langchain-0.0.100 → uipath_langchain-0.0.101}/samples/multi-agent-planner-researcher-coder-distributed/langgraph.json +0 -0
- {uipath_langchain-0.0.100 → uipath_langchain-0.0.101}/samples/multi-agent-planner-researcher-coder-distributed/planner.mermaid +0 -0
- {uipath_langchain-0.0.100 → uipath_langchain-0.0.101}/samples/multi-agent-planner-researcher-coder-distributed/researcher.mermaid +0 -0
- {uipath_langchain-0.0.100 → uipath_langchain-0.0.101}/samples/multi-agent-planner-researcher-coder-distributed/src/multi-agent-distributed/coder.py +0 -0
- {uipath_langchain-0.0.100 → uipath_langchain-0.0.101}/samples/multi-agent-planner-researcher-coder-distributed/src/multi-agent-distributed/planner.py +0 -0
- {uipath_langchain-0.0.100 → uipath_langchain-0.0.101}/samples/multi-agent-planner-researcher-coder-distributed/src/multi-agent-distributed/researcher.py +0 -0
- {uipath_langchain-0.0.100 → uipath_langchain-0.0.101}/samples/multi-agent-planner-researcher-coder-distributed/uipath.json +0 -0
- {uipath_langchain-0.0.100 → uipath_langchain-0.0.101}/samples/multi-agent-planner-researcher-coder-distributed/uv.lock +0 -0
- {uipath_langchain-0.0.100 → uipath_langchain-0.0.101}/samples/multi-agent-supervisor-researcher-coder/.env.example +0 -0
- {uipath_langchain-0.0.100 → uipath_langchain-0.0.101}/samples/multi-agent-supervisor-researcher-coder/README.md +0 -0
- {uipath_langchain-0.0.100 → uipath_langchain-0.0.101}/samples/multi-agent-supervisor-researcher-coder/agent.mermaid +0 -0
- {uipath_langchain-0.0.100 → uipath_langchain-0.0.101}/samples/multi-agent-supervisor-researcher-coder/graph.py +0 -0
- {uipath_langchain-0.0.100 → uipath_langchain-0.0.101}/samples/multi-agent-supervisor-researcher-coder/langgraph.json +0 -0
- {uipath_langchain-0.0.100 → uipath_langchain-0.0.101}/samples/multi-agent-supervisor-researcher-coder/uipath.json +0 -0
- {uipath_langchain-0.0.100 → uipath_langchain-0.0.101}/samples/multi-agent-supervisor-researcher-coder/uv.lock +0 -0
- {uipath_langchain-0.0.100 → uipath_langchain-0.0.101}/samples/retrieval-chain/.env.example +0 -0
- {uipath_langchain-0.0.100 → uipath_langchain-0.0.101}/samples/retrieval-chain/README.md +0 -0
- {uipath_langchain-0.0.100 → uipath_langchain-0.0.101}/samples/retrieval-chain/main.py +0 -0
- {uipath_langchain-0.0.100 → uipath_langchain-0.0.101}/samples/retrieval-chain/uv.lock +0 -0
- {uipath_langchain-0.0.100 → uipath_langchain-0.0.101}/samples/simple-local-mcp/.env.example +0 -0
- {uipath_langchain-0.0.100 → uipath_langchain-0.0.101}/samples/simple-local-mcp/README.md +0 -0
- {uipath_langchain-0.0.100 → uipath_langchain-0.0.101}/samples/simple-local-mcp/agent.mermaid +0 -0
- {uipath_langchain-0.0.100 → uipath_langchain-0.0.101}/samples/simple-local-mcp/langgraph.json +0 -0
- {uipath_langchain-0.0.100 → uipath_langchain-0.0.101}/samples/simple-local-mcp/src/simple-local-mcp/graph.py +0 -0
- {uipath_langchain-0.0.100 → uipath_langchain-0.0.101}/samples/simple-local-mcp/src/simple-local-mcp/math_server.py +0 -0
- {uipath_langchain-0.0.100 → uipath_langchain-0.0.101}/samples/simple-local-mcp/src/simple-local-mcp/weather_server.py +0 -0
- {uipath_langchain-0.0.100 → uipath_langchain-0.0.101}/samples/simple-local-mcp/uipath.json +0 -0
- {uipath_langchain-0.0.100 → uipath_langchain-0.0.101}/samples/simple-local-mcp/uv.lock +0 -0
- {uipath_langchain-0.0.100 → uipath_langchain-0.0.101}/samples/simple-remote-mcp/.env.example +0 -0
- {uipath_langchain-0.0.100 → uipath_langchain-0.0.101}/samples/simple-remote-mcp/README.md +0 -0
- {uipath_langchain-0.0.100 → uipath_langchain-0.0.101}/samples/simple-remote-mcp/agent.mermaid +0 -0
- {uipath_langchain-0.0.100 → uipath_langchain-0.0.101}/samples/simple-remote-mcp/langgraph.json +0 -0
- {uipath_langchain-0.0.100 → uipath_langchain-0.0.101}/samples/simple-remote-mcp/main.py +0 -0
- {uipath_langchain-0.0.100 → uipath_langchain-0.0.101}/samples/simple-remote-mcp/uipath.json +0 -0
- {uipath_langchain-0.0.100 → uipath_langchain-0.0.101}/samples/simple-remote-mcp/uv.lock +0 -0
- {uipath_langchain-0.0.100 → uipath_langchain-0.0.101}/samples/ticket-classification/.env.example +0 -0
- {uipath_langchain-0.0.100 → uipath_langchain-0.0.101}/samples/ticket-classification/agent.mermaid +0 -0
- {uipath_langchain-0.0.100 → uipath_langchain-0.0.101}/samples/ticket-classification/escalation_app_solution/generic-escalation-app-solution-1.0.0.zip +0 -0
- {uipath_langchain-0.0.100 → uipath_langchain-0.0.101}/samples/ticket-classification/langgraph.json +0 -0
- {uipath_langchain-0.0.100 → uipath_langchain-0.0.101}/samples/ticket-classification/main.py +0 -0
- {uipath_langchain-0.0.100 → uipath_langchain-0.0.101}/samples/ticket-classification/uipath.json +0 -0
- {uipath_langchain-0.0.100 → uipath_langchain-0.0.101}/samples/ticket-classification/uv.lock +0 -0
- {uipath_langchain-0.0.100 → uipath_langchain-0.0.101}/src/uipath_langchain/__init__.py +0 -0
- {uipath_langchain-0.0.100 → uipath_langchain-0.0.101}/src/uipath_langchain/_cli/__init__.py +0 -0
- {uipath_langchain-0.0.100 → uipath_langchain-0.0.101}/src/uipath_langchain/_cli/_runtime/_context.py +0 -0
- {uipath_langchain-0.0.100 → uipath_langchain-0.0.101}/src/uipath_langchain/_cli/_runtime/_escalation.py +0 -0
- {uipath_langchain-0.0.100 → uipath_langchain-0.0.101}/src/uipath_langchain/_cli/_runtime/_exception.py +0 -0
- {uipath_langchain-0.0.100 → uipath_langchain-0.0.101}/src/uipath_langchain/_cli/_runtime/_input.py +0 -0
- {uipath_langchain-0.0.100 → uipath_langchain-0.0.101}/src/uipath_langchain/_cli/_runtime/_output.py +0 -0
- {uipath_langchain-0.0.100 → uipath_langchain-0.0.101}/src/uipath_langchain/_cli/_runtime/_runtime.py +0 -0
- {uipath_langchain-0.0.100 → uipath_langchain-0.0.101}/src/uipath_langchain/_cli/_templates/langgraph.json.template +0 -0
- {uipath_langchain-0.0.100 → uipath_langchain-0.0.101}/src/uipath_langchain/_cli/_utils/_graph.py +0 -0
- {uipath_langchain-0.0.100 → uipath_langchain-0.0.101}/src/uipath_langchain/_cli/cli_init.py +0 -0
- {uipath_langchain-0.0.100 → uipath_langchain-0.0.101}/src/uipath_langchain/_cli/cli_new.py +0 -0
- {uipath_langchain-0.0.100 → uipath_langchain-0.0.101}/src/uipath_langchain/_utils/__init__.py +0 -0
- {uipath_langchain-0.0.100 → uipath_langchain-0.0.101}/src/uipath_langchain/_utils/_request_mixin.py +0 -0
- {uipath_langchain-0.0.100 → uipath_langchain-0.0.101}/src/uipath_langchain/_utils/_settings.py +0 -0
- {uipath_langchain-0.0.100 → uipath_langchain-0.0.101}/src/uipath_langchain/_utils/_sleep_policy.py +0 -0
- {uipath_langchain-0.0.100 → uipath_langchain-0.0.101}/src/uipath_langchain/chat/__init__.py +0 -0
- {uipath_langchain-0.0.100 → uipath_langchain-0.0.101}/src/uipath_langchain/chat/models.py +0 -0
- {uipath_langchain-0.0.100 → uipath_langchain-0.0.101}/src/uipath_langchain/chat/utils/__init__.py +0 -0
- {uipath_langchain-0.0.100 → uipath_langchain-0.0.101}/src/uipath_langchain/chat/utils/_chat_types.py +0 -0
- {uipath_langchain-0.0.100 → uipath_langchain-0.0.101}/src/uipath_langchain/embeddings/__init__.py +0 -0
- {uipath_langchain-0.0.100 → uipath_langchain-0.0.101}/src/uipath_langchain/embeddings/embeddings.py +0 -0
- {uipath_langchain-0.0.100 → uipath_langchain-0.0.101}/src/uipath_langchain/middlewares.py +0 -0
- {uipath_langchain-0.0.100 → uipath_langchain-0.0.101}/src/uipath_langchain/retrievers/__init__.py +0 -0
- {uipath_langchain-0.0.100 → uipath_langchain-0.0.101}/src/uipath_langchain/retrievers/context_grounding_retriever.py +0 -0
- {uipath_langchain-0.0.100 → uipath_langchain-0.0.101}/src/uipath_langchain/tracers/AsyncUiPathTracer.py +0 -0
- {uipath_langchain-0.0.100 → uipath_langchain-0.0.101}/src/uipath_langchain/tracers/UiPathTracer.py +0 -0
- {uipath_langchain-0.0.100 → uipath_langchain-0.0.101}/src/uipath_langchain/tracers/__init__.py +0 -0
- {uipath_langchain-0.0.100 → uipath_langchain-0.0.101}/src/uipath_langchain/tracers/_events.py +0 -0
- {uipath_langchain-0.0.100 → uipath_langchain-0.0.101}/src/uipath_langchain/tracers/_instrument_traceable.py +0 -0
- {uipath_langchain-0.0.100 → uipath_langchain-0.0.101}/src/uipath_langchain/tracers/_utils.py +0 -0
- {uipath_langchain-0.0.100 → uipath_langchain-0.0.101}/src/uipath_langchain/utils/__init__.py +0 -0
- {uipath_langchain-0.0.100 → uipath_langchain-0.0.101}/src/uipath_langchain/utils/_request_mixin.py +0 -0
- {uipath_langchain-0.0.100 → uipath_langchain-0.0.101}/src/uipath_langchain/utils/_settings.py +0 -0
- {uipath_langchain-0.0.100 → uipath_langchain-0.0.101}/src/uipath_langchain/utils/_sleep_policy.py +0 -0
- {uipath_langchain-0.0.100 → uipath_langchain-0.0.101}/src/uipath_langchain/vectorstores/context_grounding_vectorstore.py +0 -0
- {uipath_langchain-0.0.100 → uipath_langchain-0.0.101}/tests/__init__.py +0 -0
- {uipath_langchain-0.0.100 → uipath_langchain-0.0.101}/tests/test_dummy.py +0 -0
- {uipath_langchain-0.0.100 → uipath_langchain-0.0.101}/tests/test_langchain_client.py +0 -0
- {uipath_langchain-0.0.100 → uipath_langchain-0.0.101}/tests/tracers/__init__.py +0 -0
- {uipath_langchain-0.0.100 → uipath_langchain-0.0.101}/tests/tracers/test_instrument_traceable.py +0 -0
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
name: Publish Dev Build
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
pull_request:
|
|
5
|
+
types: [opened, synchronize, reopened, labeled]
|
|
6
|
+
secrets:
|
|
7
|
+
PYPI_TOKEN_NIGHTLY:
|
|
8
|
+
required: true
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
jobs:
|
|
12
|
+
publish-dev:
|
|
13
|
+
runs-on: ubuntu-latest
|
|
14
|
+
|
|
15
|
+
# Only run if PR has the build:dev label
|
|
16
|
+
if: contains(github.event.pull_request.labels.*.name, 'build:dev')
|
|
17
|
+
|
|
18
|
+
steps:
|
|
19
|
+
- uses: actions/checkout@v4
|
|
20
|
+
|
|
21
|
+
- uses: astral-sh/setup-uv@v5
|
|
22
|
+
|
|
23
|
+
- uses: actions/setup-python@v5
|
|
24
|
+
with:
|
|
25
|
+
python-version-file: ".python-version"
|
|
26
|
+
|
|
27
|
+
- name: Setup venv
|
|
28
|
+
run: |
|
|
29
|
+
uv venv
|
|
30
|
+
uv sync --all-extras
|
|
31
|
+
|
|
32
|
+
- name: Set development version
|
|
33
|
+
shell: pwsh
|
|
34
|
+
env:
|
|
35
|
+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
36
|
+
run: |
|
|
37
|
+
$pyprojcontent = Get-Content pyproject.toml -Raw
|
|
38
|
+
|
|
39
|
+
$PROJECT_NAME = ($pyprojcontent | Select-String -Pattern '(?m)^\[(project|tool\.poetry)\][^\[]*?name\s*=\s*"([^"]*)"' -AllMatches).Matches[0].Groups[2].Value
|
|
40
|
+
$CURRENT_VERSION = ($pyprojcontent | Select-String -Pattern '(?m)^\[(project|tool\.poetry)\][^\[]*?version\s*=\s*"([^"]*)"' -AllMatches).Matches[0].Groups[2].Value
|
|
41
|
+
$NIGHTLY_NAME = "$PROJECT_NAME-nightly"
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
# Get PR number and run number with proper padding
|
|
45
|
+
$PR_NUM = [int]"${{ github.event.pull_request.number }}"
|
|
46
|
+
$PADDED_PR = "{0:D5}" -f [int]"${{ github.event.pull_request.number }}"
|
|
47
|
+
$PADDED_RUN = "{0:D4}" -f [int]"${{ github.run_number }}"
|
|
48
|
+
$PADDED_NEXT_PR = "{0:D5}" -f ($PR_NUM + 1)
|
|
49
|
+
|
|
50
|
+
# Create version range strings for PR
|
|
51
|
+
$MIN_VERSION = "$CURRENT_VERSION.dev1$PADDED_PR" + "0000"
|
|
52
|
+
$MAX_VERSION = "$CURRENT_VERSION.dev1$PADDED_NEXT_PR" + "0000"
|
|
53
|
+
|
|
54
|
+
# Create unique dev version with PR number and run ID
|
|
55
|
+
$DEV_VERSION = "$CURRENT_VERSION.dev1$PADDED_PR$PADDED_RUN"
|
|
56
|
+
|
|
57
|
+
# Update version in pyproject.toml
|
|
58
|
+
(Get-Content pyproject.toml) -replace "version = `"$CURRENT_VERSION`"", "version = `"$DEV_VERSION`"" | Set-Content pyproject.toml
|
|
59
|
+
|
|
60
|
+
# Update project name in pyproject.toml
|
|
61
|
+
(Get-Content pyproject.toml) -replace "name = `"$PROJECT_NAME`"", "name = `"$NIGHTLY_NAME`"" | Set-Content pyproject.toml
|
|
62
|
+
|
|
63
|
+
|
|
64
|
+
Write-Output "Package version set to $DEV_VERSION"
|
|
65
|
+
|
|
66
|
+
$dependencyMessage = @"
|
|
67
|
+
## Development Package
|
|
68
|
+
|
|
69
|
+
- Add this package as a dependency in your pyproject.toml:
|
|
70
|
+
|
|
71
|
+
``````toml
|
|
72
|
+
[project]
|
|
73
|
+
dependencies = [
|
|
74
|
+
# Exact version:
|
|
75
|
+
"$NIGHTLY_NAME==$DEV_VERSION",
|
|
76
|
+
|
|
77
|
+
# Any version from PR
|
|
78
|
+
"$NIGHTLY_NAME>=$MIN_VERSION,<$MAX_VERSION"
|
|
79
|
+
]
|
|
80
|
+
``````
|
|
81
|
+
"@
|
|
82
|
+
|
|
83
|
+
# Get the owner and repo from the GitHub repository
|
|
84
|
+
$owner = "${{ github.repository_owner }}"
|
|
85
|
+
$repo = "${{ github.repository }}".Split('/')[1]
|
|
86
|
+
$prNumber = $PR_NUM
|
|
87
|
+
|
|
88
|
+
# Get the current PR description
|
|
89
|
+
$prUri = "https://api.github.com/repos/$owner/$repo/pulls/$prNumber"
|
|
90
|
+
$headers = @{
|
|
91
|
+
Authorization = "token $env:GITHUB_TOKEN"
|
|
92
|
+
Accept = "application/vnd.github.v3+json"
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
$pr = Invoke-RestMethod -Uri $prUri -Method Get -Headers $headers
|
|
96
|
+
$currentBody = $pr.body
|
|
97
|
+
|
|
98
|
+
# Check if there's already a development package section
|
|
99
|
+
if ($currentBody -match '## Development Package') {
|
|
100
|
+
# Replace the existing section with the new dependency message
|
|
101
|
+
$newBody = $currentBody -replace '## Development Package(\r?\n|.)*?(?=##|$)', $dependencyMessage
|
|
102
|
+
} else {
|
|
103
|
+
# Append the dependency message to the end of the description
|
|
104
|
+
$newBody = if ($currentBody) { "$currentBody`n`n$dependencyMessage" } else { $dependencyMessage }
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
# Update the PR description
|
|
108
|
+
$updateBody = @{
|
|
109
|
+
body = $newBody
|
|
110
|
+
} | ConvertTo-Json
|
|
111
|
+
|
|
112
|
+
Invoke-RestMethod -Uri $prUri -Method Patch -Headers $headers -Body $updateBody -ContentType "application/json"
|
|
113
|
+
|
|
114
|
+
Write-Output "Updated PR description with development package information"
|
|
115
|
+
|
|
116
|
+
- name: Build package
|
|
117
|
+
run: uv build
|
|
118
|
+
|
|
119
|
+
- name: Publish
|
|
120
|
+
run: |
|
|
121
|
+
uv publish
|
|
122
|
+
env:
|
|
123
|
+
UV_PUBLISH_TOKEN: ${{ secrets.PYPI_TOKEN_NIGHTLY }}
|
|
@@ -1,81 +1,83 @@
|
|
|
1
|
-
#
|
|
1
|
+
# Human In The Loop
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Guide for **Human-In-The-Loop** scenarios within the UiPath-Langchain integration.
|
|
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
|
-
|
|
7
|
-
|
|
6
|
+
|
|
7
|
+
|
|
8
8
|
## Models Overview
|
|
9
9
|
|
|
10
|
-
### 1. InvokeProcess
|
|
11
10
|
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
11
|
+
### 1. CreateAction
|
|
12
|
+
|
|
13
|
+
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.
|
|
14
|
+
After addressing the escalation, the current agent will resume execution.
|
|
15
|
+
For more information on UiPath apps, refer to the [UiPath Apps User Guide](https://docs.uipath.com/apps/automation-cloud/latest/user-guide/introduction).
|
|
15
16
|
|
|
16
17
|
#### Attributes:
|
|
17
|
-
- **name** (str): The name of the
|
|
18
|
-
- **
|
|
18
|
+
- **name** (Optional[str]): The name of the app.
|
|
19
|
+
- **key** (Optional[str]): The key of the app.
|
|
20
|
+
- **title** (str): The title of the action to create.
|
|
21
|
+
- **data** (Optional[Dict[str, Any]]): Values that the action will be populated with.
|
|
22
|
+
- **app_version** (Optional[int]): The version of the app (defaults to 1).
|
|
23
|
+
- **assignee** (Optional[str]): The username or email of the person assigned to handle the escalation.
|
|
19
24
|
|
|
20
25
|
#### Example:
|
|
21
26
|
```python
|
|
22
|
-
from uipath.models import
|
|
23
|
-
|
|
27
|
+
from uipath.models import CreateAction
|
|
28
|
+
action_output = interrupt(CreateAction(name="AppName", title="Escalate Issue", data={"key": "value"}, app_version=1, assignee="user@example.com"))
|
|
24
29
|
```
|
|
25
|
-
|
|
26
|
-
For a practical implementation of the `InvokeProcess` model, refer to the sample usage in the [planner.py](../samples/multi-agent-planner-researcher-coder-distributed/src/multi-agent-distributed/planner.py#L181) file. This example demonstrates how to invoke a process with dynamic input arguments, showcasing the integration of the interrupt functionality within a multi-agent system or a system where an agent integrates with RPA processes and API workflows.
|
|
30
|
+
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.
|
|
27
31
|
|
|
28
32
|
---
|
|
29
33
|
|
|
30
|
-
### 2.
|
|
34
|
+
### 2. WaitAction
|
|
31
35
|
|
|
32
|
-
The `
|
|
33
|
-
the job has already been created.
|
|
36
|
+
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.
|
|
34
37
|
|
|
35
38
|
#### Attributes:
|
|
36
|
-
- **
|
|
39
|
+
- **action** (Action): The instance of the action to wait for.
|
|
37
40
|
|
|
38
41
|
#### Example:
|
|
39
42
|
```python
|
|
40
|
-
from uipath.models import
|
|
41
|
-
|
|
43
|
+
from uipath.models import WaitAction
|
|
44
|
+
action_output = interrupt(WaitAction(action=my_action_instance))
|
|
42
45
|
```
|
|
43
|
-
|
|
44
46
|
---
|
|
47
|
+
> 💡 UiPath Langchain sdk also supports **Robot/Agent-in-the-loop** scenarios. In this context, the execution of one agent
|
|
48
|
+
> can be suspended until another robot or agent finishes its execution.
|
|
45
49
|
|
|
46
|
-
### 3.
|
|
50
|
+
### 3. InvokeProcess
|
|
47
51
|
|
|
48
|
-
The `
|
|
49
|
-
|
|
50
|
-
|
|
52
|
+
The `InvokeProcess` model is utilized to invoke a process within the UiPath cloud platform.
|
|
53
|
+
This process can be of various types, including API workflows, Agents or RPA automation.
|
|
54
|
+
Upon completion of the invoked process, the current agent will automatically resume execution.
|
|
51
55
|
|
|
52
56
|
#### Attributes:
|
|
53
|
-
- **name** (
|
|
54
|
-
- **
|
|
55
|
-
- **title** (str): The title of the action to create.
|
|
56
|
-
- **data** (Optional[Dict[str, Any]]): Values that the action will be populated with.
|
|
57
|
-
- **app_version** (Optional[int]): The version of the app (defaults to 1).
|
|
58
|
-
- **assignee** (Optional[str]): The username or email of the person assigned to handle the escalation.
|
|
57
|
+
- **name** (str): The name of the process to invoke.
|
|
58
|
+
- **input_arguments** (Optional[Dict[str, Any]]): A dictionary containing the input arguments required for the invoked process.
|
|
59
59
|
|
|
60
60
|
#### Example:
|
|
61
61
|
```python
|
|
62
|
-
from uipath.models import
|
|
63
|
-
|
|
62
|
+
from uipath.models import InvokeProcess
|
|
63
|
+
process_output = interrupt(InvokeProcess(name="MyProcess", input_arguments={"arg1": "value1"}))
|
|
64
64
|
```
|
|
65
|
-
|
|
65
|
+
|
|
66
|
+
For a practical implementation of the `InvokeProcess` model, refer to the [multi-agent-planner-researcher-coder-distributed sample](https://github.com/UiPath/uipath-langchain-python/tree/main/samples/multi-agent-planner-researcher-coder-distributed). This sample demonstrates how to invoke a process with dynamic input arguments, showcasing the integration of the interrupt functionality within a multi-agent system or a system where an agent integrates with RPA processes and API workflows.
|
|
66
67
|
|
|
67
68
|
---
|
|
68
69
|
|
|
69
|
-
### 4.
|
|
70
|
+
### 4. WaitJob
|
|
70
71
|
|
|
71
|
-
The `
|
|
72
|
+
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
|
+
the job has already been created.
|
|
72
74
|
|
|
73
75
|
#### Attributes:
|
|
74
|
-
- **
|
|
76
|
+
- **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.
|
|
75
77
|
|
|
76
78
|
#### Example:
|
|
77
79
|
```python
|
|
78
|
-
from uipath.models import
|
|
79
|
-
|
|
80
|
+
from uipath.models import WaitJob
|
|
81
|
+
job_output = interrupt(WaitJob(job=my_job_instance))
|
|
80
82
|
```
|
|
81
83
|
|
|
@@ -11,6 +11,13 @@ Ensure you have the following installed before proceeding:
|
|
|
11
11
|
- Python 3.10 or higher
|
|
12
12
|
- `pip` or `uv` package manager
|
|
13
13
|
- A UiPath Platform account with appropriate permissions
|
|
14
|
+
- Either Anthropic or OpenAI API key
|
|
15
|
+
|
|
16
|
+
### (Optional) Generating API keys
|
|
17
|
+
|
|
18
|
+
> If you already have either an Anthropic or OpenAi API key you can skip this section.
|
|
19
|
+
1. **Anthropic** - Generate an Anthropic API key [here](https://console.anthropic.com/settings/keys).
|
|
20
|
+
2. **OpenAi** - Generate an OpenAI API key [here](https://platform.openai.com).
|
|
14
21
|
|
|
15
22
|
## Step-by-Step Guide
|
|
16
23
|
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
# Project Samples
|
|
2
|
+
|
|
3
|
+
## [Multi agent supervisor, researcher, coder](multi-agent-supervisor-researcher-coder)
|
|
4
|
+
This sample showcases a multi-agent system, involving a supervisor, a researcher, and a coder working in coordination to tackle complex tasks.
|
|
5
|
+
|
|
6
|
+
## [Multi agent planner, researcher, coder distributed](multi-agent-planner-researcher-coder-distributed)
|
|
7
|
+
Here, a multi-agent system breaks down complex tasks into discreet steps, routing them to specialized agents. Each agent operates **independently** and can be deployed as a separate process. The system includes a planner, researcher, and coder agent.
|
|
8
|
+
|
|
9
|
+
## [Retrieval chain](retrieval-chain)
|
|
10
|
+
This example shows how to retrieve relevant documents for a query, using the UiPath Context Grounding vectorstore. It also integrates this into a Langchain retrieval chain for response formulation.
|
|
11
|
+
|
|
12
|
+
## [Simple local MCP](simple-local-mcp)
|
|
13
|
+
This sample shows how to create an agent using LangGraph with multiple tool servers via the MCP (Model Context Protocol) standard.
|
|
14
|
+
|
|
15
|
+
## [Simple remote MCP](simple-remote-mcp)
|
|
16
|
+
This sample demonstrates the creation of an agent using LangGraph, which connects to a remote MCP (Model Context Protocol) Server.
|
|
17
|
+
|
|
18
|
+
## [Ticket classification](ticket-classification)
|
|
19
|
+
This sample demonstrates automatic classification of support tickets into categories. It includes a human approval step via UiPath Action Center.
|
{uipath_langchain-0.0.100 → uipath_langchain-0.0.101}/samples/company-research-agent/pyproject.toml
RENAMED
|
@@ -1,17 +1,14 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "company-research-agent"
|
|
3
|
-
version = "0.0.
|
|
3
|
+
version = "0.0.1"
|
|
4
4
|
description = "Company research agent with Tavily web search"
|
|
5
|
-
authors = [
|
|
6
|
-
{ name = "John Doe" }
|
|
7
|
-
]
|
|
5
|
+
authors = [{ name = "John Doe", email = "john.doe@myemail.com" }]
|
|
8
6
|
requires-python = ">=3.10"
|
|
9
7
|
dependencies = [
|
|
10
8
|
"langgraph>=0.2.55",
|
|
11
|
-
"langchain-community>=0.3.9",
|
|
12
9
|
"langchain-anthropic>=0.3.8",
|
|
13
10
|
"tavily-python>=0.5.0",
|
|
14
|
-
"uipath-langchain==0.0.
|
|
11
|
+
"uipath-langchain==0.0.100"
|
|
15
12
|
]
|
|
16
13
|
|
|
17
14
|
[project.optional-dependencies]
|
{uipath_langchain-0.0.100 → uipath_langchain-0.0.101}/samples/hitl-inbox-server/pyproject.toml
RENAMED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
name = "hitl-inbox-server"
|
|
3
3
|
version = "0.0.1"
|
|
4
4
|
description = "HITL Inbox"
|
|
5
|
-
authors = [{ name = "
|
|
5
|
+
authors = [{ name = "John Doe", email = "john.doe@myemail.com" }]
|
|
6
6
|
dependencies = [
|
|
7
7
|
"fastapi>=0.115.11",
|
|
8
8
|
"uvicorn>=0.34.0",
|
|
@@ -11,6 +11,6 @@ dependencies = [
|
|
|
11
11
|
"jinja2>=3.1.6",
|
|
12
12
|
"httpx>=0.28.1",
|
|
13
13
|
"python-multipart>=0.0.20",
|
|
14
|
-
"uipath==2.0.
|
|
14
|
+
"uipath==2.0.31"
|
|
15
15
|
]
|
|
16
16
|
requires-python = ">=3.10"
|
|
@@ -6,7 +6,7 @@ This repository implements a multi-agent system that decomposes complex tasks in
|
|
|
6
6
|
2. **Researcher Agent**: Gathers information, formulas, and reference materials without performing calculations.
|
|
7
7
|
3. **Coder Agent**: Executes calculations and evaluates formulas with specific values.
|
|
8
8
|
|
|
9
|
-
Each agent operates
|
|
9
|
+
Each agent operates independently and can be deployed as a separate process, while still being packaged together as part of an Orchestrator Agent Package.
|
|
10
10
|
|
|
11
11
|
## System Architecture
|
|
12
12
|
|
|
@@ -178,33 +178,31 @@ uipath run coder '{"messages":[{"content":"Let me help you state the Pythagorean
|
|
|
178
178
|
uipath auth
|
|
179
179
|
```
|
|
180
180
|
> **Note:** After successful authentication in the browser, select the tenant for publishing the agent package.
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
4: Solutions
|
|
190
|
-
5: SolutionsTest
|
|
191
|
-
6: Test
|
|
192
|
-
7: TestRoles
|
|
193
|
-
Select tenant: 2
|
|
194
|
-
```
|
|
181
|
+
```
|
|
182
|
+
👇 Select tenant:
|
|
183
|
+
0: DefaultTenant
|
|
184
|
+
1: Tenant2
|
|
185
|
+
2: Tenant3
|
|
186
|
+
...
|
|
187
|
+
Select tenant: 2
|
|
188
|
+
```
|
|
195
189
|
|
|
196
190
|
5. **Package and Publish Agents**
|
|
197
191
|
```bash
|
|
198
192
|
uipath pack
|
|
199
193
|
uipath publish
|
|
200
194
|
```
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
195
|
+
Select the feed to publish your package:
|
|
196
|
+
```
|
|
197
|
+
👇 Select package feed:
|
|
198
|
+
0: Orchestrator Tenant Processes Feed
|
|
199
|
+
1: Orchestrator Folder1 Feed
|
|
200
|
+
2: Orchestrator Folder2 Feed
|
|
201
|
+
3: Orchestrator Personal Workspace Feed
|
|
202
|
+
...
|
|
203
|
+
Select feed number: 3
|
|
204
|
+
```
|
|
205
|
+
> Note: When publishing to personal workspace feed, a process will be auto-created for you.
|
|
208
206
|
|
|
209
207
|
6. **Create Agent Processes in Orchestrator**
|
|
210
208
|
- **Planner Agent**
|
|
@@ -2,17 +2,14 @@
|
|
|
2
2
|
name = "multi-agents-distributed"
|
|
3
3
|
version = "0.0.1"
|
|
4
4
|
description = "Supervisor agent that coordinates between a researcher and a coder"
|
|
5
|
-
authors = [
|
|
6
|
-
{ name = "Radu Mocanu", email = "radu.mocanu@uipath.com" }
|
|
7
|
-
]
|
|
5
|
+
authors = [[{ name = "John Doe", email = "john.doe@myemail.com" }]]
|
|
8
6
|
requires-python = ">=3.10"
|
|
9
7
|
dependencies = [
|
|
10
8
|
"langgraph>=0.2.55",
|
|
11
|
-
"langchain-community>=0.3.9",
|
|
12
9
|
"langchain-anthropic>=0.3.8",
|
|
13
10
|
"langchain-experimental>=0.3.4",
|
|
14
11
|
"tavily-python>=0.5.0",
|
|
15
|
-
"uipath-langchain==0.0.
|
|
12
|
+
"uipath-langchain==0.0.100"
|
|
16
13
|
]
|
|
17
14
|
|
|
18
15
|
[project.optional-dependencies]
|
|
@@ -1,18 +1,15 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "multi_agent_supervisor"
|
|
3
|
-
version = "0.0.
|
|
3
|
+
version = "0.0.1"
|
|
4
4
|
description = "Multi-agent system where a supervisor coordinates between a researcher and a coder"
|
|
5
|
-
authors = [
|
|
6
|
-
{ name = "Cristi Pufu" }
|
|
7
|
-
]
|
|
5
|
+
authors = [[{ name = "John Doe", email = "john.doe@myemail.com" }]]
|
|
8
6
|
requires-python = ">=3.10"
|
|
9
7
|
dependencies = [
|
|
10
8
|
"langgraph>=0.2.55",
|
|
11
|
-
"langchain-community>=0.3.9",
|
|
12
9
|
"langchain-anthropic>=0.3.8",
|
|
13
10
|
"langchain-experimental>=0.3.4",
|
|
14
11
|
"tavily-python>=0.5.0",
|
|
15
|
-
"uipath-langchain==0.0.
|
|
12
|
+
"uipath-langchain==0.0.100"
|
|
16
13
|
]
|
|
17
14
|
|
|
18
15
|
[project.optional-dependencies]
|
{uipath_langchain-0.0.100 → uipath_langchain-0.0.101}/samples/retrieval-chain/pyproject.toml
RENAMED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
name = "retrieval-chain"
|
|
3
3
|
version = "0.0.1"
|
|
4
4
|
description = "Sample retrieval chain using UiPath Context Grounding API"
|
|
5
|
-
authors = [{ name = "
|
|
5
|
+
authors = [{ name = "John Doe", email = "john.doe@myemail.com" }]s
|
|
6
6
|
dependencies = [
|
|
7
|
-
"uipath-langchain==0.0.
|
|
7
|
+
"uipath-langchain==0.0.100",
|
|
8
8
|
]
|
|
9
9
|
requires-python = ">=3.10"
|
{uipath_langchain-0.0.100 → uipath_langchain-0.0.101}/samples/simple-local-mcp/pyproject.toml
RENAMED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "simple-local-mcp"
|
|
3
|
-
version = "0.0.
|
|
3
|
+
version = "0.0.1"
|
|
4
4
|
description = "Math and Weather Local MCP Server Agent"
|
|
5
|
-
authors = [{ name = "
|
|
5
|
+
authors = [{ name = "John Doe", email = "john.doe@myemail.com" }]
|
|
6
6
|
dependencies = [
|
|
7
7
|
"langgraph>=0.2.70",
|
|
8
8
|
"langchain-core>=0.3.34",
|
|
9
9
|
"langchain-anthropic>=0.3.9",
|
|
10
10
|
"langgraph-checkpoint-sqlite>=2.0.3",
|
|
11
11
|
"python-dotenv>=1.0.1",
|
|
12
|
-
"uipath-langchain==0.0.
|
|
12
|
+
"uipath-langchain==0.0.100",
|
|
13
13
|
"pydantic>=2.10.6",
|
|
14
14
|
"aiohttp>=3.11.12",
|
|
15
15
|
"typing-extensions>=4.12.2",
|
{uipath_langchain-0.0.100 → uipath_langchain-0.0.101}/samples/simple-remote-mcp/pyproject.toml
RENAMED
|
@@ -4,7 +4,7 @@ version = "0.0.1"
|
|
|
4
4
|
description = "simple-remote-mcp"
|
|
5
5
|
authors = [{ name = "John Doe", email = "john.doe@myemail.com" }]
|
|
6
6
|
dependencies = [
|
|
7
|
-
"uipath-langchain==0.0.
|
|
7
|
+
"uipath-langchain==0.0.100",
|
|
8
8
|
"langchain>=0.1.0",
|
|
9
9
|
"langchain-anthropic>=0.0.1",
|
|
10
10
|
"langgraph>=0.3.21",
|
{uipath_langchain-0.0.100 → uipath_langchain-0.0.101}/samples/ticket-classification/README.md
RENAMED
|
@@ -152,19 +152,13 @@ uv sync
|
|
|
152
152
|
```bash
|
|
153
153
|
uipath auth
|
|
154
154
|
```
|
|
155
|
-
After successful authentication in the browser, select the tenant for publishing the agent package
|
|
156
|
-
```
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
2: Demo
|
|
163
|
-
3: lucian
|
|
164
|
-
4: Solutions
|
|
165
|
-
5: SolutionsTest
|
|
166
|
-
6: Test
|
|
167
|
-
7: TestRoles
|
|
155
|
+
> **Note:** After successful authentication in the browser, select the tenant for publishing the agent package.
|
|
156
|
+
```
|
|
157
|
+
👇 Select tenant:
|
|
158
|
+
0: DefaultTenant
|
|
159
|
+
1: Tenant2
|
|
160
|
+
2: Tenant3
|
|
161
|
+
...
|
|
168
162
|
Select tenant: 2
|
|
169
163
|
```
|
|
170
164
|
|
|
@@ -174,14 +168,17 @@ Select tenant: 2
|
|
|
174
168
|
uipath pack
|
|
175
169
|
uipath publish
|
|
176
170
|
```
|
|
177
|
-
Select
|
|
171
|
+
Select the feed to publish your package:
|
|
178
172
|
```
|
|
179
|
-
Select feed
|
|
180
|
-
0: Tenant
|
|
181
|
-
1:
|
|
182
|
-
|
|
173
|
+
👇 Select package feed:
|
|
174
|
+
0: Orchestrator Tenant Processes Feed
|
|
175
|
+
1: Orchestrator Folder1 Feed
|
|
176
|
+
2: Orchestrator Folder2 Feed
|
|
177
|
+
3: Orchestrator Personal Workspace Feed
|
|
178
|
+
...
|
|
179
|
+
Select feed number: 3
|
|
183
180
|
```
|
|
184
|
-
Note: When publishing to personal workspace feed, the process will be auto-created for you.
|
|
181
|
+
> Note: When publishing to personal workspace feed, the process will be auto-created for you.
|
|
185
182
|
|
|
186
183
|
### 4. Running and Monitoring the Agent
|
|
187
184
|
|
{uipath_langchain-0.0.100 → uipath_langchain-0.0.101}/samples/ticket-classification/pyproject.toml
RENAMED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "ticket-classification-agent"
|
|
3
|
-
version = "0.0.
|
|
3
|
+
version = "0.0.1"
|
|
4
4
|
description = "Ticket classification system"
|
|
5
|
-
authors = [{ name = "
|
|
5
|
+
authors = [{ name = "John Doe", email = "john.doe@myemail.com" }]
|
|
6
6
|
dependencies = [
|
|
7
7
|
"langgraph>=0.2.70",
|
|
8
8
|
"langchain-core>=0.3.34",
|
|
9
9
|
"langchain-openai>=0.3.9",
|
|
10
10
|
"langgraph-checkpoint-sqlite>=2.0.3",
|
|
11
11
|
"python-dotenv>=1.0.1",
|
|
12
|
-
"uipath-langchain==0.0.
|
|
12
|
+
"uipath-langchain==0.0.100",
|
|
13
13
|
"pydantic>=2.10.6",
|
|
14
14
|
"aiohttp>=3.11.12",
|
|
15
15
|
"typing-extensions>=4.12.2",
|
|
@@ -17,7 +17,7 @@ async def generate_report(state: GraphInput) -> GraphOutput:
|
|
|
17
17
|
elif os.getenv("OPENAI_API_KEY"):
|
|
18
18
|
llm_model = ChatOpenAI(model="gpt-4o-mini", temperature=0)
|
|
19
19
|
else:
|
|
20
|
-
raise Exception("
|
|
20
|
+
raise Exception("Missing API Key. Please define either ANTHROPIC_API_KEY or OPENAI_API_KEY.")
|
|
21
21
|
|
|
22
22
|
system_prompt = "You are a report generator. Please provide a brief report based on the given topic."
|
|
23
23
|
output = await llm_model.ainvoke([SystemMessage(system_prompt), HumanMessage(state.topic)])
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import asyncio
|
|
2
|
-
import logging
|
|
3
2
|
from os import environ as env
|
|
4
3
|
from typing import Optional
|
|
5
4
|
|
|
@@ -12,7 +11,6 @@ from ._runtime._exception import LangGraphRuntimeError
|
|
|
12
11
|
from ._runtime._runtime import LangGraphRuntime
|
|
13
12
|
from ._utils._graph import LangGraphConfig
|
|
14
13
|
|
|
15
|
-
logger = logging.getLogger(__name__)
|
|
16
14
|
load_dotenv()
|
|
17
15
|
|
|
18
16
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{uipath_langchain-0.0.100 → uipath_langchain-0.0.101}/docs/context_grounding_vector_store.md
RENAMED
|
File without changes
|
{uipath_langchain-0.0.100 → uipath_langchain-0.0.101}/docs/quick_start_images/cloud_env_var.png
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{uipath_langchain-0.0.100 → uipath_langchain-0.0.101}/samples/company-research-agent/.env.example
RENAMED
|
File without changes
|
{uipath_langchain-0.0.100 → uipath_langchain-0.0.101}/samples/company-research-agent/agent.mermaid
RENAMED
|
File without changes
|
{uipath_langchain-0.0.100 → uipath_langchain-0.0.101}/samples/company-research-agent/graph.py
RENAMED
|
File without changes
|
{uipath_langchain-0.0.100 → uipath_langchain-0.0.101}/samples/company-research-agent/langgraph.json
RENAMED
|
File without changes
|
{uipath_langchain-0.0.100 → uipath_langchain-0.0.101}/samples/company-research-agent/uipath.json
RENAMED
|
File without changes
|
{uipath_langchain-0.0.100 → uipath_langchain-0.0.101}/samples/company-research-agent/uv.lock
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{uipath_langchain-0.0.100 → uipath_langchain-0.0.101}/samples/hitl-inbox-server/templates/index.html
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{uipath_langchain-0.0.100 → uipath_langchain-0.0.101}/samples/simple-local-mcp/agent.mermaid
RENAMED
|
File without changes
|
{uipath_langchain-0.0.100 → uipath_langchain-0.0.101}/samples/simple-local-mcp/langgraph.json
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{uipath_langchain-0.0.100 → uipath_langchain-0.0.101}/samples/simple-remote-mcp/.env.example
RENAMED
|
File without changes
|
|
File without changes
|
{uipath_langchain-0.0.100 → uipath_langchain-0.0.101}/samples/simple-remote-mcp/agent.mermaid
RENAMED
|
File without changes
|
{uipath_langchain-0.0.100 → uipath_langchain-0.0.101}/samples/simple-remote-mcp/langgraph.json
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{uipath_langchain-0.0.100 → uipath_langchain-0.0.101}/samples/ticket-classification/.env.example
RENAMED
|
File without changes
|
{uipath_langchain-0.0.100 → uipath_langchain-0.0.101}/samples/ticket-classification/agent.mermaid
RENAMED
|
File without changes
|
|
File without changes
|
{uipath_langchain-0.0.100 → uipath_langchain-0.0.101}/samples/ticket-classification/langgraph.json
RENAMED
|
File without changes
|
|
File without changes
|
{uipath_langchain-0.0.100 → uipath_langchain-0.0.101}/samples/ticket-classification/uipath.json
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{uipath_langchain-0.0.100 → uipath_langchain-0.0.101}/src/uipath_langchain/_cli/_runtime/_context.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{uipath_langchain-0.0.100 → uipath_langchain-0.0.101}/src/uipath_langchain/_cli/_runtime/_input.py
RENAMED
|
File without changes
|
{uipath_langchain-0.0.100 → uipath_langchain-0.0.101}/src/uipath_langchain/_cli/_runtime/_output.py
RENAMED
|
File without changes
|
{uipath_langchain-0.0.100 → uipath_langchain-0.0.101}/src/uipath_langchain/_cli/_runtime/_runtime.py
RENAMED
|
File without changes
|
|
File without changes
|
{uipath_langchain-0.0.100 → uipath_langchain-0.0.101}/src/uipath_langchain/_cli/_utils/_graph.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{uipath_langchain-0.0.100 → uipath_langchain-0.0.101}/src/uipath_langchain/_utils/__init__.py
RENAMED
|
File without changes
|
{uipath_langchain-0.0.100 → uipath_langchain-0.0.101}/src/uipath_langchain/_utils/_request_mixin.py
RENAMED
|
File without changes
|
{uipath_langchain-0.0.100 → uipath_langchain-0.0.101}/src/uipath_langchain/_utils/_settings.py
RENAMED
|
File without changes
|
{uipath_langchain-0.0.100 → uipath_langchain-0.0.101}/src/uipath_langchain/_utils/_sleep_policy.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{uipath_langchain-0.0.100 → uipath_langchain-0.0.101}/src/uipath_langchain/chat/utils/__init__.py
RENAMED
|
File without changes
|
{uipath_langchain-0.0.100 → uipath_langchain-0.0.101}/src/uipath_langchain/chat/utils/_chat_types.py
RENAMED
|
File without changes
|
{uipath_langchain-0.0.100 → uipath_langchain-0.0.101}/src/uipath_langchain/embeddings/__init__.py
RENAMED
|
File without changes
|
{uipath_langchain-0.0.100 → uipath_langchain-0.0.101}/src/uipath_langchain/embeddings/embeddings.py
RENAMED
|
File without changes
|
|
File without changes
|
{uipath_langchain-0.0.100 → uipath_langchain-0.0.101}/src/uipath_langchain/retrievers/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{uipath_langchain-0.0.100 → uipath_langchain-0.0.101}/src/uipath_langchain/tracers/UiPathTracer.py
RENAMED
|
File without changes
|
{uipath_langchain-0.0.100 → uipath_langchain-0.0.101}/src/uipath_langchain/tracers/__init__.py
RENAMED
|
File without changes
|
{uipath_langchain-0.0.100 → uipath_langchain-0.0.101}/src/uipath_langchain/tracers/_events.py
RENAMED
|
File without changes
|
|
File without changes
|
{uipath_langchain-0.0.100 → uipath_langchain-0.0.101}/src/uipath_langchain/tracers/_utils.py
RENAMED
|
File without changes
|
{uipath_langchain-0.0.100 → uipath_langchain-0.0.101}/src/uipath_langchain/utils/__init__.py
RENAMED
|
File without changes
|
{uipath_langchain-0.0.100 → uipath_langchain-0.0.101}/src/uipath_langchain/utils/_request_mixin.py
RENAMED
|
File without changes
|
{uipath_langchain-0.0.100 → uipath_langchain-0.0.101}/src/uipath_langchain/utils/_settings.py
RENAMED
|
File without changes
|
{uipath_langchain-0.0.100 → uipath_langchain-0.0.101}/src/uipath_langchain/utils/_sleep_policy.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{uipath_langchain-0.0.100 → uipath_langchain-0.0.101}/tests/tracers/test_instrument_traceable.py
RENAMED
|
File without changes
|