uipath-langchain 0.0.104__tar.gz → 0.0.107__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.107/.github/workflows/publish-docs.yml +24 -0
- uipath_langchain-0.0.107/.github/workflows/slack.yml +20 -0
- {uipath_langchain-0.0.104 → uipath_langchain-0.0.107}/PKG-INFO +1 -1
- {uipath_langchain-0.0.104 → uipath_langchain-0.0.107}/docs/chat_models.md +1 -1
- {uipath_langchain-0.0.104 → uipath_langchain-0.0.107}/docs/quick_start.md +27 -10
- {uipath_langchain-0.0.104 → uipath_langchain-0.0.107}/pyproject.toml +1 -1
- {uipath_langchain-0.0.104 → uipath_langchain-0.0.107}/src/uipath_langchain/_cli/_runtime/_output.py +0 -1
- {uipath_langchain-0.0.104 → uipath_langchain-0.0.107}/src/uipath_langchain/_cli/_utils/_graph.py +5 -3
- {uipath_langchain-0.0.104 → uipath_langchain-0.0.107}/src/uipath_langchain/_cli/cli_new.py +5 -5
- {uipath_langchain-0.0.104 → uipath_langchain-0.0.107}/src/uipath_langchain/retrievers/context_grounding_retriever.py +6 -0
- uipath_langchain-0.0.107/src/uipath_langchain/vectorstores/__init__.py +3 -0
- {uipath_langchain-0.0.104 → uipath_langchain-0.0.107}/tests/test_langchain_client.py +1 -1
- {uipath_langchain-0.0.104 → uipath_langchain-0.0.107}/uv.lock +1422 -1424
- uipath_langchain-0.0.104/src/uipath_langchain/chat/utils/__init__.py +0 -0
- uipath_langchain-0.0.104/src/uipath_langchain/chat/utils/_chat_types.py +0 -54
- uipath_langchain-0.0.104/src/uipath_langchain/utils/__init__.py +0 -3
- uipath_langchain-0.0.104/src/uipath_langchain/utils/_request_mixin.py +0 -488
- uipath_langchain-0.0.104/src/uipath_langchain/utils/_settings.py +0 -91
- uipath_langchain-0.0.104/src/uipath_langchain/utils/_sleep_policy.py +0 -41
- {uipath_langchain-0.0.104 → uipath_langchain-0.0.107}/.cursorrules +0 -0
- {uipath_langchain-0.0.104 → uipath_langchain-0.0.107}/.editorconfig +0 -0
- {uipath_langchain-0.0.104 → uipath_langchain-0.0.107}/.gitattributes +0 -0
- {uipath_langchain-0.0.104 → uipath_langchain-0.0.107}/.github/workflows/build.yml +0 -0
- {uipath_langchain-0.0.104 → uipath_langchain-0.0.107}/.github/workflows/cd.yml +0 -0
- {uipath_langchain-0.0.104 → uipath_langchain-0.0.107}/.github/workflows/ci.yml +0 -0
- {uipath_langchain-0.0.104 → uipath_langchain-0.0.107}/.github/workflows/commitlint.yml +0 -0
- {uipath_langchain-0.0.104 → uipath_langchain-0.0.107}/.github/workflows/lint.yml +0 -0
- {uipath_langchain-0.0.104 → uipath_langchain-0.0.107}/.github/workflows/publish-dev.yml +0 -0
- {uipath_langchain-0.0.104 → uipath_langchain-0.0.107}/.github/workflows/test.yml +0 -0
- {uipath_langchain-0.0.104 → uipath_langchain-0.0.107}/.gitignore +0 -0
- {uipath_langchain-0.0.104 → uipath_langchain-0.0.107}/.pre-commit-config.yaml +0 -0
- {uipath_langchain-0.0.104 → uipath_langchain-0.0.107}/.python-version +0 -0
- {uipath_langchain-0.0.104 → uipath_langchain-0.0.107}/.vscode/extensions.json +0 -0
- {uipath_langchain-0.0.104 → uipath_langchain-0.0.107}/.vscode/settings.json +0 -0
- {uipath_langchain-0.0.104 → uipath_langchain-0.0.107}/CONTRIBUTING.md +0 -0
- {uipath_langchain-0.0.104 → uipath_langchain-0.0.107}/LICENSE +0 -0
- {uipath_langchain-0.0.104 → uipath_langchain-0.0.107}/README.md +0 -0
- {uipath_langchain-0.0.104 → uipath_langchain-0.0.107}/docs/context_grounding.md +0 -0
- {uipath_langchain-0.0.104 → uipath_langchain-0.0.107}/docs/human_in_the_loop.md +0 -0
- {uipath_langchain-0.0.104 → uipath_langchain-0.0.107}/docs/quick_start_images/cloud_env_var_dark.png +0 -0
- {uipath_langchain-0.0.104 → uipath_langchain-0.0.107}/docs/quick_start_images/cloud_env_var_light.png +0 -0
- {uipath_langchain-0.0.104 → uipath_langchain-0.0.107}/docs/quick_start_images/invoke_output_dark.png +0 -0
- {uipath_langchain-0.0.104 → uipath_langchain-0.0.107}/docs/quick_start_images/invoke_output_light.png +0 -0
- {uipath_langchain-0.0.104 → uipath_langchain-0.0.107}/docs/sample_images/multi-agent-distributed/coder-agent-package-overview.png +0 -0
- {uipath_langchain-0.0.104 → uipath_langchain-0.0.107}/docs/sample_images/multi-agent-distributed/coder-agent-process-configuration.png +0 -0
- {uipath_langchain-0.0.104 → uipath_langchain-0.0.107}/docs/sample_images/multi-agent-distributed/planner-agent-package-overview.png +0 -0
- {uipath_langchain-0.0.104 → uipath_langchain-0.0.107}/docs/sample_images/multi-agent-distributed/planner-agent-process-configuration.png +0 -0
- {uipath_langchain-0.0.104 → uipath_langchain-0.0.107}/docs/sample_images/multi-agent-distributed/researcher-agent-package-overview.png +0 -0
- {uipath_langchain-0.0.104 → uipath_langchain-0.0.107}/docs/sample_images/multi-agent-distributed/researcher-agent-process-configuration.png +0 -0
- {uipath_langchain-0.0.104 → uipath_langchain-0.0.107}/docs/sample_images/ticket-classification/activate-apps.png +0 -0
- {uipath_langchain-0.0.104 → uipath_langchain-0.0.107}/docs/sample_images/ticket-classification/activate-deployment.png +0 -0
- {uipath_langchain-0.0.104 → uipath_langchain-0.0.107}/docs/sample_images/ticket-classification/copy-folder-path.png +0 -0
- {uipath_langchain-0.0.104 → uipath_langchain-0.0.107}/docs/sample_images/ticket-classification/deploy-solution-package-wizard.png +0 -0
- {uipath_langchain-0.0.104 → uipath_langchain-0.0.107}/docs/sample_images/ticket-classification/deploy-solution-package.png +0 -0
- {uipath_langchain-0.0.104 → uipath_langchain-0.0.107}/docs/sample_images/ticket-classification/monitor-agent.png +0 -0
- {uipath_langchain-0.0.104 → uipath_langchain-0.0.107}/docs/sample_images/ticket-classification/navigate-to-solution-folder.png +0 -0
- {uipath_langchain-0.0.104 → uipath_langchain-0.0.107}/docs/sample_images/ticket-classification/resume-condition.png +0 -0
- {uipath_langchain-0.0.104 → uipath_langchain-0.0.107}/docs/sample_images/ticket-classification/run-agent.png +0 -0
- {uipath_langchain-0.0.104 → uipath_langchain-0.0.107}/docs/sample_images/ticket-classification/solution-destination-folder.png +0 -0
- {uipath_langchain-0.0.104 → uipath_langchain-0.0.107}/docs/sample_images/ticket-classification/start-job.png +0 -0
- {uipath_langchain-0.0.104 → uipath_langchain-0.0.107}/docs/sample_images/ticket-classification/upload-solution-package.png +0 -0
- {uipath_langchain-0.0.104 → uipath_langchain-0.0.107}/samples/README.md +0 -0
- {uipath_langchain-0.0.104 → uipath_langchain-0.0.107}/samples/company-research-agent/.env.example +0 -0
- {uipath_langchain-0.0.104 → uipath_langchain-0.0.107}/samples/company-research-agent/agent.mermaid +0 -0
- {uipath_langchain-0.0.104 → uipath_langchain-0.0.107}/samples/company-research-agent/graph.py +0 -0
- {uipath_langchain-0.0.104 → uipath_langchain-0.0.107}/samples/company-research-agent/langgraph.json +0 -0
- {uipath_langchain-0.0.104 → uipath_langchain-0.0.107}/samples/company-research-agent/pyproject.toml +0 -0
- {uipath_langchain-0.0.104 → uipath_langchain-0.0.107}/samples/company-research-agent/uipath.json +0 -0
- {uipath_langchain-0.0.104 → uipath_langchain-0.0.107}/samples/company-research-agent/uv.lock +0 -0
- {uipath_langchain-0.0.104 → uipath_langchain-0.0.107}/samples/hitl-inbox-server/database.py +0 -0
- {uipath_langchain-0.0.104 → uipath_langchain-0.0.107}/samples/hitl-inbox-server/main.py +0 -0
- {uipath_langchain-0.0.104 → uipath_langchain-0.0.107}/samples/hitl-inbox-server/models.py +0 -0
- {uipath_langchain-0.0.104 → uipath_langchain-0.0.107}/samples/hitl-inbox-server/pyproject.toml +0 -0
- {uipath_langchain-0.0.104 → uipath_langchain-0.0.107}/samples/hitl-inbox-server/schemas.py +0 -0
- {uipath_langchain-0.0.104 → uipath_langchain-0.0.107}/samples/hitl-inbox-server/templates/index.html +0 -0
- {uipath_langchain-0.0.104 → uipath_langchain-0.0.107}/samples/hitl-inbox-server/uv.lock +0 -0
- {uipath_langchain-0.0.104 → uipath_langchain-0.0.107}/samples/multi-agent-planner-researcher-coder-distributed/.env.example +0 -0
- {uipath_langchain-0.0.104 → uipath_langchain-0.0.107}/samples/multi-agent-planner-researcher-coder-distributed/README.md +0 -0
- {uipath_langchain-0.0.104 → uipath_langchain-0.0.107}/samples/multi-agent-planner-researcher-coder-distributed/coder.mermaid +0 -0
- {uipath_langchain-0.0.104 → uipath_langchain-0.0.107}/samples/multi-agent-planner-researcher-coder-distributed/langgraph.json +0 -0
- {uipath_langchain-0.0.104 → uipath_langchain-0.0.107}/samples/multi-agent-planner-researcher-coder-distributed/planner.mermaid +0 -0
- {uipath_langchain-0.0.104 → uipath_langchain-0.0.107}/samples/multi-agent-planner-researcher-coder-distributed/pyproject.toml +0 -0
- {uipath_langchain-0.0.104 → uipath_langchain-0.0.107}/samples/multi-agent-planner-researcher-coder-distributed/researcher.mermaid +0 -0
- {uipath_langchain-0.0.104 → uipath_langchain-0.0.107}/samples/multi-agent-planner-researcher-coder-distributed/src/multi-agent-distributed/coder.py +0 -0
- {uipath_langchain-0.0.104 → uipath_langchain-0.0.107}/samples/multi-agent-planner-researcher-coder-distributed/src/multi-agent-distributed/planner.py +0 -0
- {uipath_langchain-0.0.104 → uipath_langchain-0.0.107}/samples/multi-agent-planner-researcher-coder-distributed/src/multi-agent-distributed/researcher.py +0 -0
- {uipath_langchain-0.0.104 → uipath_langchain-0.0.107}/samples/multi-agent-planner-researcher-coder-distributed/uipath.json +0 -0
- {uipath_langchain-0.0.104 → uipath_langchain-0.0.107}/samples/multi-agent-planner-researcher-coder-distributed/uv.lock +0 -0
- {uipath_langchain-0.0.104 → uipath_langchain-0.0.107}/samples/multi-agent-supervisor-researcher-coder/.env.example +0 -0
- {uipath_langchain-0.0.104 → uipath_langchain-0.0.107}/samples/multi-agent-supervisor-researcher-coder/README.md +0 -0
- {uipath_langchain-0.0.104 → uipath_langchain-0.0.107}/samples/multi-agent-supervisor-researcher-coder/agent.mermaid +0 -0
- {uipath_langchain-0.0.104 → uipath_langchain-0.0.107}/samples/multi-agent-supervisor-researcher-coder/graph.py +0 -0
- {uipath_langchain-0.0.104 → uipath_langchain-0.0.107}/samples/multi-agent-supervisor-researcher-coder/langgraph.json +0 -0
- {uipath_langchain-0.0.104 → uipath_langchain-0.0.107}/samples/multi-agent-supervisor-researcher-coder/pyproject.toml +0 -0
- {uipath_langchain-0.0.104 → uipath_langchain-0.0.107}/samples/multi-agent-supervisor-researcher-coder/uipath.json +0 -0
- {uipath_langchain-0.0.104 → uipath_langchain-0.0.107}/samples/multi-agent-supervisor-researcher-coder/uv.lock +0 -0
- {uipath_langchain-0.0.104 → uipath_langchain-0.0.107}/samples/retrieval-chain/.env.example +0 -0
- {uipath_langchain-0.0.104 → uipath_langchain-0.0.107}/samples/retrieval-chain/README.md +0 -0
- {uipath_langchain-0.0.104 → uipath_langchain-0.0.107}/samples/retrieval-chain/main.py +0 -0
- {uipath_langchain-0.0.104 → uipath_langchain-0.0.107}/samples/retrieval-chain/pyproject.toml +0 -0
- {uipath_langchain-0.0.104 → uipath_langchain-0.0.107}/samples/retrieval-chain/uv.lock +0 -0
- {uipath_langchain-0.0.104 → uipath_langchain-0.0.107}/samples/simple-local-mcp/.env.example +0 -0
- {uipath_langchain-0.0.104 → uipath_langchain-0.0.107}/samples/simple-local-mcp/README.md +0 -0
- {uipath_langchain-0.0.104 → uipath_langchain-0.0.107}/samples/simple-local-mcp/agent.mermaid +0 -0
- {uipath_langchain-0.0.104 → uipath_langchain-0.0.107}/samples/simple-local-mcp/langgraph.json +0 -0
- {uipath_langchain-0.0.104 → uipath_langchain-0.0.107}/samples/simple-local-mcp/pyproject.toml +0 -0
- {uipath_langchain-0.0.104 → uipath_langchain-0.0.107}/samples/simple-local-mcp/src/simple-local-mcp/graph.py +0 -0
- {uipath_langchain-0.0.104 → uipath_langchain-0.0.107}/samples/simple-local-mcp/src/simple-local-mcp/math_server.py +0 -0
- {uipath_langchain-0.0.104 → uipath_langchain-0.0.107}/samples/simple-local-mcp/src/simple-local-mcp/weather_server.py +0 -0
- {uipath_langchain-0.0.104 → uipath_langchain-0.0.107}/samples/simple-local-mcp/uipath.json +0 -0
- {uipath_langchain-0.0.104 → uipath_langchain-0.0.107}/samples/simple-local-mcp/uv.lock +0 -0
- {uipath_langchain-0.0.104 → uipath_langchain-0.0.107}/samples/simple-remote-mcp/.env.example +0 -0
- {uipath_langchain-0.0.104 → uipath_langchain-0.0.107}/samples/simple-remote-mcp/README.md +0 -0
- {uipath_langchain-0.0.104 → uipath_langchain-0.0.107}/samples/simple-remote-mcp/agent.mermaid +0 -0
- {uipath_langchain-0.0.104 → uipath_langchain-0.0.107}/samples/simple-remote-mcp/langgraph.json +0 -0
- {uipath_langchain-0.0.104 → uipath_langchain-0.0.107}/samples/simple-remote-mcp/main.py +0 -0
- {uipath_langchain-0.0.104 → uipath_langchain-0.0.107}/samples/simple-remote-mcp/pyproject.toml +0 -0
- {uipath_langchain-0.0.104 → uipath_langchain-0.0.107}/samples/simple-remote-mcp/uipath.json +0 -0
- {uipath_langchain-0.0.104 → uipath_langchain-0.0.107}/samples/simple-remote-mcp/uv.lock +0 -0
- {uipath_langchain-0.0.104 → uipath_langchain-0.0.107}/samples/ticket-classification/.env.example +0 -0
- {uipath_langchain-0.0.104 → uipath_langchain-0.0.107}/samples/ticket-classification/README.md +0 -0
- {uipath_langchain-0.0.104 → uipath_langchain-0.0.107}/samples/ticket-classification/agent.mermaid +0 -0
- {uipath_langchain-0.0.104 → uipath_langchain-0.0.107}/samples/ticket-classification/escalation_app_solution/generic-escalation-app-solution-1.0.0.zip +0 -0
- {uipath_langchain-0.0.104 → uipath_langchain-0.0.107}/samples/ticket-classification/langgraph.json +0 -0
- {uipath_langchain-0.0.104 → uipath_langchain-0.0.107}/samples/ticket-classification/main.py +0 -0
- {uipath_langchain-0.0.104 → uipath_langchain-0.0.107}/samples/ticket-classification/pyproject.toml +0 -0
- {uipath_langchain-0.0.104 → uipath_langchain-0.0.107}/samples/ticket-classification/uipath.json +0 -0
- {uipath_langchain-0.0.104 → uipath_langchain-0.0.107}/samples/ticket-classification/uv.lock +0 -0
- {uipath_langchain-0.0.104 → uipath_langchain-0.0.107}/src/uipath_langchain/__init__.py +0 -0
- {uipath_langchain-0.0.104 → uipath_langchain-0.0.107}/src/uipath_langchain/_cli/__init__.py +0 -0
- {uipath_langchain-0.0.104 → uipath_langchain-0.0.107}/src/uipath_langchain/_cli/_runtime/_context.py +0 -0
- {uipath_langchain-0.0.104 → uipath_langchain-0.0.107}/src/uipath_langchain/_cli/_runtime/_escalation.py +0 -0
- {uipath_langchain-0.0.104 → uipath_langchain-0.0.107}/src/uipath_langchain/_cli/_runtime/_exception.py +0 -0
- {uipath_langchain-0.0.104 → uipath_langchain-0.0.107}/src/uipath_langchain/_cli/_runtime/_input.py +0 -0
- {uipath_langchain-0.0.104 → uipath_langchain-0.0.107}/src/uipath_langchain/_cli/_runtime/_runtime.py +0 -0
- {uipath_langchain-0.0.104 → uipath_langchain-0.0.107}/src/uipath_langchain/_cli/_templates/langgraph.json.template +0 -0
- {uipath_langchain-0.0.104 → uipath_langchain-0.0.107}/src/uipath_langchain/_cli/_templates/main.py.template +0 -0
- {uipath_langchain-0.0.104 → uipath_langchain-0.0.107}/src/uipath_langchain/_cli/cli_init.py +0 -0
- {uipath_langchain-0.0.104 → uipath_langchain-0.0.107}/src/uipath_langchain/_cli/cli_run.py +0 -0
- {uipath_langchain-0.0.104 → uipath_langchain-0.0.107}/src/uipath_langchain/_utils/__init__.py +0 -0
- {uipath_langchain-0.0.104 → uipath_langchain-0.0.107}/src/uipath_langchain/_utils/_request_mixin.py +0 -0
- {uipath_langchain-0.0.104 → uipath_langchain-0.0.107}/src/uipath_langchain/_utils/_settings.py +0 -0
- {uipath_langchain-0.0.104 → uipath_langchain-0.0.107}/src/uipath_langchain/_utils/_sleep_policy.py +0 -0
- {uipath_langchain-0.0.104 → uipath_langchain-0.0.107}/src/uipath_langchain/chat/__init__.py +0 -0
- {uipath_langchain-0.0.104 → uipath_langchain-0.0.107}/src/uipath_langchain/chat/models.py +0 -0
- {uipath_langchain-0.0.104 → uipath_langchain-0.0.107}/src/uipath_langchain/embeddings/__init__.py +0 -0
- {uipath_langchain-0.0.104 → uipath_langchain-0.0.107}/src/uipath_langchain/embeddings/embeddings.py +0 -0
- {uipath_langchain-0.0.104 → uipath_langchain-0.0.107}/src/uipath_langchain/middlewares.py +0 -0
- {uipath_langchain-0.0.104 → uipath_langchain-0.0.107}/src/uipath_langchain/retrievers/__init__.py +0 -0
- {uipath_langchain-0.0.104 → uipath_langchain-0.0.107}/src/uipath_langchain/tracers/AsyncUiPathTracer.py +0 -0
- {uipath_langchain-0.0.104 → uipath_langchain-0.0.107}/src/uipath_langchain/tracers/UiPathTracer.py +0 -0
- {uipath_langchain-0.0.104 → uipath_langchain-0.0.107}/src/uipath_langchain/tracers/__init__.py +0 -0
- {uipath_langchain-0.0.104 → uipath_langchain-0.0.107}/src/uipath_langchain/tracers/_events.py +0 -0
- {uipath_langchain-0.0.104 → uipath_langchain-0.0.107}/src/uipath_langchain/tracers/_instrument_traceable.py +0 -0
- {uipath_langchain-0.0.104 → uipath_langchain-0.0.107}/src/uipath_langchain/tracers/_utils.py +0 -0
- {uipath_langchain-0.0.104 → uipath_langchain-0.0.107}/src/uipath_langchain/vectorstores/context_grounding_vectorstore.py +0 -0
- {uipath_langchain-0.0.104 → uipath_langchain-0.0.107}/tests/__init__.py +0 -0
- {uipath_langchain-0.0.104 → uipath_langchain-0.0.107}/tests/test_dummy.py +0 -0
- {uipath_langchain-0.0.104 → uipath_langchain-0.0.107}/tests/tracers/__init__.py +0 -0
- {uipath_langchain-0.0.104 → uipath_langchain-0.0.107}/tests/tracers/test_async_uipath_tracer.py +0 -0
- {uipath_langchain-0.0.104 → uipath_langchain-0.0.107}/tests/tracers/test_instrument_traceable.py +0 -0
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
name: Publish Docs
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
branches:
|
|
6
|
+
- main
|
|
7
|
+
|
|
8
|
+
jobs:
|
|
9
|
+
publish-docs:
|
|
10
|
+
runs-on: ubuntu-latest
|
|
11
|
+
steps:
|
|
12
|
+
- name: Trigger Publish Docs
|
|
13
|
+
run: |
|
|
14
|
+
repo_owner="uipath"
|
|
15
|
+
repo_name="uipath-python"
|
|
16
|
+
event_type="publish-docs"
|
|
17
|
+
|
|
18
|
+
curl -L \
|
|
19
|
+
-X POST \
|
|
20
|
+
-H "Accept: application/vnd.github+json" \
|
|
21
|
+
-H "Authorization: Bearer ${{ secrets.REPO_ACCESS }}" \
|
|
22
|
+
-H "X-GitHub-Api-Version: 2022-11-28" \
|
|
23
|
+
https://api.github.com/repos/$repo_owner/$repo_name/dispatches \
|
|
24
|
+
-d "{\"event_type\": \"$event_type\", \"client_payload\": {}}"
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
name: GitHub Reviewer Slack Agent
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
pull_request:
|
|
5
|
+
types: [opened]
|
|
6
|
+
|
|
7
|
+
jobs:
|
|
8
|
+
trigger-uipath-agent:
|
|
9
|
+
runs-on: ubuntu-latest
|
|
10
|
+
steps:
|
|
11
|
+
- name: Install Python dependencies
|
|
12
|
+
run: pip install requests
|
|
13
|
+
|
|
14
|
+
- name: Trigger UiPath Agent
|
|
15
|
+
env:
|
|
16
|
+
PR_NUMBER: ${{ github.event.number }}
|
|
17
|
+
REPO_NAME: ${{ github.repository }}
|
|
18
|
+
OWNER_NAME: ${{ github.repository_owner }}
|
|
19
|
+
run: |
|
|
20
|
+
python -c "import requests; import json; import os; comment = {'messages': [{'role': 'user', 'content': f'You are reviewing PR #{os.environ['PR_NUMBER']}, repo: {os.environ['REPO_NAME']}, owner: {os.environ['OWNER_NAME']}'}]}; payload = json.dumps(comment); resp = requests.post('${{ secrets.UIPATH_SLACK_URL }}/orchestrator_/odata/Jobs/UiPath.Server.Configuration.OData.StartJobs', headers={'Authorization': 'Bearer ${{ secrets.UIPATH_SLACK_PAT }}', 'Content-Type': 'application/json', 'X-UiPath-FolderPath': 'MCP Folder'}, json={'startInfo': {'releaseName': 'github-slack-agent', 'inputArguments': payload}}); print(f'Status code: {resp.status_code}'); print(f'Response: {resp.text}')"
|
|
@@ -47,7 +47,7 @@ Currently the following models can be used with `UiPathAzureChatOpenAI` (this li
|
|
|
47
47
|
|
|
48
48
|
## UiPathChat
|
|
49
49
|
|
|
50
|
-
`UiPathChat` is a more versatile
|
|
50
|
+
`UiPathChat` is a more versatile class that can suport models from diferent vendors including OpenAI.
|
|
51
51
|
|
|
52
52
|
### Example usage
|
|
53
53
|
|
|
@@ -67,6 +67,9 @@ Activate with: source .venv/bin/activate
|
|
|
67
67
|
# For Windows Bash: source .venv/Scripts/activate
|
|
68
68
|
> source .venv/bin/activate
|
|
69
69
|
|
|
70
|
+
# Install the langchain anthropic package
|
|
71
|
+
> uv add langchain-anthropic
|
|
72
|
+
|
|
70
73
|
# Install the uipath package
|
|
71
74
|
> uv add uipath-langchain
|
|
72
75
|
|
|
@@ -93,6 +96,9 @@ uipath-langchain version 0.0.100
|
|
|
93
96
|
# Upgrade pip to the latest version
|
|
94
97
|
> python -m pip install --upgrade pip
|
|
95
98
|
|
|
99
|
+
# Install the langchain anthropic package
|
|
100
|
+
> pip install langchain-anthropic
|
|
101
|
+
|
|
96
102
|
# Install the uipath package
|
|
97
103
|
> pip install uipath-langchain
|
|
98
104
|
|
|
@@ -115,17 +121,30 @@ Generate your first UiPath LangChain agent:
|
|
|
115
121
|
✓ Created 'main.py' file.
|
|
116
122
|
✓ Created 'langgraph.json' file.
|
|
117
123
|
✓ Created 'pyproject.toml' file.
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
+
🔧 Please ensure to define either ANTHROPIC_API_KEY or OPENAI_API_KEY in your .env file.
|
|
125
|
+
💡 Initialize project: uipath init
|
|
126
|
+
💡 Run agent: uipath run agent '{"topic": "UiPath"}'
|
|
127
|
+
```
|
|
128
|
+
|
|
129
|
+
This command creates the following files:
|
|
130
|
+
|
|
131
|
+
| File Name | Description |
|
|
132
|
+
|------------------|----------------------------------------------------------------------------------------------------------------------------------|
|
|
133
|
+
| `main.py` | LangGraph agent code. |
|
|
134
|
+
| `langgraph.json` | [LangGraph](https://langchain-ai.github.io/langgraph/concepts/application_structure/#file-structure) specific configuration file. |
|
|
135
|
+
| `pyproject.toml` | Project metadata and dependencies as per [PEP 518](https://peps.python.org/pep-0518/). |
|
|
136
|
+
|
|
137
|
+
|
|
138
|
+
## Initialize project
|
|
139
|
+
|
|
140
|
+
<!-- termynal -->
|
|
141
|
+
|
|
142
|
+
```shell
|
|
143
|
+
> uipath init
|
|
144
|
+
⠋ Initializing UiPath project ...
|
|
124
145
|
✓ Created '.env' file.
|
|
125
146
|
✓ Created 'agent.mermaid' file.
|
|
126
147
|
✓ Created 'uipath.json' file.
|
|
127
|
-
🔧 Please ensure to define either ANTHROPIC_API_KEY or OPENAI_API_KEY in your .env file.
|
|
128
|
-
💡 Run agent: uipath run agent '{"topic": "UiPath"}'
|
|
129
148
|
```
|
|
130
149
|
|
|
131
150
|
This command creates the following files:
|
|
@@ -133,9 +152,7 @@ This command creates the following files:
|
|
|
133
152
|
| File Name | Description |
|
|
134
153
|
| ---------------- | --------------------------------------------------------------------------------------------------------------------------------- |
|
|
135
154
|
| `.env` | Environment variables and secrets (this file will not be packed & published). |
|
|
136
|
-
| `main.py` | LangGraph agent code. |
|
|
137
155
|
| `uipath.json` | Input/output JSON schemas and bindings. |
|
|
138
|
-
| `langgraph.json` | [LangGraph](https://langchain-ai.github.io/langgraph/concepts/application_structure/#file-structure) specific configuration file. |
|
|
139
156
|
| `agent.mermaid` | Graph visual representation. |
|
|
140
157
|
|
|
141
158
|
## Set Up Environment Variables
|
{uipath_langchain-0.0.104 → uipath_langchain-0.0.107}/src/uipath_langchain/_cli/_runtime/_output.py
RENAMED
|
@@ -257,7 +257,6 @@ class LangGraphOutputProcessor:
|
|
|
257
257
|
trigger_type=UiPathResumeTriggerType.ACTION,
|
|
258
258
|
item_key=action.key,
|
|
259
259
|
)
|
|
260
|
-
return
|
|
261
260
|
if isinstance(self.interrupt_info, InterruptInfo):
|
|
262
261
|
uipath_sdk = UiPath()
|
|
263
262
|
if self.interrupt_info.type is UiPathResumeTriggerType.JOB:
|
{uipath_langchain-0.0.104 → uipath_langchain-0.0.107}/src/uipath_langchain/_cli/_utils/_graph.py
RENAMED
|
@@ -155,9 +155,11 @@ class LangGraphConfig:
|
|
|
155
155
|
env_path = os.path.abspath(os.path.normpath(env_file))
|
|
156
156
|
if os.path.exists(env_path):
|
|
157
157
|
if not load_dotenv(env_path):
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
158
|
+
# log warning only if dotenv is not empty
|
|
159
|
+
if os.path.getsize(env_path) > 0:
|
|
160
|
+
logger.warning(
|
|
161
|
+
f"Could not load environment variables from {env_path}"
|
|
162
|
+
)
|
|
161
163
|
else:
|
|
162
164
|
logger.debug(f"Loaded environment variables from {env_path}")
|
|
163
165
|
|
|
@@ -31,7 +31,7 @@ version = "0.0.1"
|
|
|
31
31
|
description = "{project_name}"
|
|
32
32
|
authors = [{{ name = "John Doe", email = "john.doe@myemail.com" }}]
|
|
33
33
|
dependencies = [
|
|
34
|
-
"uipath-langchain>=0.0.
|
|
34
|
+
"uipath-langchain>=0.0.106",
|
|
35
35
|
"langchain-anthropic>=0.3.8",
|
|
36
36
|
]
|
|
37
37
|
requires-python = ">=3.10"
|
|
@@ -54,14 +54,14 @@ def langgraph_new_middleware(name: str) -> MiddlewareResult:
|
|
|
54
54
|
console.success("Created 'langgraph.json' file.")
|
|
55
55
|
generate_pyproject(directory, name)
|
|
56
56
|
console.success("Created 'pyproject.toml' file.")
|
|
57
|
-
os.system("uv sync")
|
|
58
|
-
ctx = click.get_current_context()
|
|
59
|
-
init_cmd = ctx.parent.command.get_command(ctx, "init") # type: ignore
|
|
60
|
-
ctx.invoke(init_cmd)
|
|
61
57
|
console.config(
|
|
62
58
|
f""" Please ensure to define either {click.style("ANTHROPIC_API_KEY", fg="bright_yellow")} or {click.style("OPENAI_API_KEY", fg="bright_yellow")} in your .env file. """
|
|
63
59
|
)
|
|
60
|
+
init_command = """uipath init"""
|
|
64
61
|
run_command = """uipath run agent '{"topic": "UiPath"}'"""
|
|
62
|
+
console.hint(
|
|
63
|
+
f""" Initialize project: {click.style(init_command, fg="cyan")}"""
|
|
64
|
+
)
|
|
65
65
|
console.hint(f""" Run agent: {click.style(run_command, fg="cyan")}""")
|
|
66
66
|
return MiddlewareResult(should_continue=False)
|
|
67
67
|
except Exception as e:
|
|
@@ -11,6 +11,8 @@ from uipath import UiPath
|
|
|
11
11
|
|
|
12
12
|
class ContextGroundingRetriever(BaseRetriever):
|
|
13
13
|
index_name: str
|
|
14
|
+
folder_path: Optional[str] = None
|
|
15
|
+
folder_key: Optional[str] = None
|
|
14
16
|
uipath_sdk: Optional[UiPath] = None
|
|
15
17
|
number_of_results: Optional[int] = 10
|
|
16
18
|
|
|
@@ -24,6 +26,8 @@ class ContextGroundingRetriever(BaseRetriever):
|
|
|
24
26
|
self.index_name,
|
|
25
27
|
query,
|
|
26
28
|
self.number_of_results if self.number_of_results is not None else 10,
|
|
29
|
+
folder_path=self.folder_path,
|
|
30
|
+
folder_key=self.folder_key,
|
|
27
31
|
)
|
|
28
32
|
|
|
29
33
|
return [
|
|
@@ -47,6 +51,8 @@ class ContextGroundingRetriever(BaseRetriever):
|
|
|
47
51
|
self.index_name,
|
|
48
52
|
query,
|
|
49
53
|
self.number_of_results if self.number_of_results is not None else 10,
|
|
54
|
+
folder_path=self.folder_path,
|
|
55
|
+
folder_key=self.folder_key,
|
|
50
56
|
)
|
|
51
57
|
|
|
52
58
|
return [
|
|
@@ -16,6 +16,7 @@ from langchain_core.messages import HumanMessage, SystemMessage
|
|
|
16
16
|
from langchain_core.tools import tool
|
|
17
17
|
from pydantic import BaseModel, ValidationError
|
|
18
18
|
|
|
19
|
+
from uipath_langchain._utils._settings import UiPathCachedPathsSettings
|
|
19
20
|
from uipath_langchain.chat import (
|
|
20
21
|
UiPathAzureChatOpenAI,
|
|
21
22
|
UiPathChat,
|
|
@@ -24,7 +25,6 @@ from uipath_langchain.embeddings import (
|
|
|
24
25
|
UiPathAzureOpenAIEmbeddings,
|
|
25
26
|
UiPathOpenAIEmbeddings,
|
|
26
27
|
)
|
|
27
|
-
from uipath_langchain.utils._settings import UiPathCachedPathsSettings
|
|
28
28
|
|
|
29
29
|
test_cache_settings = UiPathCachedPathsSettings(
|
|
30
30
|
CACHED_COMPLETION_DB="tests/llm_cache/tests_uipath_cache.sqlite",
|