uipath-langchain 0.1.34__py3-none-any.whl → 0.3.1__py3-none-any.whl
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/_cli/_templates/langgraph.json.template +2 -4
- uipath_langchain/_cli/cli_new.py +1 -2
- uipath_langchain/agent/guardrails/actions/escalate_action.py +252 -108
- uipath_langchain/agent/guardrails/actions/filter_action.py +247 -12
- uipath_langchain/agent/guardrails/guardrail_nodes.py +47 -12
- uipath_langchain/agent/guardrails/guardrails_factory.py +40 -15
- uipath_langchain/agent/guardrails/utils.py +64 -33
- uipath_langchain/agent/react/agent.py +4 -2
- uipath_langchain/agent/react/file_type_handler.py +123 -0
- uipath_langchain/agent/react/guardrails/guardrails_subgraph.py +67 -12
- uipath_langchain/agent/react/init_node.py +16 -1
- uipath_langchain/agent/react/job_attachments.py +125 -0
- uipath_langchain/agent/react/json_utils.py +183 -0
- uipath_langchain/agent/react/jsonschema_pydantic_converter.py +76 -0
- uipath_langchain/agent/react/llm_with_files.py +76 -0
- uipath_langchain/agent/react/types.py +4 -0
- uipath_langchain/agent/react/utils.py +29 -3
- uipath_langchain/agent/tools/__init__.py +5 -1
- uipath_langchain/agent/tools/context_tool.py +151 -1
- uipath_langchain/agent/tools/escalation_tool.py +46 -15
- uipath_langchain/agent/tools/integration_tool.py +20 -16
- uipath_langchain/agent/tools/internal_tools/__init__.py +5 -0
- uipath_langchain/agent/tools/internal_tools/analyze_files_tool.py +113 -0
- uipath_langchain/agent/tools/internal_tools/internal_tool_factory.py +54 -0
- uipath_langchain/agent/tools/process_tool.py +8 -1
- uipath_langchain/agent/tools/static_args.py +18 -40
- uipath_langchain/agent/tools/tool_factory.py +13 -5
- uipath_langchain/agent/tools/tool_node.py +133 -4
- uipath_langchain/agent/tools/utils.py +31 -0
- uipath_langchain/agent/wrappers/__init__.py +6 -0
- uipath_langchain/agent/wrappers/job_attachment_wrapper.py +62 -0
- uipath_langchain/agent/wrappers/static_args_wrapper.py +34 -0
- uipath_langchain/chat/mapper.py +60 -42
- uipath_langchain/runtime/factory.py +10 -5
- uipath_langchain/runtime/runtime.py +38 -35
- uipath_langchain/runtime/storage.py +178 -71
- {uipath_langchain-0.1.34.dist-info → uipath_langchain-0.3.1.dist-info}/METADATA +5 -4
- {uipath_langchain-0.1.34.dist-info → uipath_langchain-0.3.1.dist-info}/RECORD +41 -30
- {uipath_langchain-0.1.34.dist-info → uipath_langchain-0.3.1.dist-info}/WHEEL +0 -0
- {uipath_langchain-0.1.34.dist-info → uipath_langchain-0.3.1.dist-info}/entry_points.txt +0 -0
- {uipath_langchain-0.1.34.dist-info → uipath_langchain-0.3.1.dist-info}/licenses/LICENSE +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: uipath-langchain
|
|
3
|
-
Version: 0.1
|
|
3
|
+
Version: 0.3.1
|
|
4
4
|
Summary: Python SDK that enables developers to build and deploy LangGraph agents to the UiPath Cloud Platform
|
|
5
5
|
Project-URL: Homepage, https://uipath.com
|
|
6
6
|
Project-URL: Repository, https://github.com/UiPath/uipath-langchain-python
|
|
@@ -16,8 +16,8 @@ Requires-Python: >=3.11
|
|
|
16
16
|
Requires-Dist: aiosqlite==0.21.0
|
|
17
17
|
Requires-Dist: httpx>=0.27.0
|
|
18
18
|
Requires-Dist: jsonpath-ng>=1.7.0
|
|
19
|
-
Requires-Dist: jsonschema-pydantic-converter>=0.1.
|
|
20
|
-
Requires-Dist: langchain-core<2.0.0,>=1.
|
|
19
|
+
Requires-Dist: jsonschema-pydantic-converter>=0.1.6
|
|
20
|
+
Requires-Dist: langchain-core<2.0.0,>=1.2.5
|
|
21
21
|
Requires-Dist: langchain-mcp-adapters==0.2.1
|
|
22
22
|
Requires-Dist: langchain-openai<2.0.0,>=1.0.0
|
|
23
23
|
Requires-Dist: langchain<2.0.0,>=1.0.0
|
|
@@ -27,7 +27,8 @@ Requires-Dist: mcp==1.24.0
|
|
|
27
27
|
Requires-Dist: openinference-instrumentation-langchain>=0.1.56
|
|
28
28
|
Requires-Dist: pydantic-settings>=2.6.0
|
|
29
29
|
Requires-Dist: python-dotenv>=1.0.1
|
|
30
|
-
Requires-Dist: uipath<
|
|
30
|
+
Requires-Dist: uipath-runtime<0.5.0,>=0.4.0
|
|
31
|
+
Requires-Dist: uipath<2.5.0,>=2.4.0
|
|
31
32
|
Provides-Extra: bedrock
|
|
32
33
|
Requires-Dist: boto3-stubs>=1.41.4; extra == 'bedrock'
|
|
33
34
|
Requires-Dist: langchain-aws>=0.2.35; extra == 'bedrock'
|
|
@@ -3,8 +3,8 @@ uipath_langchain/middlewares.py,sha256=DrxC6YpwtrwUlRybUSHfRldcSH4smS0H4pVc6R5OO
|
|
|
3
3
|
uipath_langchain/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
4
4
|
uipath_langchain/_cli/__init__.py,sha256=juqd9PbXs4yg45zMJ7BHAOPQjb7sgEbWE9InBtGZhfo,24
|
|
5
5
|
uipath_langchain/_cli/cli_init.py,sha256=VUYlCkCYgrR_dVhbMN8-Ziu4Y_Rzl_x6-S6cq-g6KwQ,5567
|
|
6
|
-
uipath_langchain/_cli/cli_new.py,sha256=
|
|
7
|
-
uipath_langchain/_cli/_templates/langgraph.json.template,sha256=
|
|
6
|
+
uipath_langchain/_cli/cli_new.py,sha256=evhveCC1htKc6kwoll_jgWukG5bTBjnlBjSJRAqFRSo,2252
|
|
7
|
+
uipath_langchain/_cli/_templates/langgraph.json.template,sha256=z2iLaXUFknv49XZ56DKGeQwMQzMPa1eFNsVswro0c8w,59
|
|
8
8
|
uipath_langchain/_cli/_templates/main.py.template,sha256=GpSblGH2hwS9ibqQmX2iB2nsmOA5zDfEEF4ChLiMxbQ,875
|
|
9
9
|
uipath_langchain/_resources/AGENTS.md,sha256=5VmIfaQ6H91VxInnxFmJklURXeWIIQpGQTYBEmvvoVA,1060
|
|
10
10
|
uipath_langchain/_resources/REQUIRED_STRUCTURE.md,sha256=BRmWWFtM0qNXj5uumALVxq9h6pifJDGh5NzuyctuH1Q,2569
|
|
@@ -17,42 +17,53 @@ uipath_langchain/_utils/_sleep_policy.py,sha256=e9pHdjmcCj4CVoFM1jMyZFelH11Yatsg
|
|
|
17
17
|
uipath_langchain/agent/exceptions/__init__.py,sha256=GFh8mtsoKYghTHe93rRbIycWOW8dPt0okQjZuc2N-Hc,158
|
|
18
18
|
uipath_langchain/agent/exceptions/exceptions.py,sha256=G7LdeQ9uMljLGTlixWBHvNJ1ULtUIDIkzApjfbsF6_0,216
|
|
19
19
|
uipath_langchain/agent/guardrails/__init__.py,sha256=2lM-DFLp8oHR6qpkZy8_E93RL_tXKhtzbbsL00_m6TA,114
|
|
20
|
-
uipath_langchain/agent/guardrails/guardrail_nodes.py,sha256=
|
|
21
|
-
uipath_langchain/agent/guardrails/guardrails_factory.py,sha256=
|
|
20
|
+
uipath_langchain/agent/guardrails/guardrail_nodes.py,sha256=NUIZzhoanMe6SiEuk0rEPwm4zFmdf40cSvl4a8kJQts,11126
|
|
21
|
+
uipath_langchain/agent/guardrails/guardrails_factory.py,sha256=mUQ-vxaBIbH8sesiaoVTFZhxqerxTyboFWchwWxWVww,10259
|
|
22
22
|
uipath_langchain/agent/guardrails/types.py,sha256=guVi19x7x5atcaXTUWK_c9O3bP6HfmnX_1Er1ErsnSE,169
|
|
23
|
-
uipath_langchain/agent/guardrails/utils.py,sha256=
|
|
23
|
+
uipath_langchain/agent/guardrails/utils.py,sha256=jv1-7N4JhLBlID9dE5V3IVciRjrd-s_bTY4bVs-9kkg,5620
|
|
24
24
|
uipath_langchain/agent/guardrails/actions/__init__.py,sha256=o_xoSaqcaOM33CRldvmnmux66BIK9fbcv994lB0m1-U,313
|
|
25
25
|
uipath_langchain/agent/guardrails/actions/base_action.py,sha256=89POG1KQ0x1KPXKP8jT42M04SYoizp5E_co2-Ykq8gc,710
|
|
26
26
|
uipath_langchain/agent/guardrails/actions/block_action.py,sha256=AMgpeHG41XbRV6bdFX78OLLJ-CTJ1lez6ai6s60zG4M,1374
|
|
27
|
-
uipath_langchain/agent/guardrails/actions/escalate_action.py,sha256=
|
|
28
|
-
uipath_langchain/agent/guardrails/actions/filter_action.py,sha256=
|
|
27
|
+
uipath_langchain/agent/guardrails/actions/escalate_action.py,sha256=BoH0I3wo7zgw4cHyPfoFmlQy4P3-mYRog-HZTdnxIMI,23910
|
|
28
|
+
uipath_langchain/agent/guardrails/actions/filter_action.py,sha256=sNAUUxovz3Eq5gXpbDHa2MPtUgUNgDRKKWie6TCqemU,9729
|
|
29
29
|
uipath_langchain/agent/guardrails/actions/log_action.py,sha256=1nknvqYFBmBFACWLhtreU9Uun40_H2ETsg9c6-IacGM,1968
|
|
30
30
|
uipath_langchain/agent/react/__init__.py,sha256=BhRWUMZ9yLtBr7SyRwS-XMKG9o84DROyedCMpE6j1RU,362
|
|
31
|
-
uipath_langchain/agent/react/agent.py,sha256=
|
|
31
|
+
uipath_langchain/agent/react/agent.py,sha256=P4zoxLR0q6vvagjlKKbcsQB7h4j3K3AdK_KwB92_t7M,4572
|
|
32
32
|
uipath_langchain/agent/react/constants.py,sha256=yRi3sRxl2CSlshcn_ooWRN3TCcKdRMxJIwmiUQpAtFE,38
|
|
33
|
-
uipath_langchain/agent/react/
|
|
33
|
+
uipath_langchain/agent/react/file_type_handler.py,sha256=Ca57k3HsG7Ls2rYjIjD4AHcuCCPOOJL5bGIfLdxzVAA,3442
|
|
34
|
+
uipath_langchain/agent/react/init_node.py,sha256=JR50GHsdW7kVa7EitwCGMdGA0c7csgtD90L2DOKcZ0c,1030
|
|
35
|
+
uipath_langchain/agent/react/job_attachments.py,sha256=vPLxvp9NSWzkANPQGASXFdeFgWmSmBjHwKDJL35CycE,4512
|
|
36
|
+
uipath_langchain/agent/react/json_utils.py,sha256=fDbi-8sKJer_IYV11OJbe7kMey2VKyralYUs9slGKKA,6172
|
|
37
|
+
uipath_langchain/agent/react/jsonschema_pydantic_converter.py,sha256=6WD0SeOe9wHH5qt2sOhzNgHKjwzFjI1bBh2IfiTgnUg,3174
|
|
34
38
|
uipath_langchain/agent/react/llm_node.py,sha256=Qy9A_s7L5IKfHXbhT8PChyUWYB-RRUjkW49C958wCRs,2484
|
|
39
|
+
uipath_langchain/agent/react/llm_with_files.py,sha256=hL_cRxN25rlAIU79uSnZ5O8Dk3E4SAx7WK1k48rUzOs,2403
|
|
35
40
|
uipath_langchain/agent/react/router.py,sha256=-I3Ym0-FLQfg1J0v9Wibb0Xq7rTN73_FLsjVxa31aTQ,4080
|
|
36
41
|
uipath_langchain/agent/react/terminate_node.py,sha256=G2k2xMgocfNC13RjF9A2Kea6KiPINmdnxiZHQCS_fAY,2734
|
|
37
|
-
uipath_langchain/agent/react/types.py,sha256=
|
|
38
|
-
uipath_langchain/agent/react/utils.py,sha256=
|
|
39
|
-
uipath_langchain/agent/react/guardrails/guardrails_subgraph.py,sha256=
|
|
42
|
+
uipath_langchain/agent/react/types.py,sha256=ImVqTc84pKsHpDaWpfC-p38lJGkSlXtQn4Za-mpbx_w,1616
|
|
43
|
+
uipath_langchain/agent/react/utils.py,sha256=aSXrpNeQgyEFIQky84ioCjh_Pqi4MvS7gkyXlTdjyLQ,2053
|
|
44
|
+
uipath_langchain/agent/react/guardrails/guardrails_subgraph.py,sha256=J2hjfUqpNv_fPp_L7Es_wKJZT_VeeBReHV83Nfz2AhE,13514
|
|
40
45
|
uipath_langchain/agent/react/tools/__init__.py,sha256=LGfG8Dc32ffKdXQyMI2oYzhNnTs1wbzsddXz6eU-0MY,102
|
|
41
46
|
uipath_langchain/agent/react/tools/tools.py,sha256=vFBGnFrGocX__sotKisMJr2lxRRVqA0-uThzzhPADIw,1443
|
|
42
|
-
uipath_langchain/agent/tools/__init__.py,sha256=
|
|
43
|
-
uipath_langchain/agent/tools/context_tool.py,sha256=
|
|
44
|
-
uipath_langchain/agent/tools/escalation_tool.py,sha256=
|
|
45
|
-
uipath_langchain/agent/tools/integration_tool.py,sha256=
|
|
47
|
+
uipath_langchain/agent/tools/__init__.py,sha256=iXpKWMyB1CP6rsTAX98HcrjEufe_M8rmSCKiL0sNF80,689
|
|
48
|
+
uipath_langchain/agent/tools/context_tool.py,sha256=8x09vmAYDUmXRQi7P3wFoX5XHvPLdfqybDw7wDE6Vsw,6878
|
|
49
|
+
uipath_langchain/agent/tools/escalation_tool.py,sha256=cwAhPR5gjKG8UOCS9i-X93yqgXLOyEZM-rTZky7icDQ,4817
|
|
50
|
+
uipath_langchain/agent/tools/integration_tool.py,sha256=bpRLC7CZjPmgH8Av584qRhf-YLWszKGMmGxd7CS2-VE,6514
|
|
46
51
|
uipath_langchain/agent/tools/mcp_tool.py,sha256=NjSWoCYXixIheLWqYUCiYdnkI1umHIvTEBXJphg_WTM,3202
|
|
47
|
-
uipath_langchain/agent/tools/process_tool.py,sha256=
|
|
48
|
-
uipath_langchain/agent/tools/static_args.py,sha256=
|
|
52
|
+
uipath_langchain/agent/tools/process_tool.py,sha256=H14_bEmonPa_OI9COeIaKqyuUbimwqZ7bNTbO5jtTMc,1918
|
|
53
|
+
uipath_langchain/agent/tools/static_args.py,sha256=1jzV0D4R3ydz62aawvfvlSGJfuqyq1Lu2n6mudmqt94,3710
|
|
49
54
|
uipath_langchain/agent/tools/structured_tool_with_output_type.py,sha256=9EZB1WlVt7FFBf20jX3Av9vJf9MaDNCnKLUhMBIrtLQ,354
|
|
50
|
-
uipath_langchain/agent/tools/tool_factory.py,sha256=
|
|
51
|
-
uipath_langchain/agent/tools/tool_node.py,sha256=
|
|
52
|
-
uipath_langchain/agent/tools/utils.py,sha256=
|
|
55
|
+
uipath_langchain/agent/tools/tool_factory.py,sha256=i0ej-JD6V6acXoXRDkrrGeccWlrhatiu-CjD591CxcQ,1706
|
|
56
|
+
uipath_langchain/agent/tools/tool_node.py,sha256=GgkUhdvN4Ff8CnW2lTXY1nGiDpLhfd1ZJTYOQO4OY8Q,5521
|
|
57
|
+
uipath_langchain/agent/tools/utils.py,sha256=XrpCzBuBqBlGHhv9_8it5JfT_qAGtO2g--urELt4t8U,1503
|
|
58
|
+
uipath_langchain/agent/tools/internal_tools/__init__.py,sha256=f0xrCEglUTpfEmz4pD1CVYuPgb2pA7eygg-ki80df08,157
|
|
59
|
+
uipath_langchain/agent/tools/internal_tools/analyze_files_tool.py,sha256=17wtahF46TeTMMbfj8UiX5DS_ZlUPLLE86A53xIQZ-A,3766
|
|
60
|
+
uipath_langchain/agent/tools/internal_tools/internal_tool_factory.py,sha256=n79r002dgT7NDikhIXv1MfHi1dZvhErONxBB9nPQvrE,1807
|
|
61
|
+
uipath_langchain/agent/wrappers/__init__.py,sha256=397LQuHTTp3Z4N0ZcrMAdWXrWkSaaSz7FGhdmYnWOp0,265
|
|
62
|
+
uipath_langchain/agent/wrappers/job_attachment_wrapper.py,sha256=Vy7wePBuCMN_bHkWRBqkkoH9pfqAcszULAAzENNgAbA,2154
|
|
63
|
+
uipath_langchain/agent/wrappers/static_args_wrapper.py,sha256=pgx3eC57Ai2kv5E1mPYo-HwFrhI-Q_TnbA9U-uyCFog,1072
|
|
53
64
|
uipath_langchain/chat/__init__.py,sha256=YlbvzwZz2269kQK438YK8PDIpt5EoRukmpedazpSHHY,387
|
|
54
65
|
uipath_langchain/chat/bedrock.py,sha256=-e1Spix8QizWJf7qLPTJ1-Bs6QLmAHF4VvZSb2kn_Uw,6662
|
|
55
|
-
uipath_langchain/chat/mapper.py,sha256
|
|
66
|
+
uipath_langchain/chat/mapper.py,sha256=-GRYIXZCH2IThRhhufHA8qYeLAeP5rLmlNAMhNbPaWc,12984
|
|
56
67
|
uipath_langchain/chat/models.py,sha256=cbIRw-YhEvQcgt0DVTHc84lKIjeDhsQo5oxvBz9luD0,18168
|
|
57
68
|
uipath_langchain/chat/openai.py,sha256=laLJbSoviyD1HdHRGL7zmGuDZngFZvQb93yNcSoR3r4,5829
|
|
58
69
|
uipath_langchain/chat/supported_models.py,sha256=KttS2PZZzh_-fPub-bAenq2V0LfqCUPMmBtQnRP0Lik,1561
|
|
@@ -65,15 +76,15 @@ uipath_langchain/runtime/__init__.py,sha256=h4pDyPy8kAYWvSohG3qFmx-bTVTIj1spbMqc
|
|
|
65
76
|
uipath_langchain/runtime/_serialize.py,sha256=ySdQrz4I-7V068_lOYgL6lD41wRg31_Ot6gAetcWaCw,1255
|
|
66
77
|
uipath_langchain/runtime/config.py,sha256=Jh4B47EUnDjWpV7gsPNzwWeFhlgjOHgdlOkJB64BVpc,1828
|
|
67
78
|
uipath_langchain/runtime/errors.py,sha256=iepiILaDtanusvyYBQSRsPDmKB-6GB94OXKATwI8dqY,1335
|
|
68
|
-
uipath_langchain/runtime/factory.py,sha256=
|
|
79
|
+
uipath_langchain/runtime/factory.py,sha256=Uuu3jXCzj9YiVXAf2n0hJnX5-ySBSzhYgpxA4ihMv70,11190
|
|
69
80
|
uipath_langchain/runtime/graph.py,sha256=1h_eaXkyN0G43BS0WUMoK_UNDao8jrmcyJqGVgwVEjM,5513
|
|
70
|
-
uipath_langchain/runtime/runtime.py,sha256=
|
|
81
|
+
uipath_langchain/runtime/runtime.py,sha256=p378PZ5d9dZkucrLAaFDO9cpjtgKPWIKKLXPH9hfujI,17524
|
|
71
82
|
uipath_langchain/runtime/schema.py,sha256=BKtWYVVpK2FfdWO75iQEc-md7qh5z8DqsRPsbHJ_WBI,15130
|
|
72
|
-
uipath_langchain/runtime/storage.py,sha256=
|
|
83
|
+
uipath_langchain/runtime/storage.py,sha256=8NL-gM0Ep8iFcg-lToZxmAWJs0Rff8wn1vM8KgpSCww,7382
|
|
73
84
|
uipath_langchain/vectorstores/__init__.py,sha256=w8qs1P548ud1aIcVA_QhBgf_jZDrRMK5Lono78yA8cs,114
|
|
74
85
|
uipath_langchain/vectorstores/context_grounding_vectorstore.py,sha256=SfRvIenOzn4r7jng_I9GIyknyeDx2hdW63O1rZY-ZLQ,8407
|
|
75
|
-
uipath_langchain-0.1.
|
|
76
|
-
uipath_langchain-0.1.
|
|
77
|
-
uipath_langchain-0.1.
|
|
78
|
-
uipath_langchain-0.1.
|
|
79
|
-
uipath_langchain-0.1.
|
|
86
|
+
uipath_langchain-0.3.1.dist-info/METADATA,sha256=5hkEWoCJaKez5zScGb43pPpZiURQ5vf9QuWjMLL-n8A,5932
|
|
87
|
+
uipath_langchain-0.3.1.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
|
|
88
|
+
uipath_langchain-0.3.1.dist-info/entry_points.txt,sha256=Wptt1FbvhcDzNQxDlu2Lt1ngBOdDIFPlM1p8WzXf6wQ,171
|
|
89
|
+
uipath_langchain-0.3.1.dist-info/licenses/LICENSE,sha256=JDpt-uotAkHFmxpwxi6gwx6HQ25e-lG4U_Gzcvgp7JY,1063
|
|
90
|
+
uipath_langchain-0.3.1.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|