Skip to content

Commit 3a9f131

Browse files
authored
Merge pull request #74 from UiPath/fix/sample-agents
fix: update sample agent dependencies
2 parents 12a5554 + 0b14956 commit 3a9f131

23 files changed

Lines changed: 14351 additions & 6736 deletions

File tree

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{"user_msg": "Research the company Uipath"}

samples/action-center-hitl-agent/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ async def may_research_company(ctx: Context, company_name: str) -> bool:
4949

5050
# example user input {"user_msg": "research Uipath company"}
5151
workflow = AgentWorkflow.from_tools_or_functions(
52-
[may_research_company()],
52+
[may_research_company],
5353
llm=llm,
5454
system_prompt="You are a helpful assistant that can use tools to perform actions requested by user",
5555
)

samples/action-center-hitl-agent/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@ authors = [{ name = "John Doe", email = "john.doe@myemail.com" }]
66
readme = { file = "README.md", content-type = "text/markdown" }
77
requires-python = ">=3.10"
88
dependencies = [
9-
"uipath-llamaindex==0.0.20",
9+
"uipath-llamaindex>=0.0.36, <0.1.0",
1010
"llama-index-llms-openai>=0.2.2"
1111
]

samples/action-center-hitl-agent/uv.lock

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

samples/image-gen-agent/input.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"topic": "A futuristic city with flying cars at sunset"
3+
}

samples/image-gen-agent/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ authors = [{ name = "John Doe", email = "john.doe@myemail.com" }]
66
readme = { file = "README.md", content-type = "text/markdown" }
77
requires-python = ">=3.10"
88
dependencies = [
9-
"uipath-llamaindex>=0.0.22",
9+
"uipath-llamaindex>=0.0.36, <0.1.0",
1010
"llama-index-llms-openai>=0.3.44",
1111
"llama-index-tools-openai-image-generation>=0.4.0"
1212
]

samples/image-gen-agent/uv.lock

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

samples/multi-agent/input.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"user_msg": "Research the company UiPath"
3+
}

samples/multi-agent/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@ authors = [{ name = "John Doe", email = "john.doe@myemail.com" }]
66
readme = { file = "README.md", content-type = "text/markdown" }
77
requires-python = ">=3.10"
88
dependencies = [
9-
"uipath-llamaindex==0.0.20",
9+
"uipath-llamaindex>=0.0.36, <0.1.0",
1010
"llama-index-llms-openai>=0.2.2"
1111
]

samples/multi-agent/uv.lock

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

0 commit comments

Comments
 (0)