You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/interrupt_models.md
+5-1Lines changed: 5 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -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. Upon completion of the invoked process, the current agent will automatically resume execution.
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
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.
cd .\uipath-langchain-python\samples\multi-agent-planner-researcher-coder-distributed
160
+
```
161
+
162
+
- **For Unix-like systems (Linux, macOS):**
163
+
```bash
164
+
cd ./uipath-langchain-python/samples/multi-agent-planner-researcher-coder-distributed
165
+
```
166
+
167
+
3. **Create and Activate a Virtual Python Environment**
168
+
```bash
169
+
pip install uv
170
+
uv venv -p 3.11 .venv
171
+
.venv\Scripts\activate # For Windows
172
+
source .venv/bin/activate # For Unix-like systems
173
+
uv sync
174
+
```
175
+
176
+
4. **Authenticate to UiPath Cloud Platform**
177
+
```bash
178
+
uipath auth
179
+
```
180
+
>**Note:** After successful authentication in the browser, you will be prompted to selectthe tenant where you wish to publish the package containing the agents.
181
+
```
182
+
Received log data
183
+
Received authentication information
184
+
Available tenants:
185
+
0: cosmin
186
+
1: DefaultTenant
187
+
2: Demo
188
+
3: lucian
189
+
4: Solutions
190
+
5: SolutionsTest
191
+
6: Test
192
+
7: TestRoles
193
+
Select tenant: 2
194
+
```
195
+
196
+
5. **Package and Publish Agents**
197
+
```bash
198
+
uipath pack
199
+
uipath publish
200
+
```
201
+
>**Note:** At this step, you will be required to selectthe feed where the package should be published:
0 commit comments