Skip to content

feat(llm): add uipath openai llm #30

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 3 commits into from
Closed

Conversation

ionmincu
Copy link
Collaborator

@ionmincu ionmincu commented Jun 13, 2025

Description

Add OpenAI integration with UiPath.

Example usage

messages = [
    ChatMessage(
        role="system", content="You are a pirate with colorful personality."
    ),
    ChatMessage(role="user", content="Hello"),
]

llm = UiPathOpenAI() 
response = llm.chat(messages)

embed_model = UiPathOpenAIEmbedding()
result = embed_model.get_text_embedding("the quick brown fox jumps over the lazy dog")

Development Package

  • Add this package as a dependency in your pyproject.toml:
[project]
dependencies = [
  # Exact version:
  "uipath-llamaindex==0.0.24.dev1000300078",

  # Any version from PR
  "uipath-llamaindex>=0.0.24.dev1000300000,<0.0.24.dev1000310000"
]

[[tool.uv.index]]
name = "testpypi"
url = "https://test.pypi.org/simple/"
publish-url = "https://test.pypi.org/legacy/"
explicit = true

[tool.uv.sources]
uipath-llamaindex = { index = "testpypi" }

@ionmincu ionmincu requested a review from cristipufu June 13, 2025 14:21
@ionmincu ionmincu self-assigned this Jun 13, 2025
@ionmincu ionmincu added the build:dev Create a dev build from the pr label Jun 13, 2025
@ionmincu ionmincu requested a review from radu-mocanu June 13, 2025 14:35
@ionmincu ionmincu closed this Jun 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build:dev Create a dev build from the pr
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants