uipath-langchain 0.0.87__tar.gz → 0.0.89__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.89/.github/workflows/commitlint.yml +28 -0
- {uipath_langchain-0.0.87 → uipath_langchain-0.0.89}/PKG-INFO +3 -4
- uipath_langchain-0.0.89/docs/chat_models.md +91 -0
- uipath_langchain-0.0.89/docs/context_grounding_chain.md +38 -0
- uipath_langchain-0.0.89/docs/context_grounding_retriever.md +46 -0
- {uipath_langchain-0.0.87 → uipath_langchain-0.0.89}/docs/interrupt_models.md +5 -1
- uipath_langchain-0.0.89/docs/sample_images/coder-agent-package-overview.png +0 -0
- uipath_langchain-0.0.89/docs/sample_images/coder-agent-process-configuration.png +0 -0
- uipath_langchain-0.0.89/docs/sample_images/planner-agent-package-overview.png +0 -0
- uipath_langchain-0.0.89/docs/sample_images/planner-agent-process-configuration.png +0 -0
- uipath_langchain-0.0.89/docs/sample_images/researcher-agent-package-overview.png +0 -0
- uipath_langchain-0.0.89/docs/sample_images/researcher-agent-process-configuration.png +0 -0
- {uipath_langchain-0.0.87 → uipath_langchain-0.0.89}/pyproject.toml +3 -4
- {uipath_langchain-0.0.87 → uipath_langchain-0.0.89}/samples/company-research-agent/pyproject.toml +2 -3
- {uipath_langchain-0.0.87 → uipath_langchain-0.0.89}/samples/company-research-agent/uv.lock +38 -351
- {uipath_langchain-0.0.87 → uipath_langchain-0.0.89}/samples/hitl-inbox-server/main.py +2 -2
- {uipath_langchain-0.0.87 → uipath_langchain-0.0.89}/samples/hitl-inbox-server/pyproject.toml +1 -1
- {uipath_langchain-0.0.87 → uipath_langchain-0.0.89}/samples/hitl-inbox-server/uv.lock +101 -76
- uipath_langchain-0.0.89/samples/multi-agent-planner-researcher-coder-distributed/README.md +251 -0
- {uipath_langchain-0.0.87 → uipath_langchain-0.0.89}/samples/multi-agent-planner-researcher-coder-distributed/pyproject.toml +3 -4
- {uipath_langchain-0.0.87 → uipath_langchain-0.0.89}/samples/multi-agent-planner-researcher-coder-distributed/src/multi-agent-distributed/planner.py +1 -1
- uipath_langchain-0.0.89/samples/multi-agent-planner-researcher-coder-distributed/uipath.json +2793 -0
- {uipath_langchain-0.0.87 → uipath_langchain-0.0.89}/samples/multi-agent-planner-researcher-coder-distributed/uv.lock +132 -417
- {uipath_langchain-0.0.87 → uipath_langchain-0.0.89}/samples/multi-agent-supervisor-researcher-coder/README.md +1 -1
- {uipath_langchain-0.0.87 → uipath_langchain-0.0.89}/samples/multi-agent-supervisor-researcher-coder/pyproject.toml +2 -3
- {uipath_langchain-0.0.87 → uipath_langchain-0.0.89}/samples/multi-agent-supervisor-researcher-coder/uv.lock +132 -417
- {uipath_langchain-0.0.87/samples/uipath_retrieval_chain → uipath_langchain-0.0.89/samples/retrieval-chain}/pyproject.toml +2 -2
- uipath_langchain-0.0.89/samples/retrieval-chain/uv.lock +1969 -0
- {uipath_langchain-0.0.87 → uipath_langchain-0.0.89}/samples/simple-local-mcp/README.md +1 -1
- {uipath_langchain-0.0.87 → uipath_langchain-0.0.89}/samples/simple-local-mcp/pyproject.toml +1 -2
- {uipath_langchain-0.0.87 → uipath_langchain-0.0.89}/samples/simple-local-mcp/uv.lock +129 -106
- uipath_langchain-0.0.89/samples/simple-remote-mcp/README.md +73 -0
- {uipath_langchain-0.0.87 → uipath_langchain-0.0.89}/samples/simple-remote-mcp/main.py +4 -1
- {uipath_langchain-0.0.87 → uipath_langchain-0.0.89}/samples/simple-remote-mcp/pyproject.toml +1 -2
- {uipath_langchain-0.0.87 → uipath_langchain-0.0.89}/samples/simple-remote-mcp/uv.lock +35 -37
- {uipath_langchain-0.0.87 → uipath_langchain-0.0.89}/samples/ticket-classification/README.md +3 -2
- uipath_langchain-0.0.89/samples/ticket-classification/agent.mermaid +21 -0
- uipath_langchain-0.0.89/samples/ticket-classification/escalation_app_solution/generic-escalation-app-solution-1.0.0.zip +0 -0
- uipath_langchain-0.0.89/samples/ticket-classification/main.py +180 -0
- {uipath_langchain-0.0.87 → uipath_langchain-0.0.89}/samples/ticket-classification/pyproject.toml +1 -2
- {uipath_langchain-0.0.87 → uipath_langchain-0.0.89}/samples/ticket-classification/uipath.json +11 -6
- {uipath_langchain-0.0.87 → uipath_langchain-0.0.89}/samples/ticket-classification/uv.lock +129 -106
- {uipath_langchain-0.0.87 → uipath_langchain-0.0.89}/samples/travel-planner-local-mcp/pyproject.toml +1 -2
- {uipath_langchain-0.0.87 → uipath_langchain-0.0.89}/samples/travel-planner-local-mcp/uv.lock +129 -106
- {uipath_langchain-0.0.87 → uipath_langchain-0.0.89}/src/uipath_langchain/_cli/_runtime/_escalation.py +1 -1
- {uipath_langchain-0.0.87 → uipath_langchain-0.0.89}/src/uipath_langchain/_cli/_runtime/_output.py +6 -6
- {uipath_langchain-0.0.87 → uipath_langchain-0.0.89}/src/uipath_langchain/_cli/_runtime/_runtime.py +6 -0
- {uipath_langchain-0.0.87 → uipath_langchain-0.0.89}/uv.lock +7 -5
- uipath_langchain-0.0.87/.github/workflows/commitlint.yml +0 -12
- uipath_langchain-0.0.87/samples/connections/.env.example +0 -2
- uipath_langchain-0.0.87/samples/connections/.vscode/launch.json +0 -17
- uipath_langchain-0.0.87/samples/connections/main.py +0 -73
- uipath_langchain-0.0.87/samples/connections/pyproject.toml +0 -11
- uipath_langchain-0.0.87/samples/connections/uv.lock +0 -562
- uipath_langchain-0.0.87/samples/invoice-dispute-investigation-agent/.env.example +0 -6
- uipath_langchain-0.0.87/samples/invoice-dispute-investigation-agent/.vscode/launch.json +0 -16
- uipath_langchain-0.0.87/samples/invoice-dispute-investigation-agent/_main.py +0 -31
- uipath_langchain-0.0.87/samples/invoice-dispute-investigation-agent/agent.mermaid +0 -20
- uipath_langchain-0.0.87/samples/invoice-dispute-investigation-agent/configuration.py +0 -48
- uipath_langchain-0.0.87/samples/invoice-dispute-investigation-agent/graph.py +0 -184
- uipath_langchain-0.0.87/samples/invoice-dispute-investigation-agent/langgraph.json +0 -7
- uipath_langchain-0.0.87/samples/invoice-dispute-investigation-agent/prompts.py +0 -45
- uipath_langchain-0.0.87/samples/invoice-dispute-investigation-agent/pyproject.toml +0 -29
- uipath_langchain-0.0.87/samples/invoice-dispute-investigation-agent/state.py +0 -132
- uipath_langchain-0.0.87/samples/invoice-dispute-investigation-agent/supplier_website_reader.py +0 -31
- uipath_langchain-0.0.87/samples/invoice-dispute-investigation-agent/uipath_ecs_retriever_tool.py +0 -13
- uipath_langchain-0.0.87/samples/invoice-dispute-investigation-agent/utils.py +0 -26
- uipath_langchain-0.0.87/samples/invoice-dispute-investigation-agent/uv.lock +0 -2235
- uipath_langchain-0.0.87/samples/multi-agent-planner-researcher-coder-distributed/README.md +0 -165
- uipath_langchain-0.0.87/samples/ticket-classification/agent.mermaid +0 -16
- uipath_langchain-0.0.87/samples/ticket-classification/main.py +0 -142
- uipath_langchain-0.0.87/src/uipath_langchain/chat/utils/__init__.py +0 -0
- {uipath_langchain-0.0.87 → uipath_langchain-0.0.89}/.cursorrules +0 -0
- {uipath_langchain-0.0.87 → uipath_langchain-0.0.89}/.editorconfig +0 -0
- {uipath_langchain-0.0.87 → uipath_langchain-0.0.89}/.gitattributes +0 -0
- {uipath_langchain-0.0.87 → uipath_langchain-0.0.89}/.github/workflows/build.yml +0 -0
- {uipath_langchain-0.0.87 → uipath_langchain-0.0.89}/.github/workflows/cd.yml +0 -0
- {uipath_langchain-0.0.87 → uipath_langchain-0.0.89}/.github/workflows/ci.yml +0 -0
- {uipath_langchain-0.0.87 → uipath_langchain-0.0.89}/.github/workflows/lint.yml +0 -0
- {uipath_langchain-0.0.87 → uipath_langchain-0.0.89}/.github/workflows/test.yml +0 -0
- {uipath_langchain-0.0.87 → uipath_langchain-0.0.89}/.gitignore +0 -0
- {uipath_langchain-0.0.87 → uipath_langchain-0.0.89}/.pre-commit-config.yaml +0 -0
- {uipath_langchain-0.0.87 → uipath_langchain-0.0.89}/.python-version +0 -0
- {uipath_langchain-0.0.87 → uipath_langchain-0.0.89}/.vscode/extensions.json +0 -0
- {uipath_langchain-0.0.87 → uipath_langchain-0.0.89}/.vscode/settings.json +0 -0
- {uipath_langchain-0.0.87 → uipath_langchain-0.0.89}/CONTRIBUTING.md +0 -0
- {uipath_langchain-0.0.87 → uipath_langchain-0.0.89}/LICENSE +0 -0
- {uipath_langchain-0.0.87 → uipath_langchain-0.0.89}/README.md +0 -0
- {uipath_langchain-0.0.87 → uipath_langchain-0.0.89}/samples/company-research-agent/.env.example +0 -0
- {uipath_langchain-0.0.87 → uipath_langchain-0.0.89}/samples/company-research-agent/agent.mermaid +0 -0
- {uipath_langchain-0.0.87 → uipath_langchain-0.0.89}/samples/company-research-agent/graph.py +0 -0
- {uipath_langchain-0.0.87 → uipath_langchain-0.0.89}/samples/company-research-agent/langgraph.json +0 -0
- {uipath_langchain-0.0.87 → uipath_langchain-0.0.89}/samples/company-research-agent/uipath.json +0 -0
- {uipath_langchain-0.0.87 → uipath_langchain-0.0.89}/samples/hitl-inbox-server/database.py +0 -0
- {uipath_langchain-0.0.87 → uipath_langchain-0.0.89}/samples/hitl-inbox-server/models.py +0 -0
- {uipath_langchain-0.0.87 → uipath_langchain-0.0.89}/samples/hitl-inbox-server/schemas.py +0 -0
- {uipath_langchain-0.0.87 → uipath_langchain-0.0.89}/samples/hitl-inbox-server/templates/index.html +0 -0
- {uipath_langchain-0.0.87 → uipath_langchain-0.0.89}/samples/multi-agent-planner-researcher-coder-distributed/.env.example +0 -0
- {uipath_langchain-0.0.87 → uipath_langchain-0.0.89}/samples/multi-agent-planner-researcher-coder-distributed/coder.mermaid +0 -0
- {uipath_langchain-0.0.87 → uipath_langchain-0.0.89}/samples/multi-agent-planner-researcher-coder-distributed/langgraph.json +0 -0
- {uipath_langchain-0.0.87 → uipath_langchain-0.0.89}/samples/multi-agent-planner-researcher-coder-distributed/planner.mermaid +0 -0
- {uipath_langchain-0.0.87 → uipath_langchain-0.0.89}/samples/multi-agent-planner-researcher-coder-distributed/researcher.mermaid +0 -0
- {uipath_langchain-0.0.87 → uipath_langchain-0.0.89}/samples/multi-agent-planner-researcher-coder-distributed/src/multi-agent-distributed/coder.py +0 -0
- {uipath_langchain-0.0.87 → uipath_langchain-0.0.89}/samples/multi-agent-planner-researcher-coder-distributed/src/multi-agent-distributed/researcher.py +0 -0
- {uipath_langchain-0.0.87 → uipath_langchain-0.0.89}/samples/multi-agent-supervisor-researcher-coder/.env.example +0 -0
- {uipath_langchain-0.0.87 → uipath_langchain-0.0.89}/samples/multi-agent-supervisor-researcher-coder/agent.mermaid +0 -0
- {uipath_langchain-0.0.87 → uipath_langchain-0.0.89}/samples/multi-agent-supervisor-researcher-coder/graph.py +0 -0
- {uipath_langchain-0.0.87 → uipath_langchain-0.0.89}/samples/multi-agent-supervisor-researcher-coder/langgraph.json +0 -0
- {uipath_langchain-0.0.87 → uipath_langchain-0.0.89}/samples/multi-agent-supervisor-researcher-coder/uipath.json +0 -0
- {uipath_langchain-0.0.87/samples/uipath_retrieval_chain → uipath_langchain-0.0.89/samples/retrieval-chain}/.env.example +0 -0
- {uipath_langchain-0.0.87/samples/uipath_retrieval_chain → uipath_langchain-0.0.89/samples/retrieval-chain}/README.md +0 -0
- {uipath_langchain-0.0.87/samples/uipath_retrieval_chain → uipath_langchain-0.0.89/samples/retrieval-chain}/main.py +0 -0
- {uipath_langchain-0.0.87 → uipath_langchain-0.0.89}/samples/simple-local-mcp/.env.example +0 -0
- {uipath_langchain-0.0.87 → uipath_langchain-0.0.89}/samples/simple-local-mcp/agent.mermaid +0 -0
- {uipath_langchain-0.0.87 → uipath_langchain-0.0.89}/samples/simple-local-mcp/langgraph.json +0 -0
- {uipath_langchain-0.0.87 → uipath_langchain-0.0.89}/samples/simple-local-mcp/src/simple-local-mcp/graph.py +0 -0
- {uipath_langchain-0.0.87 → uipath_langchain-0.0.89}/samples/simple-local-mcp/src/simple-local-mcp/math_server.py +0 -0
- {uipath_langchain-0.0.87 → uipath_langchain-0.0.89}/samples/simple-local-mcp/src/simple-local-mcp/weather_server.py +0 -0
- {uipath_langchain-0.0.87 → uipath_langchain-0.0.89}/samples/simple-local-mcp/uipath.json +0 -0
- {uipath_langchain-0.0.87 → uipath_langchain-0.0.89}/samples/simple-remote-mcp/.env.example +0 -0
- {uipath_langchain-0.0.87 → uipath_langchain-0.0.89}/samples/simple-remote-mcp/agent.mermaid +0 -0
- {uipath_langchain-0.0.87 → uipath_langchain-0.0.89}/samples/simple-remote-mcp/langgraph.json +0 -0
- {uipath_langchain-0.0.87 → uipath_langchain-0.0.89}/samples/simple-remote-mcp/uipath.json +0 -0
- {uipath_langchain-0.0.87 → uipath_langchain-0.0.89}/samples/ticket-classification/.env.example +0 -0
- {uipath_langchain-0.0.87 → uipath_langchain-0.0.89}/samples/ticket-classification/langgraph.json +0 -0
- {uipath_langchain-0.0.87 → uipath_langchain-0.0.89}/samples/travel-planner-local-mcp/.env.example +0 -0
- {uipath_langchain-0.0.87 → uipath_langchain-0.0.89}/samples/travel-planner-local-mcp/README.md +0 -0
- {uipath_langchain-0.0.87 → uipath_langchain-0.0.89}/samples/travel-planner-local-mcp/agent.mermaid +0 -0
- {uipath_langchain-0.0.87 → uipath_langchain-0.0.89}/samples/travel-planner-local-mcp/langgraph.json +0 -0
- {uipath_langchain-0.0.87 → uipath_langchain-0.0.89}/samples/travel-planner-local-mcp/main.py +0 -0
- {uipath_langchain-0.0.87 → uipath_langchain-0.0.89}/samples/travel-planner-local-mcp/mcps/estate_mcp.py +0 -0
- {uipath_langchain-0.0.87 → uipath_langchain-0.0.89}/samples/travel-planner-local-mcp/mcps/travel_mcp.py +0 -0
- {uipath_langchain-0.0.87 → uipath_langchain-0.0.89}/samples/travel-planner-local-mcp/uipath.json +0 -0
- {uipath_langchain-0.0.87 → uipath_langchain-0.0.89}/src/uipath_langchain/__init__.py +0 -0
- {uipath_langchain-0.0.87 → uipath_langchain-0.0.89}/src/uipath_langchain/_cli/__init__.py +0 -0
- {uipath_langchain-0.0.87 → uipath_langchain-0.0.89}/src/uipath_langchain/_cli/_runtime/_context.py +0 -0
- {uipath_langchain-0.0.87 → uipath_langchain-0.0.89}/src/uipath_langchain/_cli/_runtime/_exception.py +0 -0
- {uipath_langchain-0.0.87 → uipath_langchain-0.0.89}/src/uipath_langchain/_cli/_runtime/_input.py +0 -0
- {uipath_langchain-0.0.87 → uipath_langchain-0.0.89}/src/uipath_langchain/_cli/_utils/_graph.py +0 -0
- {uipath_langchain-0.0.87 → uipath_langchain-0.0.89}/src/uipath_langchain/_cli/cli_init.py +0 -0
- {uipath_langchain-0.0.87 → uipath_langchain-0.0.89}/src/uipath_langchain/_cli/cli_run.py +0 -0
- {uipath_langchain-0.0.87 → uipath_langchain-0.0.89}/src/uipath_langchain/_utils/__init__.py +0 -0
- {uipath_langchain-0.0.87 → uipath_langchain-0.0.89}/src/uipath_langchain/_utils/_request_mixin.py +0 -0
- {uipath_langchain-0.0.87 → uipath_langchain-0.0.89}/src/uipath_langchain/_utils/_settings.py +0 -0
- {uipath_langchain-0.0.87 → uipath_langchain-0.0.89}/src/uipath_langchain/_utils/_sleep_policy.py +0 -0
- {uipath_langchain-0.0.87 → uipath_langchain-0.0.89}/src/uipath_langchain/chat/__init__.py +0 -0
- {uipath_langchain-0.0.87 → uipath_langchain-0.0.89}/src/uipath_langchain/chat/models.py +0 -0
- {uipath_langchain-0.0.87/samples/invoice-dispute-investigation-agent → uipath_langchain-0.0.89/src/uipath_langchain/chat/utils}/__init__.py +0 -0
- {uipath_langchain-0.0.87 → uipath_langchain-0.0.89}/src/uipath_langchain/chat/utils/_chat_types.py +0 -0
- {uipath_langchain-0.0.87 → uipath_langchain-0.0.89}/src/uipath_langchain/embeddings/__init__.py +0 -0
- {uipath_langchain-0.0.87 → uipath_langchain-0.0.89}/src/uipath_langchain/embeddings/embeddings.py +0 -0
- {uipath_langchain-0.0.87 → uipath_langchain-0.0.89}/src/uipath_langchain/middlewares.py +0 -0
- {uipath_langchain-0.0.87 → uipath_langchain-0.0.89}/src/uipath_langchain/retrievers/__init__.py +0 -0
- {uipath_langchain-0.0.87 → uipath_langchain-0.0.89}/src/uipath_langchain/retrievers/context_grounding_retriever.py +0 -0
- {uipath_langchain-0.0.87 → uipath_langchain-0.0.89}/src/uipath_langchain/tracers/AsyncUiPathTracer.py +0 -0
- {uipath_langchain-0.0.87 → uipath_langchain-0.0.89}/src/uipath_langchain/tracers/UiPathTracer.py +0 -0
- {uipath_langchain-0.0.87 → uipath_langchain-0.0.89}/src/uipath_langchain/tracers/__init__.py +0 -0
- {uipath_langchain-0.0.87 → uipath_langchain-0.0.89}/src/uipath_langchain/tracers/_events.py +0 -0
- {uipath_langchain-0.0.87 → uipath_langchain-0.0.89}/src/uipath_langchain/tracers/_instrument_traceable.py +0 -0
- {uipath_langchain-0.0.87 → uipath_langchain-0.0.89}/src/uipath_langchain/tracers/_utils.py +0 -0
- {uipath_langchain-0.0.87 → uipath_langchain-0.0.89}/src/uipath_langchain/utils/__init__.py +0 -0
- {uipath_langchain-0.0.87 → uipath_langchain-0.0.89}/src/uipath_langchain/utils/_request_mixin.py +0 -0
- {uipath_langchain-0.0.87 → uipath_langchain-0.0.89}/src/uipath_langchain/utils/_settings.py +0 -0
- {uipath_langchain-0.0.87 → uipath_langchain-0.0.89}/src/uipath_langchain/utils/_sleep_policy.py +0 -0
- {uipath_langchain-0.0.87 → uipath_langchain-0.0.89}/src/uipath_langchain/vectorstores/context_grounding_vectorstore.py +0 -0
- {uipath_langchain-0.0.87 → uipath_langchain-0.0.89}/tests/conftest.py +0 -0
- {uipath_langchain-0.0.87 → uipath_langchain-0.0.89}/tests/test_dummy.py +0 -0
- {uipath_langchain-0.0.87 → uipath_langchain-0.0.89}/tests/test_langchain_client.py +0 -0
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
name: Commit Lint
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
pull_request:
|
|
5
|
+
branches:
|
|
6
|
+
- main
|
|
7
|
+
|
|
8
|
+
jobs:
|
|
9
|
+
commit-lint:
|
|
10
|
+
runs-on: ubuntu-latest
|
|
11
|
+
steps:
|
|
12
|
+
- name: Checkout
|
|
13
|
+
uses: actions/checkout@v2
|
|
14
|
+
with:
|
|
15
|
+
fetch-depth: 0
|
|
16
|
+
|
|
17
|
+
- name: Lint commits
|
|
18
|
+
uses: wagoid/commitlint-github-action@v3
|
|
19
|
+
|
|
20
|
+
- name: Block fixup commits
|
|
21
|
+
if: ${{ github.event_name != 'merge_group' }}
|
|
22
|
+
uses: 13rac1/block-fixup-merge-action@v2.0.0
|
|
23
|
+
|
|
24
|
+
- name: Block Merge Commits
|
|
25
|
+
if: ${{ github.event_name != 'merge_group' }}
|
|
26
|
+
uses: Morishiri/block-merge-commits-action@v1.0.1
|
|
27
|
+
with:
|
|
28
|
+
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: uipath-langchain
|
|
3
|
-
Version: 0.0.
|
|
3
|
+
Version: 0.0.89
|
|
4
4
|
Summary: UiPath Langchain
|
|
5
5
|
Project-URL: Homepage, https://uipath.com
|
|
6
|
-
Project-URL: Repository, https://github.com/UiPath/uipath-python
|
|
6
|
+
Project-URL: Repository, https://github.com/UiPath/uipath-langchain-python
|
|
7
7
|
Maintainer-email: Marius Cosareanu <marius.cosareanu@uipath.com>, Cristian Pufu <cristian.pufu@uipath.com>
|
|
8
8
|
License-File: LICENSE
|
|
9
9
|
Classifier: Development Status :: 3 - Alpha
|
|
10
10
|
Classifier: Intended Audience :: Developers
|
|
11
|
-
Classifier: Programming Language :: Python :: 3.9
|
|
12
11
|
Classifier: Programming Language :: Python :: 3.10
|
|
13
12
|
Classifier: Programming Language :: Python :: 3.11
|
|
14
13
|
Classifier: Programming Language :: Python :: 3.12
|
|
@@ -26,7 +25,7 @@ Requires-Dist: pydantic-settings>=2.6.0
|
|
|
26
25
|
Requires-Dist: python-dotenv>=1.0.1
|
|
27
26
|
Requires-Dist: requests>=2.23.3
|
|
28
27
|
Requires-Dist: types-requests>=2.32.0.20241016
|
|
29
|
-
Requires-Dist: uipath
|
|
28
|
+
Requires-Dist: uipath<2.1.0,>=2.0.7
|
|
30
29
|
Provides-Extra: langchain
|
|
31
30
|
Description-Content-Type: text/markdown
|
|
32
31
|
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
# UiPath chat models
|
|
2
|
+
|
|
3
|
+
UiPath provides two chat models `UiPathAzureChatOpenAI` and `UiPathNormalizedChatModel`. These are compatible with langgraph as drop in replacements. You do not need to add tokens from OpenAI or Anthropic, usage of these chat models will consume `AI Units` on your account.
|
|
4
|
+
|
|
5
|
+
## UiPathAzureChatOpenAI
|
|
6
|
+
|
|
7
|
+
`UiPathAzureChatOpenAI` can be used as a drop in replacement for `ChatOpenAI` or `AzureChatOpenAI`.
|
|
8
|
+
|
|
9
|
+
### Example usage
|
|
10
|
+
|
|
11
|
+
Here is a code that is using `ChatOpenAI`
|
|
12
|
+
```python
|
|
13
|
+
from langchain_openai import ChatOpenAI
|
|
14
|
+
|
|
15
|
+
llm = ChatOpenAI(
|
|
16
|
+
model="gpt-4o",
|
|
17
|
+
temperature=0,
|
|
18
|
+
max_tokens=None,
|
|
19
|
+
timeout=None,
|
|
20
|
+
max_retries=2,
|
|
21
|
+
# api_key="...", # if you prefer to pass api key in directly instaed of using env vars
|
|
22
|
+
# base_url="...",
|
|
23
|
+
# organization="...",
|
|
24
|
+
# other params...
|
|
25
|
+
)
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
You can simply change `ChatOpenAi` with `UiPathAzureChatOpenAI`, you don't have to provide an `OPEN_AI_TOKEN`
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
```python
|
|
32
|
+
from uipath_langchain.chat.models import UiPathAzureChatOpenAI
|
|
33
|
+
|
|
34
|
+
llm = UiPathAzureChatOpenAI(
|
|
35
|
+
model="gpt-4o",
|
|
36
|
+
temperature=0,
|
|
37
|
+
max_tokens=None,
|
|
38
|
+
timeout=None,
|
|
39
|
+
max_retries=2,
|
|
40
|
+
# other params...
|
|
41
|
+
)
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
Currently the following models can be used with `UiPathAzureChatOpenAI` (this list can be updated in the future):
|
|
45
|
+
- `gpt-4`, `gpt-4-1106-Preview`, `gpt-4-32k`, `gpt-4-turbo-2024-04-09`, `gpt-4-vision-preview`, `gpt-4o-2024-05-13`, `gpt-4o-2024-08-06`, `gpt-4o-mini-2024-07-18`, `o3-mini-2025-01-31`
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
## UiPathNormalizedChatModel
|
|
49
|
+
|
|
50
|
+
`UiPathNormalizedChatModel` is a more versatile clas that can suport models from diferent vendors including OpenAI.
|
|
51
|
+
|
|
52
|
+
### Example usage
|
|
53
|
+
|
|
54
|
+
Given the following code:
|
|
55
|
+
|
|
56
|
+
```python
|
|
57
|
+
from langchain_anthropic import ChatAnthropic
|
|
58
|
+
|
|
59
|
+
llm = ChatAnthropic(
|
|
60
|
+
model="claude-3-5-sonnet-20240620",
|
|
61
|
+
temperature=0,
|
|
62
|
+
max_tokens=1024,
|
|
63
|
+
timeout=None,
|
|
64
|
+
max_retries=2,
|
|
65
|
+
# other params...
|
|
66
|
+
)
|
|
67
|
+
```
|
|
68
|
+
|
|
69
|
+
You can replace it with `UiPathNormalizedChatModel` like so:
|
|
70
|
+
|
|
71
|
+
```python
|
|
72
|
+
from uipath_langchain.chat.models import UiPathNormalizedChatModel
|
|
73
|
+
|
|
74
|
+
llm = UiPathNormalizedChatModel(
|
|
75
|
+
model="anthropic.claude-3-opus-20240229-v1:0",
|
|
76
|
+
temperature=0,
|
|
77
|
+
max_tokens=1024,
|
|
78
|
+
timeout=None,
|
|
79
|
+
max_retries=2,
|
|
80
|
+
# other params...
|
|
81
|
+
)
|
|
82
|
+
```
|
|
83
|
+
|
|
84
|
+
Currently the following models can be used with `UiPathAzureChatOpenAI` (this list can be updated in the future):
|
|
85
|
+
- `anthropic.claude-3-5-sonnet-20240620-v1:0`, `anthropic.claude-3-5-sonnet-20241022-v2:0`, `anthropic.claude-3-7-sonnet-20250219-v1:0`, `anthropic.claude-3-haiku-20240307-v1:0`, `gemini-1.5-pro-001`, `gemini-2.0-flash-001`, `gpt-4o-2024-05-13`, `gpt-4o-2024-08-06`, `gpt-4o-2024-11-20`, `gpt-4o-mini-2024-07-18`, `o3-mini-2025-01-31`
|
|
86
|
+
|
|
87
|
+
### Note
|
|
88
|
+
|
|
89
|
+
Please note that that you may get errors related to data residency, as some models are not available on all regions.
|
|
90
|
+
|
|
91
|
+
Example: `[Enforced Region] No model configuration found for product uipath-python-sdk in EU using model anthropic.claude-3-opus-20240229-v1:0`.
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
# ContextGroundingVectorStore
|
|
2
|
+
|
|
3
|
+
`ContextGroundingVectorStore` is a vector store implementation designed for context-aware document retrieval. It allows you to perform semantic searches and create retrieval chains with language models.
|
|
4
|
+
|
|
5
|
+
## Initialization
|
|
6
|
+
|
|
7
|
+
You can initialize the vector store with an index name:
|
|
8
|
+
|
|
9
|
+
```python
|
|
10
|
+
from uipath_langchain.vectorstores.context_grounding_vectorstore import ContextGroundingVectorStore
|
|
11
|
+
|
|
12
|
+
vectorstore = ContextGroundingVectorStore(index_name=index_name)
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
## Searching Documents
|
|
16
|
+
|
|
17
|
+
The vector store supports various search methods:
|
|
18
|
+
|
|
19
|
+
```python
|
|
20
|
+
# Perform semantic searches with distance scores
|
|
21
|
+
docs_with_scores = await vectorstore.asimilarity_search_with_score(query=query, k=5)
|
|
22
|
+
|
|
23
|
+
# Perform a similarity search with relevance scores
|
|
24
|
+
docs_with_relevance_scores = await vectorstore.asimilarity_search_with_relevance_scores(query=query, k=5)
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
## Creating a Retrieval Chain
|
|
28
|
+
|
|
29
|
+
You can integrate the vector store into a retrieval chain with a language model:
|
|
30
|
+
|
|
31
|
+
```python
|
|
32
|
+
# Run a retrieval chain
|
|
33
|
+
model = UiPathAzureChatOpenAI(model="gpt-4o-2024-08-06", max_retries=3)
|
|
34
|
+
retrieval_chain = create_retrieval_chain(vectorstore=vectorstore, model=model)
|
|
35
|
+
|
|
36
|
+
query = "What is the ECCN for a laptop?"
|
|
37
|
+
result = retrieval_chain(query)
|
|
38
|
+
```
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
# Context Grounding Retriever
|
|
2
|
+
|
|
3
|
+
The `ContextGroundingRetriever` is a document retrieval system that uses vector search to efficiently find and retrieve relevant information from your document store.
|
|
4
|
+
|
|
5
|
+
## Overview
|
|
6
|
+
|
|
7
|
+
`ContextGroundingRetriever` allows you to:
|
|
8
|
+
- Search through indexed documents using natural language queries
|
|
9
|
+
- Ground LLM responses in your organization's specific information
|
|
10
|
+
- Retrieve context-relevant documents for various applications
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
## Basic Usage
|
|
14
|
+
|
|
15
|
+
Create a simple retriever by specifying an index name:
|
|
16
|
+
|
|
17
|
+
```python
|
|
18
|
+
from uipath_langchain.retrievers import ContextGroundingRetriever
|
|
19
|
+
|
|
20
|
+
retriever = ContextGroundingRetriever(index_name = "Company Policy Context")
|
|
21
|
+
pprint(retriever.invoke("What is the company policy on remote work?"))
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
## Integration with LangChain Tools
|
|
25
|
+
|
|
26
|
+
You can easily integrate the retriever with LangChain's tool system:
|
|
27
|
+
|
|
28
|
+
```python
|
|
29
|
+
from langchain.tools.retriever import create_retriever_tool
|
|
30
|
+
from uipath_langchain.retrievers import ContextGroundingRetriever
|
|
31
|
+
|
|
32
|
+
retriever = ContextGroundingRetriever(index_name = "Company Policy Context")
|
|
33
|
+
retriever_tool = create_retriever_tool(
|
|
34
|
+
retriever,
|
|
35
|
+
"ContextforInvoiceDisputeInvestigation",
|
|
36
|
+
"""
|
|
37
|
+
Use this tool to search the company internal documents for information about policies around dispute resolution.
|
|
38
|
+
Use a meaningful query to load relevant information from the documents. Save the citation for later use.
|
|
39
|
+
"""
|
|
40
|
+
)
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
## Advanced Usage
|
|
45
|
+
|
|
46
|
+
For complex applications, the retriever can be combined with other LangChain components to create robust document QA systems, agents, or knowledge bases.
|
|
@@ -9,7 +9,9 @@ UiPath platform and the Langchain coded agents.
|
|
|
9
9
|
|
|
10
10
|
### 1. InvokeProcess
|
|
11
11
|
|
|
12
|
-
The `InvokeProcess` model is utilized to invoke a process within UiPath cloud platform.
|
|
12
|
+
The `InvokeProcess` model is utilized to invoke a process within the UiPath cloud platform.
|
|
13
|
+
This process can be of various types, including API workflows, Agents or RPA automation.
|
|
14
|
+
Upon completion of the invoked process, the current agent will automatically resume execution.
|
|
13
15
|
|
|
14
16
|
#### Attributes:
|
|
15
17
|
- **name** (str): The name of the process to invoke.
|
|
@@ -20,6 +22,8 @@ The `InvokeProcess` model is utilized to invoke a process within UiPath cloud pl
|
|
|
20
22
|
process_output = interrupt(InvokeProcess(name="MyProcess", input_arguments={"arg1": "value1"}))
|
|
21
23
|
```
|
|
22
24
|
|
|
25
|
+
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#L184) 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.
|
|
26
|
+
|
|
23
27
|
---
|
|
24
28
|
|
|
25
29
|
### 2. WaitJob
|
|
Binary file
|
|
Binary file
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "uipath-langchain"
|
|
3
|
-
version = "0.0.
|
|
3
|
+
version = "0.0.89"
|
|
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
|
|
8
|
+
"uipath>=2.0.7, <2.1.0",
|
|
9
9
|
"langgraph>=0.2.70",
|
|
10
10
|
"langchain-core>=0.3.34",
|
|
11
11
|
"langgraph-checkpoint-sqlite>=2.0.3",
|
|
@@ -23,7 +23,6 @@ classifiers = [
|
|
|
23
23
|
"Development Status :: 3 - Alpha",
|
|
24
24
|
"Intended Audience :: Developers",
|
|
25
25
|
"Topic :: Software Development :: Build Tools",
|
|
26
|
-
"Programming Language :: Python :: 3.9",
|
|
27
26
|
"Programming Language :: Python :: 3.10",
|
|
28
27
|
"Programming Language :: Python :: 3.11",
|
|
29
28
|
"Programming Language :: Python :: 3.12",
|
|
@@ -38,7 +37,7 @@ register = "uipath_langchain.middlewares:register_middleware"
|
|
|
38
37
|
|
|
39
38
|
[project.urls]
|
|
40
39
|
Homepage = "https://uipath.com"
|
|
41
|
-
Repository = "https://github.com/UiPath/uipath-python"
|
|
40
|
+
Repository = "https://github.com/UiPath/uipath-langchain-python"
|
|
42
41
|
|
|
43
42
|
[build-system]
|
|
44
43
|
requires = ["hatchling"]
|
{uipath_langchain-0.0.87 → uipath_langchain-0.0.89}/samples/company-research-agent/pyproject.toml
RENAMED
|
@@ -5,14 +5,13 @@ description = "Company research agent with Tavily web search"
|
|
|
5
5
|
authors = [
|
|
6
6
|
{ name = "John Doe" }
|
|
7
7
|
]
|
|
8
|
-
requires-python = ">=3.
|
|
8
|
+
requires-python = ">=3.10"
|
|
9
9
|
dependencies = [
|
|
10
10
|
"langgraph>=0.2.55",
|
|
11
11
|
"langchain-community>=0.3.9",
|
|
12
12
|
"langchain-anthropic>=0.3.8",
|
|
13
13
|
"tavily-python>=0.5.0",
|
|
14
|
-
"uipath-
|
|
15
|
-
"uipath-langchain==0.0.81"
|
|
14
|
+
"uipath-langchain==0.0.88"
|
|
16
15
|
]
|
|
17
16
|
|
|
18
17
|
[project.optional-dependencies]
|