uipath-langchain 0.0.120__tar.gz → 0.0.155__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.
- {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/.github/workflows/ci.yml +1 -1
- uipath_langchain-0.0.155/.github/workflows/integration_tests.yml +74 -0
- {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/.github/workflows/publish-dev.yml +29 -31
- {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/.gitignore +2 -1
- uipath_langchain-0.0.155/.pipelines/security-scans.yml +53 -0
- uipath_langchain-0.0.155/.pipelines/variables.yml +2 -0
- {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/PKG-INFO +5 -4
- {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/docs/human_in_the_loop.md +14 -6
- {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/docs/quick_start.md +16 -17
- {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/pyproject.toml +5 -8
- uipath_langchain-0.0.155/samples/RAG-quiz-generator/.agent/CLI_REFERENCE.md +565 -0
- uipath_langchain-0.0.155/samples/RAG-quiz-generator/.agent/REQUIRED_STRUCTURE.md +92 -0
- uipath_langchain-0.0.155/samples/RAG-quiz-generator/.agent/SDK_REFERENCE.md +480 -0
- uipath_langchain-0.0.155/samples/RAG-quiz-generator/AGENTS.md +21 -0
- uipath_langchain-0.0.155/samples/RAG-quiz-generator/CLAUDE.md +1 -0
- uipath_langchain-0.0.155/samples/RAG-quiz-generator/bindings.json +26 -0
- uipath_langchain-0.0.155/samples/RAG-quiz-generator/entry-points.json +1153 -0
- {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/samples/RAG-quiz-generator/pyproject.toml +7 -3
- {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/samples/RAG-quiz-generator/src/agents/researcher-RAG-agent.py +2 -2
- uipath_langchain-0.0.155/samples/RAG-quiz-generator/uipath.json +1 -0
- uipath_langchain-0.0.155/samples/RAG-quiz-generator/uv.lock +2714 -0
- {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/samples/README.md +21 -0
- uipath_langchain-0.0.155/samples/calculator-agent/.agent/CLI_REFERENCE.md +565 -0
- uipath_langchain-0.0.155/samples/calculator-agent/.agent/REQUIRED_STRUCTURE.md +92 -0
- uipath_langchain-0.0.155/samples/calculator-agent/.agent/SDK_REFERENCE.md +480 -0
- uipath_langchain-0.0.155/samples/calculator-agent/AGENTS.md +21 -0
- uipath_langchain-0.0.155/samples/calculator-agent/CLAUDE.md +1 -0
- uipath_langchain-0.0.155/samples/calculator-agent/README.md +43 -0
- {uipath_langchain-0.0.120/testcases/simple-local-mcp → uipath_langchain-0.0.155/samples/calculator-agent}/agent.mermaid +3 -6
- uipath_langchain-0.0.155/samples/calculator-agent/bindings.json +4 -0
- uipath_langchain-0.0.155/samples/calculator-agent/entry-points.json +50 -0
- uipath_langchain-0.0.155/samples/calculator-agent/graph.py +49 -0
- {uipath_langchain-0.0.120/testcases/multi-agent-supervisor-researcher-coder → uipath_langchain-0.0.155/samples/calculator-agent}/pyproject.toml +8 -13
- uipath_langchain-0.0.155/samples/calculator-agent/uipath.json +1 -0
- uipath_langchain-0.0.155/samples/calculator-agent/uv.lock +3228 -0
- uipath_langchain-0.0.155/samples/chat-agent/.agent/CLI_REFERENCE.md +565 -0
- uipath_langchain-0.0.155/samples/chat-agent/.agent/REQUIRED_STRUCTURE.md +92 -0
- uipath_langchain-0.0.155/samples/chat-agent/.agent/SDK_REFERENCE.md +480 -0
- uipath_langchain-0.0.155/samples/chat-agent/AGENTS.md +21 -0
- uipath_langchain-0.0.155/samples/chat-agent/CLAUDE.md +1 -0
- uipath_langchain-0.0.155/samples/chat-agent/README.md +30 -0
- uipath_langchain-0.0.155/samples/chat-agent/bindings.json +4 -0
- uipath_langchain-0.0.155/samples/chat-agent/entry-points.json +146 -0
- uipath_langchain-0.0.155/samples/chat-agent/graph.py +31 -0
- uipath_langchain-0.0.155/samples/chat-agent/pyproject.toml +48 -0
- uipath_langchain-0.0.155/samples/chat-agent/uipath.json +1 -0
- uipath_langchain-0.0.155/samples/chat-agent/uv.lock +3307 -0
- uipath_langchain-0.0.155/samples/company-research-agent/.agent/CLI_REFERENCE.md +565 -0
- uipath_langchain-0.0.155/samples/company-research-agent/.agent/REQUIRED_STRUCTURE.md +92 -0
- uipath_langchain-0.0.155/samples/company-research-agent/.agent/SDK_REFERENCE.md +480 -0
- uipath_langchain-0.0.155/samples/company-research-agent/AGENTS.md +21 -0
- uipath_langchain-0.0.155/samples/company-research-agent/CLAUDE.md +1 -0
- uipath_langchain-0.0.155/samples/company-research-agent/README.md +46 -0
- uipath_langchain-0.0.155/samples/company-research-agent/agent.mermaid +23 -0
- uipath_langchain-0.0.155/samples/company-research-agent/bindings.json +4 -0
- uipath_langchain-0.0.155/samples/company-research-agent/entry-points.json +34 -0
- {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/samples/company-research-agent/graph.py +19 -4
- uipath_langchain-0.0.155/samples/company-research-agent/langgraph.json +7 -0
- {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/samples/company-research-agent/pyproject.toml +10 -5
- uipath_langchain-0.0.155/samples/company-research-agent/uipath.json +1 -0
- uipath_langchain-0.0.155/samples/company-research-agent/uv.lock +3307 -0
- uipath_langchain-0.0.155/samples/debug-agent/.agent/CLI_REFERENCE.md +565 -0
- uipath_langchain-0.0.155/samples/debug-agent/.agent/REQUIRED_STRUCTURE.md +92 -0
- uipath_langchain-0.0.155/samples/debug-agent/.agent/SDK_REFERENCE.md +524 -0
- uipath_langchain-0.0.155/samples/debug-agent/AGENTS.md +21 -0
- uipath_langchain-0.0.155/samples/debug-agent/CLAUDE.md +1 -0
- uipath_langchain-0.0.155/samples/debug-agent/README.md +73 -0
- uipath_langchain-0.0.155/samples/debug-agent/agent.mermaid +33 -0
- uipath_langchain-0.0.155/samples/debug-agent/bindings.json +4 -0
- uipath_langchain-0.0.155/samples/debug-agent/entry-points.json +84 -0
- uipath_langchain-0.0.155/samples/debug-agent/graph.py +199 -0
- uipath_langchain-0.0.155/samples/debug-agent/langgraph.json +7 -0
- uipath_langchain-0.0.155/samples/debug-agent/pyproject.toml +44 -0
- uipath_langchain-0.0.155/samples/debug-agent/uipath.json +1 -0
- uipath_langchain-0.0.155/samples/debug-agent/uv.lock +2716 -0
- uipath_langchain-0.0.155/samples/email-organizer-agent/.agent/CLI_REFERENCE.md +565 -0
- uipath_langchain-0.0.155/samples/email-organizer-agent/.agent/REQUIRED_STRUCTURE.md +92 -0
- uipath_langchain-0.0.155/samples/email-organizer-agent/.agent/SDK_REFERENCE.md +480 -0
- uipath_langchain-0.0.155/samples/email-organizer-agent/.env.template +4 -0
- uipath_langchain-0.0.155/samples/email-organizer-agent/.python-version +1 -0
- uipath_langchain-0.0.155/samples/email-organizer-agent/.vscode/launch.json +16 -0
- uipath_langchain-0.0.155/samples/email-organizer-agent/AGENTS.md +21 -0
- uipath_langchain-0.0.155/samples/email-organizer-agent/CLAUDE.md +1 -0
- uipath_langchain-0.0.155/samples/email-organizer-agent/README.md +56 -0
- uipath_langchain-0.0.155/samples/email-organizer-agent/agent.mermaid +27 -0
- uipath_langchain-0.0.155/samples/email-organizer-agent/bindings.json +4 -0
- uipath_langchain-0.0.155/samples/email-organizer-agent/entry-points.json +52 -0
- uipath_langchain-0.0.155/samples/email-organizer-agent/input.json +4 -0
- {uipath_langchain-0.0.120/testcases/multi-agent-supervisor-researcher-coder → uipath_langchain-0.0.155/samples/email-organizer-agent}/langgraph.json +1 -1
- uipath_langchain-0.0.155/samples/email-organizer-agent/pyproject.toml +60 -0
- uipath_langchain-0.0.155/samples/email-organizer-agent/src/email_organizer/__init__.py +6 -0
- uipath_langchain-0.0.155/samples/email-organizer-agent/src/email_organizer/main.py +733 -0
- uipath_langchain-0.0.155/samples/email-organizer-agent/src/email_organizer/outlook_client.py +190 -0
- uipath_langchain-0.0.155/samples/email-organizer-agent/uipath.json +1 -0
- uipath_langchain-0.0.155/samples/email-organizer-agent/uv.lock +3277 -0
- uipath_langchain-0.0.155/samples/hitl-inbox-server/.agent/CLI_REFERENCE.md +565 -0
- uipath_langchain-0.0.155/samples/hitl-inbox-server/.agent/REQUIRED_STRUCTURE.md +64 -0
- uipath_langchain-0.0.155/samples/hitl-inbox-server/.agent/SDK_REFERENCE.md +480 -0
- uipath_langchain-0.0.155/samples/hitl-inbox-server/AGENTS.md +21 -0
- uipath_langchain-0.0.155/samples/hitl-inbox-server/CLAUDE.md +1 -0
- uipath_langchain-0.0.155/samples/hitl-inbox-server/README.md +63 -0
- uipath_langchain-0.0.155/samples/hitl-inbox-server/bindings.json +21 -0
- uipath_langchain-0.0.155/samples/hitl-inbox-server/entry-points.json +15 -0
- {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/samples/hitl-inbox-server/main.py +4 -1
- {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/samples/hitl-inbox-server/pyproject.toml +5 -2
- uipath_langchain-0.0.155/samples/hitl-inbox-server/uipath.json +1 -0
- uipath_langchain-0.0.155/samples/hitl-inbox-server/uv.lock +2358 -0
- uipath_langchain-0.0.155/samples/multi-agent-planner-researcher-coder-distributed/.agent/CLI_REFERENCE.md +565 -0
- uipath_langchain-0.0.155/samples/multi-agent-planner-researcher-coder-distributed/.agent/REQUIRED_STRUCTURE.md +92 -0
- uipath_langchain-0.0.155/samples/multi-agent-planner-researcher-coder-distributed/.agent/SDK_REFERENCE.md +480 -0
- {uipath_langchain-0.0.120/testcases/company-research-agent → uipath_langchain-0.0.155/samples/multi-agent-planner-researcher-coder-distributed}/.env.example +1 -2
- uipath_langchain-0.0.155/samples/multi-agent-planner-researcher-coder-distributed/AGENTS.md +21 -0
- uipath_langchain-0.0.155/samples/multi-agent-planner-researcher-coder-distributed/CLAUDE.md +1 -0
- {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/samples/multi-agent-planner-researcher-coder-distributed/README.md +2 -0
- uipath_langchain-0.0.155/samples/multi-agent-planner-researcher-coder-distributed/bindings.json +4 -0
- uipath_langchain-0.0.155/samples/multi-agent-planner-researcher-coder-distributed/coder.mermaid +23 -0
- uipath_langchain-0.0.155/samples/multi-agent-planner-researcher-coder-distributed/entry-points.json +2158 -0
- {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/samples/multi-agent-planner-researcher-coder-distributed/planner.mermaid +3 -3
- {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/samples/multi-agent-planner-researcher-coder-distributed/pyproject.toml +7 -3
- uipath_langchain-0.0.155/samples/multi-agent-planner-researcher-coder-distributed/researcher.mermaid +23 -0
- {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/samples/multi-agent-planner-researcher-coder-distributed/src/multi-agent-distributed/planner.py +0 -1
- {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/samples/multi-agent-planner-researcher-coder-distributed/src/multi-agent-distributed/researcher.py +2 -2
- uipath_langchain-0.0.155/samples/multi-agent-planner-researcher-coder-distributed/uipath.json +1 -0
- uipath_langchain-0.0.155/samples/multi-agent-planner-researcher-coder-distributed/uv.lock +2794 -0
- uipath_langchain-0.0.155/samples/multi-agent-supervisor-researcher-coder/.agent/CLI_REFERENCE.md +565 -0
- uipath_langchain-0.0.155/samples/multi-agent-supervisor-researcher-coder/.agent/REQUIRED_STRUCTURE.md +92 -0
- uipath_langchain-0.0.155/samples/multi-agent-supervisor-researcher-coder/.agent/SDK_REFERENCE.md +480 -0
- uipath_langchain-0.0.155/samples/multi-agent-supervisor-researcher-coder/AGENTS.md +21 -0
- uipath_langchain-0.0.155/samples/multi-agent-supervisor-researcher-coder/CLAUDE.md +1 -0
- {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/samples/multi-agent-supervisor-researcher-coder/README.md +23 -22
- uipath_langchain-0.0.155/samples/multi-agent-supervisor-researcher-coder/agent.mermaid +40 -0
- uipath_langchain-0.0.155/samples/multi-agent-supervisor-researcher-coder/bindings.json +4 -0
- uipath_langchain-0.0.120/testcases/multi-agent-supervisor-researcher-coder/uipath.json → uipath_langchain-0.0.155/samples/multi-agent-supervisor-researcher-coder/entry-points.json +6 -9
- {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/samples/multi-agent-supervisor-researcher-coder/graph.py +16 -5
- uipath_langchain-0.0.155/samples/multi-agent-supervisor-researcher-coder/langgraph.json +7 -0
- {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/samples/multi-agent-supervisor-researcher-coder/pyproject.toml +10 -5
- uipath_langchain-0.0.155/samples/multi-agent-supervisor-researcher-coder/uipath.json +1 -0
- uipath_langchain-0.0.155/samples/multi-agent-supervisor-researcher-coder/uv.lock +3322 -0
- uipath_langchain-0.0.155/samples/oauth-external-apps-agent/.agent/CLI_REFERENCE.md +565 -0
- uipath_langchain-0.0.155/samples/oauth-external-apps-agent/.agent/REQUIRED_STRUCTURE.md +92 -0
- uipath_langchain-0.0.155/samples/oauth-external-apps-agent/.agent/SDK_REFERENCE.md +480 -0
- uipath_langchain-0.0.155/samples/oauth-external-apps-agent/.env.example +0 -0
- uipath_langchain-0.0.155/samples/oauth-external-apps-agent/AGENTS.md +21 -0
- uipath_langchain-0.0.155/samples/oauth-external-apps-agent/CLAUDE.md +1 -0
- uipath_langchain-0.0.155/samples/oauth-external-apps-agent/README.md +84 -0
- uipath_langchain-0.0.155/samples/oauth-external-apps-agent/agent.mermaid +17 -0
- uipath_langchain-0.0.155/samples/oauth-external-apps-agent/bindings.json +4 -0
- uipath_langchain-0.0.155/samples/oauth-external-apps-agent/entry-points.json +32 -0
- uipath_langchain-0.0.155/samples/oauth-external-apps-agent/input.json +1 -0
- uipath_langchain-0.0.155/samples/oauth-external-apps-agent/langgraph.json +7 -0
- uipath_langchain-0.0.155/samples/oauth-external-apps-agent/main.py +95 -0
- uipath_langchain-0.0.155/samples/oauth-external-apps-agent/pyproject.toml +20 -0
- uipath_langchain-0.0.155/samples/oauth-external-apps-agent/uipath.json +1 -0
- uipath_langchain-0.0.155/samples/oauth-external-apps-agent/uv.lock +3503 -0
- uipath_langchain-0.0.155/samples/retrieval-chain/.agent/CLI_REFERENCE.md +565 -0
- uipath_langchain-0.0.155/samples/retrieval-chain/.agent/REQUIRED_STRUCTURE.md +64 -0
- uipath_langchain-0.0.155/samples/retrieval-chain/.agent/SDK_REFERENCE.md +480 -0
- uipath_langchain-0.0.155/samples/retrieval-chain/AGENTS.md +21 -0
- uipath_langchain-0.0.155/samples/retrieval-chain/CLAUDE.md +1 -0
- uipath_langchain-0.0.155/samples/retrieval-chain/bindings.json +4 -0
- uipath_langchain-0.0.155/samples/retrieval-chain/entry-points.json +33 -0
- {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/samples/retrieval-chain/main.py +16 -9
- {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/samples/retrieval-chain/pyproject.toml +7 -3
- uipath_langchain-0.0.155/samples/retrieval-chain/uipath.json +1 -0
- uipath_langchain-0.0.155/samples/retrieval-chain/uv.lock +2718 -0
- {uipath_langchain-0.0.120/testcases/simple-local-mcp → uipath_langchain-0.0.155/samples/simple-deepagent}/.env.example +1 -2
- uipath_langchain-0.0.155/samples/simple-deepagent/README.md +55 -0
- uipath_langchain-0.0.155/samples/simple-deepagent/bindings.json +4 -0
- uipath_langchain-0.0.155/samples/simple-deepagent/graph.py +88 -0
- uipath_langchain-0.0.155/samples/simple-deepagent/langgraph.json +7 -0
- uipath_langchain-0.0.155/samples/simple-deepagent/pyproject.toml +47 -0
- uipath_langchain-0.0.155/samples/simple-deepagent/uipath.json +2136 -0
- uipath_langchain-0.0.155/samples/simple-deepagent/uv.lock +3314 -0
- uipath_langchain-0.0.155/samples/simple-local-mcp/.agent/CLI_REFERENCE.md +565 -0
- uipath_langchain-0.0.155/samples/simple-local-mcp/.agent/REQUIRED_STRUCTURE.md +92 -0
- uipath_langchain-0.0.155/samples/simple-local-mcp/.agent/SDK_REFERENCE.md +480 -0
- uipath_langchain-0.0.155/samples/simple-local-mcp/AGENTS.md +21 -0
- uipath_langchain-0.0.155/samples/simple-local-mcp/CLAUDE.md +1 -0
- uipath_langchain-0.0.155/samples/simple-local-mcp/bindings.json +4 -0
- uipath_langchain-0.0.155/samples/simple-local-mcp/entry-points.json +146 -0
- uipath_langchain-0.0.155/samples/simple-local-mcp/pyproject.toml +17 -0
- {uipath_langchain-0.0.120/testcases → uipath_langchain-0.0.155/samples}/simple-local-mcp/src/simple-local-mcp/math_server.py +11 -2
- {uipath_langchain-0.0.120/testcases → uipath_langchain-0.0.155/samples}/simple-local-mcp/src/simple-local-mcp/weather_server.py +6 -0
- uipath_langchain-0.0.155/samples/simple-local-mcp/uipath.json +1 -0
- uipath_langchain-0.0.155/samples/simple-local-mcp/uv.lock +3449 -0
- uipath_langchain-0.0.155/samples/simple-remote-mcp/.agent/CLI_REFERENCE.md +565 -0
- uipath_langchain-0.0.155/samples/simple-remote-mcp/.agent/REQUIRED_STRUCTURE.md +92 -0
- uipath_langchain-0.0.155/samples/simple-remote-mcp/.agent/SDK_REFERENCE.md +480 -0
- uipath_langchain-0.0.155/samples/simple-remote-mcp/AGENTS.md +21 -0
- uipath_langchain-0.0.155/samples/simple-remote-mcp/CLAUDE.md +1 -0
- uipath_langchain-0.0.155/samples/simple-remote-mcp/agent.mermaid +14 -0
- uipath_langchain-0.0.155/samples/simple-remote-mcp/bindings.json +4 -0
- uipath_langchain-0.0.155/samples/simple-remote-mcp/entry-points.json +2102 -0
- uipath_langchain-0.0.155/samples/simple-remote-mcp/langgraph.json +7 -0
- {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/samples/simple-remote-mcp/main.py +15 -7
- {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/samples/simple-remote-mcp/pyproject.toml +7 -3
- uipath_langchain-0.0.155/samples/simple-remote-mcp/uipath.json +1 -0
- uipath_langchain-0.0.155/samples/simple-remote-mcp/uv.lock +3454 -0
- uipath_langchain-0.0.155/samples/ticket-classification/.agent/CLI_REFERENCE.md +565 -0
- uipath_langchain-0.0.155/samples/ticket-classification/.agent/REQUIRED_STRUCTURE.md +92 -0
- uipath_langchain-0.0.155/samples/ticket-classification/.agent/SDK_REFERENCE.md +480 -0
- uipath_langchain-0.0.155/samples/ticket-classification/AGENTS.md +21 -0
- uipath_langchain-0.0.155/samples/ticket-classification/CLAUDE.md +1 -0
- uipath_langchain-0.0.155/samples/ticket-classification/bindings.json +4 -0
- uipath_langchain-0.0.155/samples/ticket-classification/entry-points.json +43 -0
- {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/samples/ticket-classification/pyproject.toml +7 -3
- uipath_langchain-0.0.155/samples/ticket-classification/uipath.json +1 -0
- uipath_langchain-0.0.155/samples/ticket-classification/uv.lock +3332 -0
- uipath_langchain-0.0.155/src/uipath_langchain/_cli/_runtime/_conversation.py +306 -0
- uipath_langchain-0.0.155/src/uipath_langchain/_cli/_runtime/_exception.py +43 -0
- uipath_langchain-0.0.155/src/uipath_langchain/_cli/_runtime/_graph_resolver.py +141 -0
- uipath_langchain-0.0.155/src/uipath_langchain/_cli/_runtime/_input.py +147 -0
- uipath_langchain-0.0.155/src/uipath_langchain/_cli/_runtime/_memory.py +26 -0
- uipath_langchain-0.0.155/src/uipath_langchain/_cli/_runtime/_output.py +150 -0
- uipath_langchain-0.0.155/src/uipath_langchain/_cli/_runtime/_runtime.py +489 -0
- {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/src/uipath_langchain/_cli/_templates/main.py.template +10 -11
- {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/src/uipath_langchain/_cli/_utils/_graph.py +6 -13
- uipath_langchain-0.0.155/src/uipath_langchain/_cli/_utils/_schema.py +137 -0
- uipath_langchain-0.0.155/src/uipath_langchain/_cli/cli_debug.py +90 -0
- uipath_langchain-0.0.155/src/uipath_langchain/_cli/cli_dev.py +63 -0
- uipath_langchain-0.0.155/src/uipath_langchain/_cli/cli_eval.py +100 -0
- uipath_langchain-0.0.155/src/uipath_langchain/_cli/cli_init.py +309 -0
- {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/src/uipath_langchain/_cli/cli_new.py +0 -3
- uipath_langchain-0.0.155/src/uipath_langchain/_cli/cli_run.py +98 -0
- uipath_langchain-0.0.155/src/uipath_langchain/_resources/AGENTS.md +21 -0
- uipath_langchain-0.0.155/src/uipath_langchain/_resources/REQUIRED_STRUCTURE.md +92 -0
- {uipath_langchain-0.0.120/src/uipath_langchain/tracers → uipath_langchain-0.0.155/src/uipath_langchain/_tracing}/__init__.py +0 -2
- uipath_langchain-0.0.155/src/uipath_langchain/_tracing/_instrument_traceable.py +135 -0
- {uipath_langchain-0.0.120/src/uipath_langchain/tracers → uipath_langchain-0.0.155/src/uipath_langchain/_tracing}/_utils.py +0 -24
- uipath_langchain-0.0.155/src/uipath_langchain/_utils/__init__.py +3 -0
- {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/src/uipath_langchain/_utils/_request_mixin.py +53 -15
- uipath_langchain-0.0.155/src/uipath_langchain/agent/react/__init__.py +13 -0
- uipath_langchain-0.0.155/src/uipath_langchain/agent/react/agent.py +100 -0
- uipath_langchain-0.0.155/src/uipath_langchain/agent/react/constants.py +2 -0
- uipath_langchain-0.0.155/src/uipath_langchain/agent/react/exceptions.py +11 -0
- uipath_langchain-0.0.155/src/uipath_langchain/agent/react/init_node.py +20 -0
- uipath_langchain-0.0.155/src/uipath_langchain/agent/react/llm_node.py +43 -0
- uipath_langchain-0.0.155/src/uipath_langchain/agent/react/router.py +97 -0
- uipath_langchain-0.0.155/src/uipath_langchain/agent/react/terminate_node.py +53 -0
- uipath_langchain-0.0.155/src/uipath_langchain/agent/react/tools/__init__.py +7 -0
- uipath_langchain-0.0.155/src/uipath_langchain/agent/react/tools/tools.py +50 -0
- uipath_langchain-0.0.155/src/uipath_langchain/agent/react/types.py +27 -0
- uipath_langchain-0.0.155/src/uipath_langchain/agent/react/utils.py +49 -0
- uipath_langchain-0.0.155/src/uipath_langchain/agent/tools/__init__.py +15 -0
- uipath_langchain-0.0.155/src/uipath_langchain/agent/tools/context_tool.py +42 -0
- uipath_langchain-0.0.155/src/uipath_langchain/agent/tools/process_tool.py +50 -0
- uipath_langchain-0.0.155/src/uipath_langchain/agent/tools/tool_factory.py +39 -0
- uipath_langchain-0.0.155/src/uipath_langchain/agent/tools/tool_node.py +22 -0
- uipath_langchain-0.0.155/src/uipath_langchain/agent/tools/utils.py +11 -0
- {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/src/uipath_langchain/chat/models.py +160 -13
- {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/src/uipath_langchain/middlewares.py +6 -0
- uipath_langchain-0.0.155/src/uipath_langchain/py.typed +0 -0
- uipath_langchain-0.0.155/src/uipath_langchain/runtime_factories.py +20 -0
- {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/src/uipath_langchain/vectorstores/context_grounding_vectorstore.py +89 -109
- uipath_langchain-0.0.155/testcases/common/trace_assert.py +124 -0
- uipath_langchain-0.0.155/testcases/common/validate_output.sh +39 -0
- uipath_langchain-0.0.155/testcases/company-research-agent/expected_raw.json +861 -0
- uipath_langchain-0.0.155/testcases/company-research-agent/expected_traces.json +41 -0
- {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/testcases/company-research-agent/pyproject.toml +0 -1
- uipath_langchain-0.0.155/testcases/company-research-agent/run.sh +21 -0
- uipath_langchain-0.0.155/testcases/company-research-agent/src/assert.py +49 -0
- {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/testcases/company-research-agent/src/graph.py +15 -14
- {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/testcases/company-research-agent/uv.lock +1 -1
- uipath_langchain-0.0.155/testcases/init-flow/expected_traces.json +32 -0
- uipath_langchain-0.0.155/testcases/init-flow/input.json +3 -0
- uipath_langchain-0.0.155/testcases/init-flow/pyproject.toml +13 -0
- uipath_langchain-0.0.155/testcases/init-flow/run.sh +32 -0
- uipath_langchain-0.0.155/testcases/init-flow/src/assert.py +50 -0
- uipath_langchain-0.0.155/testcases/simple-local-mcp/expected_traces.json +42 -0
- uipath_langchain-0.0.155/testcases/simple-local-mcp/input.json +12 -0
- {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/testcases/simple-local-mcp/pyproject.toml +0 -1
- uipath_langchain-0.0.155/testcases/simple-local-mcp/run.sh +21 -0
- uipath_langchain-0.0.155/testcases/simple-local-mcp/src/assert.py +50 -0
- {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/testcases/simple-local-mcp/src/simple-local-mcp/graph.py +5 -2
- uipath_langchain-0.0.155/testcases/ticket-classification/expected_traces.json +32 -0
- {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/testcases/ticket-classification/pyproject.toml +0 -1
- uipath_langchain-0.0.155/testcases/ticket-classification/raw_traces.jsonl +462 -0
- uipath_langchain-0.0.155/testcases/ticket-classification/run.sh +25 -0
- uipath_langchain-0.0.155/testcases/ticket-classification/src/assert.py +54 -0
- {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/testcases/ticket-classification/src/main.py +9 -6
- uipath_langchain-0.0.155/tests/agent/react/__init__.py +1 -0
- uipath_langchain-0.0.155/tests/agent/react/test_utils.py +135 -0
- uipath_langchain-0.0.155/tests/cli/test_init.py +202 -0
- uipath_langchain-0.0.155/tests/cli/test_schema.py +266 -0
- uipath_langchain-0.0.155/uv.lock +3379 -0
- uipath_langchain-0.0.120/.github/workflows/integration_tests.yml +0 -38
- uipath_langchain-0.0.120/samples/RAG-quiz-generator/uipath.json +0 -1147
- uipath_langchain-0.0.120/samples/RAG-quiz-generator/uv.lock +0 -2626
- uipath_langchain-0.0.120/samples/company-research-agent/agent.mermaid +0 -23
- uipath_langchain-0.0.120/samples/company-research-agent/uipath.json +0 -37
- uipath_langchain-0.0.120/samples/company-research-agent/uv.lock +0 -2674
- uipath_langchain-0.0.120/samples/hitl-inbox-server/uv.lock +0 -728
- uipath_langchain-0.0.120/samples/multi-agent-planner-researcher-coder-distributed/coder.mermaid +0 -23
- uipath_langchain-0.0.120/samples/multi-agent-planner-researcher-coder-distributed/researcher.mermaid +0 -23
- uipath_langchain-0.0.120/samples/multi-agent-planner-researcher-coder-distributed/uipath.json +0 -2793
- uipath_langchain-0.0.120/samples/multi-agent-planner-researcher-coder-distributed/uv.lock +0 -2237
- uipath_langchain-0.0.120/samples/multi-agent-supervisor-researcher-coder/agent.mermaid +0 -38
- uipath_langchain-0.0.120/samples/multi-agent-supervisor-researcher-coder/uipath.json +0 -2659
- uipath_langchain-0.0.120/samples/multi-agent-supervisor-researcher-coder/uv.lock +0 -2096
- uipath_langchain-0.0.120/samples/retrieval-chain/uv.lock +0 -1969
- uipath_langchain-0.0.120/samples/simple-local-mcp/pyproject.toml +0 -20
- uipath_langchain-0.0.120/samples/simple-local-mcp/uipath.json +0 -145
- uipath_langchain-0.0.120/samples/simple-local-mcp/uv.lock +0 -2887
- uipath_langchain-0.0.120/samples/simple-remote-mcp/langgraph.json +0 -7
- uipath_langchain-0.0.120/samples/simple-remote-mcp/uipath.json +0 -181
- uipath_langchain-0.0.120/samples/simple-remote-mcp/uv.lock +0 -3045
- uipath_langchain-0.0.120/samples/ticket-classification/uipath.json +0 -50
- uipath_langchain-0.0.120/samples/ticket-classification/uv.lock +0 -2040
- uipath_langchain-0.0.120/src/uipath_langchain/_cli/_runtime/_context.py +0 -21
- uipath_langchain-0.0.120/src/uipath_langchain/_cli/_runtime/_exception.py +0 -17
- uipath_langchain-0.0.120/src/uipath_langchain/_cli/_runtime/_input.py +0 -136
- uipath_langchain-0.0.120/src/uipath_langchain/_cli/_runtime/_output.py +0 -234
- uipath_langchain-0.0.120/src/uipath_langchain/_cli/_runtime/_runtime.py +0 -373
- uipath_langchain-0.0.120/src/uipath_langchain/_cli/cli_init.py +0 -230
- uipath_langchain-0.0.120/src/uipath_langchain/_cli/cli_run.py +0 -86
- uipath_langchain-0.0.120/src/uipath_langchain/_utils/__init__.py +0 -4
- uipath_langchain-0.0.120/src/uipath_langchain/tracers/AsyncUiPathTracer.py +0 -274
- uipath_langchain-0.0.120/src/uipath_langchain/tracers/_events.py +0 -33
- uipath_langchain-0.0.120/src/uipath_langchain/tracers/_instrument_traceable.py +0 -416
- uipath_langchain-0.0.120/testcases/README.md +0 -22
- uipath_langchain-0.0.120/testcases/company-research-agent/Dockerfile +0 -35
- uipath_langchain-0.0.120/testcases/company-research-agent/agent.mermaid +0 -23
- uipath_langchain-0.0.120/testcases/company-research-agent/src/assert.py +0 -61
- uipath_langchain-0.0.120/testcases/company-research-agent/uipath.json +0 -37
- uipath_langchain-0.0.120/testcases/multi-agent-supervisor-researcher-coder/.env.example +0 -5
- uipath_langchain-0.0.120/testcases/multi-agent-supervisor-researcher-coder/Dockerfile +0 -36
- uipath_langchain-0.0.120/testcases/multi-agent-supervisor-researcher-coder/README.md +0 -120
- uipath_langchain-0.0.120/testcases/multi-agent-supervisor-researcher-coder/agent.mermaid +0 -38
- uipath_langchain-0.0.120/testcases/multi-agent-supervisor-researcher-coder/input.json +0 -1
- uipath_langchain-0.0.120/testcases/multi-agent-supervisor-researcher-coder/src/assert.py +0 -61
- uipath_langchain-0.0.120/testcases/multi-agent-supervisor-researcher-coder/src/graph.py +0 -236
- uipath_langchain-0.0.120/testcases/multi-agent-supervisor-researcher-coder/uv.lock +0 -2986
- uipath_langchain-0.0.120/testcases/simple-local-mcp/Dockerfile +0 -34
- uipath_langchain-0.0.120/testcases/simple-local-mcp/README.md +0 -95
- uipath_langchain-0.0.120/testcases/simple-local-mcp/input.json +0 -1
- uipath_langchain-0.0.120/testcases/simple-local-mcp/src/assert.py +0 -61
- uipath_langchain-0.0.120/testcases/simple-local-mcp/uipath.json +0 -145
- uipath_langchain-0.0.120/testcases/ticket-classification/.env.example +0 -7
- uipath_langchain-0.0.120/testcases/ticket-classification/Dockerfile +0 -37
- uipath_langchain-0.0.120/testcases/ticket-classification/README.md +0 -22
- uipath_langchain-0.0.120/testcases/ticket-classification/agent.mermaid +0 -21
- uipath_langchain-0.0.120/testcases/ticket-classification/src/assert.py +0 -71
- uipath_langchain-0.0.120/testcases/ticket-classification/uipath.json +0 -50
- uipath_langchain-0.0.120/tests/tracers/__init__.py +0 -1
- uipath_langchain-0.0.120/tests/tracers/test_async_uipath_tracer.py +0 -366
- uipath_langchain-0.0.120/tests/tracers/test_instrument_traceable.py +0 -206
- uipath_langchain-0.0.120/uv.lock +0 -3069
- {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/.cursorrules +0 -0
- {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/.editorconfig +0 -0
- {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/.gitattributes +0 -0
- {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/.github/workflows/cd.yml +0 -0
- {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/.github/workflows/commitlint.yml +0 -0
- {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/.github/workflows/lint-custom-version.yml +0 -0
- {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/.github/workflows/lint.yml +0 -0
- {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/.github/workflows/publish-docs.yml +0 -0
- {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/.github/workflows/publish-prior-stable-version.yml +0 -0
- {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/.github/workflows/slack.yml +0 -0
- {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/.github/workflows/test-custom-version.yml +0 -0
- {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/.github/workflows/test.yml +0 -0
- {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/.pre-commit-config.yaml +0 -0
- {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/.python-version +0 -0
- {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/.vscode/extensions.json +0 -0
- {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/.vscode/settings.json +0 -0
- {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/CONTRIBUTING.md +0 -0
- {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/LICENSE +0 -0
- {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/README.md +0 -0
- {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/docs/chat_models.md +0 -0
- {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/docs/context_grounding.md +0 -0
- {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/docs/quick_start_images/cloud_env_var_dark.png +0 -0
- {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/docs/quick_start_images/cloud_env_var_light.png +0 -0
- {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/docs/quick_start_images/invoke_output_dark.png +0 -0
- {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/docs/quick_start_images/invoke_output_light.png +0 -0
- {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/docs/sample_images/RAG/click-storage-bucket.png +0 -0
- {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/docs/sample_images/RAG/create-index-1.png +0 -0
- {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/docs/sample_images/RAG/create-index-2.png +0 -0
- {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/docs/sample_images/RAG/create-process.png +0 -0
- {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/docs/sample_images/RAG/create-quiz-generator.png +0 -0
- {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/docs/sample_images/RAG/create-storage-bucket-1.png +0 -0
- {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/docs/sample_images/RAG/create-storage-bucket-2.png +0 -0
- {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/docs/sample_images/RAG/folder-path.png +0 -0
- {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/docs/sample_images/RAG/job-info.png +0 -0
- {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/docs/sample_images/RAG/output.png +0 -0
- {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/docs/sample_images/RAG/process-page.png +0 -0
- {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/docs/sample_images/RAG/researcher-1.png +0 -0
- {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/docs/sample_images/RAG/researcher-2.png +0 -0
- {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/docs/sample_images/RAG/run-process-1.png +0 -0
- {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/docs/sample_images/RAG/run-process-2.png +0 -0
- {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/docs/sample_images/RAG/storage-bucket-content.png +0 -0
- {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/docs/sample_images/multi-agent-distributed/coder-agent-package-overview.png +0 -0
- {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/docs/sample_images/multi-agent-distributed/coder-agent-process-configuration.png +0 -0
- {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/docs/sample_images/multi-agent-distributed/planner-agent-package-overview.png +0 -0
- {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/docs/sample_images/multi-agent-distributed/planner-agent-process-configuration.png +0 -0
- {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/docs/sample_images/multi-agent-distributed/researcher-agent-package-overview.png +0 -0
- {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/docs/sample_images/multi-agent-distributed/researcher-agent-process-configuration.png +0 -0
- {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/docs/sample_images/ticket-classification/activate-apps.png +0 -0
- {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/docs/sample_images/ticket-classification/activate-deployment.png +0 -0
- {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/docs/sample_images/ticket-classification/copy-folder-path.png +0 -0
- {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/docs/sample_images/ticket-classification/deploy-solution-package-wizard.png +0 -0
- {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/docs/sample_images/ticket-classification/deploy-solution-package.png +0 -0
- {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/docs/sample_images/ticket-classification/monitor-agent.png +0 -0
- {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/docs/sample_images/ticket-classification/navigate-to-solution-folder.png +0 -0
- {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/docs/sample_images/ticket-classification/resume-condition.png +0 -0
- {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/docs/sample_images/ticket-classification/run-agent.png +0 -0
- {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/docs/sample_images/ticket-classification/solution-destination-folder.png +0 -0
- {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/docs/sample_images/ticket-classification/start-job.png +0 -0
- {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/docs/sample_images/ticket-classification/upload-solution-package.png +0 -0
- {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/samples/RAG-quiz-generator/README.md +0 -0
- {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/samples/RAG-quiz-generator/env.example +0 -0
- {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/samples/RAG-quiz-generator/input.example/quiz-generator-debug-input.json +0 -0
- {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/samples/RAG-quiz-generator/input.example/researcher-debug-input.json +0 -0
- {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/samples/RAG-quiz-generator/langgraph.json +0 -0
- {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/samples/RAG-quiz-generator/quiz-generator-RAG-agent.mermaid +2 -2
- {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/samples/RAG-quiz-generator/researcher-RAG-agent.mermaid +1 -1
- {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/samples/RAG-quiz-generator/src/agents/quiz-generator-RAG-agent.py +0 -0
- {uipath_langchain-0.0.120/samples/company-research-agent → uipath_langchain-0.0.155/samples/calculator-agent}/langgraph.json +0 -0
- {uipath_langchain-0.0.120/samples/company-research-agent → uipath_langchain-0.0.155/samples/chat-agent}/.env.example +0 -0
- {uipath_langchain-0.0.120/samples/simple-local-mcp → uipath_langchain-0.0.155/samples/chat-agent}/agent.mermaid +2 -2
- {uipath_langchain-0.0.120/samples/multi-agent-supervisor-researcher-coder → uipath_langchain-0.0.155/samples/chat-agent}/langgraph.json +0 -0
- {uipath_langchain-0.0.120/samples/multi-agent-planner-researcher-coder-distributed → uipath_langchain-0.0.155/samples/company-research-agent}/.env.example +0 -0
- {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/samples/hitl-inbox-server/database.py +0 -0
- {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/samples/hitl-inbox-server/models.py +0 -0
- {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/samples/hitl-inbox-server/schemas.py +0 -0
- {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/samples/hitl-inbox-server/templates/index.html +0 -0
- {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/samples/multi-agent-planner-researcher-coder-distributed/langgraph.json +0 -0
- {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/samples/multi-agent-planner-researcher-coder-distributed/src/multi-agent-distributed/coder.py +0 -0
- {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/samples/multi-agent-supervisor-researcher-coder/.env.example +0 -0
- {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/samples/retrieval-chain/.env.example +0 -0
- {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/samples/retrieval-chain/README.md +0 -0
- {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/samples/simple-local-mcp/.env.example +0 -0
- {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/samples/simple-local-mcp/README.md +0 -0
- {uipath_langchain-0.0.120/samples/simple-remote-mcp → uipath_langchain-0.0.155/samples/simple-local-mcp}/agent.mermaid +2 -2
- {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/samples/simple-local-mcp/langgraph.json +0 -0
- {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/samples/simple-local-mcp/src/simple-local-mcp/graph.py +0 -0
- {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/samples/simple-remote-mcp/.env.example +0 -0
- {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/samples/simple-remote-mcp/README.md +0 -0
- {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/samples/ticket-classification/.env.example +0 -0
- {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/samples/ticket-classification/README.md +0 -0
- {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/samples/ticket-classification/agent.mermaid +0 -0
- {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/samples/ticket-classification/escalation_app_solution/generic-escalation-app-solution-1.0.0.zip +0 -0
- {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/samples/ticket-classification/langgraph.json +0 -0
- {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/samples/ticket-classification/main.py +0 -0
- {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/src/uipath_langchain/__init__.py +0 -0
- {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/src/uipath_langchain/_cli/__init__.py +0 -0
- {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/src/uipath_langchain/_cli/_templates/langgraph.json.template +0 -0
- {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/src/uipath_langchain/_utils/_settings.py +0 -0
- {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/src/uipath_langchain/_utils/_sleep_policy.py +0 -0
- {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/src/uipath_langchain/chat/__init__.py +0 -0
- {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/src/uipath_langchain/embeddings/__init__.py +0 -0
- {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/src/uipath_langchain/embeddings/embeddings.py +0 -0
- {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/src/uipath_langchain/retrievers/__init__.py +0 -0
- {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/src/uipath_langchain/retrievers/context_grounding_retriever.py +0 -0
- {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/src/uipath_langchain/vectorstores/__init__.py +0 -0
- {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/testcases/company-research-agent/input.json +0 -0
- {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/testcases/company-research-agent/langgraph.json +0 -0
- {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/testcases/simple-local-mcp/langgraph.json +0 -0
- {uipath_langchain-0.0.120/samples → uipath_langchain-0.0.155/testcases}/simple-local-mcp/src/simple-local-mcp/math_server.py +0 -0
- {uipath_langchain-0.0.120/samples → uipath_langchain-0.0.155/testcases}/simple-local-mcp/src/simple-local-mcp/weather_server.py +0 -0
- {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/testcases/simple-local-mcp/uv.lock +0 -0
- {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/testcases/ticket-classification/input.json +0 -0
- {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/testcases/ticket-classification/langgraph.json +0 -0
- {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/testcases/ticket-classification/uv.lock +0 -0
- {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/tests/__init__.py +0 -0
- {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/tests/cli/conftest.py +0 -0
- {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/tests/cli/mocks/langgraph.json +0 -0
- {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/tests/cli/mocks/simple_agent.py +0 -0
- {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/tests/cli/mocks/uipath.json +0 -0
- {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/tests/cli/test_run.py +0 -0
- {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/tests/hitl/__init__.py +0 -0
- {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/tests/hitl/conftest.py +0 -0
- {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/tests/hitl/mocks/action_trigger_hitl.py +0 -0
- {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/tests/hitl/mocks/api_trigger_hitl.py +0 -0
- {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/tests/hitl/mocks/job_trigger_hitl.py +0 -0
- {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/tests/hitl/mocks/langgraph.json +0 -0
- {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/tests/hitl/mocks/uipath-default-escalation.json +0 -0
- {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/tests/hitl/mocks/uipath.json +0 -0
- {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/tests/hitl/test_action_trigger.py +0 -0
- {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/tests/hitl/test_hitl_api_trigger.py +0 -0
- {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/tests/hitl/test_hitl_default_escalation.py +0 -0
- {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/tests/hitl/test_hitl_job_trigger.py +0 -0
- {uipath_langchain-0.0.120 → uipath_langchain-0.0.155}/tests/test_dummy.py +0 -0
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
name: Integration testing
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
branches: [ main, develop ]
|
|
6
|
+
pull_request:
|
|
7
|
+
branches: [ main ]
|
|
8
|
+
|
|
9
|
+
permissions:
|
|
10
|
+
contents: read
|
|
11
|
+
pull-requests: write
|
|
12
|
+
actions: read
|
|
13
|
+
|
|
14
|
+
jobs:
|
|
15
|
+
discover-testcases:
|
|
16
|
+
runs-on: ubuntu-latest
|
|
17
|
+
outputs:
|
|
18
|
+
testcases: ${{ steps.discover.outputs.testcases }}
|
|
19
|
+
steps:
|
|
20
|
+
- name: Checkout code
|
|
21
|
+
uses: actions/checkout@v4
|
|
22
|
+
|
|
23
|
+
- name: Discover testcases
|
|
24
|
+
id: discover
|
|
25
|
+
run: |
|
|
26
|
+
# Find all testcase folders (excluding common folders like README, etc.)
|
|
27
|
+
testcase_dirs=$(find testcases -maxdepth 1 -type d -name "*-*" | sed 's|testcases/||' | sort)
|
|
28
|
+
|
|
29
|
+
echo "Found testcase directories:"
|
|
30
|
+
echo "$testcase_dirs"
|
|
31
|
+
|
|
32
|
+
# Convert to JSON array for matrix
|
|
33
|
+
testcases_json=$(echo "$testcase_dirs" | jq -R -s -c 'split("\n")[:-1]')
|
|
34
|
+
echo "testcases=$testcases_json" >> $GITHUB_OUTPUT
|
|
35
|
+
|
|
36
|
+
integration-tests:
|
|
37
|
+
needs: [discover-testcases]
|
|
38
|
+
runs-on: ubuntu-latest
|
|
39
|
+
container:
|
|
40
|
+
image: ghcr.io/astral-sh/uv:python3.12-bookworm
|
|
41
|
+
env:
|
|
42
|
+
UIPATH_JOB_KEY: "3a03d5cb-fa21-4021-894d-a8e2eda0afe0"
|
|
43
|
+
strategy:
|
|
44
|
+
fail-fast: false
|
|
45
|
+
matrix:
|
|
46
|
+
testcase: ${{ fromJson(needs.discover-testcases.outputs.testcases) }}
|
|
47
|
+
environment: [alpha, staging] # temporary disable [cloud]
|
|
48
|
+
use_azure_chat: [true, false]
|
|
49
|
+
|
|
50
|
+
name: "${{ matrix.testcase }} / ${{ matrix.environment }} / ${{ matrix.use_azure_chat && 'UiPathAzureChatOpenAI' || 'UiPathChat' }}"
|
|
51
|
+
|
|
52
|
+
steps:
|
|
53
|
+
- name: Checkout code
|
|
54
|
+
uses: actions/checkout@v4
|
|
55
|
+
|
|
56
|
+
- name: Install Dependencies
|
|
57
|
+
run: uv sync
|
|
58
|
+
|
|
59
|
+
- name: Run testcase
|
|
60
|
+
env:
|
|
61
|
+
CLIENT_ID: ${{ matrix.environment == 'alpha' && secrets.ALPHA_TEST_CLIENT_ID || matrix.environment == 'staging' && secrets.STAGING_TEST_CLIENT_ID || matrix.environment == 'cloud' && secrets.CLOUD_TEST_CLIENT_ID }}
|
|
62
|
+
CLIENT_SECRET: ${{ matrix.environment == 'alpha' && secrets.ALPHA_TEST_CLIENT_SECRET || matrix.environment == 'staging' && secrets.STAGING_TEST_CLIENT_SECRET || matrix.environment == 'cloud' && secrets.CLOUD_TEST_CLIENT_SECRET }}
|
|
63
|
+
BASE_URL: ${{ matrix.environment == 'alpha' && secrets.ALPHA_BASE_URL || matrix.environment == 'staging' && secrets.STAGING_BASE_URL || matrix.environment == 'cloud' && secrets.CLOUD_BASE_URL }}
|
|
64
|
+
USE_AZURE_CHAT: ${{ matrix.use_azure_chat }}
|
|
65
|
+
working-directory: testcases/${{ matrix.testcase }}
|
|
66
|
+
run: |
|
|
67
|
+
echo "Running testcase: ${{ matrix.testcase }}"
|
|
68
|
+
echo "Environment: ${{ matrix.environment }}"
|
|
69
|
+
echo "LLM: ${{ matrix.use_azure_chat && 'UiPathAzureChatOpenAI' || 'UiPathChat' }}"
|
|
70
|
+
echo "USE_AZURE_CHAT: ${{ matrix.use_azure_chat }}"
|
|
71
|
+
|
|
72
|
+
# Execute the testcase run script directly
|
|
73
|
+
bash run.sh
|
|
74
|
+
bash ../common/validate_output.sh
|
|
@@ -7,7 +7,6 @@ on:
|
|
|
7
7
|
PYPI_TOKEN_NIGHTLY:
|
|
8
8
|
required: true
|
|
9
9
|
|
|
10
|
-
|
|
11
10
|
jobs:
|
|
12
11
|
publish-dev:
|
|
13
12
|
runs-on: ubuntu-latest
|
|
@@ -34,44 +33,43 @@ jobs:
|
|
|
34
33
|
|
|
35
34
|
- name: Modify pyproject.toml for custom UiPath version
|
|
36
35
|
if: contains(github.event.pull_request.labels.*.name, 'test-core-dev-version')
|
|
37
|
-
shell:
|
|
36
|
+
shell: pwsh
|
|
37
|
+
env:
|
|
38
|
+
PR_TITLE: ${{ github.event.pull_request.title }}
|
|
38
39
|
run: |
|
|
39
|
-
#
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
VERSION=$(echo "$PR_TITLE" | grep -oE '[0-9]+\.[0-9]+\.[0-9]+\.dev[0-9]+' | head -1)
|
|
45
|
-
|
|
46
|
-
if [ -z "$VERSION" ]; then
|
|
47
|
-
echo "No version found in PR title. Please include version like: 2.0.65.dev1004030443"
|
|
40
|
+
# Extract version from PR title (e.g., "2.0.65.dev1004030443")
|
|
41
|
+
if ($env:PR_TITLE -match '(\d+\.\d+\.\d+\.dev\d+)') {
|
|
42
|
+
$VERSION = $matches[1]
|
|
43
|
+
} else {
|
|
44
|
+
Write-Error "No version found in PR title. Example: 'chore: test (uipath version 2.0.65.dev1004030443)'"
|
|
48
45
|
exit 1
|
|
49
|
-
|
|
46
|
+
}
|
|
50
47
|
|
|
51
|
-
|
|
48
|
+
Write-Output "Using UiPath version: $VERSION"
|
|
52
49
|
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
sed -i '/dependencies = \[/,/\]/ s|"uipath[=><^~!]*[^"]*"|"uipath=='$VERSION'"|' pyproject.toml
|
|
56
|
-
sed -i '/\[project\.optional-dependencies\]/,/^\[/ s|"uipath[=><^~!]*[^"]*"|"uipath=='$VERSION'"|' pyproject.toml
|
|
50
|
+
# Update uipath dependency to exact version (only in dependency arrays, not project name)
|
|
51
|
+
$content = Get-Content pyproject.toml -Raw
|
|
57
52
|
|
|
53
|
+
# Replace in main dependencies array
|
|
54
|
+
$content = $content -replace '(?s)(dependencies\s*=\s*\[.*?\])', {
|
|
55
|
+
param($match)
|
|
56
|
+
$match.Value -replace '"uipath([>=<\s,][^"]*|)"', "`"uipath==$VERSION`""
|
|
57
|
+
}
|
|
58
58
|
|
|
59
|
+
# Replace in optional-dependencies section (from [project.optional-dependencies] to next [)
|
|
60
|
+
$content = $content -replace '(?s)(\[project\.optional-dependencies\].*?)(?=\n\[|\z)', {
|
|
61
|
+
param($match)
|
|
62
|
+
$match.Value -replace '"uipath([>=<\s,][^"]*|)"', "`"uipath==$VERSION`""
|
|
63
|
+
}
|
|
59
64
|
|
|
60
|
-
# Add
|
|
61
|
-
if
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
echo 'uipath = { index = "testpypi" }' >> pyproject.toml
|
|
65
|
-
else
|
|
66
|
-
# Update existing sources if needed
|
|
67
|
-
if ! grep -q 'uipath = { index = "testpypi" }' pyproject.toml; then
|
|
68
|
-
sed -i '/\[tool\.uv\.sources\]/a uipath = { index = "testpypi" }' pyproject.toml
|
|
69
|
-
fi
|
|
70
|
-
fi
|
|
65
|
+
# Add [tool.uv.sources] if missing
|
|
66
|
+
if ($content -notmatch '\[tool\.uv\.sources\]') {
|
|
67
|
+
$content += "`n`n[tool.uv.sources]`n uipath = { index = `"testpypi`" }`n"
|
|
68
|
+
}
|
|
71
69
|
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
70
|
+
# Save changes
|
|
71
|
+
$content | Set-Content pyproject.toml -NoNewline
|
|
72
|
+
Write-Output "✓ Updated pyproject.toml"
|
|
75
73
|
|
|
76
74
|
- name: Install dependencies
|
|
77
75
|
run: uv sync --all-extras
|
|
@@ -165,7 +165,7 @@ cython_debug/
|
|
|
165
165
|
# be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
|
|
166
166
|
# and can be added to the global gitignore or merged into this file. For a more nuclear
|
|
167
167
|
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
|
|
168
|
-
|
|
168
|
+
.idea/
|
|
169
169
|
|
|
170
170
|
# Ruff stuff:
|
|
171
171
|
.ruff_cache/
|
|
@@ -178,3 +178,4 @@ cython_debug/
|
|
|
178
178
|
**/.uipath
|
|
179
179
|
**/**.nupkg
|
|
180
180
|
**/__uipath/
|
|
181
|
+
**/.langgraph_api
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
trigger: none
|
|
2
|
+
pr: none
|
|
3
|
+
|
|
4
|
+
schedules:
|
|
5
|
+
- cron: "0 11 * * 1"
|
|
6
|
+
displayName: "Every Monday at 1:00 PM"
|
|
7
|
+
branches:
|
|
8
|
+
include:
|
|
9
|
+
- main
|
|
10
|
+
always: true
|
|
11
|
+
|
|
12
|
+
resources:
|
|
13
|
+
repositories:
|
|
14
|
+
- repository: codeql
|
|
15
|
+
type: github
|
|
16
|
+
name: UiPath/AzurePipelinesTemplates
|
|
17
|
+
ref: refs/tags/uipath.security.codeql.1.9.5
|
|
18
|
+
endpoint: UiPath
|
|
19
|
+
- repository: fossa
|
|
20
|
+
type: github
|
|
21
|
+
name: UiPath/AzurePipelinesTemplates
|
|
22
|
+
ref: refs/tags/uipath.security.fossa.3.0.13
|
|
23
|
+
endpoint: UiPath
|
|
24
|
+
|
|
25
|
+
variables:
|
|
26
|
+
- template: ./variables.yml
|
|
27
|
+
|
|
28
|
+
stages:
|
|
29
|
+
- stage: FOSSA
|
|
30
|
+
dependsOn: []
|
|
31
|
+
jobs:
|
|
32
|
+
- job: FOSSA
|
|
33
|
+
steps:
|
|
34
|
+
- template: Security/fossa.steps.yml@fossa
|
|
35
|
+
parameters:
|
|
36
|
+
OS: linux
|
|
37
|
+
azureSubscription: $(azureInternalProductionEaConnectionName)
|
|
38
|
+
FOSSAFlags: '--project "UiPath Langchain Python SDK" --branch "$(Build.SourceBranch)" --revision "$(Build.SourceVersion)-$(Build.BuildId)"'
|
|
39
|
+
FOSSATestFlags: '--project "UiPath Langchain Python SDK" --revision "$(Build.SourceVersion)-$(Build.BuildId)"'
|
|
40
|
+
${{ if contains(variables['Build.SourceBranch'], 'main') }}:
|
|
41
|
+
publishSecurityReports: true
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
- stage: CODEQL
|
|
45
|
+
dependsOn: []
|
|
46
|
+
jobs:
|
|
47
|
+
- job: CODEQL
|
|
48
|
+
steps:
|
|
49
|
+
- template: Security/codeql.interpreted.steps.yml@codeql
|
|
50
|
+
parameters:
|
|
51
|
+
os: 'linux64'
|
|
52
|
+
language: 'python'
|
|
53
|
+
azureSubscription: $(azureInternalProductionEaConnectionName)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: uipath-langchain
|
|
3
|
-
Version: 0.0.
|
|
3
|
+
Version: 0.0.155
|
|
4
4
|
Summary: UiPath Langchain
|
|
5
5
|
Project-URL: Homepage, https://uipath.com
|
|
6
6
|
Project-URL: Repository, https://github.com/UiPath/uipath-langchain-python
|
|
@@ -15,17 +15,18 @@ Classifier: Programming Language :: Python :: 3.12
|
|
|
15
15
|
Classifier: Topic :: Software Development :: Build Tools
|
|
16
16
|
Requires-Python: >=3.10
|
|
17
17
|
Requires-Dist: httpx>=0.27.0
|
|
18
|
+
Requires-Dist: jsonschema-pydantic>=0.6
|
|
18
19
|
Requires-Dist: langchain-community>=0.3.21
|
|
19
20
|
Requires-Dist: langchain-core>=0.3.34
|
|
20
21
|
Requires-Dist: langchain-openai>=0.3.3
|
|
21
22
|
Requires-Dist: langchain>=0.3.4
|
|
22
23
|
Requires-Dist: langgraph-checkpoint-sqlite>=2.0.3
|
|
23
|
-
Requires-Dist: langgraph
|
|
24
|
+
Requires-Dist: langgraph<0.7.0,>=0.5.0
|
|
24
25
|
Requires-Dist: openai>=1.65.5
|
|
26
|
+
Requires-Dist: openinference-instrumentation-langchain>=0.1.50
|
|
25
27
|
Requires-Dist: pydantic-settings>=2.6.0
|
|
26
28
|
Requires-Dist: python-dotenv>=1.0.1
|
|
27
|
-
Requires-Dist: uipath<2.2.0,>=2.1.
|
|
28
|
-
Provides-Extra: langchain
|
|
29
|
+
Requires-Dist: uipath<2.2.0,>=2.1.172
|
|
29
30
|
Description-Content-Type: text/markdown
|
|
30
31
|
|
|
31
32
|
# UiPath LangChain Python SDK
|
|
@@ -14,8 +14,9 @@ For more information on UiPath apps, refer to the [UiPath Apps User Guide](https
|
|
|
14
14
|
|
|
15
15
|
#### Attributes:
|
|
16
16
|
|
|
17
|
-
- **
|
|
18
|
-
- **
|
|
17
|
+
- **app_name** (Optional[str]): The name of the app.
|
|
18
|
+
- **app_folder_path** (Optional[str]): The folder path of the app.
|
|
19
|
+
- **app_key** (Optional[str]): The key of the app.
|
|
19
20
|
- **title** (str): The title of the action to create.
|
|
20
21
|
- **data** (Optional[Dict[str, Any]]): Values that the action will be populated with.
|
|
21
22
|
- **app_version** (Optional[int]): The version of the app (defaults to 1).
|
|
@@ -25,7 +26,7 @@ For more information on UiPath apps, refer to the [UiPath Apps User Guide](https
|
|
|
25
26
|
|
|
26
27
|
```python
|
|
27
28
|
from uipath.models import CreateAction
|
|
28
|
-
action_output = interrupt(CreateAction(
|
|
29
|
+
action_output = interrupt(CreateAction(app_name="AppName", app_folder_path="MyFolderPath", title="Escalate Issue", data={"key": "value"}, app_version=1, assignee="user@example.com"))
|
|
29
30
|
```
|
|
30
31
|
|
|
31
32
|
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.
|
|
@@ -39,12 +40,13 @@ The `WaitAction` model is used to wait for an action to be handled. This model i
|
|
|
39
40
|
#### Attributes:
|
|
40
41
|
|
|
41
42
|
- **action** (Action): The instance of the action to wait for.
|
|
43
|
+
- **app_folder_path** (Optional[str]): The folder path of the app.
|
|
42
44
|
|
|
43
45
|
#### Example:
|
|
44
46
|
|
|
45
47
|
```python
|
|
46
48
|
from uipath.models import WaitAction
|
|
47
|
-
action_output = interrupt(WaitAction(action=my_action_instance))
|
|
49
|
+
action_output = interrupt(WaitAction(action=my_action_instance, app_folder_path="MyFolderPath"))
|
|
48
50
|
```
|
|
49
51
|
|
|
50
52
|
---
|
|
@@ -61,15 +63,20 @@ Upon completion of the invoked process, the current agent will automatically res
|
|
|
61
63
|
#### Attributes:
|
|
62
64
|
|
|
63
65
|
- **name** (str): The name of the process to invoke.
|
|
66
|
+
- **process_folder_path** (Optional[str]): The folder path of the process.
|
|
64
67
|
- **input_arguments** (Optional[Dict[str, Any]]): A dictionary containing the input arguments required for the invoked process.
|
|
65
68
|
|
|
66
69
|
#### Example:
|
|
67
70
|
|
|
68
71
|
```python
|
|
69
72
|
from uipath.models import InvokeProcess
|
|
70
|
-
process_output = interrupt(InvokeProcess(name="MyProcess", input_arguments={"arg1": "value1"}))
|
|
73
|
+
process_output = interrupt(InvokeProcess(name="MyProcess", process_folder_path="MyFolderPath", input_arguments={"arg1": "value1"}))
|
|
71
74
|
```
|
|
72
75
|
|
|
76
|
+
/// warning
|
|
77
|
+
An agent can invoke itself if needed, but this must be done with caution. Be mindful that using the same name for invocation may lead to unintentional loops. To prevent recursion issues, implement safeguards like exit conditions.
|
|
78
|
+
///
|
|
79
|
+
|
|
73
80
|
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.
|
|
74
81
|
|
|
75
82
|
---
|
|
@@ -82,10 +89,11 @@ the job has already been created.
|
|
|
82
89
|
#### Attributes:
|
|
83
90
|
|
|
84
91
|
- **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.
|
|
92
|
+
- **process_folder_path** (Optional[str]): The folder path of the process.
|
|
85
93
|
|
|
86
94
|
#### Example:
|
|
87
95
|
|
|
88
96
|
```python
|
|
89
97
|
from uipath.models import WaitJob
|
|
90
|
-
job_output = interrupt(WaitJob(job=my_job_instance))
|
|
98
|
+
job_output = interrupt(WaitJob(job=my_job_instance, process_folder_path="MyFolderPath"))
|
|
91
99
|
```
|
|
@@ -121,7 +121,6 @@ Generate your first UiPath LangChain agent:
|
|
|
121
121
|
✓ Created 'main.py' file.
|
|
122
122
|
✓ Created 'langgraph.json' file.
|
|
123
123
|
✓ Created 'pyproject.toml' file.
|
|
124
|
-
🔧 Please ensure to define either ANTHROPIC_API_KEY or OPENAI_API_KEY in your .env file.
|
|
125
124
|
💡 Initialize project: uipath init
|
|
126
125
|
💡 Run agent: uipath run agent '{"topic": "UiPath"}'
|
|
127
126
|
```
|
|
@@ -135,6 +134,22 @@ This command creates the following files:
|
|
|
135
134
|
| `pyproject.toml` | Project metadata and dependencies as per [PEP 518](https://peps.python.org/pep-0518/). |
|
|
136
135
|
|
|
137
136
|
|
|
137
|
+
## Authenticate With UiPath
|
|
138
|
+
|
|
139
|
+
<!-- termynal -->
|
|
140
|
+
|
|
141
|
+
```shell
|
|
142
|
+
> uipath auth
|
|
143
|
+
⠋ Authenticating with UiPath ...
|
|
144
|
+
🔗 If a browser window did not open, please open the following URL in your browser: [LINK]
|
|
145
|
+
👇 Select tenant:
|
|
146
|
+
0: Tenant1
|
|
147
|
+
1: Tenant2
|
|
148
|
+
Select tenant number: 0
|
|
149
|
+
Selected tenant: Tenant1
|
|
150
|
+
✓ Authentication successful.
|
|
151
|
+
```
|
|
152
|
+
|
|
138
153
|
## Initialize Project
|
|
139
154
|
|
|
140
155
|
<!-- termynal -->
|
|
@@ -175,22 +190,6 @@ ANTHROPIC_API_KEY=sk-ant-a.....
|
|
|
175
190
|
|
|
176
191
|
////
|
|
177
192
|
|
|
178
|
-
## Authenticate With UiPath
|
|
179
|
-
|
|
180
|
-
<!-- termynal -->
|
|
181
|
-
|
|
182
|
-
```shell
|
|
183
|
-
> uipath auth
|
|
184
|
-
⠋ Authenticating with UiPath ...
|
|
185
|
-
🔗 If a browser window did not open, please open the following URL in your browser: [LINK]
|
|
186
|
-
👇 Select tenant:
|
|
187
|
-
0: Tenant1
|
|
188
|
-
1: Tenant2
|
|
189
|
-
Select tenant number: 0
|
|
190
|
-
Selected tenant: Tenant1
|
|
191
|
-
✓ Authentication successful.
|
|
192
|
-
```
|
|
193
|
-
|
|
194
193
|
## Run The Agent Locally
|
|
195
194
|
|
|
196
195
|
Execute the agent with a sample input:
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "uipath-langchain"
|
|
3
|
-
version = "0.0.
|
|
3
|
+
version = "0.0.155"
|
|
4
4
|
description = "UiPath Langchain"
|
|
5
5
|
readme = { file = "README.md", content-type = "text/markdown" }
|
|
6
6
|
requires-python = ">=3.10"
|
|
7
7
|
dependencies = [
|
|
8
|
-
"uipath>=2.1.
|
|
9
|
-
"langgraph>=0.
|
|
8
|
+
"uipath>=2.1.172, <2.2.0",
|
|
9
|
+
"langgraph>=0.5.0, <0.7.0",
|
|
10
10
|
"langchain-core>=0.3.34",
|
|
11
11
|
"langgraph-checkpoint-sqlite>=2.0.3",
|
|
12
12
|
"langchain-community>=0.3.21",
|
|
@@ -16,6 +16,8 @@ dependencies = [
|
|
|
16
16
|
"python-dotenv>=1.0.1",
|
|
17
17
|
"httpx>=0.27.0",
|
|
18
18
|
"openai>=1.65.5",
|
|
19
|
+
"openinference-instrumentation-langchain>=0.1.50",
|
|
20
|
+
"jsonschema-pydantic>=0.6",
|
|
19
21
|
]
|
|
20
22
|
classifiers = [
|
|
21
23
|
"Development Status :: 3 - Alpha",
|
|
@@ -55,11 +57,6 @@ dev = [
|
|
|
55
57
|
"pytest_httpx>=0.35.0"
|
|
56
58
|
]
|
|
57
59
|
|
|
58
|
-
[project.optional-dependencies]
|
|
59
|
-
langchain = [
|
|
60
|
-
"uipath-langchain>=0.0.2"
|
|
61
|
-
]
|
|
62
|
-
|
|
63
60
|
[tool.hatch.build.targets.wheel]
|
|
64
61
|
packages = ["src/uipath_langchain"]
|
|
65
62
|
|