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: README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -47,7 +47,7 @@ The SDK provides a command-line interface for creating, packaging, and deploying
47
47
uipath init
48
48
```
49
49
50
-
Running `uipath init` will process the graph definitions in the `llama_index.json` file and create the corresponding `entry-points.json` file needed for deployment.
50
+
Running `uipath init` will process the workflow definitions in the `llama_index.json` file and create the corresponding `entry-points.json` file needed for deployment.
51
51
52
52
For more details on the configuration format, see the [UiPath configuration specifications](https://github.com/UiPath/uipath-python/blob/main/specs/README.md).
Copy file name to clipboardExpand all lines: docs/human_in_the_loop.md
+23-20Lines changed: 23 additions & 20 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,58 +5,59 @@ It focuses on the **ctx.write_event_to_stream** LlamaIndex functionality.
5
5
6
6
## Models Overview
7
7
8
-
### 1. CreateAction
8
+
### 1. CreateTaskEvent
9
9
10
-
The `CreateAction` model is utilized to create an escalation action within the UiPath Action Center as part of an interrupt context. The action will rely on a previously created UiPath app.
10
+
The `CreateTaskEvent` model is utilized to create an escalation task within the UiPath Action Center as part of an interrupt context. The task will rely on a previously created UiPath app.
11
11
After addressing the escalation, the current agent will resume execution.
12
-
For more information on UiPath apps, refer to the [UiPath Apps User Guide](https://docs.uipath.com/apps/automation-cloud/latest/user-guide/introduction).
12
+
For more information on UiPath Apps, refer to the [UiPath Apps User Guide](https://docs.uipath.com/apps/automation-cloud/latest/user-guide/introduction).
13
13
14
14
#### Attributes:
15
15
16
16
-**app_name** (Optional[str]): The name of the app.
17
17
-**app_folder_path** (Optional[str]): The folder path of the app.
18
18
-**app_key** (Optional[str]): The key of the app.
19
-
-**title** (str): The title of the action to create.
20
-
-**data** (Optional[Dict[str, Any]]): Values that the action will be populated with.
21
-
-**app_version** (Optional[int]): The version of the app (defaults to 1).
19
+
-**title** (str): The title of the task to create.
20
+
-**data** (Optional[Dict[str, Any]]): Values that the task will be populated with.
22
21
-**assignee** (Optional[str]): The username or email of the person assigned to handle the escalation.
23
22
24
23
#### Example:
25
24
26
25
```python
27
-
from uipath_llamaindex.models import CreateActionEvent
For a practical implementation of the `CreateAction` model, refer to the [action-center-hitl-agent](https://github.com/UiPath/uipath-llamaindex-python/tree/main/samples/action-center-hitl-agent). This sample demonstrates how to create an action with dynamic input.
31
+
For a practical implementation of the `CreateTaskEvent` model, refer to the [action-center-hitl-agent](https://github.com/UiPath/uipath-llamaindex-python/tree/main/samples/action-center-hitl-agent). This sample demonstrates how to create a task with dynamic input.
32
32
33
33
34
34
---
35
35
36
-
### 2. WaitAction
36
+
### 2. WaitTaskEvent
37
37
38
-
The `WaitAction` model is used to wait for an action to be handled. This model is intended for scenarios where the action has already been created.
38
+
The `WaitTaskEvent` model is used to wait for a task to be approved. This model is intended for scenarios where the task has already been created.
39
39
40
40
#### Attributes:
41
41
42
-
-**action** (Action): The instance of the action to wait for.
42
+
-**action** (Task): The instance of the task to wait for.
43
43
-**app_folder_path** (Optional[str]): The folder path of the app.
44
44
45
45
#### Example:
46
46
47
47
```python
48
-
from uipath_llamaindex.models import WaitActionEvent
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
80
///
79
81
80
-
For a practical implementation of the `InvokeProcess` model, refer to the [multi-agent sample](https://github.com/UiPath/uipath-llamaindex-python/tree/main/samples/multi-agent). 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.
82
+
For a practical implementation of the `InvokeProcessEvent` model, refer to the [multi-agent sample](https://github.com/UiPath/uipath-llamaindex-python/tree/main/samples/multi-agent). 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.
81
83
82
84
---
83
85
84
86
### 4. WaitJob
85
87
86
-
The `WaitJob` model is used to wait for a job completion. Unlike `InvokeProcess`, which automatically creates a job, this model is intended for scenarios where
88
+
The `WaitJobEvent` model is used to wait for a job completion. Unlike `InvokeProcessEvent`, which automatically creates a job, this model is intended for scenarios where
87
89
the job has already been created.
88
90
89
91
#### Attributes:
@@ -95,5 +97,6 @@ the job has already been created.
0 commit comments