judgeval 0.14.0__tar.gz → 0.14.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {judgeval-0.14.0 → judgeval-0.14.1}/PKG-INFO +1 -1
- {judgeval-0.14.0 → judgeval-0.14.1}/pyproject.toml +1 -1
- {judgeval-0.14.0 → judgeval-0.14.1}/src/judgeval/api/api_types.py +5 -1
- {judgeval-0.14.0 → judgeval-0.14.1}/src/judgeval/data/judgment_types.py +5 -1
- {judgeval-0.14.0 → judgeval-0.14.1}/src/judgeval/scorers/judgeval_scorers/api_scorers/prompt_scorer.py +26 -2
- {judgeval-0.14.0 → judgeval-0.14.1}/src/judgeval/version.py +1 -1
- {judgeval-0.14.0 → judgeval-0.14.1}/.github/ISSUE_TEMPLATE/bug_report.md +0 -0
- {judgeval-0.14.0 → judgeval-0.14.1}/.github/ISSUE_TEMPLATE/config.yml +0 -0
- {judgeval-0.14.0 → judgeval-0.14.1}/.github/ISSUE_TEMPLATE/feature_request.md +0 -0
- {judgeval-0.14.0 → judgeval-0.14.1}/.github/pull_request_template.md +0 -0
- {judgeval-0.14.0 → judgeval-0.14.1}/.github/workflows/blocked-pr.yaml +0 -0
- {judgeval-0.14.0 → judgeval-0.14.1}/.github/workflows/ci.yaml +0 -0
- {judgeval-0.14.0 → judgeval-0.14.1}/.github/workflows/claude-code-review.yml +0 -0
- {judgeval-0.14.0 → judgeval-0.14.1}/.github/workflows/claude.yml +0 -0
- {judgeval-0.14.0 → judgeval-0.14.1}/.github/workflows/lint.yaml +0 -0
- {judgeval-0.14.0 → judgeval-0.14.1}/.github/workflows/merge-branch-check.yaml +0 -0
- {judgeval-0.14.0 → judgeval-0.14.1}/.github/workflows/mypy.yaml +0 -0
- {judgeval-0.14.0 → judgeval-0.14.1}/.github/workflows/pre-commit-autoupdate.yaml +0 -0
- {judgeval-0.14.0 → judgeval-0.14.1}/.github/workflows/release.yaml +0 -0
- {judgeval-0.14.0 → judgeval-0.14.1}/.github/workflows/validate-branch.yaml +0 -0
- {judgeval-0.14.0 → judgeval-0.14.1}/.gitignore +0 -0
- {judgeval-0.14.0 → judgeval-0.14.1}/.pre-commit-config.yaml +0 -0
- {judgeval-0.14.0 → judgeval-0.14.1}/LICENSE.md +0 -0
- {judgeval-0.14.0 → judgeval-0.14.1}/README.md +0 -0
- {judgeval-0.14.0 → judgeval-0.14.1}/assets/Screenshot 2025-05-17 at 8.14.27/342/200/257PM.png" +0 -0
- {judgeval-0.14.0 → judgeval-0.14.1}/assets/agent.gif +0 -0
- {judgeval-0.14.0 → judgeval-0.14.1}/assets/agent_trace_example.png +0 -0
- {judgeval-0.14.0 → judgeval-0.14.1}/assets/brand/company.jpg +0 -0
- {judgeval-0.14.0 → judgeval-0.14.1}/assets/brand/company_banner.jpg +0 -0
- {judgeval-0.14.0 → judgeval-0.14.1}/assets/brand/darkmode.svg +0 -0
- {judgeval-0.14.0 → judgeval-0.14.1}/assets/brand/full_logo.png +0 -0
- {judgeval-0.14.0 → judgeval-0.14.1}/assets/brand/icon.png +0 -0
- {judgeval-0.14.0 → judgeval-0.14.1}/assets/brand/lightmode.svg +0 -0
- {judgeval-0.14.0 → judgeval-0.14.1}/assets/brand/white_background.png +0 -0
- {judgeval-0.14.0 → judgeval-0.14.1}/assets/data.gif +0 -0
- {judgeval-0.14.0 → judgeval-0.14.1}/assets/dataset_clustering_screenshot.png +0 -0
- {judgeval-0.14.0 → judgeval-0.14.1}/assets/dataset_clustering_screenshot_dm.png +0 -0
- {judgeval-0.14.0 → judgeval-0.14.1}/assets/datasets_preview_screenshot.png +0 -0
- {judgeval-0.14.0 → judgeval-0.14.1}/assets/document.gif +0 -0
- {judgeval-0.14.0 → judgeval-0.14.1}/assets/error_analysis_dashboard.png +0 -0
- {judgeval-0.14.0 → judgeval-0.14.1}/assets/errors.png +0 -0
- {judgeval-0.14.0 → judgeval-0.14.1}/assets/experiments_dashboard_screenshot.png +0 -0
- {judgeval-0.14.0 → judgeval-0.14.1}/assets/experiments_page.png +0 -0
- {judgeval-0.14.0 → judgeval-0.14.1}/assets/experiments_pagev2.png +0 -0
- {judgeval-0.14.0 → judgeval-0.14.1}/assets/logo-dark.svg +0 -0
- {judgeval-0.14.0 → judgeval-0.14.1}/assets/logo-light.svg +0 -0
- {judgeval-0.14.0 → judgeval-0.14.1}/assets/monitoring_screenshot.png +0 -0
- {judgeval-0.14.0 → judgeval-0.14.1}/assets/new_darkmode.svg +0 -0
- {judgeval-0.14.0 → judgeval-0.14.1}/assets/new_lightmode.svg +0 -0
- {judgeval-0.14.0 → judgeval-0.14.1}/assets/online_eval.png +0 -0
- {judgeval-0.14.0 → judgeval-0.14.1}/assets/product_shot.png +0 -0
- {judgeval-0.14.0 → judgeval-0.14.1}/assets/test.png +0 -0
- {judgeval-0.14.0 → judgeval-0.14.1}/assets/tests.png +0 -0
- {judgeval-0.14.0 → judgeval-0.14.1}/assets/trace.gif +0 -0
- {judgeval-0.14.0 → judgeval-0.14.1}/assets/trace_demo.png +0 -0
- {judgeval-0.14.0 → judgeval-0.14.1}/assets/trace_screenshot.png +0 -0
- {judgeval-0.14.0 → judgeval-0.14.1}/assets/trace_screenshot_old.png +0 -0
- {judgeval-0.14.0 → judgeval-0.14.1}/pytest.ini +0 -0
- {judgeval-0.14.0 → judgeval-0.14.1}/scripts/api_generator.py +0 -0
- {judgeval-0.14.0 → judgeval-0.14.1}/scripts/openapi_transform.py +0 -0
- {judgeval-0.14.0 → judgeval-0.14.1}/scripts/update_types.sh +0 -0
- {judgeval-0.14.0 → judgeval-0.14.1}/src/judgeval/__init__.py +0 -0
- {judgeval-0.14.0 → judgeval-0.14.1}/src/judgeval/api/__init__.py +0 -0
- {judgeval-0.14.0 → judgeval-0.14.1}/src/judgeval/cli.py +0 -0
- {judgeval-0.14.0 → judgeval-0.14.1}/src/judgeval/constants.py +0 -0
- {judgeval-0.14.0 → judgeval-0.14.1}/src/judgeval/data/__init__.py +0 -0
- {judgeval-0.14.0 → judgeval-0.14.1}/src/judgeval/data/evaluation_run.py +0 -0
- {judgeval-0.14.0 → judgeval-0.14.1}/src/judgeval/data/example.py +0 -0
- {judgeval-0.14.0 → judgeval-0.14.1}/src/judgeval/data/result.py +0 -0
- {judgeval-0.14.0 → judgeval-0.14.1}/src/judgeval/data/scorer_data.py +0 -0
- {judgeval-0.14.0 → judgeval-0.14.1}/src/judgeval/data/scripts/fix_default_factory.py +0 -0
- {judgeval-0.14.0 → judgeval-0.14.1}/src/judgeval/data/scripts/openapi_transform.py +0 -0
- {judgeval-0.14.0 → judgeval-0.14.1}/src/judgeval/data/trace.py +0 -0
- {judgeval-0.14.0 → judgeval-0.14.1}/src/judgeval/dataset/__init__.py +0 -0
- {judgeval-0.14.0 → judgeval-0.14.1}/src/judgeval/env.py +0 -0
- {judgeval-0.14.0 → judgeval-0.14.1}/src/judgeval/evaluation/__init__.py +0 -0
- {judgeval-0.14.0 → judgeval-0.14.1}/src/judgeval/exceptions.py +0 -0
- {judgeval-0.14.0 → judgeval-0.14.1}/src/judgeval/integrations/langgraph/__init__.py +0 -0
- {judgeval-0.14.0 → judgeval-0.14.1}/src/judgeval/judges/__init__.py +0 -0
- {judgeval-0.14.0 → judgeval-0.14.1}/src/judgeval/judges/base_judge.py +0 -0
- {judgeval-0.14.0 → judgeval-0.14.1}/src/judgeval/judges/litellm_judge.py +0 -0
- {judgeval-0.14.0 → judgeval-0.14.1}/src/judgeval/judges/together_judge.py +0 -0
- {judgeval-0.14.0 → judgeval-0.14.1}/src/judgeval/judges/utils.py +0 -0
- {judgeval-0.14.0 → judgeval-0.14.1}/src/judgeval/logger.py +0 -0
- {judgeval-0.14.0 → judgeval-0.14.1}/src/judgeval/scorers/__init__.py +0 -0
- {judgeval-0.14.0 → judgeval-0.14.1}/src/judgeval/scorers/agent_scorer.py +0 -0
- {judgeval-0.14.0 → judgeval-0.14.1}/src/judgeval/scorers/api_scorer.py +0 -0
- {judgeval-0.14.0 → judgeval-0.14.1}/src/judgeval/scorers/base_scorer.py +0 -0
- {judgeval-0.14.0 → judgeval-0.14.1}/src/judgeval/scorers/example_scorer.py +0 -0
- {judgeval-0.14.0 → judgeval-0.14.1}/src/judgeval/scorers/exceptions.py +0 -0
- {judgeval-0.14.0 → judgeval-0.14.1}/src/judgeval/scorers/judgeval_scorers/__init__.py +0 -0
- {judgeval-0.14.0 → judgeval-0.14.1}/src/judgeval/scorers/judgeval_scorers/api_scorers/__init__.py +0 -0
- {judgeval-0.14.0 → judgeval-0.14.1}/src/judgeval/scorers/judgeval_scorers/api_scorers/answer_correctness.py +0 -0
- {judgeval-0.14.0 → judgeval-0.14.1}/src/judgeval/scorers/judgeval_scorers/api_scorers/answer_relevancy.py +0 -0
- {judgeval-0.14.0 → judgeval-0.14.1}/src/judgeval/scorers/judgeval_scorers/api_scorers/faithfulness.py +0 -0
- {judgeval-0.14.0 → judgeval-0.14.1}/src/judgeval/scorers/judgeval_scorers/api_scorers/instruction_adherence.py +0 -0
- {judgeval-0.14.0 → judgeval-0.14.1}/src/judgeval/scorers/score.py +0 -0
- {judgeval-0.14.0 → judgeval-0.14.1}/src/judgeval/scorers/utils.py +0 -0
- {judgeval-0.14.0 → judgeval-0.14.1}/src/judgeval/tracer/__init__.py +0 -0
- {judgeval-0.14.0 → judgeval-0.14.1}/src/judgeval/tracer/constants.py +0 -0
- {judgeval-0.14.0 → judgeval-0.14.1}/src/judgeval/tracer/exporters/__init__.py +0 -0
- {judgeval-0.14.0 → judgeval-0.14.1}/src/judgeval/tracer/exporters/s3.py +0 -0
- {judgeval-0.14.0 → judgeval-0.14.1}/src/judgeval/tracer/exporters/store.py +0 -0
- {judgeval-0.14.0 → judgeval-0.14.1}/src/judgeval/tracer/exporters/utils.py +0 -0
- {judgeval-0.14.0 → judgeval-0.14.1}/src/judgeval/tracer/keys.py +0 -0
- {judgeval-0.14.0 → judgeval-0.14.1}/src/judgeval/tracer/llm/__init__.py +0 -0
- {judgeval-0.14.0 → judgeval-0.14.1}/src/judgeval/tracer/llm/anthropic/__init__.py +0 -0
- {judgeval-0.14.0 → judgeval-0.14.1}/src/judgeval/tracer/llm/google/__init__.py +0 -0
- {judgeval-0.14.0 → judgeval-0.14.1}/src/judgeval/tracer/llm/groq/__init__.py +0 -0
- {judgeval-0.14.0 → judgeval-0.14.1}/src/judgeval/tracer/llm/openai/__init__.py +0 -0
- {judgeval-0.14.0 → judgeval-0.14.1}/src/judgeval/tracer/llm/providers.py +0 -0
- {judgeval-0.14.0 → judgeval-0.14.1}/src/judgeval/tracer/llm/together/__init__.py +0 -0
- {judgeval-0.14.0 → judgeval-0.14.1}/src/judgeval/tracer/local_eval_queue.py +0 -0
- {judgeval-0.14.0 → judgeval-0.14.1}/src/judgeval/tracer/managers.py +0 -0
- {judgeval-0.14.0 → judgeval-0.14.1}/src/judgeval/tracer/processors/__init__.py +0 -0
- {judgeval-0.14.0 → judgeval-0.14.1}/src/judgeval/tracer/utils.py +0 -0
- {judgeval-0.14.0 → judgeval-0.14.1}/src/judgeval/trainer/__init__.py +0 -0
- {judgeval-0.14.0 → judgeval-0.14.1}/src/judgeval/trainer/config.py +0 -0
- {judgeval-0.14.0 → judgeval-0.14.1}/src/judgeval/trainer/console.py +0 -0
- {judgeval-0.14.0 → judgeval-0.14.1}/src/judgeval/trainer/trainable_model.py +0 -0
- {judgeval-0.14.0 → judgeval-0.14.1}/src/judgeval/trainer/trainer.py +0 -0
- {judgeval-0.14.0 → judgeval-0.14.1}/src/judgeval/utils/async_utils.py +0 -0
- {judgeval-0.14.0 → judgeval-0.14.1}/src/judgeval/utils/decorators.py +0 -0
- {judgeval-0.14.0 → judgeval-0.14.1}/src/judgeval/utils/file_utils.py +0 -0
- {judgeval-0.14.0 → judgeval-0.14.1}/src/judgeval/utils/guards.py +0 -0
- {judgeval-0.14.0 → judgeval-0.14.1}/src/judgeval/utils/meta.py +0 -0
- {judgeval-0.14.0 → judgeval-0.14.1}/src/judgeval/utils/serialize.py +0 -0
- {judgeval-0.14.0 → judgeval-0.14.1}/src/judgeval/utils/testing.py +0 -0
- {judgeval-0.14.0 → judgeval-0.14.1}/src/judgeval/utils/url.py +0 -0
- {judgeval-0.14.0 → judgeval-0.14.1}/src/judgeval/utils/version_check.py +0 -0
- {judgeval-0.14.0 → judgeval-0.14.1}/src/judgeval/warnings.py +0 -0
- {judgeval-0.14.0 → judgeval-0.14.1}/update_version.py +0 -0
- {judgeval-0.14.0 → judgeval-0.14.1}/uv.lock +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
# generated by datamodel-codegen:
|
2
2
|
# filename: .openapi.json
|
3
|
-
# timestamp: 2025-09-
|
3
|
+
# timestamp: 2025-09-29T19:54:47+00:00
|
4
4
|
|
5
5
|
from __future__ import annotations
|
6
6
|
from typing import Any, Dict, List, Literal, Optional, TypedDict, Union
|
@@ -54,6 +54,8 @@ class SavePromptScorerRequest(TypedDict):
|
|
54
54
|
threshold: float
|
55
55
|
model: NotRequired[str]
|
56
56
|
is_trace: NotRequired[bool]
|
57
|
+
options: NotRequired[Optional[Dict[str, float]]]
|
58
|
+
description: NotRequired[Optional[str]]
|
57
59
|
|
58
60
|
|
59
61
|
class SavePromptScorerResponse(TypedDict):
|
@@ -143,6 +145,8 @@ class PromptScorer(TypedDict):
|
|
143
145
|
prompt: str
|
144
146
|
threshold: float
|
145
147
|
model: NotRequired[str]
|
148
|
+
options: NotRequired[Optional[Dict[str, float]]]
|
149
|
+
description: NotRequired[Optional[str]]
|
146
150
|
created_at: NotRequired[Optional[str]]
|
147
151
|
updated_at: NotRequired[Optional[str]]
|
148
152
|
is_trace: NotRequired[Optional[bool]]
|
@@ -1,6 +1,6 @@
|
|
1
1
|
# generated by datamodel-codegen:
|
2
2
|
# filename: .openapi.json
|
3
|
-
# timestamp: 2025-09-
|
3
|
+
# timestamp: 2025-09-29T19:54:46+00:00
|
4
4
|
|
5
5
|
from __future__ import annotations
|
6
6
|
from typing import Annotated, Any, Dict, List, Optional, Union
|
@@ -56,6 +56,8 @@ class SavePromptScorerRequest(BaseModel):
|
|
56
56
|
threshold: Annotated[float, Field(title="Threshold")]
|
57
57
|
model: Annotated[Optional[str], Field(title="Model")] = "gpt-5"
|
58
58
|
is_trace: Annotated[Optional[bool], Field(title="Is Trace")] = False
|
59
|
+
options: Annotated[Optional[Dict[str, float]], Field(title="Options")] = None
|
60
|
+
description: Annotated[Optional[str], Field(title="Description")] = None
|
59
61
|
|
60
62
|
|
61
63
|
class SavePromptScorerResponse(BaseModel):
|
@@ -156,6 +158,8 @@ class PromptScorer(BaseModel):
|
|
156
158
|
prompt: Annotated[str, Field(title="Prompt")]
|
157
159
|
threshold: Annotated[float, Field(title="Threshold")]
|
158
160
|
model: Annotated[Optional[str], Field(title="Model")] = "gpt-5"
|
161
|
+
options: Annotated[Optional[Dict[str, float]], Field(title="Options")] = None
|
162
|
+
description: Annotated[Optional[str], Field(title="Description")] = None
|
159
163
|
created_at: Annotated[Optional[AwareDatetime], Field(title="Created At")] = None
|
160
164
|
updated_at: Annotated[Optional[AwareDatetime], Field(title="Updated At")] = None
|
161
165
|
is_trace: Annotated[Optional[bool], Field(title="Is Trace")] = False
|
@@ -4,19 +4,21 @@ from judgeval.scorers.api_scorer import (
|
|
4
4
|
TraceAPIScorerConfig,
|
5
5
|
)
|
6
6
|
from judgeval.constants import APIScorerType
|
7
|
-
from typing import Dict, Any
|
7
|
+
from typing import Dict, Any, Optional
|
8
8
|
from judgeval.api import JudgmentSyncClient
|
9
9
|
from judgeval.exceptions import JudgmentAPIError
|
10
10
|
import os
|
11
11
|
from judgeval.logger import judgeval_logger
|
12
12
|
from abc import ABC
|
13
13
|
from judgeval.env import JUDGMENT_DEFAULT_GPT_MODEL
|
14
|
+
from copy import copy
|
14
15
|
|
15
16
|
|
16
17
|
def push_prompt_scorer(
|
17
18
|
name: str,
|
18
19
|
prompt: str,
|
19
20
|
threshold: float,
|
21
|
+
options: Optional[Dict[str, float]] = None,
|
20
22
|
model: str = JUDGMENT_DEFAULT_GPT_MODEL,
|
21
23
|
judgment_api_key: str = os.getenv("JUDGMENT_API_KEY") or "",
|
22
24
|
organization_id: str = os.getenv("JUDGMENT_ORG_ID") or "",
|
@@ -29,6 +31,7 @@ def push_prompt_scorer(
|
|
29
31
|
"name": name,
|
30
32
|
"prompt": prompt,
|
31
33
|
"threshold": threshold,
|
34
|
+
"options": options,
|
32
35
|
"model": model,
|
33
36
|
"is_trace": is_trace,
|
34
37
|
}
|
@@ -98,6 +101,7 @@ def scorer_exists(
|
|
98
101
|
class BasePromptScorer(ABC, APIScorerConfig):
|
99
102
|
score_type: APIScorerType
|
100
103
|
prompt: str
|
104
|
+
options: Optional[Dict[str, float]] = None
|
101
105
|
judgment_api_key: str = os.getenv("JUDGMENT_API_KEY") or ""
|
102
106
|
organization_id: str = os.getenv("JUDGMENT_ORG_ID") or ""
|
103
107
|
|
@@ -124,6 +128,7 @@ class BasePromptScorer(ABC, APIScorerConfig):
|
|
124
128
|
name=name,
|
125
129
|
prompt=scorer_config["prompt"],
|
126
130
|
threshold=scorer_config["threshold"],
|
131
|
+
options=scorer_config.get("options"),
|
127
132
|
model=scorer_config.get("model"),
|
128
133
|
judgment_api_key=judgment_api_key,
|
129
134
|
organization_id=organization_id,
|
@@ -135,6 +140,7 @@ class BasePromptScorer(ABC, APIScorerConfig):
|
|
135
140
|
name: str,
|
136
141
|
prompt: str,
|
137
142
|
threshold: float = 0.5,
|
143
|
+
options: Optional[Dict[str, float]] = None,
|
138
144
|
model: str = JUDGMENT_DEFAULT_GPT_MODEL,
|
139
145
|
judgment_api_key: str = os.getenv("JUDGMENT_API_KEY") or "",
|
140
146
|
organization_id: str = os.getenv("JUDGMENT_ORG_ID") or "",
|
@@ -150,6 +156,7 @@ class BasePromptScorer(ABC, APIScorerConfig):
|
|
150
156
|
name,
|
151
157
|
prompt,
|
152
158
|
threshold,
|
159
|
+
options,
|
153
160
|
model,
|
154
161
|
judgment_api_key,
|
155
162
|
organization_id,
|
@@ -161,6 +168,7 @@ class BasePromptScorer(ABC, APIScorerConfig):
|
|
161
168
|
name=name,
|
162
169
|
prompt=prompt,
|
163
170
|
threshold=threshold,
|
171
|
+
options=options,
|
164
172
|
model=model,
|
165
173
|
judgment_api_key=judgment_api_key,
|
166
174
|
organization_id=organization_id,
|
@@ -199,6 +207,14 @@ class BasePromptScorer(ABC, APIScorerConfig):
|
|
199
207
|
self.push_prompt_scorer()
|
200
208
|
judgeval_logger.info(f"Successfully updated model for {self.name}")
|
201
209
|
|
210
|
+
def set_options(self, options: Optional[Dict[str, float]]):
|
211
|
+
"""
|
212
|
+
Updates the options of the scorer.
|
213
|
+
"""
|
214
|
+
self.options = options
|
215
|
+
self.push_prompt_scorer()
|
216
|
+
judgeval_logger.info(f"Successfully updated options for {self.name}")
|
217
|
+
|
202
218
|
def append_to_prompt(self, prompt_addition: str):
|
203
219
|
"""
|
204
220
|
Appends a string to the prompt.
|
@@ -226,6 +242,12 @@ class BasePromptScorer(ABC, APIScorerConfig):
|
|
226
242
|
"""
|
227
243
|
return self.model
|
228
244
|
|
245
|
+
def get_options(self) -> Dict[str, float] | None:
|
246
|
+
"""
|
247
|
+
Returns the options of the scorer.
|
248
|
+
"""
|
249
|
+
return copy(self.options) if self.options is not None else None
|
250
|
+
|
229
251
|
def get_name(self) -> str | None:
|
230
252
|
"""
|
231
253
|
Returns the name of the scorer.
|
@@ -241,6 +263,7 @@ class BasePromptScorer(ABC, APIScorerConfig):
|
|
241
263
|
"model": self.model,
|
242
264
|
"prompt": self.prompt,
|
243
265
|
"threshold": self.threshold,
|
266
|
+
"options": self.options,
|
244
267
|
}
|
245
268
|
|
246
269
|
def push_prompt_scorer(self):
|
@@ -251,6 +274,7 @@ class BasePromptScorer(ABC, APIScorerConfig):
|
|
251
274
|
self.name,
|
252
275
|
self.prompt,
|
253
276
|
self.threshold,
|
277
|
+
self.options,
|
254
278
|
self.model,
|
255
279
|
self.judgment_api_key,
|
256
280
|
self.organization_id,
|
@@ -258,7 +282,7 @@ class BasePromptScorer(ABC, APIScorerConfig):
|
|
258
282
|
)
|
259
283
|
|
260
284
|
def __str__(self):
|
261
|
-
return f"PromptScorer(name={self.name}, model={self.model}, prompt={self.prompt}, threshold={self.threshold})"
|
285
|
+
return f"PromptScorer(name={self.name}, model={self.model}, prompt={self.prompt}, threshold={self.threshold}, options={self.options})"
|
262
286
|
|
263
287
|
def model_dump(self, *args, **kwargs) -> Dict[str, Any]:
|
264
288
|
base = super().model_dump(*args, **kwargs)
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{judgeval-0.14.0 → judgeval-0.14.1}/assets/Screenshot 2025-05-17 at 8.14.27/342/200/257PM.png"
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{judgeval-0.14.0 → judgeval-0.14.1}/src/judgeval/scorers/judgeval_scorers/api_scorers/__init__.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|