Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/uipath/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "uipath"
version = "2.10.33"
version = "2.10.34"
description = "Python SDK and CLI for UiPath Platform, enabling programmatic interaction with automation services, process management, and deployment tools."
readme = { file = "README.md", content-type = "text/markdown" }
requires-python = ">=3.11"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
import json
from typing import Any, Optional

from pydantic import Field

from uipath.platform import UiPath
from uipath.platform.chat import UiPathLlmChatService

Expand Down Expand Up @@ -99,7 +101,7 @@ class LegacyContextPrecisionEvaluator(
The final score is the mean of all chunk relevancy scores (normalized to 0-1).
"""

model: str
model: str = Field(default="same-as-agent")
query_placeholder: str = "{{Query}}"
chunks_placeholder: str = "{{Chunks}}"
llm: Optional[UiPathLlmChatService] = None
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
import json
from typing import Any, Optional

from pydantic import Field

from uipath.platform import UiPath
from uipath.platform.chat import UiPathLlmChatService

Expand Down Expand Up @@ -39,7 +41,7 @@ class LegacyFaithfulnessEvaluator(
The final score is the percentage of claims that are grounded.
"""

model: str
model: str = Field(default="same-as-agent")
llm: Optional[UiPathLlmChatService] = None

def model_post_init(self, __context: Any):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import logging
from typing import Any, Optional

from pydantic import field_validator
from pydantic import Field, field_validator

from uipath.platform import UiPath
from uipath.platform.chat import UiPathLlmChatService
Expand Down Expand Up @@ -41,7 +41,7 @@ class LegacyLlmAsAJudgeEvaluator(BaseLegacyEvaluator[LegacyLlmAsAJudgeEvaluatorC
"""Legacy evaluator that uses an LLM to judge the quality of agent output."""

prompt: str
model: str
model: str = Field(default="same-as-agent")
actual_output_placeholder: str = "{{ActualOutput}}"
expected_output_placeholder: str = "{{ExpectedOutput}}"
llm: Optional[UiPathLlmChatService] = None
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
from typing import Any, Optional

from opentelemetry.sdk.trace import ReadableSpan
from pydantic import field_validator
from pydantic import Field, field_validator

from uipath.platform import UiPath
from uipath.platform.chat import UiPathLlmChatService
Expand Down Expand Up @@ -42,7 +42,7 @@ class LegacyTrajectoryEvaluator(BaseLegacyEvaluator[LegacyTrajectoryEvaluatorCon
"""Legacy evaluator that analyzes the trajectory/path taken to reach outputs."""

prompt: str
model: str
model: str = Field(default="same-as-agent")
expected_agent_behavior_placeholder: str = "{{ExpectedAgentBehavior}}"
agent_run_history_placeholder: str = "{{AgentRunHistory}}"
llm: Optional[UiPathLlmChatService] = None
Expand Down
2 changes: 1 addition & 1 deletion packages/uipath/uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading