Skip to content

Commit 8169c81

Browse files
authored
Merge pull request #55 from UiPath/chore/eval-support
Chore/eval support
2 parents d9eb847 + 530ddf0 commit 8169c81

File tree

3 files changed

+9
-8
lines changed

3 files changed

+9
-8
lines changed

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "uipath-llamaindex"
3-
version = "0.0.31"
3+
version = "0.0.32"
44
description = "UiPath LlamaIndex SDK"
55
readme = { file = "README.md", content-type = "text/markdown" }
66
requires-python = ">=3.10"
@@ -9,7 +9,7 @@ dependencies = [
99
"llama-index-embeddings-azure-openai>=0.3.8",
1010
"llama-index-llms-azure-openai>=0.3.2",
1111
"openinference-instrumentation-llama-index>=4.3.0",
12-
"uipath>=2.1.0, <2.2.0",
12+
"uipath>=2.1.10, <2.2.0",
1313
]
1414
classifiers = [
1515
"Development Status :: 3 - Alpha",

src/uipath_llamaindex/_cli/cli_run.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ def llamaindex_run_middleware(
3131

3232
async def execute():
3333
context = UiPathLlamaIndexRuntimeContext.from_config(
34-
env.get("UIPATH_CONFIG_PATH", "uipath.json")
34+
env.get("UIPATH_CONFIG_PATH", "uipath.json"), **kwargs
3535
)
3636
context.config = config
3737
context.entrypoint = entrypoint
@@ -40,6 +40,7 @@ async def execute():
4040
context.debug = kwargs.get("debug", False)
4141
context.input_file = kwargs.get("input_file", None)
4242
context.execution_output_file = kwargs.get("execution_output_file", None)
43+
context.is_eval_run = kwargs.get("is_eval_run", False)
4344
context.logs_min_level = env.get("LOG_LEVEL", "INFO")
4445
context.job_id = env.get("UIPATH_JOB_KEY")
4546
context.trace_id = env.get("UIPATH_TRACE_ID")

uv.lock

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)