We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7501d23 commit 016aa22Copy full SHA for 016aa22
aiservices/openai/src/test/java/com/microsoft/semantickernel/aiservices/openai/OtelCaptureTest.java
@@ -118,9 +118,9 @@ public void otelChatCaptureTest() {
118
spans.get(0).getAttributes().get(AttributeKey.stringKey("gen_ai.system")));
119
Assertions.assertEquals(21,
120
spans.get(0).getAttributes()
121
- .get(AttributeKey.longKey("gen_ai.response.completion_tokens")));
+ .get(AttributeKey.longKey("gen_ai.usage.output_tokens")));
122
Assertions.assertEquals(42,
123
124
- .get(AttributeKey.longKey("gen_ai.response.prompt_tokens")));
+ .get(AttributeKey.longKey("gen_ai.usage.input_tokens")));
125
}
126
0 commit comments