Skip to content

Commit 0735fae

Browse files
committed
Merge branch 'gary/submit-evals-2' into gary/llmobs-java-sdk-integration
2 parents bb6d246 + a74e456 commit 0735fae

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

dd-java-agent/agent-llmobs/src/main/java/datadog/trace/llmobs/LLMObsSystem.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,15 +57,15 @@ public LLMObsCustomEvalProcessor(
5757

5858
@Override
5959
public void SubmitEvaluation(
60-
LLMObsSpan llmObsSpan, String label, double numericalValue, Map<String, Object> tags) {
61-
SubmitEvaluation(llmObsSpan, label, numericalValue, defaultMLApp, tags);
60+
LLMObsSpan llmObsSpan, String label, double scoreValue, Map<String, Object> tags) {
61+
SubmitEvaluation(llmObsSpan, label, scoreValue, defaultMLApp, tags);
6262
}
6363

6464
@Override
6565
public void SubmitEvaluation(
6666
LLMObsSpan llmObsSpan,
6767
String label,
68-
double numericalValue,
68+
double scoreValue,
6969
String mlApp,
7070
Map<String, Object> tags) {
7171
if (llmObsSpan == null) {
@@ -75,7 +75,7 @@ public void SubmitEvaluation(
7575
long spanID = llmObsSpan.getSpanId();
7676
LLMObsEval.Score score =
7777
new LLMObsEval.Score(
78-
traceID, spanID, System.currentTimeMillis(), mlApp, label, tags, numericalValue);
78+
traceID, spanID, System.currentTimeMillis(), mlApp, label, tags, scoreValue);
7979
if (!this.evalProcessingWorker.addToQueue(score)) {
8080
LOGGER.warn(
8181
"queue full, failed to add score eval, ml_app={}, trace_id={}, span_id={}, label={}",

0 commit comments

Comments
 (0)