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
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.
@@ -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_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
+
///
79
+
73
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.
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.
This UiPath LlamaIndex agent assists in researching companies using AI and human-in-the-loop (HITL) collaboration. It triggers external processes, waits for human input, and generates validated reports.
4
+
5
+
## Features
6
+
* Triggers a UiPath workflow to research and analyze the given company name
7
+
* Incorporates human feedback to validate the analysis
source .venv/bin/activate # On Windows: .venv\Scripts\activate
24
+
pip install -r requirements.txt
25
+
```
26
+
27
+
Or use `pyproject.toml` with pip:
28
+
```sh
29
+
pip install .
30
+
```
31
+
32
+
### 3. Configure Environment
33
+
34
+
Copy `.env.template` to `.env` and fill in your secrets (API keys, tokens, etc.)
35
+
36
+
### 4. Run the Agent
37
+
38
+
```sh
39
+
uipath run agent --file ./input.json
40
+
```
41
+
42
+
> **Warning:** 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.
43
+
44
+
### 5. Resume
45
+
46
+
To approve the rules and commit them use:
47
+
```sh
48
+
uipath run agent true --resume
49
+
```
50
+
51
+
Example:
52
+
```sh
53
+
uipath run agent --file ./input.json
54
+
```
55
+
56
+
### Deployment Guide
57
+
58
+
To run the company-researcher-agent on the UiPath Cloud Platform, follow this guide:
0 commit comments