Skip to content

feat(llm): add uipath openai llm #31

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

Merged
merged 1 commit into from
Jun 13, 2025
Merged

feat(llm): add uipath openai llm #31

merged 1 commit into from
Jun 13, 2025

Conversation

ionmincu
Copy link
Collaborator

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")

@ionmincu ionmincu merged commit 5eafe12 into main Jun 13, 2025
3 checks passed
@ionmincu ionmincu deleted the feature/add_llm branch June 13, 2025 14:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants