uipath-langchain 0.0.102__py3-none-any.whl → 0.0.103__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.
Potentially problematic release.
This version of uipath-langchain might be problematic. Click here for more details.
- uipath_langchain/_cli/cli_new.py +3 -2
- {uipath_langchain-0.0.102.dist-info → uipath_langchain-0.0.103.dist-info}/METADATA +18 -14
- {uipath_langchain-0.0.102.dist-info → uipath_langchain-0.0.103.dist-info}/RECORD +6 -6
- {uipath_langchain-0.0.102.dist-info → uipath_langchain-0.0.103.dist-info}/WHEEL +0 -0
- {uipath_langchain-0.0.102.dist-info → uipath_langchain-0.0.103.dist-info}/entry_points.txt +0 -0
- {uipath_langchain-0.0.102.dist-info → uipath_langchain-0.0.103.dist-info}/licenses/LICENSE +0 -0
uipath_langchain/_cli/cli_new.py
CHANGED
|
@@ -59,9 +59,10 @@ def langgraph_new_middleware(name: str) -> MiddlewareResult:
|
|
|
59
59
|
init_cmd = ctx.parent.command.get_command(ctx, "init") # type: ignore
|
|
60
60
|
ctx.invoke(init_cmd)
|
|
61
61
|
console.config(
|
|
62
|
-
" Please ensure to define either ANTHROPIC_API_KEY or OPENAI_API_KEY in your .env file."
|
|
62
|
+
f""" Please ensure to define either {click.style("ANTHROPIC_API_KEY", fg="bright_yellow")} or {click.style("OPENAI_API_KEY", fg="bright_yellow")} in your .env file. """
|
|
63
63
|
)
|
|
64
|
-
|
|
64
|
+
run_command = """uipath run agent '{"topic": "UiPath"}'"""
|
|
65
|
+
console.hint(f""" Run agent: {click.style(run_command, fg="cyan")}""")
|
|
65
66
|
return MiddlewareResult(should_continue=False)
|
|
66
67
|
except Exception as e:
|
|
67
68
|
console.error(f"Error creating demo agent {str(e)}")
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: uipath-langchain
|
|
3
|
-
Version: 0.0.
|
|
3
|
+
Version: 0.0.103
|
|
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
|
|
@@ -25,7 +25,7 @@ Requires-Dist: pydantic-settings>=2.6.0
|
|
|
25
25
|
Requires-Dist: python-dotenv>=1.0.1
|
|
26
26
|
Requires-Dist: requests>=2.23.3
|
|
27
27
|
Requires-Dist: types-requests>=2.32.0.20241016
|
|
28
|
-
Requires-Dist: uipath<2.1.0,>=2.0.
|
|
28
|
+
Requires-Dist: uipath<2.1.0,>=2.0.33
|
|
29
29
|
Provides-Extra: langchain
|
|
30
30
|
Description-Content-Type: text/markdown
|
|
31
31
|
|
|
@@ -34,16 +34,18 @@ Description-Content-Type: text/markdown
|
|
|
34
34
|
[](https://pypi.org/project/uipath-langchain/)
|
|
35
35
|
[](https://pypi.org/project/uipath-langchain/)
|
|
36
36
|
|
|
37
|
-
A Python SDK that enables developers to build and deploy LangGraph agents to the UiPath Platform. This package provides programmatic interaction with UiPath Platform services and human-in-the-loop (HITL) semantics through Action Center integration.
|
|
37
|
+
A Python SDK that enables developers to build and deploy LangGraph agents to the UiPath Cloud Platform. This package provides programmatic interaction with UiPath Cloud Platform services and human-in-the-loop (HITL) semantics through Action Center integration.
|
|
38
38
|
|
|
39
39
|
This package is an extension to the [UiPath Python SDK](https://github.com/UiPath/uipath-python).
|
|
40
40
|
|
|
41
|
-
This [quickstart guide](
|
|
41
|
+
This [quickstart guide](https://uipath.github.io/uipath-python/) walks you through deploying your first agent to UiPath Cloud Platform.
|
|
42
|
+
|
|
43
|
+
Check out these [sample projects](https://github.com/UiPath/uipath-langchain-python/tree/main/samples) to see the SDK in action.
|
|
42
44
|
|
|
43
45
|
## Requirements
|
|
44
46
|
|
|
45
|
-
-
|
|
46
|
-
-
|
|
47
|
+
- Python 3.10 or higher
|
|
48
|
+
- UiPath Automation Cloud account
|
|
47
49
|
|
|
48
50
|
## Installation
|
|
49
51
|
|
|
@@ -105,10 +107,12 @@ uipath pack
|
|
|
105
107
|
Packages your project into a `.nupkg` file that can be deployed to UiPath.
|
|
106
108
|
|
|
107
109
|
**Note:** Your `pyproject.toml` must include:
|
|
108
|
-
|
|
109
|
-
-
|
|
110
|
+
|
|
111
|
+
- A description field (avoid characters: &, <, >, ", ', ;)
|
|
112
|
+
- Author information
|
|
110
113
|
|
|
111
114
|
Example:
|
|
115
|
+
|
|
112
116
|
```toml
|
|
113
117
|
description = "Your package description"
|
|
114
118
|
authors = [{name = "Your Name", email = "your.email@example.com"}]
|
|
@@ -125,14 +129,14 @@ Publishes the most recently created package to your UiPath Orchestrator.
|
|
|
125
129
|
## Project Structure
|
|
126
130
|
|
|
127
131
|
To properly use the CLI for packaging and publishing, your project should include:
|
|
128
|
-
|
|
129
|
-
-
|
|
130
|
-
-
|
|
131
|
-
-
|
|
132
|
+
|
|
133
|
+
- A `pyproject.toml` file with project metadata
|
|
134
|
+
- A `langgraph.json` file
|
|
135
|
+
- A `uipath.json` file (generated by `uipath init`)
|
|
136
|
+
- Any Python files needed for your automation
|
|
132
137
|
|
|
133
138
|
## Development
|
|
134
139
|
|
|
135
140
|
### Setting Up a Development Environment
|
|
136
141
|
|
|
137
|
-
Please read our [contribution guidelines](CONTRIBUTING.md) before submitting a pull request.
|
|
138
|
-
|
|
142
|
+
Please read our [contribution guidelines](https://github.com/UiPath/uipath-langchain-python/blob/main/CONTRIBUTING.md) before submitting a pull request.
|
|
@@ -2,7 +2,7 @@ uipath_langchain/__init__.py,sha256=VBrvQn7d3nuOdN7zEnV2_S-uhmkjgEIlXiFVeZxZakQ,
|
|
|
2
2
|
uipath_langchain/middlewares.py,sha256=tre7o9DFMgWk1DJiEEUmT6_wiP-PPkWtKmG0iOyvr9c,509
|
|
3
3
|
uipath_langchain/_cli/__init__.py,sha256=juqd9PbXs4yg45zMJ7BHAOPQjb7sgEbWE9InBtGZhfo,24
|
|
4
4
|
uipath_langchain/_cli/cli_init.py,sha256=B5BVUA7pDvKyRRGEx5mgmeE5SJvLPM3cnLGt6a9iixY,7417
|
|
5
|
-
uipath_langchain/_cli/cli_new.py,sha256=
|
|
5
|
+
uipath_langchain/_cli/cli_new.py,sha256=R-41FqPBg5dLSgWLYqqT1d95fl-2_jWrr1RzVBkUs3M,2589
|
|
6
6
|
uipath_langchain/_cli/cli_run.py,sha256=8-7NBguH3ACwN3bHEtyj2d3N-FFLJQLaiHDNI_3hnQE,2863
|
|
7
7
|
uipath_langchain/_cli/_runtime/_context.py,sha256=wr4aNn06ReIXmetEZ6b6AnpAt64p13anQ2trZ5Bzgio,807
|
|
8
8
|
uipath_langchain/_cli/_runtime/_escalation.py,sha256=oA5NvZvCo8ngELFJRyhZNM69DxVHrshhMY6CUk_cukQ,8055
|
|
@@ -36,8 +36,8 @@ uipath_langchain/utils/_request_mixin.py,sha256=WFyTDyAthSci1DRwUwS21I3hLntD7HdV
|
|
|
36
36
|
uipath_langchain/utils/_settings.py,sha256=MhwEVj4gVRSar0RBf2w2hTjO-5Qm-HpCuufqN3gSWjA,3390
|
|
37
37
|
uipath_langchain/utils/_sleep_policy.py,sha256=e9pHdjmcCj4CVoFM1jMyZFelH11YatsgWfpyrfXzKBQ,1251
|
|
38
38
|
uipath_langchain/vectorstores/context_grounding_vectorstore.py,sha256=eTa5sX43-ydB1pj9VNHUPbB-hC36fZK_CGrNe5U2Nrw,9393
|
|
39
|
-
uipath_langchain-0.0.
|
|
40
|
-
uipath_langchain-0.0.
|
|
41
|
-
uipath_langchain-0.0.
|
|
42
|
-
uipath_langchain-0.0.
|
|
43
|
-
uipath_langchain-0.0.
|
|
39
|
+
uipath_langchain-0.0.103.dist-info/METADATA,sha256=APsivdYkuoM0ek-as3rboX81hQmseePmqz0Tp-OrD-s,4177
|
|
40
|
+
uipath_langchain-0.0.103.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
41
|
+
uipath_langchain-0.0.103.dist-info/entry_points.txt,sha256=FUtzqGOEntlJKMJIXhQUfT7ZTbQmGhke1iCmDWZaQZI,81
|
|
42
|
+
uipath_langchain-0.0.103.dist-info/licenses/LICENSE,sha256=JDpt-uotAkHFmxpwxi6gwx6HQ25e-lG4U_Gzcvgp7JY,1063
|
|
43
|
+
uipath_langchain-0.0.103.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|