Skip to content

Commit 65901a1

Browse files
authored
Merge pull request #146 from UiPath/fix/llamaindex_simple_hitl
fix: simple hitl sample
2 parents b1b2a74 + 37b4a42 commit 65901a1

12 files changed

Lines changed: 2195 additions & 1310 deletions

File tree

packages/uipath-llamaindex/pyproject.toml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,17 @@
11
[project]
22
name = "uipath-llamaindex"
3-
version = "0.5.0"
4-
description = "UiPath LlamaIndex SDK"
3+
version = "0.5.1"
4+
description = "Python SDK that enables developers to build and deploy LlamaIndex agents to the UiPath Cloud Platform"
55
readme = { file = "README.md", content-type = "text/markdown" }
66
requires-python = ">=3.11"
77
dependencies = [
88
"aiosqlite>=0.21.0",
9-
"llama-index>=0.14.8",
9+
"llama-index>=0.14.13, <1.0.0",
10+
"llama-index-workflows>=2.14.1, <3.0.0",
1011
"llama-index-embeddings-azure-openai>=0.4.1",
1112
"llama-index-llms-azure-openai>=0.4.2",
1213
"openinference-instrumentation-llama-index>=4.3.9",
13-
"uipath>=2.6.0, <2.7.0",
14+
"uipath>=2.8.0, <2.9.0",
1415
"uipath-runtime>=0.6.0, <0.7.0",
1516
]
1617
classifiers = [

packages/uipath-llamaindex/samples/simple-hitl-agent/.agent/CLI_REFERENCE.md

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,10 @@ uv run uipath init --infer-bindings
5959
| `--input-file` | value | `Sentinel.UNSET` | Alias for '-f/--file' arguments |
6060
| `--output-file` | value | `Sentinel.UNSET` | File path where the output will be written |
6161
| `--trace-file` | value | `Sentinel.UNSET` | File path where the trace spans will be written (JSON Lines format) |
62+
| `--state-file` | value | `Sentinel.UNSET` | File path where the state file is stored for persisting execution state. If not provided, a temporary file will be used. |
6263
| `--debug` | flag | false | Enable debugging with debugpy. The process will wait for a debugger to attach. |
6364
| `--debug-port` | value | `5678` | Port for the debug server (default: 5678) |
65+
| `--keep-state-file` | flag | false | Keep the temporary state file even when not resuming and no job id is provided |
6466

6567
**Usage Examples:**
6668

@@ -98,6 +100,11 @@ uv run uipath run --resume
98100
no_report: Do not report the evaluation results
99101
enable_mocker_cache: Enable caching for LLM mocker responses
100102
report_coverage: Report evaluation coverage
103+
model_settings_id: Model settings ID to override agent settings
104+
trace_file: File path where traces will be written in JSONL format
105+
max_llm_concurrency: Maximum concurrent LLM requests
106+
input_overrides: Input field overrides mapping (direct field override with deep merge)
107+
resume: Resume execution from a previous suspended state
101108

102109

103110
**Arguments:**
@@ -117,6 +124,10 @@ uv run uipath run --resume
117124
| `--output-file` | value | `Sentinel.UNSET` | File path where the output will be written |
118125
| `--enable-mocker-cache` | flag | false | Enable caching for LLM mocker responses |
119126
| `--report-coverage` | flag | false | Report evaluation coverage |
127+
| `--model-settings-id` | value | `"default"` | Model settings ID from evaluation set to override agent settings (default: 'default') |
128+
| `--trace-file` | value | `Sentinel.UNSET` | File path where traces will be written in JSONL format |
129+
| `--max-llm-concurrency` | value | `20` | Maximum concurrent LLM requests (default: 20) |
130+
| `--resume` | flag | false | Resume execution from a previous suspended state |
120131

121132
**Usage Examples:**
122133

@@ -223,6 +234,53 @@ The `uipath.json` file is automatically generated by `uipath init` and defines y
223234

224235
The UiPath CLI provides commands for interacting with UiPath platform services. These commands allow you to manage buckets, assets, jobs, and other resources.
225236

237+
### `uipath assets`
238+
239+
Manage UiPath assets.
240+
241+
Assets are key-value pairs that store configuration data, credentials,
242+
and settings used by automation processes.
243+
244+
\b
245+
Examples:
246+
# List all assets in a folder
247+
uipath assets list --folder-path "Shared"
248+
249+
# List with filter
250+
uipath assets list --filter "ValueType eq 'Text'"
251+
252+
# List with ordering
253+
uipath assets list --orderby "Name asc"
254+
255+
256+
**Subcommands:**
257+
258+
**`uipath assets list`**
259+
260+
List assets in a folder.
261+
262+
\b
263+
Examples:
264+
uipath assets list
265+
uipath assets list --folder-path "Shared"
266+
uipath assets list --filter "ValueType eq 'Text'"
267+
uipath assets list --filter "Name eq 'MyAsset'"
268+
uipath assets list --orderby "Name asc"
269+
uipath assets list --top 50 --skip 100
270+
271+
272+
Options:
273+
- `--filter`: OData $filter expression (default: `Sentinel.UNSET`)
274+
- `--orderby`: OData $orderby expression (default: `Sentinel.UNSET`)
275+
- `--top`: Maximum number of items to return (default: 100, max: 1000) (default: `100`)
276+
- `--skip`: Number of items to skip (default: `0`)
277+
- `--folder-path`: Folder path (e.g., "Shared"). Can also be set via UIPATH_FOLDER_PATH environment variable. (default: `Sentinel.UNSET`)
278+
- `--folder-key`: Folder key (UUID) (default: `Sentinel.UNSET`)
279+
- `--format`: Output format (overrides global) (default: `Sentinel.UNSET`)
280+
- `--output`, `-o`: Output file (overrides global) (default: `Sentinel.UNSET`)
281+
282+
---
283+
226284
### `uipath buckets`
227285

228286
Manage UiPath storage buckets and files.

0 commit comments

Comments
 (0)