Skip to content

Commit f6d4a4c

Browse files
ctawiahcursoragent
andcommitted
refactor: make Evaluator package-private (not public API in v1.0)
Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent 2e94f05 commit f6d4a4c

2 files changed

Lines changed: 3 additions & 5 deletions

File tree

lib/sdk/server-ai/README.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -78,10 +78,6 @@ if (judge != null) {
7878
}
7979
```
8080

81-
`Evaluator` runs several judges over the same input/output with per-judge fault isolation and a
82-
per-judge timeout, returning one `JudgeResult` per judge in order. `Evaluator.noop()` returns an
83-
empty result list.
84-
8581
## Internal API convention
8682

8783
Public, supported types live directly under `com.launchdarkly.sdk.server.ai` (and its documented

lib/sdk/server-ai/src/main/java/com/launchdarkly/sdk/server/ai/Evaluator.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,10 @@
2626
* <p>
2727
* The evaluator does not record results; recording the returned {@link JudgeResult}s (for example
2828
* via a tracker) is the caller's responsibility. Instances are immutable and thread-safe.
29+
* <p>
30+
* This type is not part of the public API in v1.0 and may change without notice.
2931
*/
30-
public final class Evaluator {
32+
final class Evaluator {
3133
/**
3234
* Default per-judge timeout used when one is not supplied.
3335
*/

0 commit comments

Comments
 (0)