Skip to content

Commit 7d8e793

Browse files
authored
Merge pull request #355 from UiPath/fix/llamaindex-scaffold-extras
fix: add bedrock,vertex extras to llamaindex scaffold deps
2 parents c017a26 + 52801c5 commit 7d8e793

4 files changed

Lines changed: 3 additions & 20 deletions

File tree

packages/uipath-llamaindex/docs/quick_start.md

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,6 @@ Generate your first UiPath LlamaIndex agent:
104104
✓ Created 'main.py' file.
105105
✓ Created 'llama_index.json' file.
106106
✓ Created 'pyproject.toml' file.
107-
🔧 Please ensure to define OPENAI_API_KEY in your .env file.
108107
💡 Initialize project: uipath init
109108
💡 Run agent: uipath run agent '{"topic": "UiPath"}'
110109
```
@@ -138,18 +137,6 @@ This command creates the following files:
138137
| `uipath.json` | Input/output JSON schemas and bindings. |
139138
| `agent.mermaid` | Graph visual representation. |
140139

141-
## Set Up Environment Variables
142-
143-
Before running the agent, configure `OPENAI_API_KEY` in the `.env` file:
144-
145-
//// tab | Open AI
146-
147-
```
148-
OPENAI_API_KEY=sk-proj-......
149-
```
150-
151-
////
152-
153140
## Authenticate With UiPath
154141

155142
<!-- termynal -->

packages/uipath-llamaindex/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "uipath-llamaindex"
3-
version = "0.5.15"
3+
version = "0.5.16"
44
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"

packages/uipath-llamaindex/src/uipath_llamaindex/_cli/cli_new.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,7 @@ def generate_pyproject(target_directory, project_name):
3131
description = "{project_name}"
3232
authors = [{{ name = "John Doe", email = "john.doe@myemail.com" }}]
3333
dependencies = [
34-
"uipath-llamaindex>=0.5.0, <0.6.0",
35-
"llama-index-llms-openai>=0.6.10"
34+
"uipath-llamaindex[bedrock,vertex]>=0.5.0, <0.6.0",
3635
]
3736
requires-python = ">=3.11"
3837
"""
@@ -54,9 +53,6 @@ def llamaindex_new_middleware(name: str) -> MiddlewareResult:
5453
console.success("Created 'llama_index.json' file.")
5554
generate_pyproject(directory, name)
5655
console.success("Created 'pyproject.toml' file.")
57-
console.config(
58-
f""" Please ensure to define {click.style("OPENAI_API_KEY", fg="bright_yellow")} in your .env file. """
59-
)
6056
init_command = """uipath init"""
6157
run_command = """uipath run agent '{"topic": "UiPath"}'"""
6258
console.hint(

packages/uipath-llamaindex/uv.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)